/* Wallet Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 30%, #f093fb 60%, #f5576c 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #333;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
    100% { transform: scale(1); opacity: 1; }
}

/* Floating Support (right side, partially hidden; expands on click) */
.support-fab {
    position: fixed;
    right: 12px;
    bottom: 18px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    transform: translateX(48px);
    transition: transform 0.25s ease;
}

.support-fab:hover {
    transform: translateX(18px);
}

.support-fab.active {
    transform: translateX(0);
}

.support-fab__toggle {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    opacity: 0.92;
    font-family: inherit;
}

.support-fab__badge {
    position: absolute;
    top: -6px;
    left: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: #2ecc71;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.9);
    box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.support-fab__toggle {
    position: relative;
}

.support-fab__countPill {
    margin-left: auto;
    background: #2ecc71;
    color: #fff;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800;
    display: none;
    align-items: center;
    justify-content: center;
}

.support-fab:not(.active) .support-fab__toggle {
    padding: 8px 10px;
    gap: 8px;
    opacity: 0.85;
}

.support-fab:not(.active) .support-fab__icon {
    width: 28px;
    height: 28px;
}

.support-fab:not(.active) .support-fab__icon i {
    font-size: 15px;
}

.support-fab:not(.active) .support-fab__label {
    display: inline;
    font-size: 12px;
    opacity: 0.75;
}

.support-fab__toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.22);
    opacity: 1;
}

.support-fab__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.18);
}

.support-fab__icon i {
    font-size: 18px;
}

.support-fab__label {
    font-weight: 700;
    letter-spacing: 0.2px;
    font-size: 14px;
    opacity: 0.85;
}

.support-fab__menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    min-width: 220px;
}

.support-fab.active .support-fab__menu {
    display: flex;
}

.support-fab__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #2c3e50;
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease;
}

button.support-fab__item {
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-align: left;
}

.support-fab__item:hover {
    background: rgba(231, 76, 60, 0.10);
    transform: translateX(-2px);
}

.support-fab__item i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    flex: 0 0 30px;
}

