/* /Components/Layout/AdsForMe.razor.rz.scp.css */
/* /Components/Layout/CurrencyChart.razor.rz.scp.css */
/* Styles moved to wwwroot/css/currency-chart.css */
/* /Components/Layout/Footer.razor.rz.scp.css */
/* ── Variables ──────────────────────────────────────── */
.site-footer[b-yeeb5ph9iu] {
    --sf-bg:         #07101f;
    --sf-border:     rgba(255,255,255,0.06);
    --sf-accent:     #38bdf8;
    --sf-text-dim:   #475569;
    --sf-text-mid:   #94a3b8;
    --sf-text-bright:#e2e8f0;
    --sf-radius:     14px;

    background: var(--sf-bg);
    border-top: 1px solid var(--sf-border);
    margin-top: 3rem;
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    position: relative;
    overflow: hidden;
}

/* ── Background glows ───────────────────────────────── */
.sf-bg-glow[b-yeeb5ph9iu] {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.sf-bg-glow--a[b-yeeb5ph9iu] {
    width: 520px;
    height: 380px;
    top: -80px;
    right: -60px;
    background: radial-gradient(ellipse, rgba(56,189,248,0.055) 0%, transparent 70%);
}

.sf-bg-glow--b[b-yeeb5ph9iu] {
    width: 400px;
    height: 320px;
    bottom: 0;
    left: 5%;
    background: radial-gradient(ellipse, rgba(99,102,241,0.05) 0%, transparent 70%);
}

/* ── Top glow line ──────────────────────────────────── */
.sf-glow-top[b-yeeb5ph9iu] {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 55%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--sf-accent), transparent);
    box-shadow: 0 0 28px rgba(56,189,248,0.4);
}

/* ── Container ──────────────────────────────────────── */
.sf-inner[b-yeeb5ph9iu] {
    max-width: 1220px;
    margin: 0 auto;
    padding: 2.25rem 1.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* ── Stats strip ────────────────────────────────────── */
.sf-stats-strip[b-yeeb5ph9iu] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.025);
    border: 1px solid var(--sf-border);
    border-radius: 14px;
    padding: 0.7rem 1.25rem;
    margin-bottom: 2.75rem;
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.sf-strip-item[b-yeeb5ph9iu] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1.25rem;
    font-size: 0.78rem;
    color: var(--sf-text-mid);
}

.sf-strip-val[b-yeeb5ph9iu] {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--sf-text-bright);
    font-family: 'Vazirmatn', sans-serif;
}

.sf-strip-lbl[b-yeeb5ph9iu] {
    color: var(--sf-text-mid);
    font-size: 0.77rem;
}

.sf-strip-sep[b-yeeb5ph9iu] {
    width: 1px;
    height: 22px;
    background: var(--sf-border);
    flex-shrink: 0;
}

/* ── Grid ───────────────────────────────────────────── */
.sf-grid[b-yeeb5ph9iu] {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem 3rem;
}

/* ── Brand column ───────────────────────────────────── */
.sf-brand[b-yeeb5ph9iu] {
    display: flex;
    flex-direction: column;
}

.sf-logo-row[b-yeeb5ph9iu] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.sf-logo-icon[b-yeeb5ph9iu] {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(99,102,241,0.14));
    border: 1px solid rgba(56,189,248,0.28);
    border-radius: 12px;
    color: var(--sf-accent);
    flex-shrink: 0;
    box-shadow: 0 2px 14px rgba(56,189,248,0.12);
}

.sf-logo-name[b-yeeb5ph9iu] {
    font-size: 1.45rem;
    font-weight: 800;
    background: linear-gradient(120deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* Animated live dot */
.sf-live-dot[b-yeeb5ph9iu] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
    animation: sf-pulse-b-yeeb5ph9iu 2.5s infinite;
    flex-shrink: 0;
}

.sf-live-dot--sm[b-yeeb5ph9iu] {
    width: 6px;
    height: 6px;
}

@keyframes sf-pulse-b-yeeb5ph9iu {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

.sf-desc[b-yeeb5ph9iu] {
    color: var(--sf-text-mid);
    font-size: 0.875rem;
    line-height: 1.85;
    margin: 0 0 1.1rem;
    max-width: 300px;
}

/* ── Trust badges ───────────────────────────────────── */
.sf-trust-row[b-yeeb5ph9iu] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.sf-trust-badge[b-yeeb5ph9iu] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.22rem 0.65rem;
    border-radius: 99px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.2);
    color: #86efac;
}

