﻿/* Add this to your existing CSS or a new file */
:root {
    --primary-color: #9d42c9;
    --primary-light: #EAE8FD;
    --text-color: #6E6B7B;
    --dark-color: #5E5873;
    --light-color: #F8F8F8;
    --hover-color: #F2F1FC;
}
* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* Vuexy-style Navigation with two rows */
.navbar-vuexy {
    background-color: white;
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
    padding: 0;
}

/* Top row styling */
.navbar-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #EBE9F1;
    width: 100%;
}

/* Bottom row styling */
.navbar-bottom-row {
    display: flex;
    padding: 0 1rem;
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

    .navbar-brand img {
        height: 40px;
        width: auto;
    }

.cust-nav-logo {
    width: 150px;
    height: 50px
}

.user-nav {
    display: flex;
    align-items: center;
}

/* Menu styling */
.main-menu {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #6E6B7B !important;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

    .nav-link:hover, .nav-link:focus {
        color: #9d42c9 !important;
        background-color: #F2F1FC;
    }

    .nav-link i {
        margin-right: 8px;
        font-size: 1.2rem;
        color: #9d42c9
    }

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    color: #6E6B7B;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

    .dropdown-item:hover, .dropdown-item:focus {
        color: #9d42c9;
        background-color: #EAE8FD;
    }

.dropdown-divider {
    border-top: 1px solid #EBE9F1;
    margin: 0.5rem 0;
}

.nav-item.active .nav-link {
    color: #fff !important;
    background-color: #9d42c9;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.mps-container {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px
}

/* User dropdown specific styling */
.user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
}

.on-nav {
    display: flex;
    justify-content: space-between;
    padding: 5px 8px;
    color: darkgrey;
}

    .on-nav > p {
        font-weight: bold
    }

p {
    font-size: 15px
}

.dropdown-menu-user {
    min-width: 280px;
    padding: 0.5rem 0;
    border: none;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.wallet-balance-menu {
    padding: 0.25rem 0;
}

.balance-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #5E5873;
    transition: all 0.3s ease;
}

    .balance-item:hover {
        background-color: #F8F8F8;
        text-decoration: none;
    }

    .balance-item i {
        width: 24px;
        text-align: center;
        margin-right: 12px;
        font-size: 1.1rem;
    }

.balance-label {
    font-weight: 500;
    margin-right: 8px;
    color: #6E6B7B;
    min-width: 110px;
}

.balance-amount {
    font-weight: 600;
    margin-left: auto;
}

    .balance-amount.positive {
        color: #28C76F;
    }

    .balance-amount.negative {
        color: #EA5455;
    }

/* Icon colors */
.text-primary {
    color: #7367F0;
}

.text-success {
    color: #28C76F;
}

.text-danger {
    color: #EA5455;
}

.text-warning {
    color: #FF9F43;
}

.text-info {
    color: #00CFE8;
}

.menu-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 15px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 8px;
    background-color: #f8f9fa;
}

    .menu-item:hover {
        transform: scale(1.05);
        background-color: #e9ecef;
    }

.menu-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
}

    .menu-icon img {
        max-width: 100%;
        max-height: 100%;
        /*border-radius: 50%;*/
    }

.menu-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.menu-grid1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 15px;
}

.menu-item1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 8px;
    background-color: #f8f9fa;
}

    .menu-item1:hover {
        transform: scale(1.05);
        background-color: #e9ecef;
    }

.menu-icon1 {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
}

    .menu-icon1 img {
        max-width: 100%;
        max-height: 100%;
        /*border-radius: 50%;*/
    }

.menu-text1 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    display: none
}