.support-fab__item.call i { background: #27ae60; }
.support-fab__item.email i { background: #e74c3c; }
.support-fab__item.whatsapp i { background: #25D366; }
.support-fab__item.livechat i { background: #3498db; }

.support-fab__item span {
    font-size: 14px;
    font-weight: 700;
}

/* Support Chat Modal (User) */
.support-chat-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 14px;
}

.support-chat-modal.active {
    display: flex;
}

.support-chat-card {
    width: min(520px, 100%);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    overflow: hidden;
}

.support-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #e74c3c, #f39c12);
    color: #fff;
}

.support-chat-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.support-chat-close {
    border: none;
    background: rgba(255,255,255,0.18);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
}

.support-chat-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-chat-meta {
    font-size: 0.9rem;
    color: #666;
}

.support-chat-messages {
    height: 260px;
    overflow: auto;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-chat-bubble {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: pre-wrap;
    word-break: break-word;
    position: relative;
}

.support-chat-metaRow {
    margin-top: 4px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.75rem;
    color: #888;
}

.support-chat-metaRow .time {
    color: #8c8c8c;
}

.support-chat-metaRow .ticks {
    font-weight: 900;
    letter-spacing: -1px;
    color: #9aa0a6;
}

.support-chat-metaRow .ticks.seen {
    color: #25D366;
}

.support-chat-dateHeader {
    align-self: center;
    background: rgba(0,0,0,0.06);
    color: #555;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    margin: 6px 0;
}

.support-chat-bubble.user {
    align-self: flex-end;
    background: #eaf3ff;
    border: 1px solid rgba(52, 152, 219, 0.25);
}

.support-chat-bubble.admin {
    align-self: flex-start;
    background: #fff6e6;
    border: 1px solid rgba(243, 156, 18, 0.25);
}

.support-chat-inputRow {
    display: flex;
    gap: 10px;
}

.support-chat-inputRow textarea {
    flex: 1;
    resize: none;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 10px 12px;
    font-family: inherit;
    min-height: 44px;
    outline: none;
}

.support-chat-send {
    border: none;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .support-fab {
        right: 10px;
        bottom: 14px;
        transform: translateX(40px);
    }

    .support-fab:hover {
        transform: translateX(16px);
    }

    .support-fab__toggle {
        padding: 10px 12px;
        gap: 8px;
    }

    .support-fab:not(.active) .support-fab__toggle {
        padding: 7px 9px;
        gap: 6px;
    }

    .support-fab__icon {
        width: 32px;
        height: 32px;
    }

    .support-fab:not(.active) .support-fab__icon {
        width: 26px;
        height: 26px;
    }

    .support-fab:not(.active) .support-fab__icon i {
        font-size: 14px;
    }

    .support-fab__label {
        font-size: 13px;
    }

    .support-fab__menu {
        min-width: 210px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
}

.logo h1 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.school-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.school-info span {
    font-size: 0.9rem;
    color: #666;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.secondary-btn, .home-btn, .logout-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.secondary-btn {
    background: #6c757d;
}

.home-btn {
    background: #28a745;
}

.logout-btn {
    background: #dc3545;
}

/* Unified Logout Button CSS - सभी pages में same styling */
.btn-logout {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
    border: none !important;
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 25px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    font-family: 'Poppins', sans-serif !important;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #c0392b, #a93226) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(231, 76, 60, 0.35) !important;
}

.btn-logout .btn-label {
    color: white !important;
    font-weight: 500 !important;
}

.btn-logout i {
    color: white !important;
    font-size: 1rem !important;
}

.secondary-btn:hover, .home-btn:hover, .logout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-label {
    display: none;
}

@media (min-width: 768px) {
    .btn-label {
        display: inline;
    }
}

/* Main Content */
.main-content {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .wallet-balance-card {
        grid-column: 1 / -1;
    }
    
    .pricing-info {
        grid-column: 1 / -1;
    }
    
    .transaction-history {
        grid-column: 1 / -1;
    }
}

/* Wallet Balance Card */
.wallet-balance-card {
    border-radius: 20px;
    padding: 32px 40px;
    text-align: center;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.25);
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(148, 163, 184, 0.4);
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease, border-color 0.2s ease;
}

.wallet-balance-card .balance-header h2,
.wallet-balance-card .balance-amount,
.wallet-balance-card .balance-info p,
.wallet-balance-card .currency {
    color: #000000;
}

.wallet-balance-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.28);
    border-color: rgba(129, 140, 248, 0.7);
}

.balance-header h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.balance-header h2 i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 20%, #e5e7eb, #cbd5f5 45%, #94a3b8 100%);
    color: #020617;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    font-size: 1.2rem;
}