.sf-trust-badge--blue[b-yeeb5ph9iu] {
    background: rgba(56,189,248,0.08);
    border-color: rgba(56,189,248,0.2);
    color: #7dd3fc;
}

/* ── Social buttons ─────────────────────────────────── */
.sf-socials[b-yeeb5ph9iu] {
    display: flex;
    gap: 0.65rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.sf-social[b-yeeb5ph9iu] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--sf-text-mid);
    background: rgba(255,255,255,0.04);
    transition: all 0.22s ease;
}

.sf-social svg[b-yeeb5ph9iu] { width: 16px; height: 16px; flex-shrink: 0; }

.sf-social:hover[b-yeeb5ph9iu] { transform: translateY(-2px); }

.sf-tg:hover[b-yeeb5ph9iu] {
    background: rgba(36,161,222,0.14);
    border-color: rgba(36,161,222,0.4);
    color: #38bdf8;
    box-shadow: 0 4px 18px rgba(36,161,222,0.18);
}

.sf-ig:hover[b-yeeb5ph9iu] {
    background: rgba(228,64,95,0.12);
    border-color: rgba(228,64,95,0.35);
    color: #f9a8d4;
    box-shadow: 0 4px 16px rgba(228,64,95,0.15);
}

/* ── Column title ───────────────────────────────────── */
.sf-col-title[b-yeeb5ph9iu] {
    color: var(--sf-text-bright);
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 1.1rem;
    padding-bottom: 0.5rem;
    position: relative;
}

.sf-col-title[b-yeeb5ph9iu]::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--sf-accent);
}

/* ── Link lists ─────────────────────────────────────── */
.sf-links[b-yeeb5ph9iu] {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sf-links a[b-yeeb5ph9iu] {
    color: var(--sf-text-mid);
    text-decoration: none;
    font-size: 0.855rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.18s ease, transform 0.18s ease;
    position: relative;
}

.sf-links a[b-yeeb5ph9iu]::before {
    content: '‹';
    font-size: 1rem;
    color: var(--sf-accent);
    opacity: 0;
    transform: translateX(5px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    line-height: 1;
}

.sf-links a:hover[b-yeeb5ph9iu] {
    color: var(--sf-text-bright);
    transform: translateX(-3px);
}

.sf-links a:hover[b-yeeb5ph9iu]::before {
    opacity: 0.8;
    transform: translateX(0);
}

/* ── Divider sm ─────────────────────────────────────── */
.sf-divider-sm[b-yeeb5ph9iu] {
    height: 1px;
    background: var(--sf-border);
    margin: 1.1rem 0 0;
}

/* ── Contact card ───────────────────────────────────── */
.sf-contact-card[b-yeeb5ph9iu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    background: rgba(56,189,248,0.05);
    border: 1px solid rgba(56,189,248,0.12);
    font-size: 0.75rem;
    color: var(--sf-text-mid);
    line-height: 1.5;
}

/* ── Bottom bar ─────────────────────────────────────── */
.sf-bottom[b-yeeb5ph9iu] {
    margin-top: 2.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--sf-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sf-copy[b-yeeb5ph9iu] {
    margin: 0;
    font-size: 0.8rem;
    color: var(--sf-text-dim);
    order: 1;
}

.sf-copy strong[b-yeeb5ph9iu] {
    color: var(--sf-text-mid);
    font-weight: 600;
}

.sf-bottom-links[b-yeeb5ph9iu] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    order: 2;
}

.sf-bottom-links a[b-yeeb5ph9iu] {
    font-size: 0.75rem;
    color: var(--sf-text-dim);
    text-decoration: none;
    transition: color 0.18s ease;
}

.sf-bottom-links a:hover[b-yeeb5ph9iu] { color: var(--sf-text-mid); }

.sf-bottom-dot[b-yeeb5ph9iu] {
    color: var(--sf-border);
    font-size: 0.9rem;
    line-height: 1;
}

.sf-note[b-yeeb5ph9iu] {
    margin: 0;
    font-size: 0.72rem;
    color: var(--sf-text-dim);
    opacity: 0.65;
    order: 3;
}

/* ── Responsive — Tablet (≤ 900px) ─────────────────── */
@media (max-width: 900px) {
    .sf-grid[b-yeeb5ph9iu] {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .sf-brand[b-yeeb5ph9iu] { grid-column: span 2; }
    .sf-desc[b-yeeb5ph9iu]  { max-width: 480px; }

    .sf-stats-strip[b-yeeb5ph9iu] {
        justify-content: flex-start;
        gap: 0;
    }
}

/* ── Responsive — Mobile (≤ 600px) ─────────────────── */
@media (max-width: 600px) {
    .sf-inner[b-yeeb5ph9iu] { padding: 1.75rem 1rem 1rem; }

    .sf-grid[b-yeeb5ph9iu] {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 1.25rem;
    }

    .sf-brand[b-yeeb5ph9iu] { grid-column: span 2; }

    .sf-glow-top[b-yeeb5ph9iu] { width: 80%; }

    .sf-stats-strip[b-yeeb5ph9iu] {
        padding: 0.6rem 0.85rem;
        gap: 0;
        border-radius: 10px;
        margin-bottom: 2rem;
    }

    .sf-strip-item[b-yeeb5ph9iu] { padding: 0 0.65rem; }
    .sf-strip-sep[b-yeeb5ph9iu]  { height: 16px; }

    .sf-col-title[b-yeeb5ph9iu]::after { right: auto; left: 0; }

    .sf-bottom[b-yeeb5ph9iu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .sf-bottom-links[b-yeeb5ph9iu] { order: 3; }
    .sf-note[b-yeeb5ph9iu]         { order: 4; }
}

/* ── Responsive — Small mobile (≤ 400px) ───────────── */
@media (max-width: 400px) {
    .sf-grid[b-yeeb5ph9iu]  { grid-template-columns: 1fr; }
    .sf-brand[b-yeeb5ph9iu] { grid-column: span 1; }

    .sf-stats-strip[b-yeeb5ph9iu] {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .sf-strip-sep[b-yeeb5ph9iu] { display: none; }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-c2dgfy4a6w] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-c2dgfy4a6w] {
    flex: 1;
}

.sidebar[b-c2dgfy4a6w] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-c2dgfy4a6w] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-c2dgfy4a6w]  a, .top-row[b-c2dgfy4a6w]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-c2dgfy4a6w]  a:hover, .top-row[b-c2dgfy4a6w]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-c2dgfy4a6w]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-c2dgfy4a6w] {
        justify-content: space-between;
    }

    .top-row[b-c2dgfy4a6w]  a, .top-row[b-c2dgfy4a6w]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-c2dgfy4a6w] {
        flex-direction: row;
    }

    .sidebar[b-c2dgfy4a6w] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-c2dgfy4a6w] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-c2dgfy4a6w]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-c2dgfy4a6w], article[b-c2dgfy4a6w] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-c2dgfy4a6w] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-c2dgfy4a6w] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Navbar.razor.css (Horizontal Links Design) */
