/* /Components/Layout/Footer.razor.rz.scp.css */
/* Modern Footer Styles with Premium UI */

.modern-footer[b-j6d34t00rz] {
    position: relative;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0d1117 100%);
    color: #e6edf3;
    overflow: hidden;
    margin-top: auto;
}

/* Wave Effect at Top */
.footer-wave[b-j6d34t00rz] {
    position: relative;
    width: 100%;
    height: 80px;
    margin-bottom: -1px;
    overflow: hidden;
}

.footer-wave svg[b-j6d34t00rz] {
    width: 100%;
    height: 100%;
}

.wave-fill[b-j6d34t00rz] {
    fill: rgba(88, 166, 255, 0.1);
    animation: wave-animation-b-j6d34t00rz 15s ease-in-out infinite;
}

@keyframes wave-animation-b-j6d34t00rz {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25px);
    }
}

/* Main Content Container */
.footer-content[b-j6d34t00rz] {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    z-index: 1;
}

/* Footer Grid */
.footer-grid[b-j6d34t00rz] {
    transform: translateY(30px);
}

to[b-j6d34t00rz] {
    opacity: 1;
    transform: translateY(0);
}
}

/* Gradient Text */
.gradient-text[b-j6d34t00rz] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Footer Title */
.footer-title[b-j6d34t00rz] {
    font-size: 1.75rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.footer-description[b-j6d34t00rz] {
    color: #8b949e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Section Titles */
.section-title[b-j6d34t00rz] {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #e6edf3;
    position: relative;
    display: inline-block;
}

.section-title[b-j6d34t00rz]::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

/* Social Links */
.social-links[b-j6d34t00rz] {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link[b-j6d34t00rz] {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #8b949e;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link[b-j6d34t00rz]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover[b-j6d34t00rz] {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.5);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.social-link:hover[b-j6d34t00rz]::before {
    opacity: 1;
}

.social-link svg[b-j6d34t00rz] {
    width: 20px;
    height: 20px;
    color: #667eea;
}

/* Newsletter Section */
.newsletter-section[b-j6d34t00rz] {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.newsletter-section[b-j6d34t00rz]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    background-size: 200% 100%;
    animation: gradient-shift-b-j6d34t00rz 3s ease infinite;
}

@keyframes gradient-shift-b-j6d34t00rz {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.newsletter-content[b-j6d34t00rz] {
    flex: 1;
    min-width: 280px;
}

.newsletter-title[b-j6d34t00rz] {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #e6edf3;
}

.newsletter-description[b-j6d34t00rz] {
    color: #8b949e;
    margin: 0;
    font-size: 0.95rem;
}

.newsletter-form[b-j6d34t00rz] {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 300px;
}

.newsletter-input[b-j6d34t00rz] {
    flex: 1;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e6edf3;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input[b-j6d34t00rz]::placeholder {
    color: #6e7681;
}

.newsletter-input:focus[b-j6d34t00rz] {
    background: rgba(255, 255, 255, 0.08);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.newsletter-button[b-j6d34t00rz] {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.newsletter-button[b-j6d34t00rz]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #764ba2, #f093fb);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.newsletter-button:hover[b-j6d34t00rz] {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.newsletter-button:hover[b-j6d34t00rz]::before {
    opacity: 1;
}

.newsletter-button span[b-j6d34t00rz],
.newsletter-button svg[b-j6d34t00rz] {
    position: relative;
    z-index: 1;
}

.newsletter-button svg[b-j6d34t00rz] {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.newsletter-button:hover svg[b-j6d34t00rz] {
    transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom[b-j6d34t00rz] {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align:center;
}

.footer-bottom-content[b-j6d34t00rz] {

    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.copyright[b-j6d34t00rz] {
    margin: 0;
    color: #8b949e;
    font-size: 0.9rem;
}

.footer-bottom-links[b-j6d34t00rz] {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.separator[b-j6d34t00rz] {
    color: #484f58;
}

/* Animated Background Decorations */
.bg-decoration[b-j6d34t00rz] {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.15), transparent);
    filter: blur(60px);
    animation: float-b-j6d34t00rz 20s ease-in-out infinite;
    pointer-events: none;
}

.decoration-1[b-j6d34t00rz] {
    width: 400px;
    height: 400px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.decoration-2[b-j6d34t00rz] {
    width: 300px;
    height: 300px;
    bottom: 20%;
    right: -5%;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.15), transparent);
    animation-delay: 5s;
}

.decoration-3[b-j6d34t00rz] {
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(240, 147, 251, 0.1), transparent);
    animation-delay: 10s;
}

@keyframes float-b-j6d34t00rz {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content[b-j6d34t00rz] {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-grid[b-j6d34t00rz] {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .newsletter-section[b-j6d34t00rz] {
        padding: 2rem 1.5rem;
        text-align: center;
    }

    .newsletter-form[b-j6d34t00rz] {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-button[b-j6d34t00rz] {
        justify-content: center;
    }

    .footer-bottom-content[b-j6d34t00rz] {
        flex-direction: column;
        text-align: center;
    }

    .footer-wave[b-j6d34t00rz] {
        height: 60px;
    }

    .social-links[b-j6d34t00rz] {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-title[b-j6d34t00rz] {
        font-size: 1.5rem;
    }

    .newsletter-title[b-j6d34t00rz] {
        font-size: 1.25rem;
    }

    .social-link[b-j6d34t00rz] {
        width: 38px;
        height: 38px;
    }

    .social-link svg[b-j6d34t00rz] {
        width: 18px;
        height: 18px;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-sbywprs9fx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-sbywprs9fx] {
    flex: 1;
}

.sidebar[b-sbywprs9fx] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-sbywprs9fx] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-sbywprs9fx]  a, .top-row[b-sbywprs9fx]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-sbywprs9fx]  a:hover, .top-row[b-sbywprs9fx]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-sbywprs9fx]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-sbywprs9fx] {
        justify-content: space-between;
    }

    .top-row[b-sbywprs9fx]  a, .top-row[b-sbywprs9fx]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-sbywprs9fx] {
        flex-direction: row;
    }

    .sidebar[b-sbywprs9fx] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-sbywprs9fx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-sbywprs9fx]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-sbywprs9fx], article[b-sbywprs9fx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-sbywprs9fx] {
    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-sbywprs9fx] {
        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-ua675og395] {
    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-ua675og395] {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.navbar-brand[b-ua675og395] {
    text-decoration: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

    .navbar-brand:hover[b-ua675og395] {
        opacity: 0.85;
    }

    .navbar-brand svg[b-ua675og395] {
        display: block;
    }

/* Container for the navigation links on desktop */
.navbar-links-desktop[b-ua675og395] {
    display: flex;
    align-items: center; /* Vertically align items in the row */
    margin-left: 1.5rem;
}

.navbar-nav[b-ua675og395] {
    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-ua675og395] {
    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-ua675og395] {
        color: #ffffff;
        background-color: #161b22;
    }

    .nav-item .nav-link.active[b-ua675og395] {
        color: #ffffff;
        font-weight: 600;
    }

.nav-item .nav-link-highlight[b-ua675og395] {
    color: #58a6ff;
    font-weight: 600;
}

    .nav-item .nav-link-highlight:hover[b-ua675og395] {
        color: #79c0ff;
        background-color: #161b22;
    }

/* Sign In Button */
.navbar-signin-btn[b-ua675og395] {
    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-ua675og395] {
        background-color: #30363d;
        border-color: #8b949e;
        color: #ffffff;
    }

/* Navbar Toggler (Hamburger Menu) */
.navbar-toggler[b-ua675og395] {
    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-ua675og395] {
        opacity: 0.8;
    }

    .navbar-toggler .toggler-icon[b-ua675og395] {
        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-ua675og395] {
        transform: translateY(7px) rotate(45deg);
    }

    .navbar-toggler.active .toggler-icon:nth-child(2)[b-ua675og395] {
        opacity: 0;
        transform: scale(0.1);
    }

    .navbar-toggler.active .toggler-icon:nth-child(3)[b-ua675og395] {
        transform: translateY(-7px) rotate(-45deg);
    }


@media (max-width: 991.98px) { /* Mobile view */
    .navbar-container[b-ua675og395] {
        justify-content: space-between;
    }

    .navbar-links-desktop[b-ua675og395] { /* 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-ua675og395] {
            display: block;
        }

        .navbar-links-desktop.collapsed-mobile[b-ua675og395] {
            display: none;
        }

    .navbar-nav[b-ua675og395] { /* In mobile dropdown, links stack vertically */
        flex-direction: column; /* Ensure vertical stack on mobile */
        gap: 0;
    }

    .nav-item .nav-link[b-ua675og395],
    .nav-item .nav-link-highlight[b-ua675og395] {
        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-ua675og395] {
        color: #58a6ff;
    }

    .nav-item:last-child .nav-link[b-ua675og395],
    .nav-item:last-child .nav-link-highlight[b-ua675og395] {
        border-bottom: none;
    }

    .nav-item .nav-link:hover[b-ua675og395],
    .nav-item .nav-link-highlight:hover[b-ua675og395] {
        background-color: #0D1117;
        color: #ffffff;
    }

    .nav-item .nav-link.active[b-ua675og395] {
        color: #ffffff;
        font-weight: 600;
        background-color: #0D1117;
    }

    .navbar-toggler[b-ua675og395] {
        display: block;
    }
}

/* Utility classes if not using Bootstrap */
/* Ensure these are in your global CSS or define them here if scoped */
.d-none[b-ua675og395] {
    display: none !important;
}

@media (min-width: 992px) { /* lg breakpoint */
    .d-lg-flex[b-ua675og395] {
        display: flex !important;
    }

    .d-lg-none[b-ua675og395] {
        display: none !important;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-9wpo8eit06],
.components-reconnect-repeated-attempt-visible[b-9wpo8eit06],
.components-reconnect-failed-visible[b-9wpo8eit06],
.components-pause-visible[b-9wpo8eit06],
.components-resume-failed-visible[b-9wpo8eit06],
.components-rejoining-animation[b-9wpo8eit06] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-retrying[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-failed[b-9wpo8eit06],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-9wpo8eit06] {
    display: block;
}


#components-reconnect-modal[b-9wpo8eit06] {
    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-9wpo8eit06 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-9wpo8eit06 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-9wpo8eit06 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-9wpo8eit06]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-9wpo8eit06 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-9wpo8eit06 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-9wpo8eit06 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-9wpo8eit06 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-9wpo8eit06] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-9wpo8eit06] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-9wpo8eit06] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-9wpo8eit06] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-9wpo8eit06] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-9wpo8eit06] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-9wpo8eit06] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-9wpo8eit06 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-9wpo8eit06] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-9wpo8eit06 {
    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-39ruq4sm93] {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #020617;
    background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), radial-gradient(at 50% 0%, hsla(225,39%,30%,0.1) 0, transparent 50%);
    color: #f8fafc;
    min-height: 100vh;
    width: 100%; /* Fixed from 100vw */
    overflow-x: hidden;
    padding-bottom: 3rem;
    position: relative;
}

