/* Reset et variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--light-blue) 0%, #e9ecef 100%);
    color: var(--dark-gray);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

:root {
    --primary-blue: #4a90e2;
    --secondary-blue: #2c5aa0;
    --light-blue: #f8f9fa;
    --sky-blue: #50c878;
    --white: #ffffff;
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --border-color: #e9ecef;
    --success: #50c878;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

/* Dashboard Layout */
.dashboard {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
}

.login-card {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    backdrop-filter: blur(10px);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: bold;
}

.form-group {
    margin-bottom: 25px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    gap: 10px;
    white-space: nowrap;
    margin: 5px;
}

.btn i {
    font-size: 16px;
    margin: 0;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    width: auto;
    min-width: 150px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(74, 144, 226, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark-gray);
    border: 2px solid var(--border-color);
    min-width: 150px;
}

.btn-secondary:hover {
    background: #e2e6ea;
    transform: translateY(-1px);
    color: var(--dark-gray);
    text-decoration: none;
}

.btn-success {
    background: linear-gradient(45deg, var(--success), #4ecdc4);
    color: var(--white);
    min-width: 150px;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(80, 200, 120, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-danger {
    background: linear-gradient(45deg, var(--danger), #c82333);
    color: var(--white);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
    color: var(--white);
    text-decoration: none;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 20px;
    min-width: auto;
}

/* Boutons outline pour les véhicules */
.btn-outline-primary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    min-width: auto;
}

.btn-outline-primary:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.btn-outline-danger {
    background: transparent;
    color: var(--danger);
    border: 2px solid var(--danger);
    min-width: auto;
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: var(--white);
    border-color: var(--danger);
}

.btn-group {
    display: flex;
    gap: 5px;
}

.btn-group .btn {
    border-radius: 0.25rem !important;
    margin: 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 14px;
    font-weight: 500;
}

.alert-danger {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-info {
    background: linear-gradient(45deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Navigation responsive */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--secondary-blue);
}

.mobile-menu-toggle .hamburger {
    display: flex;
    flex-direction: column;
    width: 20px;
    height: 15px;
    justify-content: space-between;
}

.mobile-menu-toggle .hamburger span {
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.sidebar {
    width: 280px;
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.sidebar-header {
    padding: 30px 25px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    flex-shrink: 0;
    position: relative;
}

.sidebar-header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.sidebar-header h2 {
    color: var(--white);
    font-size: 24px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.sidebar-header h2 i {
    font-size: 28px;
}

.mobile-close-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 25px 0;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
}

.nav-link:hover, .nav-link.active {
    background: linear-gradient(90deg, var(--light-blue), rgba(74, 144, 226, 0.05));
    border-left-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateX(2px);
    text-decoration: none;
}

.nav-link i {
    margin-right: 15px;
    width: 20px;
    font-size: 18px;
    flex-shrink: 0;
}

.sidebar-footer {
    margin-top: auto;
    flex-shrink: 0;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer .nav-item {
    margin-bottom: 0;
}

.sidebar-footer .nav-link.logout-link {
    color: var(--danger);
    border-left: 4px solid transparent;
}

.sidebar-footer .nav-link.logout-link:hover {
    background: linear-gradient(90deg, #fee, rgba(220, 53, 69, 0.05));
    border-left-color: var(--danger);
    color: var(--danger);
    transform: translateX(2px);
    text-decoration: none;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 0;
    min-height: 100vh;
}

.top-header {
    background: var(--white);
    padding: 25px 40px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
}

.balance-info {
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    padding: 12px 25px;
    border-radius: 25px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
    gap: 10px;
}

.balance-info:hover {
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    text-decoration: none;
}

.balance-info i {
    font-size: 18px;
}

.page-content {
    padding: 40px;
    animation: fadeInUp 0.5s ease-out;
}

.page-title {
    font-size: 32px;
    color: var(--dark-gray);
    margin-bottom: 40px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 35px;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 25px;
    padding-bottom: 20px;
}

.card-title {
    color: var(--primary-blue);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.card-title i {
    margin-right: 12px;
    font-size: 24px;
}

.card-footer {
    padding: 20px 35px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 20px 20px;
    text-align: center;
    color: #6c757d;
    font-size: 14px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    min-width: 500px;
    max-width: 100%;
}

.table th,
.table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
    word-wrap: break-word;
}

.table th {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    font-weight: 700;
    color: var(--dark-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: background-color 0.3s ease;
}

.table tbody tr:hover {
    background: linear-gradient(90deg, var(--light-blue), rgba(74, 144, 226, 0.02));
}

.table .text-success {
    font-weight: 700;
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background-color: rgba(25, 135, 84, 0.1);
    color: var(--success);
    border: 1px solid rgba(25, 135, 84, 0.2);
}

.status-inactive {
    background-color: rgba(108, 117, 125, 0.1);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.2);
}

.status-completed {
    background: linear-gradient(45deg, #d4edda, #c3e6cb);
    color: #155724;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.1);
    color: var(--warning);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.status-failed {
    background: linear-gradient(45deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

/* Code d'immatriculation */
.immat-code {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: 'Courier New', monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex !important;
}

.modal-dialog {
    background: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-content {
    width: 100%;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    color: var(--dark-gray);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.btn-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.btn-close::before {
    content: '×';
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal-backdrop.show {
    display: block;
}

body.modal-open {
    overflow: hidden;
}

/* Forms améliorés */
.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.input-group-append {
    display: flex;
}

.input-group-text {
    background: linear-gradient(135deg, var(--light-gray) 0%, #e9ecef 100%);
    border: 2px solid var(--border-color);
    border-left: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 15px 20px;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-text {
    font-size: 13px;
    color: #6c757d;
    margin-top: 8px;
    font-style: italic;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
}

/* Grilles responsive */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
    width: 100%;
    max-width: 100%;
}

.col-md-4, .col-md-8, .col-md-12 {
    padding: 15px;
    min-width: 0;
}

.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Statistiques sur homepage */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    width: 100%;
    max-width: 100%;
}

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-card.stat-balance {
    border-top-color: var(--primary-blue);
}

.stat-card.stat-transactions {
    border-top-color: var(--success);
}

.stat-card.stat-vehicles {
    border-top-color: #17a2b8;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-value {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

/* Page spécifique - addfunds */
.payment-methods {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
}

.payment-methods i {
    transition: transform 0.3s ease;
}

.payment-methods i:hover {
    transform: scale(1.1);
}

/* Utilitaires */
.d-flex {
    display: flex;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.text-center {
    text-align: center;
}

.text-muted {
    color: #6c757d;
}

.text-success {
    color: var(--success);
}

.text-primary {
    color: var(--primary-blue);
}

.text-info {
    color: #17a2b8;
}

.text-warning {
    color: var(--warning);
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-2 { margin-right: 0.5rem; }
.me-1 { margin-right: 0.25rem; }
.me-2 { margin-right: 0.5rem; }

/* Espacement pour les boutons */
.gap-2 { 
    gap: 0.5rem; 
}

.gap-3 { 
    gap: 1rem; 
}

/* Animations */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.fade-in {
    animation: fadeInUp 0.5s ease-out;
}

/* Scrollbar personnalisée */
.sidebar::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.sidebar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Scrollbar pour les tables sur mobile */
.table-responsive::-webkit-scrollbar {
    height: 4px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 2px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-close-btn {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100vw;
        height: 100vh;
        z-index: 1002;
        position: fixed;
        left: 0;
        top: 0;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .sidebar.open {
        transform: translateX(0);
        box-shadow: none;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
        padding: 0;
        overflow-x: hidden;
    }
    
    .top-header {
        padding: 15px 20px;
        width: 100%;
    }
    
    .page-content {
        padding: 20px;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .page-title {
        font-size: 24px;
        word-wrap: break-word;
    }
    
    .card {
        padding: 20px;
        margin-bottom: 20px;
        overflow-x: hidden;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .form-row .form-group {
        margin-bottom: 25px;
        width: 100%;
    }
    
    .col-md-4, .col-md-8, .col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 10px;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .d-flex.gap-3 {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .btn {
        margin: 5px 0;
        width: 100%;
        max-width: 100%;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }
    
    .btn-group .btn {
        margin: 0;
        width: 100%;
    }
    
    .table-responsive {
        margin: 0 -20px;
        padding: 0 20px;
        width: calc(100% + 40px);
    }
    
    .table {
        font-size: 14px;
        min-width: 480px;
    }
    
    .table th,
    .table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .balance-info {
        font-size: 14px;
        padding: 10px 15px;
        white-space: nowrap;
    }
    
    .modal-dialog {
        width: 95%;
        max-width: 350px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
        margin: 15px;
        width: calc(100% - 30px);
    }
    
    .sidebar {
        width: 100vw;
        height: 100vh;
    }
    
    .page-content {
        padding: 15px;
    }
    
    .card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .table-responsive {
        margin: 0 -15px;
        padding: 0 15px;
        width: calc(100% + 30px);
    }
    
    .table th,
    .table td {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .form-control {
        padding: 12px 15px;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .stats-overview {
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .balance-info {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .modal-dialog {
        width: 95%;
        max-width: 300px;
    }
}