/* Styles for a dark theme navbar "yekrial" with horizontally arranged links on desktop */

.navbar-yekrial.navbar-horizontal-links-design[b-ctcv1els6p] {
    background-color: #0D1117;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #21262D;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    font-family: 'Inter', sans-serif;
    min-height: 60px;
}

.navbar-container[b-ctcv1els6p] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.navbar-brand[b-ctcv1els6p] {
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

    .navbar-brand:hover[b-ctcv1els6p] {
        opacity: 0.85;
    }

    .navbar-brand svg[b-ctcv1els6p] {
        display: block;
    }

/* Container for the navigation links on desktop */
.navbar-links-desktop[b-ctcv1els6p] {
    display: flex;
    align-items: center; /* Vertically align items in the row */
    margin-left: 1.5rem;
}

.navbar-nav[b-ctcv1els6p] {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: row; /* Links in a row on desktop */
    gap: 0.5rem; /* Gap for horizontal links */
}

.nav-item .nav-link[b-ctcv1els6p] {
    color: #c9d1d9;
    text-decoration: none;
    padding: 0.5rem 0.9rem; /* Padding for horizontal links */
    border-radius: 6px;
    transition: color 0.2s ease, background-color 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
    background-color: transparent;
}

    .nav-item .nav-link:hover[b-ctcv1els6p] {
        color: #ffffff;
        background-color: #161b22;
    }

    .nav-item .nav-link.active[b-ctcv1els6p] {
        color: #ffffff;
        font-weight: 600;
    }

.nav-item .nav-link-highlight[b-ctcv1els6p] {
    color: #58a6ff;
    font-weight: 600;
}

    .nav-item .nav-link-highlight:hover[b-ctcv1els6p] {
        color: #79c0ff;
        background-color: #161b22;
    }

/* Sign In Button */
.navbar-signin-btn[b-ctcv1els6p] {
    color: #f0f0f0;
    background-color: #21262d;
    border: 1px solid #30363d;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    margin-left: auto;
    flex-shrink: 0;
    line-height: normal;
}

    .navbar-signin-btn:hover[b-ctcv1els6p] {
        background-color: #30363d;
        border-color: #8b949e;
        color: #ffffff;
    }

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler[b-ctcv1els6p] {
    display: none;
    background: transparent;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
    order: 3;
    margin-left: 1rem;
}

    .navbar-toggler:hover[b-ctcv1els6p] {
        opacity: 0.8;
    }

    .navbar-toggler .toggler-icon[b-ctcv1els6p] {
        display: block;
        width: 22px;
        height: 2px;
        background-color: #c9d1d9;
        border-radius: 1px;
        margin: 5px 0;
        transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.3s ease;
    }

    .navbar-toggler.active .toggler-icon:nth-child(1)[b-ctcv1els6p] {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggler.active .toggler-icon:nth-child(2)[b-ctcv1els6p] {
        opacity: 0;
        transform: scale(0.1);
    }

    .navbar-toggler.active .toggler-icon:nth-child(3)[b-ctcv1els6p] {
        transform: translateY(-7px) rotate(-45deg);
    }


@media (max-width: 991.98px) { /* Mobile view */
    .navbar-container[b-ctcv1els6p] {
        justify-content: space-between;
    }

    .navbar-links-desktop[b-ctcv1els6p] { /* This becomes the mobile dropdown container */
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #161b22;
        border-top: 1px solid #21262D;
        padding: 0.5rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.25);
        z-index: 100;
        margin-left: 0;
        align-items: stretch; /* Ensure items stretch in dropdown */
    }

        .navbar-links-desktop:not(.collapsed-mobile)[b-ctcv1els6p] {
            display: block;
        }

        .navbar-links-desktop.collapsed-mobile[b-ctcv1els6p] {
            display: none;
        }

    .navbar-nav[b-ctcv1els6p] { /* In mobile dropdown, links stack vertically */
        flex-direction: column; /* Ensure vertical stack on mobile */
        gap: 0;
    }

    .nav-item .nav-link[b-ctcv1els6p],
    .nav-item .nav-link-highlight[b-ctcv1els6p] {
        padding: 0.9rem 1.5rem;
        display: block; /* Ensure full width for tap targets */
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid #21262D;
        font-size: 1rem;
        color: #c9d1d9;
    }

    .nav-item .nav-link-highlight[b-ctcv1els6p] {
        color: #58a6ff;
    }

    .nav-item:last-child .nav-link[b-ctcv1els6p],
    .nav-item:last-child .nav-link-highlight[b-ctcv1els6p] {
        border-bottom: none;
    }

    .nav-item .nav-link:hover[b-ctcv1els6p],
    .nav-item .nav-link-highlight:hover[b-ctcv1els6p] {
        background-color: #0D1117;
        color: #ffffff;
    }

    .nav-item .nav-link.active[b-ctcv1els6p] {
        color: #ffffff;
        font-weight: 600;
        background-color: #0D1117;
    }

    .navbar-toggler[b-ctcv1els6p] {
        display: block;
    }
}

/* Utility classes if not using Bootstrap */
/* Ensure these are in your global CSS or define them here if scoped */
.d-none[b-ctcv1els6p] {
    display: none !important;
}

@media (min-width: 992px) { /* lg breakpoint */
    .d-lg-flex[b-ctcv1els6p] {
        display: flex !important;
    }

    .d-lg-none[b-ctcv1els6p] {
        display: none !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ahs6drchxo],
.components-reconnect-repeated-attempt-visible[b-ahs6drchxo],
.components-reconnect-failed-visible[b-ahs6drchxo],
.components-pause-visible[b-ahs6drchxo],
.components-resume-failed-visible[b-ahs6drchxo],
.components-rejoining-animation[b-ahs6drchxo] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-retrying[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-failed[b-ahs6drchxo],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ahs6drchxo] {
    display: block;
}


#components-reconnect-modal[b-ahs6drchxo] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ahs6drchxo 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ahs6drchxo 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ahs6drchxo 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ahs6drchxo]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ahs6drchxo 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ahs6drchxo {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ahs6drchxo {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ahs6drchxo {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ahs6drchxo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ahs6drchxo] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ahs6drchxo] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ahs6drchxo] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ahs6drchxo] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ahs6drchxo] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ahs6drchxo] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ahs6drchxo 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ahs6drchxo] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ahs6drchxo {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/CurrencySS.razor.rz.scp.css */
.dashboard-wrapper[b-5pzxu5cj2h] {
    font-family: 'Vazirmatn', sans-serif;
    background: transparent;
    color: #f8fafc;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    padding-bottom: 3rem;
    position: relative;
}

.dashboard[b-5pzxu5cj2h] {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 2rem 1rem;
    overflow-wrap: break-word;
}

.dashboard h1[b-5pzxu5cj2h] {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff 20%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Search ───────────────────────────────────────── */
.search-container[b-5pzxu5cj2h] {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.currency-search-input[b-5pzxu5cj2h] {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
    border-radius: 16px;
    background-color: rgba(10, 18, 35, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    text-align: right;
    font-size: 0.9rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: 'Vazirmatn', sans-serif;
}

    .currency-search-input:focus[b-5pzxu5cj2h] {
        outline: none;
        border-color: rgba(56, 189, 248, 0.5);
        box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
    }

.search-icon[b-5pzxu5cj2h] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.45;
    pointer-events: none;
}

/* ── Status Bar ───────────────────────────────────── */
.last-updated[b-5pzxu5cj2h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 15, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 0.75rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.last-updated-actions[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.refresh-btn[b-5pzxu5cj2h] {
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 0.85rem;
}

    .refresh-btn:hover[b-5pzxu5cj2h] {
        color: #7dd3fc;
    }

/* ── Currency Grid ────────────────────────────────── */
.currency-grid[b-5pzxu5cj2h] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
}

.currency-card-link[b-5pzxu5cj2h] {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

/* ── Card ─────────────────────────────────────────── */
.currency-card[b-5pzxu5cj2h] {
    background: linear-gradient(145deg, rgba(11, 20, 40, 0.95) 0%, rgba(18, 30, 58, 0.9) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 1.2rem 1.2rem 0.95rem;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s,
                box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}

    .currency-card[b-5pzxu5cj2h]::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 20px;
        background: radial-gradient(ellipse at 15% 10%, rgba(56, 189, 248, 0.09) 0%, transparent 60%);
        opacity: 0;
        transition: opacity 0.35s;
        pointer-events: none;
    }

    .currency-card:hover[b-5pzxu5cj2h] {
        border-color: rgba(56, 189, 248, 0.22);
        transform: translateY(-4px);
        box-shadow:
            0 20px 56px rgba(0, 0, 0, 0.5),
            0 0 0 1px rgba(56, 189, 248, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    .currency-card:hover[b-5pzxu5cj2h]::before {
        opacity: 1;
    }

/* ── Sparkline SVG background ─────────────────────── */
.card-sparkline[b-5pzxu5cj2h] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 36%;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.35s;
}

.currency-card:hover .card-sparkline[b-5pzxu5cj2h] {
    opacity: 0.85;
}

/* ── News snippet on card ─────────────────────────── */
.card-news[b-5pzxu5cj2h] {
    margin-top: 0.55rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.card-news-item[b-5pzxu5cj2h] {
    display: flex;
    align-items: flex-start;
    gap: 0.3rem;
    text-decoration: none;
    color: #64748b;
    font-size: 0.63rem;
    line-height: 1.4;
    transition: color 0.2s;
}

    .card-news-item:hover[b-5pzxu5cj2h] {
        color: #cbd5e1;
    }

.news-bullet[b-5pzxu5cj2h] {
    flex-shrink: 0;
    font-size: 0.5rem;
    margin-top: 3px;
    color: #475569;
}

.news-title-text[b-5pzxu5cj2h] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Card inner layout (above SVG) ───────────────── */
.card-header[b-5pzxu5cj2h] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.currency-identity[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.flag-img[b-5pzxu5cj2h] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.currency-text[b-5pzxu5cj2h] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.currency-name[b-5pzxu5cj2h] {
    font-weight: 700;
    font-size: 0.9rem;
    color: #e2e8f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-code[b-5pzxu5cj2h] {
    font-size: 0.68rem;
    color: #475569;
    font-family: monospace;
    letter-spacing: 0.06em;
    margin-top: 1px;
}

.currency-badge[b-5pzxu5cj2h] {
    font-size: 0.7rem;
    padding: 0.22rem 0.6rem;
    border-radius: 99px;
    font-weight: 700;
    direction: ltr;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-positive[b-5pzxu5cj2h] {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.22);
}

.badge-negative[b-5pzxu5cj2h] {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.22);
}

.badge-neutral[b-5pzxu5cj2h] {
    background: rgba(148, 163, 184, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.card-footer[b-5pzxu5cj2h] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.current-value[b-5pzxu5cj2h] {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
}

.price-label[b-5pzxu5cj2h] {
    font-size: 0.62rem;
    color: #475569;
    margin-bottom: 3px;
    letter-spacing: 0.03em;
}

.toman-unit[b-5pzxu5cj2h] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #64748b;
    margin-right: 4px;
}

.trend[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

    .trend.up[b-5pzxu5cj2h] { color: #4ade80; }
    .trend.down[b-5pzxu5cj2h] { color: #f87171; }
    .trend.neutral[b-5pzxu5cj2h] { color: #475569; }

/* ── Flash Animations ─────────────────────────────── */
.flash-green[b-5pzxu5cj2h] {
    animation: flashGreen-b-5pzxu5cj2h 1.1s ease-out forwards;
}

.flash-red[b-5pzxu5cj2h] {
    animation: flashRed-b-5pzxu5cj2h 1.1s ease-out forwards;
}

@keyframes flashGreen-b-5pzxu5cj2h {
    0% {
        border-color: rgba(74, 222, 128, 0.55);
        box-shadow: 0 0 18px rgba(74, 222, 128, 0.18), inset 0 0 30px rgba(74, 222, 128, 0.08);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }
}

@keyframes flashRed-b-5pzxu5cj2h {
    0% {
        border-color: rgba(248, 113, 113, 0.55);
        box-shadow: 0 0 18px rgba(248, 113, 113, 0.18), inset 0 0 30px rgba(248, 113, 113, 0.08);
    }

    100% {
        border-color: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }
}

/* ── Misc Sections ────────────────────────────────── */
.chart-container-wrapper[b-5pzxu5cj2h], .seo-content-section[b-5pzxu5cj2h] {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(8, 15, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.error-message[b-5pzxu5cj2h] {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.seo-section-title[b-5pzxu5cj2h] {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item[b-5pzxu5cj2h] {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .faq-item h3[b-5pzxu5cj2h] {
        color: #e2e8f0;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .faq-item p[b-5pzxu5cj2h] {
        color: #94a3b8;
        font-size: 0.9rem;
        line-height: 1.6;
    }

/* ── Home News Section ────────────────────────────── */
.home-news-section[b-5pzxu5cj2h] {
    margin-top: 2.5rem;
}

.home-news-header[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.home-news-title-row[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.home-news-accent[b-5pzxu5cj2h] {
    display: block;
    width: 4px;
    height: 1.4rem;
    border-radius: 2px;
    background: linear-gradient(to bottom, #38bdf8, #6366f1);
    flex-shrink: 0;
}

.home-news-title[b-5pzxu5cj2h] {
    font-size: 1.15rem;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0;
    -webkit-text-fill-color: unset;
    background: none;
}

/* ── Carousel nav ─────────────────────────────────── */
.carousel-nav[b-5pzxu5cj2h] {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.carousel-btn[b-5pzxu5cj2h] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    font-family: sans-serif;
    padding: 0;
}

.carousel-btn:hover[b-5pzxu5cj2h] {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

/* ── Carousel track ───────────────────────────────── */
.home-news-carousel[b-5pzxu5cj2h] {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0.25rem 1rem;
    -webkit-overflow-scrolling: touch;
}

.home-news-carousel[b-5pzxu5cj2h]::-webkit-scrollbar {
    display: none;
}

.home-news-card[b-5pzxu5cj2h] {
    flex: 0 0 290px;
    scroll-snap-align: start;
    background: linear-gradient(145deg, rgba(11, 20, 40, 0.95) 0%, rgba(18, 30, 58, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.32s,
                box-shadow 0.32s;
}

    .home-news-card:hover[b-5pzxu5cj2h] {
        transform: translateY(-4px);
        border-color: rgba(56, 189, 248, 0.22);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.07);
    }

.hnc-img-wrapper[b-5pzxu5cj2h] {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
}

.hnc-img[b-5pzxu5cj2h] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

    .home-news-card:hover .hnc-img[b-5pzxu5cj2h] {
        transform: scale(1.06);
    }

.hnc-img-placeholder[b-5pzxu5cj2h] {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    flex-shrink: 0;
}

.hnc-body[b-5pzxu5cj2h] {
    padding: 1rem 1.1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.hnc-code[b-5pzxu5cj2h] {
    display: inline-block;
    align-self: flex-start;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 6px;
    padding: 0.1rem 0.55rem;
    font-size: 0.62rem;
    font-family: monospace;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.hnc-title[b-5pzxu5cj2h] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hnc-excerpt[b-5pzxu5cj2h] {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hnc-date[b-5pzxu5cj2h] {
    font-size: 0.65rem;
    color: #334155;
    margin-top: auto;
    padding-top: 0.4rem;
}

/* ── Mobile ───────────────────────────────────────── */
@media (max-width: 640px) {
    .dashboard[b-5pzxu5cj2h] {
        padding: 1rem 0.5rem;
        max-width: 100%;
    }

        .dashboard h1[b-5pzxu5cj2h] {
            font-size: 1.3rem;
        }

    .last-updated[b-5pzxu5cj2h] {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem;
    }

    .currency-grid[b-5pzxu5cj2h] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    @media (max-width: 360px) {
        .currency-grid[b-5pzxu5cj2h] {
            grid-template-columns: 1fr;
        }
    }

    .currency-card[b-5pzxu5cj2h] {
        padding: 0.75rem;
        min-height: 130px;
    }

    .flag-img[b-5pzxu5cj2h] {
        width: 28px;
        height: 28px;
    }

    .currency-name[b-5pzxu5cj2h] {
        font-size: 0.75rem;
    }

    .currency-code[b-5pzxu5cj2h] {
        font-size: 0.6rem;
    }

    .currency-badge[b-5pzxu5cj2h] {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .current-value[b-5pzxu5cj2h] {
        font-size: 1.1rem;
    }

    .home-news-card[b-5pzxu5cj2h] {
        flex: 0 0 78vw;
    }

    .carousel-btn[b-5pzxu5cj2h] {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}

/* ── More news button ─────────────────────────────── */
.home-news-more[b-5pzxu5cj2h] {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.home-news-more-btn[b-5pzxu5cj2h] {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    border-radius: 50px;
    font-size: 0.9rem;
    font-family: 'Vazirmatn', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.home-news-more-btn:hover[b-5pzxu5cj2h] {
    background: rgba(56, 189, 248, 0.16);
    border-color: rgba(56, 189, 248, 0.5);
    color: #7dd3fc;
    transform: translateY(-1px);
}

/* ── Ad Grid ──────────────────────────────────────── */
.ad-grid[b-5pzxu5cj2h] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    width: 100%;
}

.ad-card[b-5pzxu5cj2h] {
    position: relative;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(11, 20, 40, 0.95) 0%, rgba(18, 30, 58, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s, border-color 0.4s;
    text-decoration: none;
}

.ad-card:hover[b-5pzxu5cj2h] {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
}

.ad-img[b-5pzxu5cj2h] {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
    display: block;
    opacity: 0.9;
}

.ad-card:hover .ad-img[b-5pzxu5cj2h] {
    transform: scale(1.08);
    opacity: 1;
}

.ad-badge[b-5pzxu5cj2h] {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e2e8f0;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ad-overlay[b-5pzxu5cj2h] {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 20, 40, 0.95) 0%, rgba(11, 20, 40, 0.3) 40%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.ad-card:hover .ad-overlay[b-5pzxu5cj2h] {
    opacity: 1;
}

.ad-cta[b-5pzxu5cj2h] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 0.5rem 1.2rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(56, 189, 248, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ad-card:hover .ad-cta[b-5pzxu5cj2h] {
    transform: translateY(0);
    opacity: 1;
    background: rgba(56, 189, 248, 0.25);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.2);
}
/* /Components/Pages/SecondPage.razor.rz.scp.css */
.LinkTo[b-tn7gshlwku] {

    width: 49%;
    height: 80px;
    line-height: 60px;
    text-align: center;
    margin-top: 10px;
   margin-right:5px;
    display:inline-flex;
    padding:10px;
    border-radius:10px;
    background-color:rgba(30, 41, 59, 0.35);
}
/* =========================================
       Base Layout
       ========================================= */
*[b-tn7gshlwku] {
    box-sizing: border-box;
}

.detail-wrapper[b-tn7gshlwku] {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #020617;
    background-image: radial-gradient(at 100% 0%, hsla(253,16%,7%,1) 0, transparent 50%), radial-gradient(at 0% 100%, hsla(225,39%,30%,0.1) 0, transparent 50%);
    color: #f8fafc;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1.5rem 1rem;
}

.detail-container[b-tn7gshlwku] {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
       Animation & Card Styles (IMPROVED)
       ========================================= */
.glass-effect[b-tn7gshlwku] {
    background: rgba(30, 41, 59, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

/* FLASH ANIMATIONS WITH !IMPORTANT */
.flash-green[b-tn7gshlwku] {
    animation: flashGreenAnimation-b-tn7gshlwku 1.2s ease-out forwards;
}

.flash-red[b-tn7gshlwku] {
    animation: flashRedAnimation-b-tn7gshlwku 1.2s ease-out forwards;
}

@keyframes flashGreenAnimation-b-tn7gshlwku {
    0% {
        background-color: rgba(34, 197, 94, 0.4) !important;
        border-color: rgba(34, 197, 94, 0.8) !important;
        box-shadow: 0 0 40px rgba(34, 197, 94, 0.3);
        transform: scale(1.02);
    }

    100% {
        background-color: rgba(30, 41, 59, 0.35);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
}

@keyframes flashRedAnimation-b-tn7gshlwku {
    0% {
        background-color: rgba(239, 68, 68, 0.4) !important;
        border-color: rgba(239, 68, 68, 0.8) !important;
        box-shadow: 0 0 40px rgba(239, 68, 68, 0.3);
        transform: scale(1.02);
    }

    100% {
        background-color: rgba(30, 41, 59, 0.35);
        border-color: rgba(255, 255, 255, 0.08);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }
}

/* =========================================
       Other Components
       ========================================= */
.detail-header[b-tn7gshlwku] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-title[b-tn7gshlwku] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
}

.back-btn[b-tn7gshlwku] {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s;
}

    .back-btn:hover[b-tn7gshlwku] {
        background: rgba(30, 41, 59, 0.8);
        color: #fff;
    }

.identity-section[b-tn7gshlwku] {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.icon-wrapper[b-tn7gshlwku] {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 4px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 1rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.currency-flag[b-tn7gshlwku] {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.currency-name-fa[b-tn7gshlwku] {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.currency-code-en[b-tn7gshlwku] {
    font-size: 0.9rem;
    color: #64748b;
    font-family: monospace;
}

.price-hero-section[b-tn7gshlwku] {
    text-align: center;
    background: rgba(15, 23, 42, 0.4);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.03);
}

.price-label[b-tn7gshlwku] {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.5rem;
}

.price-value-wrapper[b-tn7gshlwku] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.price-amount[b-tn7gshlwku] {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.price-unit[b-tn7gshlwku] {
    font-size: 1rem;
    color: #64748b;
}

.trend-badge[b-tn7gshlwku] {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .badge-positive[b-tn7gshlwku], .trend-badge.up[b-tn7gshlwku] {
        color: #4ade80;
    }

    .badge-negative[b-tn7gshlwku], .trend-badge.down[b-tn7gshlwku] {
        color: #f87171;
    }

    .badge-neutral[b-tn7gshlwku], .trend-badge.neutral[b-tn7gshlwku] {
        color: #94a3b8;
    }

.stats-grid[b-tn7gshlwku] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-item[b-tn7gshlwku] {
    background: rgba(255,255,255,0.02);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-label[b-tn7gshlwku] {
    font-size: 0.75rem;
    color: #64748b;
    display: block;
    margin-bottom: 0.3rem;
}

.stat-value[b-tn7gshlwku] {
    font-size: 1rem;
    font-weight: 700;
    font-family: ui-monospace, monospace;
}

.converter-section[b-tn7gshlwku] {
    background: rgba(56, 189, 248, 0.05);
    border: 1px dashed rgba(56, 189, 248, 0.2);
    border-radius: 16px;
    padding: 1.2rem;
}

.converter-title[b-tn7gshlwku] {
    font-size: 0.9rem;
    color: #38bdf8;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
}

.converter-input-group[b-tn7gshlwku] {
    position: relative;
    margin-bottom: 0.8rem;
}

.converter-input[b-tn7gshlwku] {
    width: 100%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 0.8rem;
    padding-left: 3rem;
    border-radius: 10px;
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
}

    .converter-input:focus[b-tn7gshlwku] {
        outline: none;
        border-color: #38bdf8;
    }

.converter-symbol[b-tn7gshlwku] {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.8rem;
}

.converter-result[b-tn7gshlwku] {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

    .converter-result small[b-tn7gshlwku] {
        font-size: 0.7rem;
        color: #64748b;
        margin-right: 4px;
    }

.fade-in[b-tn7gshlwku] {
    animation: fadeIn-b-tn7gshlwku 0.5s ease-out;
}

.fade-in-up[b-tn7gshlwku] {
    animation: fadeInUp-b-tn7gshlwku 0.6s ease-out;
}

@keyframes fadeIn-b-tn7gshlwku {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp-b-tn7gshlwku {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-state[b-tn7gshlwku], .error-state[b-tn7gshlwku] {
    text-align: center;
    margin-top: 4rem;
    color: #94a3b8;
}

.spinner[b-tn7gshlwku] {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spin-b-tn7gshlwku 1s linear infinite;
    margin: 0 auto 1rem;
}

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

.back-btn-primary[b-tn7gshlwku] {
    background: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    margin-top: 1rem;
    cursor: pointer;
}

@media (max-width: 400px) {
    .stats-grid[b-tn7gshlwku] {
        grid-template-columns: 1fr;
    }
}
