* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    background: #060606;
    color: #F8FAFC;
    overflow-x: hidden
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #060606
}

::-webkit-scrollbar-thumb {
    background: #22C55E33;
    border-radius: 10px
}

.glass-card {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.15)
}

.glass-card-static {
    background: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px
}

.sidebar {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(30px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1)
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #94A3B8;
    font-size: 14px;
    font-weight: 500;
    transition: all .3s ease;
    text-decoration: none;
    cursor: pointer
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E
}

.sidebar-link.active {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.15)
}

.navbar {
    background: rgba(6, 6, 6, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06)
}

.green-glow {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.15), 0 0 60px rgba(34, 197, 94, 0.05)
}

.btn-ripple {
    position: relative;
    overflow: hidden
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width .6s, height .6s
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px
}

.progress-bar {
    height: 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #22C55E, #4ADE80);
    transition: width 1.5s cubic-bezier(.4, 0, .2, 1)
}

.badge-green {
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600
}

.badge-red {
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600
}

.badge-yellow {
    background: rgba(234, 179, 8, 0.12);
    color: #EAB308;
    border: 1px solid rgba(234, 179, 8, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600
}

.badge-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3B82F6;
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600
}

.badge-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #A855F7;
    border: 1px solid rgba(168, 85, 247, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 40;
    backdrop-filter: blur(4px)
}

.sidebar-overlay.active {
    display: block
}

.notification-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    position: absolute;
    top: -2px;
    right: -2px;
    animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1)
    }

    50% {
        opacity: .5;
        transform: scale(1.3)
    }
}

.dropdown-menu {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    position: absolute;
    z-index: 50;
    min-width: 200px
}

.dropdown-menu.active {
    display: block;
    animation: fadeInDown .25s ease
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: #94A3B8;
    font-size: 14px;
    transition: all .2s;
    cursor: pointer
}

.dropdown-item:hover {
    background: rgba(34, 197, 94, 0.08);
    color: #22C55E
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.search-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 16px 10px 42px;
    color: #F8FAFC;
    font-size: 14px;
    transition: all .3s;
    outline: none
}

.search-input:focus {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
    background: rgba(255, 255, 255, 0.06)
}

.search-input::placeholder {
    color: #64748B
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.modal-overlay.active {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    pointer-events: all
}

.modal-content {
    background: rgba(17, 17, 17, 0.98);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(.85) translateY(30px);
    opacity: 0;
    transition: all .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6)
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
    opacity: 1
}

.modal-content::-webkit-scrollbar {
    width: 4px
}

.modal-content::-webkit-scrollbar-thumb {
    background: #22C55E33;
    border-radius: 10px
}

.modal-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #F8FAFC;
    font-size: 14px;
    font-family: 'Inter';
    transition: all .3s;
    outline: none
}

.modal-input:focus {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.1)
}

.modal-input::placeholder {
    color: #64748B
}

.modal-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    color: #F8FAFC;
    font-size: 14px;
    font-family: 'Inter';
    outline: none;
    appearance: none;
    cursor: pointer
}

.modal-select:focus {
    border-color: rgba(34, 197, 94, 0.4)
}

.modal-select option {
    background: #111;
    color: #F8FAFC
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 300;
    transform: translateX(120%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4)
}

.toast.show {
    transform: translateX(0)
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit
}

.profile-avatar {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all .3s
}

/* ===== WALLET SPECIFIC ===== */

/* Credit Card */
.wallet-card {
    border-radius: 24px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    min-height: 220px;
    cursor: pointer;
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.wallet-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4)
}

.wallet-card .card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E")
}

.wallet-card .card-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3
}

.card-chip {
    width: 42px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #d4af37, #f5d05e, #d4af37);
    position: relative;
    overflow: hidden
}

.card-chip::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    height: 40%;
    border-top: 2px solid rgba(0, 0, 0, 0.15);
    border-bottom: 2px solid rgba(0, 0, 0, 0.15)
}

.card-chip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40%;
    width: 20%;
    border-left: 2px solid rgba(0, 0, 0, 0.15);
    border-right: 2px solid rgba(0, 0, 0, 0.15)
}

.card-contactless {
    width: 24px;
    height: 24px;
    position: relative
}

.card-contactless span {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    border-left: none;
    border-bottom: none;
    transform: rotate(45deg)
}

.card-contactless span:nth-child(1) {
    width: 8px;
    height: 8px;
    top: 8px;
    left: 8px
}

.card-contactless span:nth-child(2) {
    width: 14px;
    height: 14px;
    top: 5px;
    left: 5px
}

.card-contactless span:nth-child(3) {
    width: 20px;
    height: 20px;
    top: 2px;
    left: 2px
}

/* Card Carousel */
.cards-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.cards-carousel::-webkit-scrollbar {
    display: none
}

.cards-carousel>div {
    scroll-snap-align: start;
    flex-shrink: 0
}

/* Transaction Item */
.txn-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    transition: all .3s;
    cursor: pointer
}

.txn-item:hover {
    background: rgba(34, 197, 94, 0.03)
}

/* Quick Action Circle */
.action-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    cursor: pointer
}

.action-circle:hover {
    transform: scale(1.1)
}

/* Tab */
.tab-btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    transition: all .3s;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    white-space: nowrap
}

.tab-btn.active {
    background: rgba(34, 197, 94, 0.1);
    color: #22C55E;
    border-color: rgba(34, 197, 94, 0.2)
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.04);
    color: #F8FAFC
}

.tab-content {
    display: none;
    animation: tabFadeIn .5s ease
}

.tab-content.active {
    display: block
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.tabs-scroll {
    overflow-x: auto;
    scrollbar-width: none
}

.tabs-scroll::-webkit-scrollbar {
    display: none
}

/* Amount Display */
.amount-large {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    letter-spacing: -1px
}

/* Stat Mini */
.stat-mini {
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all .3s
}

.stat-mini:hover {
    background: rgba(34, 197, 94, 0.04);
    border-color: rgba(34, 197, 94, 0.1)
}

@media(max-width:1024px) {
    .sidebar-desktop {
        transform: translateX(-100%);
        position: fixed;
        z-index: 50
    }

    .sidebar-desktop.open {
        transform: translateX(0)
    }
}

@media(max-width:480px) {
    .toast {
        left: 16px;
        right: 16px;
        bottom: 16px
    }

    .modal-content {
        margin: 10px;
        border-radius: 20px
    }
}