.dashboard[b-39ruq4sm93] {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 2rem 1rem;
    /* Ensure content doesn't push width */
    overflow-wrap: break-word;
}

    .dashboard h1[b-39ruq4sm93] {
        font-size: 1.6rem;
        text-align: center;
        margin-bottom: 0.5rem;
        font-weight: 800;
        background: linear-gradient(to right, #fff, #94a3b8);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

/* Search */
.search-container[b-39ruq4sm93] {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
}

.currency-search-input[b-39ruq4sm93] {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
    border-radius: 16px;
    background-color: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    color: #f1f5f9;
    text-align: right;
    font-size: 0.9rem;
}

    .currency-search-input:focus[b-39ruq4sm93] {
        outline: none;
        border-color: #38bdf8;
        background-color: rgba(30, 41, 59, 0.9);
    }

.search-icon[b-39ruq4sm93] {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
}

/* Status Bar */
.last-updated[b-39ruq4sm93] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 0.75rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.last-updated-actions[b-39ruq4sm93] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.refresh-btn[b-39ruq4sm93] {
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Grid System */
.currency-grid[b-39ruq4sm93] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    width: 100%;
}

.currency-card-link[b-39ruq4sm93] {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Card Styling */
.currency-card[b-39ruq4sm93] {
    background-color: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 1.25rem;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s;
}

    .currency-card:hover[b-39ruq4sm93] {
        border-color: rgba(56, 189, 248, 0.5);
        background-color: rgba(30, 41, 59, 0.7);
    }

.card-header[b-39ruq4sm93] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.currency-identity[b-39ruq4sm93] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.flag-img[b-39ruq4sm93] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.currency-text[b-39ruq4sm93] {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.currency-name[b-39ruq4sm93] {
    font-weight: 700;
    font-size: 0.9rem;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-code[b-39ruq4sm93] {
    font-size: 0.7rem;
    color: #64748b;
    font-family: monospace;
}

.currency-badge[b-39ruq4sm93] {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 99px;
    font-weight: 600;
    direction: ltr;
    white-space: nowrap;
    flex-shrink: 0;
}

.badge-positive[b-39ruq4sm93] {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.badge-negative[b-39ruq4sm93] {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}

.badge-neutral[b-39ruq4sm93] {
    background: rgba(148, 163, 184, 0.15);
    color: #94a3b8;
}

.card-footer[b-39ruq4sm93] {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.current-value[b-39ruq4sm93] {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f8fafc;
}

.price-label[b-39ruq4sm93] {
    font-size: 0.65rem;
    color: #64748b;
}

.toman-unit[b-39ruq4sm93] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #94a3b8;
    margin-right: 4px;
}

.trend[b-39ruq4sm93] {
    display: flex;
    align-items: center;
}

    .trend.up[b-39ruq4sm93] {
        color: #4ade80;
    }

    .trend.down[b-39ruq4sm93] {
        color: #f87171;
    }

    .trend.neutral[b-39ruq4sm93] {
        color: #94a3b8;
    }

/* Flash Animation */
.flash-green[b-39ruq4sm93] {
    animation: flashGreen-b-39ruq4sm93 1s ease-out;
}

.flash-red[b-39ruq4sm93] {
    animation: flashRed-b-39ruq4sm93 1s ease-out;
}

@keyframes flashGreen-b-39ruq4sm93 {
    0% {
        background-color: rgba(34,197,94,0.2);
        border-color: rgba(34,197,94,0.5);
    }

    100% {
        background-color: rgba(30, 41, 59, 0.4);
        border-color: rgba(255,255,255,0.05);
    }
}

@keyframes flashRed-b-39ruq4sm93 {
    0% {
        background-color: rgba(248,113,113,0.2);
        border-color: rgba(248,113,113,0.5);
    }

    100% {
        background-color: rgba(30, 41, 59, 0.4);
        border-color: rgba(255,255,255,0.05);
    }
}

/* Chart & Other Sections */
.chart-container-wrapper[b-39ruq4sm93], .seo-content-section[b-39ruq4sm93] {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
}

.error-message[b-39ruq4sm93] {
    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-39ruq4sm93] {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.seo-text[b-39ruq4sm93] {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.7;
}

.faq-item[b-39ruq4sm93] {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .faq-item h3[b-39ruq4sm93] {
        color: #e2e8f0;
        font-weight: 600;
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    .faq-item p[b-39ruq4sm93] {
        color: #94a3b8;
        font-size: 0.9rem;
        line-height: 1.6;
    }

/* =======================
       MOBILE SPECIFIC FIXES
    ======================== */
@media (max-width: 640px) {
    .dashboard[b-39ruq4sm93] {
        padding: 1rem 0.5rem; /* Minimize padding */
        max-width: 100%;
    }

        .dashboard h1[b-39ruq4sm93] {
            font-size: 1.3rem;
        }
    /* Fix Status Bar */
    .last-updated[b-39ruq4sm93] {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.75rem;
    }
    /* Ensure Grid stays inside */
    .currency-grid[b-39ruq4sm93] {
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* Strict 2 columns */
        gap: 0.5rem;
    }
    /* Very Small Screens -> 1 Column */
    @media (max-width: 360px) {
        .currency-grid[b-39ruq4sm93] {
            grid-template-columns: 1fr;
        }
    }

    .currency-card[b-39ruq4sm93] {
        padding: 0.75rem;
        min-height: 100px;
    }

    .flag-img[b-39ruq4sm93] {
        width: 28px;
        height: 28px;
    }

    .currency-name[b-39ruq4sm93] {
        font-size: 0.75rem;
    }

    .currency-code[b-39ruq4sm93] {
        font-size: 0.6rem;
    }

    .currency-badge[b-39ruq4sm93] {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .current-value[b-39ruq4sm93] {
        font-size: 1.1rem;
    }
}
/* /Components/Pages/SecondPage.razor.rz.scp.css */
.currency-detail-container[b-sxo0vsbp8p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 50vh;
    margin-top: 20px;
    margin-bottom: 28px;
    width: 100%;
}

.glass-card[b-sxo0vsbp8p], .currency-card-detail[b-sxo0vsbp8p] {
    background: rgba(30,36,48,0.61);
    backdrop-filter: blur(13px) saturate(150%);
    border-radius: 17px;
    box-shadow: 0 6px 26px rgba(51,190,120,0.07), 0 2px 8px #181a25 inset;
    padding: 28px 22px 19px 22px;
    min-width: 300px;
    max-width: 410px;
    width: 100%;
    margin-bottom: 25px;
    border: 1.2px solid rgba(255,255,255,0.06);
    transition: box-shadow .28s, border-color .18s;
    animation: fadeInSlideUp-b-sxo0vsbp8p .62s cubic-bezier(.4,.6,.3,1) forwards;
    opacity: 0;
}

@keyframes fadeInSlideUp-b-sxo0vsbp8p {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.98) rotate(1.5deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.currency-card-detail:hover[b-sxo0vsbp8p] {
    box-shadow: 0 18px 36px rgba(44,255,157,0.12), 0 2px 11px #171c27 inset;
    border-color: #23d1608f;
}

.card-header[b-sxo0vsbp8p] {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 17px;
    justify-content: flex-start;
}

.icon[b-sxo0vsbp8p] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(120deg,#292b38,#23263d 65%);
    box-shadow: 0 2px 11px #181a2582;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon img[b-sxo0vsbp8p] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.currency-info[b-sxo0vsbp8p] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.currency-name-detail[b-sxo0vsbp8p] {
    font-size: 1.16em;
    color: #fff;
    font-weight: 700;
}

.currency-code-detail[b-sxo0vsbp8p] {
    font-size: 0.97em;
    color: #a8e1e7;
}

.card-body-detail[b-sxo0vsbp8p] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-section[b-sxo0vsbp8p] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #262e36;
    padding: 8px 0 2px 0;
}

    .detail-section:last-child[b-sxo0vsbp8p] {
        border-bottom: none;
    }

.detail-label[b-sxo0vsbp8p] {
    color: #e1e1e1;
    font-size: 0.99em;
    font-weight: 400;
}

.detail-value[b-sxo0vsbp8p] {
    font-weight: 700;
    font-size: 1.05em;
    color: #34C759;
    letter-spacing: 0.02em;
    text-align: left;
    direction: ltr;
}

.current-value[b-sxo0vsbp8p] {
    font-size: 1.39em;
    color: #fff;
}

.ColorBackGreen[b-sxo0vsbp8p] {
    color: #2AFF96 !important;
}

.ColorBackRed[b-sxo0vsbp8p] {
    color: #FF3A3A !important;
}

.ColorBlue[b-sxo0vsbp8p] {
    color: #59abff !important;
}

.trend.up[b-sxo0vsbp8p] {
    color: #2AFF96 !important;
}

.trend.down[b-sxo0vsbp8p] {
    color: #FF3A3A !important;
}

.trend.neutral[b-sxo0vsbp8p] {
    color: #ffd980 !important;
}

.trend .arrow[b-sxo0vsbp8p] {
    font-size: 1.3em;
    margin-left: 2px;
}

.loading-message[b-sxo0vsbp8p] {
    text-align: center;
    color: #34C759;
    font-weight: 700;
    font-size: 1.1em;
    margin: 45px 0 22px 0;
    position: relative;
}

    .loading-message[b-sxo0vsbp8p]:before {
        content: '';
        display: inline-block;
        width: 23px;
        height: 23px;
        border-radius: 50%;
        border: 3px solid #34C759;
        border-top: 3px solid transparent;
        animation: spin-b-sxo0vsbp8p 0.7s linear infinite;
        margin-left: 11px;
        vertical-align: middle;
    }

@keyframes spin-b-sxo0vsbp8p {
    to {
        transform: rotate(360deg);
    }
}

.back-button[b-sxo0vsbp8p] {
    margin: 25px auto 0 auto;
    background: linear-gradient(90deg,#22c3c3 5%, #1884e6 96%);
    color: #fff;
    font-size: 1.07em;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 12px 36px;
    cursor: pointer;
    transition: background 0.23s, box-shadow 0.2s;
    box-shadow: 0 2px 13px rgba(38,230,200,0.08);
    display: block;
}

    .back-button:hover[b-sxo0vsbp8p] {
        background: linear-gradient(90deg,#1884e6 5%, #22c3c3 96%);
        box-shadow: 0 8px 30px rgba(35,199,210,0.16);
    }

.error-message[b-sxo0vsbp8p] {
    background: #321e2a6e;
    border-radius: 10px;
    padding: 18px 17px;
    color: #f66;
    text-align: center;
    font-size: 1.1em;
    margin: 22px auto 12px auto;
    max-width: 350px;
}

@media (max-width: 500px) {
    .glass-card[b-sxo0vsbp8p], .currency-card-detail[b-sxo0vsbp8p] {
        min-width: 0;
        max-width: 100vw;
        padding: 16px 4px 14px 4px;
    }

    .card-header[b-sxo0vsbp8p] {
        gap: 8px;
    }

    .icon[b-sxo0vsbp8p] {
        width: 35px;
        height: 35px;
    }

    .currency-name-detail[b-sxo0vsbp8p] {
        font-size: 1em;
    }

    .currency-code-detail[b-sxo0vsbp8p] {
        font-size: 0.85em;
    }

    .back-button[b-sxo0vsbp8p] {
        font-size: 1em;
        padding: 10px 10vw;
    }
}