.button-5 {
    align-items: center;
    background-clip: padding-box;
    background-color: #9d42c9;
    border: 1px solid transparent;
    border-radius: .25rem;
    box-shadow: rgba(0, 0, 0, 0.02) 0 1px 3px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: system-ui,-apple-system,system-ui,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    line-height: 1.25;
    margin: 0;
    min-height: 3rem;
    padding: calc(.875rem - 1px) calc(1.5rem - 1px);
    position: relative;
    text-decoration: none;
    transition: all 250ms;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: baseline;
    width: auto;
}

    .button-5:hover,
    .button-5:focus {
        background-color: #F8F8F8;
        color: #9d42c9;
        box-shadow: rgba(0, 0, 0, 0.1) 0 4px 12px;
        border: 1px solid #9d42c9;
    }

    .button-5:hover {
        transform: translateY(1px);
    }

    .button-5:active {
        background-color: #F8F8F8;
        box-shadow: rgba(0, 0, 0, .06) 0 2px 4px;
        transform: translateY(0);
    }

.tabs-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tabs-header {
    display: flex;
    overflow-x: auto;
    padding: 0 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
    scrollbar-width: none; /* For Firefox */
}

    .tabs-header::-webkit-scrollbar {
        display: none; /* For Chrome/Safari */
    }

.tab {
    padding: 12px 20px;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

    .tab.active {
        color: #9d42c9;
        border-bottom-color: #9d42c9;
        background-color: rgba(0, 102, 204, 0.05);
    }

.tab-content {
    display: none;
    padding: 20px;
    background-color: #fff;
}

    .tab-content.active {
        display: block;
    }

@media (max-width: 480px) {
    .tab {
        padding: 12px 15px;
        font-size: 14px;
    }
}

.tabs-heading-container {
    text-align: center;
}

.tabs-main-heading {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

    .tabs-main-heading::after {
        content: '';
        position: absolute;
        width: 60%;
        height: 3px;
        background: linear-gradient(80deg,#ffdb00, #9d42c9 );
        bottom: -8px;
        left: 20%;
        border-radius: 3px;
    }

/*Mobile Recharge Tab*/
.recharge-container {
    max-width: 400px !important;
    margin: 20px auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, sans-serif;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Error Message Styles */
.validation-summary-errors {
    display: block;
    padding: 10px;
    margin-bottom: 20px;
    color: #d32f2f;
    background-color: #fde8e8;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

/* Mobile Operator Display */
#divMobileOpr {
    margin-bottom: 20px;
    text-align: center;
}

#mobileOpr {
    font-size: 18px;
    color: #d32f2f;
    font-weight: 500;
    padding: 8px 12px;
    background-color: #fde8e8;
    border-radius: 6px;
    display: inline-block;
}

/* Three Column Layout */
.recharge-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.recharge-column {
    flex: 1;
    min-width: 250px;
}

/* Form Control Styles */
.form-control {
    width: 100%;
    height: auto !important;
    padding: 12px 15px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

    .form-control:focus {
        outline: none;
        border-color: #9d42c9;
        box-shadow: 0 0 0 2px rgba(0, 102, 204, 0.2);
        background-color: #fff;
    }

.ddforoperator {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

/* Button Styles */
.btn-group {
    display: flex;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    margin-top: 8px
}

.custombg {
    background-color: #9d42c9;
    color: white;
}

    .custombg:hover {
        background-color: #ffdb00;
        transform: translateY(-2px);
    }

.fortopup {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

    .fortopup.active {
        background-color: #9d42c9;
        color: white;
        border-color: #9d42c9;
    }

/* Button Container */
.button-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .recharge-columns {
        flex-direction: column;
    }

    .button-container {
        grid-template-columns: 1fr;
    }
}

/* Table Container */
.transaction-container {
    width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Main Table Styles */
.transaction-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
}

    /* Table Header */
    .transaction-table thead th {
        background-color: #9d42c9;
        color: white;
        padding: 12px 15px;
        text-align: center;
        font-weight: 500;
        position: sticky;
        top: 0;
    }

        .transaction-table thead th:first-child {
            border-top-left-radius: 10px;
        }

        .transaction-table thead th:last-child {
            border-top-right-radius: 10px;
        }

/* Main Table Styles */
.gvtransaction-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
}
    /* Gridview Table Header */
    .gvtransaction-table tbody tr th {
        background-color: #9d42c9;
        color: white;
        padding: 12px 15px;
        text-align: center;
        font-weight: 500;
        border: 0;
        position: sticky;
        top: 0;
    }

table {
    border: none !important
}

gvtransaction-table tbody {
    border: none !important
}

.gvtransaction-table tbody tr th:first-child {
    border-top-left-radius: 10px;
}

.gvtransaction-table tbody tr th:last-child {
    border-top-right-radius: 10px;
}

/* Table Body */
.transaction-table tbody tr {
    transition: background-color 0.2s;
}

    .transaction-table tbody tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .transaction-table tbody tr:hover {
        background-color: #e9f5ff;
    }

.transaction-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    text-align: center
}

/*gridview Table Body */
.gvtransaction-table tbody tr {
    transition: background-color 0.2s;
    border: 0;
}

    .gvtransaction-table tbody tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    .gvtransaction-table tbody tr:hover {
        background-color: #e9f5ff;
    }

.gvtransaction-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    border: 0;
}

/* Status Colors */
.trnPending {
    color: #FF9800;
    font-weight: 500;
}

.trnHold {
    color: #9C27B0;
    font-weight: 500;
}

.trnFail {
    color: #F44336;
    font-weight: 500;
}

.trnSuccess {
    color: #4CAF50;
    font-weight: 500;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 10px;
}

    .action-buttons a {
        display: inline-flex;
        padding: 5px;
        border-radius: 4px;
        transition: all 0.2s;
    }

        .action-buttons a:hover {
            background-color: rgba(0, 102, 204, 0.1);
            transform: translateY(-1px);
        }

    .action-buttons img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .transaction-table {
        font-size: 13px;
    }

        .transaction-table th,
        .transaction-table td {
            padding: 8px 10px;
        }
}

/* Date Range Section */
.date-range {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Button Styles */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #0066cc;
    color: white;
}

    .btn-primary:hover {
        background-color: #0052a3;
        transform: translateY(-2px);
    }

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

    .btn-secondary:hover {
        background-color: #e0e0e0;
    }

/* Responsive Adjustments */
@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        align-items: stretch;
    }

    .or-separator {
        margin: 10px 0;
    }

    .date-range {
        flex-direction: column;
    }
}
/* Modal Overlay */
.custom-modal-overlay {
    display: none; /* Toggle with JS or server logic */
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Box */
.custom-modal {
    background: #fff;
    margin: 50px auto;
    padding: 0;
    border-radius: 8px;
    width: 600px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    animation: fadeIn 0.3s ease-in-out;
}

/* Modal Header */
.custom-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.custom-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* Close Button */
.custom-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
}