.balance-amount {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.currency {
    font-size: 2rem;
    opacity: 0.85;
}

.balance-info p {
    font-size: 1.05rem;
    opacity: 0.9;
}

/* Dynamic themes by balance - केवल राशि और wallet icon पर रंग */
.wallet-balance-card.balance-high .balance-amount,
.wallet-balance-card.balance-high .currency {
    color: #16a34a;
}

.wallet-balance-card.balance-high .balance-header h2 i {
    background: radial-gradient(circle at 30% 20%, #bbf7d0, #22c55e 45%, #15803d 100%);
    color: #022c22;
}

.wallet-balance-card.balance-medium .balance-amount,
.wallet-balance-card.balance-medium .currency {
    color: #f59e0b;
}

.wallet-balance-card.balance-medium .balance-header h2 i {
    background: radial-gradient(circle at 30% 20%, #fef9c3, #facc15 45%, #c2410c 100%);
    color: #7c2d12;
}

.wallet-balance-card.balance-low .balance-amount,
.wallet-balance-card.balance-low .currency {
    color: #ef4444;
}

.wallet-balance-card.balance-low .balance-header h2 i {
    background: radial-gradient(circle at 30% 20%, #fee2e2, #f97373 45%, #b91c1c 100%);
    color: #7f1d1d;
}

/* Quick Add Section - Swipe to Add style (like gold locker app) */
.quick-add-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.quick-add-section.swipe-style {
    /* वॉलेट में पैसे जोड़ें block – 3‑color soft gradient */
    background: linear-gradient(135deg, #ecfdf5 0%, #e0f2fe 50%, #fef3c7 100%);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2), 0 0 0 1px rgba(255,255,255,0.5) inset;
    position: relative;
    overflow: hidden;
}

.quick-add-section.swipe-style::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 70%;
    height: 90%;
    background: radial-gradient(ellipse, rgba(255, 107, 107, 0.15) 0%, rgba(78, 205, 196, 0.1) 40%, transparent 70%);
    pointer-events: none;
}

.quick-add-section.swipe-style::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(155, 89, 182, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.quick-add-section h3 {
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 700;
}

.swipe-instruction {
    margin-bottom: 18px;
    color: #5a4a6a;
    font-size: 0.95rem;
}

.swipe-instruction #swipeAmount {
    font-weight: 700;
    color: #059669;
    transition: color 0.35s ease;
}

.quick-add-section.amount-20 .swipe-instruction #swipeAmount { color: #2563eb; }
.quick-add-section.amount-30 .swipe-instruction #swipeAmount { color: #d97706; }
.quick-add-section.amount-50 .swipe-instruction #swipeAmount { color: #7c3aed; }

/* Swipe card - track with coin → arrows → wallet */
.swipe-to-add-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(248, 250, 252, 0.96) 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(148, 163, 184, 0.35);
    border: 1px solid rgba(148, 163, 184, 0.4);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.swipe-track {
    display: grid;
    grid-template-columns: 80px 1fr 70px;
    grid-template-rows: auto auto;
    align-items: center;
    position: relative;
    min-height: 80px;
    padding: 0 12px;
    gap: 0 12px;
    overflow: hidden;
}

.swipe-coin-bar {
    position: absolute;
    left: 12px;
    right: 82px; /* wallet box ke neeche se pehle khatam ho */
    top: 50%;
    transform: translateY(-50%);
    height: 64px; /* सिक्के जितनी ऊँचाई */
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0.15), rgba(148, 163, 184, 0.05));
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.4);
    z-index: 1;
    pointer-events: none;
}

.swipe-coin {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45), inset 0 2px 0 rgba(255,255,255,0.5);
    cursor: grab;
    user-select: none;
    touch-action: none;
    z-index: 3;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.2s ease;
    animation: coinNudge 1.6s ease-in-out infinite;
}

.quick-add-section.amount-20 .swipe-coin { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45), inset 0 2px 0 rgba(255,255,255,0.5); }
.quick-add-section.amount-30 .swipe-coin { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45), inset 0 2px 0 rgba(255,255,255,0.5); }
.quick-add-section.amount-50 .swipe-coin { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45), inset 0 2px 0 rgba(255,255,255,0.5); }

.swipe-coin:hover {
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.5), inset 0 2px 0 rgba(255,255,255,0.5);
}

.swipe-coin:active {
    cursor: grabbing;
    animation-play-state: paused;
}

.swipe-coin i {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    margin-top: 6px;
}

