/* Dashboard Styling */
.dashboard-page {
    background: #0A1929;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.dashboard-page .navbar {
    background: #132F4C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.dashboard-page .navbar-brand {
    color: #66B2FF !important;
    font-weight: 600;
}

.dashboard-page .nav-link {
    color: #B2BAC2 !important;
    transition: color 0.3s ease;
}

.dashboard-page .nav-link:hover {
    color: #66B2FF !important;
}

.dashboard-page .card {
    background: #132F4C !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.dashboard-page .card-header {
    background: #173A5E !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px 12px 0 0;
}

.dashboard-page .card-header h5 {
    color: #66B2FF;
    font-weight: 600;
}

.dashboard-page .form-control {
    background: #173A5E !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: #B2BAC2 !important;
    border-radius: 8px;
}

.dashboard-page .table {
    color: #B2BAC2 !important;
}

.dashboard-page .table th {
    background: #173A5E !important;
    color: #66B2FF !important;
    border-color: rgba(255,255,255,0.1);
}

.dashboard-page .table td {
    border-color: rgba(255,255,255,0.1);
}

.dashboard-page .btn {
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(65, 133, 216, 0.73);
}

/* Quick Actions Buttons */
.dashboard-page .btn-primary { background: #0A7AFF !important; border: none; }
.dashboard-page .btn-success { background: #1DB954 !important; border: none; }
.dashboard-page .btn-info { background: #00B4D8 !important; border: none; }
.dashboard-page .btn-warning { background: #FF9800 !important; border: none; }

.dashboard-page .card-body .btn {
    padding: 20px 24px;
    font-size: 1.1rem;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-page .card-body .btn i {
    font-size: 1.3rem;
    margin-right: 8px;
}

/* Mobile Optimization for Dashboard Cards */
@media (max-width: 768px) {
    .dashboard-card {
        margin-bottom: 15px;
    }

    .card-body {
        padding: 15px;
    }

    /* Quick Actions Mobile View */
    .d-flex.gap-3 {
        flex-direction: column;
        gap: 10px !important;
    }

    .btn {
        width: 100%;
        margin: 0;
    }

    .dashboard-page .card-body .btn {
        height: 62px;
        margin-bottom: 8px;
    }
}    /* Transaction Filters Mobile View */
    .card-header .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    .card-header .d-flex .d-flex {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .form-select-sm, .form-control-sm {
        flex: 1;
        min-width: 0;
    }

    /* Table Mobile View */
    .table-responsive {
        margin: 0 -15px;
    }

    .table td, 
    .table th {
        padding: 10px;
        font-size: 0.9rem;
    }

    .d-flex.gap-3.flex-wrap {
        gap: 10px !important;
    }
}

.form-select-sm, .form-control-sm {
    min-width: 100px;
    background: rgba(255, 255, 255, 0.1);
}
.form-select {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

.form-select option {
    background-color: #173A5E;
    color: #fff;
}
/* Landing Page Styling */
.landing-page {
    background: #0A1929;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
.landing-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #132F4C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1050;
    width: 100%;
}

.landing-page {
    padding-top: 56px; /* Height of navbar */
}

.landing-page .navbar-brand {
    color: #66B2FF !important;
    font-weight: 600;
    font-size: 1.8rem;
}
.landing-page .nav-link {
    color: #B2BAC2 !important;
    transition: color 0.3s ease;
}

.landing-page .nav-link:hover {
    color: #66B2FF !important;
}

.landing-page .hero-section {
    padding: 80px 0;
}

.landing-page .main-title {
    color: #66B2FF;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.landing-page .hero-subtitle {
    color: #B2BAC2;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.landing-page .slider-container {
    background: #132F4C;
    border-radius: 12px;
    padding: 30px;
    margin: 50px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.landing-page .slide {
    background: #173A5E;
    border-radius: 10px;
    padding: 25px;
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.landing-page .slide:hover {
    transform: translateY(-5px);
}

.landing-page .slide h3 {
    color: #66B2FF;
    font-weight: 600;
    margin-bottom: 10px;
}

.landing-page .slide p {
    color: #B2BAC2;
}

.landing-page .btn-glow {
    background: #0A7AFF;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 500;
    margin: 10px;
    transition: all 0.3s ease;
}

.landing-page .btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,122,255,0.3);
}

.landing-page .btn-outline {
    background: transparent;
    border: 2px solid #0A7AFF;
    color: #66B2FF !important;
}

.landing-page footer {
    background: #132F4C;
    padding: 20px 0;
    color: #B2BAC2;
}
.login-page {
    background-color: #2a3a7c !important; /* Fallback color */
    background: linear-gradient(135deg, #2a3a7c, #c22f2f, #fecb3d) !important;
    background-size: 400% 400% !important;
    animation: gradientBG 15s ease infinite;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}
.login-page .auth-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.login-page .card-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.login-page .card-header h3 {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(255,255,255,0.4);
}

.login-page .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px;
}

.login-page .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.login-page label {
    color: white;
    font-weight: 500;
    text-shadow: 0 0 5px rgba(255,255,255,0.4);
}

.login-page .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(255,255,255,0.2);
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.login-page a {
    color: #ffffff;
    text-decoration: none;
    text-shadow: 0 0 5px rgba(255,255,255,0.4);
}

.login-page a:hover {
    text-shadow: 0 0 8px rgba(255,255,255,0.6);
}

/* QR Code Generator Page Styling */
body {
    background: #0A1929;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.card {
    background: #132F4C !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 2rem;
}

.card-header {
    background: #173A5E !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px 12px 0 0;
}

.card-header h5 {
    color: #66B2FF;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
}

.form-control {
    background: #eff1f2 !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: #B2BAC2 !important;
    padding: 12px;
    border-radius: 8px;
}

.form-control:focus {
    box-shadow: 0 0 0 2px rgba(102,178,255,0.25);
}

label {
    color: #B2BAC2;
    font-weight: 500;
    margin-bottom: 8px;
}

.btn-primary {
    background: #0A7AFF !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,122,255,0.3);
}

/* QR Code Display Section */
.text-center {
    margin-top: 2rem;
}

.text-center h5 {
    color: #66B2FF;
    margin-bottom: 1.5rem;
}

.text-center img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 1rem;
    background: white;
    max-width: 300px;
}

.text-center p {
    color: #B2BAC2;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Hamburger Icon Styling */
.navbar-toggler {
    border: 2px solid #66B2FF !important;
    padding: 8px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 178, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(102, 178, 255, 0.25);
}

/* Registration Page Styling */
.register-page {
    background: #0A1929;
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
}

.register-page .navbar {
    background: #132F4C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.register-page .navbar-brand {
    color: #66B2FF !important;
    font-weight: 600;
}

.register-page .nav-link {
    color: #B2BAC2 !important;
    transition: color 0.3s ease;
}

.register-page .nav-link:hover {
    color: #66B2FF !important;
}

.register-page .auth-card {
    background: #132F4C !important;
    border: none !important;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-top: 2rem;
}

.register-page .card-header {
    background: #173A5E !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px 12px 0 0;
}

.register-page .card-header h3 {
    color: #66B2FF;
    font-weight: 600;
}

.register-page .form-control {
    background: #173A5E !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: #B2BAC2 !important;
    padding: 12px;
    border-radius: 8px;
}

.register-page .form-control:focus {
    box-shadow: 0 0 0 2px rgba(102,178,255,0.25);
}

.register-page label {
    color: #B2BAC2;
    font-weight: 500;
    margin-bottom: 8px;
}

.register-page .btn-primary {
    background: #0A7AFF !important;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.register-page .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,122,255,0.3);
}

.register-page a {
    color: #66B2FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.register-page a:hover {
    color: #0A7AFF;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .register-page .auth-card {
        margin: 1rem;
    }
    
    .register-page .btn-primary {
        width: 100%;
    }
    
    .register-page .navbar-toggler {
        border: 2px solid #66B2FF !important;
        padding: 8px;
    }
    
    .register-page .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(102, 178, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }
}

/* Payment Method Text */
.dashboard-page .card-title {
    font-size: 1.8rem;
    color: #66B2FF;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(102, 178, 255, 0.3);
    letter-spacing: 0.5px;
}

.dashboard-page .status-indicator span {
    font-size: 1.1rem;
    font-weight: 500;
}

.dashboard-page .text-success {
    color: #4CAF50 !important;
    text-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

/* Update Card Button Text */
.dashboard-page .btn-outline-primary {
    color: #66B2FF !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-page .btn-outline-primary:hover {
    background: #89C4FF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 178, 255, 0.4);
}
.notifications-container {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #66B2FF #173A5E;
}

.notifications-container::-webkit-scrollbar {
    width: 6px;
}

.notifications-container::-webkit-scrollbar-track {
    background: #173A5E;
}

.notifications-container::-webkit-scrollbar-thumb {
    background-color: #66B2FF;
    border-radius: 10px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    min-height: 80px;
}
.notification-item.unread {
    background: rgba(102, 178, 255, 0.1);
    border-left: 4px solid #66B2FF;
}

.notification-icon {
    background: rgba(102, 178, 255, 0.1);
    padding: 10px;
    border-radius: 50%;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon i {
    color: #66B2FF;
    font-size: 1.2rem;
}

.notification-content {
    flex: 1;
}
.notification-item h6 {
    color: #66B2FF;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.notification-item p {
    color: #E0E0E0;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.notification-time {
    color: #8B9CAF;
    font-size: 0.8rem;
    font-style: italic;
}

.notification-item.unread h6 {
    color: #00E5FF;
}

.notification-item.unread p {
    color: #FFFFFF;
}

.notification-item .btn-primary {
    background: #0A7AFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 15px;
}
/* Increase Notifications Container Height */
.notifications-container {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: #66B2FF #173A5E;
}

/* Increase Transaction Table Height */
.transaction-table {
    max-height: 800px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #66B2FF #173A5E;
}

.transaction-table::-webkit-scrollbar {
    width: 6px;
}

@media (max-width: 768px) {
    .transaction-table {
        max-height: 700px;
    }
    
    .notifications-container {
        max-height: 500px;
    }
}
.transaction-table::-webkit-scrollbar-track {
    background: #173A5E;
    border-radius: 10px;
}

.transaction-table::-webkit-scrollbar-thumb {
    background-color: #66B2FF;
    border-radius: 10px;
}

/* Keep header fixed while scrolling */
.transaction-table thead th {
    position: sticky;
    top: 0;
    background: #173A5E;
    z-index: 1;
}

@media (max-width: 768px) {
    .transaction-table {
        max-height: 500px;
    }
}

.btn-link-card {
    color: #66B2FF !important;
    border: 1px solid #66B2FF;
    background: rgba(102, 178, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-link-card:hover {
    background: rgba(102, 178, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .icon-nav {
        position: sticky;
        top: 0;
        background: #132F4C;
        z-index: 1000;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .icon-nav-items {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }

    .icon-nav-item {
        padding: 8px 15px;
    }
}
.icon-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.icon-nav-item {
    color: #B2BAC2;
    font-size: 1.5rem;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icon-nav-item:hover, 
.icon-nav-item.active {
    color: #66B2FF;
    background: rgba(102, 178, 255, 0.1);
}

.icon-nav-item i {
    display: block;
}
/* Fixed Navbar */
.dashboard-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #132F4C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1050;
}

/* Main Content Area */
.dashboard-page {
    padding-top: 56px; /* Height of navbar */
    padding-bottom: 60px; /* Height of footer */
}

@media (max-width: 768px) {
    .dashboard-page footer {
        height: 10px;
    }

    .dashboard-page {
        padding-bottom: 10px;
    }

    .dashboard-page footer p {
        font-size: 0.7rem;
        margin: 0;
    }
}
/* Fixed Footer */
.dashboard-page footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #132F4C;
    padding: 15px 0;
    z-index: 1050;
}

/* Scrollable Content Area */
.section-content {
    min-height: calc(100vh - 116px); /* viewport height minus navbar and footer */
    overflow-y: auto;
    padding: 20px 0;
}

.section-content .card {
    margin-bottom: 0;
}

/* Fixed Navbar */
.dashboard-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #132F4C !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1050;
}

/* Main Content Area */
.dashboard-page {
    padding-top: 56px; /* Height of navbar */
    padding-bottom: 60px; /* Height of footer */
}

/* Fixed Footer */
.dashboard-page footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #132F4C;
    padding: 19px 0;
    z-index: 1050;
}

/* Scrollable Content Area */
.section-content {
    min-height: calc(100vh - 116px); /* viewport height minus navbar and footer */
    overflow-y: auto;
    padding: 20px 0;
}

/* Transaction Table Text Styling */
.transaction-table td {
    font-weight: 600;
    font-size: 1.1rem;
    color: #B2BAC2;
}

.transaction-table .text-danger,
.transaction-table .text-success {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Amount and Fee Columns */
.transaction-table td:nth-child(4),
.transaction-table td:nth-child(5) {
    font-weight: 700;
    color: #66B2FF;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .transaction-table td {
        font-size: 0.95rem;
        font-weight: 600;
        padding: 12px 8px;
    }
    
    .transaction-table td:nth-child(4),
    .transaction-table td:nth-child(5) {
        font-size: 1rem;
    }
}

/* Remove all top spacing */
.dashboard-page .container.mt-4 {
    margin-top: 0 !important;
}

/* Minimal card spacing */
.dashboard-page .row.mb-4 {
    margin-bottom: 1px !important;
}

.dashboard-page .card.dashboard-card {
    margin-bottom: 1px;
}

/* Remove section padding */
.section-content {
    padding: 0;
}

@media (max-width: 768px) {
    .dashboard-page .container.mt-4,
    .dashboard-page .container {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .dashboard-page .row.mb-4,
    .dashboard-page .row {
        margin: 0 !important;
    }

    .section-content {
        padding: 0;
        margin: 0;
    }

    .dashboard-page .card.dashboard-card {
        margin: 0;
        border-radius: 0;
    }
}

.notification-item h6 {
    color: #66B2FF;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.notification-item p {
    color: #E0E0E0;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.notification-time {
    color: #8B9CAF;
    font-size: 0.8rem;
    font-style: italic;
}

.notification-item.unread h6 {
    color: #00E5FF;
}

.notification-item.unread p {
    color: #FFFFFF;
}

.notification-item .btn-primary {
    background: #0A7AFF;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 15px;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



/* Admin Dashboard Stats Cards */
.dashboard-page #dashboard .card:nth-child(1) .card-body {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
}

.dashboard-page #dashboard .card:nth-child(2) .card-body {
    background: linear-gradient(45deg, #4ECDC4, #45B7AF);
}

.dashboard-page #dashboard .card:nth-child(3) .card-body {
    background: linear-gradient(45deg, #FFD93D, #FFE566);
}

.dashboard-page #dashboard .card:nth-child(4) .card-body {
    background: linear-gradient(45deg, #6C63FF, #837DFF);
}

.dashboard-page #dashboard .card {
    border-radius: 15px;
    overflow: hidden;
}

.dashboard-page #dashboard .card-body {
    padding: 25px;
}

.dashboard-page #dashboard .card-body h5 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
}

.dashboard-page #dashboard .card-body h3 {
    color: #FFFFFF;
    font-size: 2rem;
    font-weight: 700;
    margin: 15px 0;
}

.dashboard-page #dashboard .card-body p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.dashboard-page #dashboard .card-body i {
    font-size: 1.4rem;
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.9);
}