/* Modal Body */
.custom-modal-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Row Layout */
.custom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

    .custom-row label {
        font-weight: 600;
        width: 40%;
        color: #333;
    }

/* Modal Footer */
.custom-modal-footer {
    padding: 15px 20px;
    text-align: right;
    border-top: 1px solid #eee;
    background-color: #f5f5f5;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Buttons */
.custom-button {
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
}

.primary-btn {
    background-color: #9d42c9;
    color: #fff;
}

    .primary-btn:hover, .primary-btn:hover {
        background-color: #ffdb00;
        transform: translateY(-2px);
    }

.cancel-btn {
    background-color: #ccc;
    color: #333;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mps-button-group {
    display: flex;
    gap: 10px; /* Adds space between buttons */
    flex-wrap: wrap; /* Ensures buttons wrap on smaller screens */
}

.mps-mybutton {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #fff;
}

@media (max-width: 768px) {
    .mps-mybutton {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .mps-button-group {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; /* Center align */
    }

    .mps-mybutton {
        width: 100%; /* Full width for small screens */
        text-align: center;
    }
}

.active {
    background-color: #f8f9fa
}

/* Make the footer buttons appear side-by-side and aligned right */
.bootstrap-dialog-footer-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px; /* spacing between buttons */
}

    /* Optional: remove full width from buttons if any */
    .bootstrap-dialog-footer-buttons .btn {
        width: auto !important;
    }

    .bootstrap-dialog-footer-buttons .btn {
        min-width: 100px;
    }