.swipe-coin-amount {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

@keyframes coinNudge {
    0% {
        margin-left: 0;
    }
    50% {
        margin-left: 4px;
    }
    100% {
        margin-left: 0;
    }
}

.swipe-hint {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 0;
    transition: background 0.35s ease, -webkit-text-fill-color 0.35s ease;
}

.quick-add-section.amount-20 .swipe-hint { background: linear-gradient(135deg, #3b82f6, #2563eb); -webkit-background-clip: text; background-clip: text; }
.quick-add-section.amount-30 .swipe-hint { background: linear-gradient(135deg, #f59e0b, #d97706); -webkit-background-clip: text; background-clip: text; }
.quick-add-section.amount-50 .swipe-hint { background: linear-gradient(135deg, #8b5cf6, #7c3aed); -webkit-background-clip: text; background-clip: text; }

.swipe-hint i {
    font-size: 0.7rem;
    color: #059669;
    display: inline-block;
    background: none;
    -webkit-text-fill-color: currentColor;
    transition: color 0.35s ease, transform 0.3s ease, opacity 0.3s ease;
    animation: swipeArrow 1.1s infinite ease-in-out;
}

.quick-add-section.amount-20 .swipe-hint i { color: #2563eb; }
.quick-add-section.amount-30 .swipe-hint i { color: #d97706; }
.quick-add-section.amount-50 .swipe-hint i { color: #7c3aed; }

.swipe-hint i:nth-of-type(1) {
    animation-delay: 0s;
}

.swipe-hint i:nth-of-type(2) {
    animation-delay: 0.1s;
}

.swipe-hint i:nth-of-type(3) {
    animation-delay: 0.2s;
}

@keyframes swipeArrow {
    0% {
        transform: translateX(0);
        opacity: 0.4;
    }
    40% {
        transform: translateX(8px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 0.3;
    }
}

.swipe-target {
    grid-column: 3;
    grid-row: 1;
    --wallet-open-progress: 0;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.15s ease;
    position: relative;
    overflow: visible;
    transform: translateY(calc(-4px * var(--wallet-open-progress))) scale(calc(1 + 0.04 * var(--wallet-open-progress)));
}

.quick-add-section.amount-20 .swipe-target { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45); }
.quick-add-section.amount-30 .swipe-target { background: linear-gradient(135deg, #f59e0b, #d97706); box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45); }
.quick-add-section.amount-50 .swipe-target { background: linear-gradient(135deg, #8b5cf6, #7c3aed); box-shadow: 0 6px 20px rgba(139, 92, 246, 0.45); }

.swipe-target i {
    font-size: 1.6rem;
    color: #ffd700;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

/* Wallet open animation - आधे रास्ते पर wallet खुलने का effect */
.swipe-target::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Theme ke hisaab se teal‑purple gradient */
    background: radial-gradient(circle at 20% 20%, #ecfeff, #0f766e 40%, #0f172a 100%);
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.55);
    transform-origin: left center;
    transform: rotateY(calc(-70deg * var(--wallet-open-progress)));
    z-index: -1;
}

.swipe-target.wallet-open {
    box-shadow: 0 10px 26px rgba(16, 185, 129, 0.6);
}

/* Swipe progress bar - सिक्के के पीछे, जैसे जैसे slide हो color भरता जाए */
.swipe-progress-bar {
    height: 100%;
    width: 100%;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
}

.swipe-progress-fill {
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #10b981, #059669);
    opacity: 0.15;
    transition: width 0.08s ease-out, opacity 0.08s ease-out;
}

.quick-add-section.amount-20 .swipe-progress-fill { background: linear-gradient(90deg, #3b82f6, #2563eb); }
.quick-add-section.amount-30 .swipe-progress-fill { background: linear-gradient(90deg, #f59e0b, #d97706); }
.quick-add-section.amount-50 .swipe-progress-fill { background: linear-gradient(90deg, #8b5cf6, #7c3aed); }

/* Quick amount buttons - colorful theme */
.quick-amounts-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.amount-btn {
    flex: 1;
    min-width: 70px;
    max-width: 120px;
    padding: 14px 20px;
    border: 2px solid transparent;
    border-radius: 14px;
    background: white;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.amount-btn:nth-child(1) { border-color: #10b981; color: #059669; }
.amount-btn:nth-child(2) { border-color: #3b82f6; color: #2563eb; }
.amount-btn:nth-child(3) { border-color: #f59e0b; color: #d97706; }
.amount-btn:nth-child(4) { border-color: #8b5cf6; color: #7c3aed; }

.amount-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.amount-btn:nth-child(1):hover { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.amount-btn:nth-child(2):hover { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.amount-btn:nth-child(3):hover { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.amount-btn:nth-child(4):hover { background: linear-gradient(135deg, #ede9fe, #ddd6fe); }

.amount-btn.selected {
    color: white !important;
    border-color: transparent !important;
}

.amount-btn:nth-child(1).selected { background: linear-gradient(135deg, #10b981, #059669); }
.amount-btn:nth-child(2).selected { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.amount-btn:nth-child(3).selected { background: linear-gradient(135deg, #f59e0b, #d97706); }
.amount-btn:nth-child(4).selected { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }

.amount-btn.selected:hover {
    filter: brightness(1.08);
}

.amount-btn:active {
    transform: scale(0.98);
}

/* Custom Amount Section */
.custom-amount-section {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-amount-section h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.amount-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 5px;
}

.currency-symbol {
    padding: 0 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

#customAmount {
    flex: 1;
    border: none;
    background: transparent;
    padding: 15px;
    font-size: 1.1rem;
    outline: none;
}

.add-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
}

/* Custom amount theme - quick amount selection ke हिसाब से (पूरा block) */
.quick-add-section.amount-10 + .custom-amount-section {
    background: linear-gradient(135deg, #ecfdf5, #dcfce7);
    border-color: #bbf7d0;
}

.quick-add-section.amount-20 + .custom-amount-section {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #bfdbfe;
}

.quick-add-section.amount-30 + .custom-amount-section {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fde68a;
}

.quick-add-section.amount-50 + .custom-amount-section {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-color: #ddd6fe;
}

/* Custom amount theme - add button (same as coin/amount color) */
.quick-add-section.amount-20 + .custom-amount-section .add-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.quick-add-section.amount-20 + .custom-amount-section .add-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.quick-add-section.amount-30 + .custom-amount-section .add-btn {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.quick-add-section.amount-30 + .custom-amount-section .add-btn:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.quick-add-section.amount-50 + .custom-amount-section .add-btn {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.quick-add-section.amount-50 + .custom-amount-section .add-btn:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

/* Pricing Info */
.pricing-info {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.pricing-info h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 100%;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.pricing-card {
    text-align: center;
    padding: 25px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pricing-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 15px;
}

.pricing-card h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 5px;
}

.pricing-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Transaction History */
.transaction-history {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.transaction-history h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
}

.history-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 4px;
}

.transaction-item {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px 14px 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.15s ease, border-color 0.2s ease;
}

.transaction-item:hover {
    background: #f9fafb;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    border-color: #cbd5f5;
}

.transaction-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.transaction-type {
    font-weight: 600;
    color: #333;
}

.transaction-date {
    font-size: 0.9rem;
    color: #666;
}

.transaction-amount {
    font-weight: bold;
    font-size: 1.1rem;
}

.amount-credit {
    color: #28a745;
}

.amount-debit {
    color: #dc3545;
}

/* Left color strip for credit/debit */
.transaction-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(to bottom, #d1d5db, #9ca3af);
}

.transaction-item.credit::before {
    background: linear-gradient(to bottom, #bbf7d0, #16a34a);
}

.transaction-item.debit::before {
    background: linear-gradient(to bottom, #fecaca, #dc2626);
}

.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #333;
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 30px;
}

.amount-summary {
    text-align: center;
    margin-bottom: 30px;
}

.amount-summary h4 {
    color: #333;
    margin-bottom: 10px;
}

.amount-summary p {
    font-size: 2rem;
    font-weight: bold;
    color: #28a745;
}

.payment-options h4 {
    margin-bottom: 15px;
    color: #333;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 20px;
}

.payment-method input[type="radio"] {
    margin: 0;
}

.payment-method label {
    cursor: pointer;
    color: #333;
}

.proceed-btn {
    width: 100%;
    padding: 15px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.proceed-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

/* Loading Overlay */
.loading-overlay {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    color: white;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .balance-amount {
        font-size: 2.5rem;
    }
    
    .quick-amounts-row {
        gap: 10px;
    }
    .amount-btn {
        min-width: 65px;
        padding: 12px 16px;
        font-size: 1rem;
    }
    .swipe-coin {
        width: 56px;
        height: 56px;
        font-size: 0.9rem;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Success/Error Notifications */
.success-notification, .error-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 3000;
    animation: slideIn 0.3s ease;
}

.success-notification {
    background: #28a745;
}

.error-notification {
    background: #dc3545;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Admin Wallet Summary Styles */
.admin-wallet-summary {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.admin-wallet-summary h2 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.admin-wallet-summary h2 i {
    color: #3498db;
    font-size: 1.6rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.admin-stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.admin-stat-card.total-balance {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.admin-stat-card.total-added {
    border-color: #17a2b8;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
}

.admin-stat-card.total-spent {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.admin-stat-card.schools-count {
    border-color: #6f42c1;
    background: linear-gradient(135deg, #e2d9f3 0%, #d1c7e8 100%);
}

.admin-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.admin-stat-card:hover::before {
    left: 100%;
}

.stat-icon {
    text-align: center;
    margin-bottom: 15px;
}

.stat-icon i {
    font-size: 2.5rem;
    color: #495057;
}

.admin-stat-card.total-balance .stat-icon i {
    color: #28a745;
}

.admin-stat-card.total-added .stat-icon i {
    color: #17a2b8;
}

.admin-stat-card.total-spent .stat-icon i {
    color: #dc3545;
}

.admin-stat-card.schools-count .stat-icon i {
    color: #6f42c1;
}

.stat-content {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Transaction History Styles */
.admin-wallet-summary .admin-wallet-summary {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.admin-wallet-summary .admin-wallet-summary h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.user-wallet-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.user-wallet-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.user-info {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 8px;
}

.user-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.user-name.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
}

.user-name.clickable:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.user-name.clickable:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.user-id {
    font-size: 0.9rem;
    color: #6c757d;
    font-family: monospace;
    text-align: center;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    margin: 0 auto;
    font-weight: 500;
}

.wallet-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

.stat-value.balance {
    color: #28a745;
}

.stat-value.added {
    color: #17a2b8;
}

.stat-value.spent {
    color: #dc3545;
}

/* School History Modal Styles */
.school-history-modal {
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.school-history-summary {
    margin-bottom: 25px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.summary-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.summary-icon {
    font-size: 2rem;
    color: #6c757d;
    margin-bottom: 10px;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.summary-label {
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.transactions-list h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.transaction-item-detailed {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.transaction-item-detailed:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border-color: #3498db;
}

.transaction-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    min-width: 30px;
    text-align: center;
}

.transaction-details {
    flex: 1;
}

.transaction-description {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.transaction-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
    min-width: 100px;
    text-align: right;
}

.transaction-amount.amount-credit {
    color: #28a745;
}

.transaction-amount.amount-debit {
    color: #dc3545;
}

/* Neutral amount color for failed/cancelled informational transactions */
.transaction-amount.amount-neutral {
    color: #000000 !important;
}

/* Processing amount color for authorized/pending transactions */
.transaction-amount.amount-processing {
    color: #000000;
}



/* Loading and Error States */
.loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

.no-transactions {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.no-transactions h4 {
    color: #495057;
    margin-bottom: 10px;
}

.no-transactions p {
    font-size: 0.9rem;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #dc3545;
}

.error-message h4 {
    margin-bottom: 10px;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .school-history-modal {
        width: 95%;
        margin: 20px;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .transaction-item-detailed {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .transaction-amount {
        text-align: center;
        min-width: auto;
    }
}

/* Responsive Design for Admin Summary */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .admin-stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-icon i {
        font-size: 2rem;
    }
    
    .wallet-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-wallet-summary {
        padding: 20px;
    }
    
    .admin-wallet-summary h2 {
        font-size: 1.2rem;
    }
}

/* Search Bar Styles */
.reports-search-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 14px;
    border: 1px solid rgba(52, 73, 94, 0.1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.reports-search-bar input {
    flex: 1;
    min-width: 180px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid #dfe6e9;
    font-size: 0.95rem;
    color: #2c3e50;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.reports-search-bar input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}

.reports-search-bar .password-search-action {
    padding: 11px 16px;
    border-radius: 10px;
    border: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: linear-gradient(135deg, #16a085 0%, #1abc9c 100%);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(22, 160, 133, 0.3);
}

.reports-search-bar .password-search-action:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(22, 160, 133, 0.25);
}

.reports-search-bar .password-search-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.search-feedback {
    font-size: 0.9rem;
    margin: 0 0 10px 0;
    color: #2c3e50;
    min-height: 18px;
    padding: 0 16px;
}

.search-feedback-success {
    color: #0f9b0f;
}

.search-feedback-error {
    color: #c0392b;
}

.search-hit {
    border-color: #f39c12 !important;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.3) !important;
    background: #fff9ec !important;
}

@media (max-width: 768px) {
    .reports-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .reports-search-bar .password-search-action,
    .reports-search-bar input {
        width: 100%;
    }
}
