

/* ---------- Header ---------- */
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

@keyframes dashboard-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes dashboard-entry-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {

    .dashboard-header {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== SIWS Wallet Selection Modal & Solana Auth CSS ===== */
.siws-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 9, 14, 0.85) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    backdrop-filter: blur(16px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 999999 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.siws-modal-card {
    background: #13141c !important;
    border: 1px solid rgba(153, 69, 255, 0.4) !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 400px !important;
    padding: 28px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(153, 69, 255, 0.2) !important;
    box-sizing: border-box !important;
    position: relative !important;
    z-index: 1000000 !important;
    animation: siwsPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes siwsPopIn {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.siws-badge-installed {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #14F195 !important;
    background: rgba(20, 241, 149, 0.12) !important;
    border: 1px solid rgba(20, 241, 149, 0.3) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.siws-badge-install {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
}

.siws-badge-install:hover {
    color: #fff !important;
    background: rgba(153, 69, 255, 0.2) !important;
    border-color: rgba(153, 69, 255, 0.5) !important;
}

.siws-wallet-option {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 14px !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.siws-wallet-option:hover {
    background: rgba(153, 69, 255, 0.12) !important;
    border-color: rgba(153, 69, 255, 0.5) !important;
    transform: translateY(-1px) !important;
}

.btn-solana-wallet {
    background: linear-gradient(135deg, rgba(153, 69, 255, 0.22) 0%, rgba(20, 241, 149, 0.18) 100%) !important;
    border: 1px solid rgba(153, 69, 255, 0.5) !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(153, 69, 255, 0.25) !important;
    transition: all 0.2s ease !important;
}

