/* /Components/Layout/MainLayout.razor.rz.scp.css */
main[b-0v7swfoy3a] {
    min-height: 100vh;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-qh6cg2hyr8] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-qh6cg2hyr8] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-qh6cg2hyr8] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-qh6cg2hyr8] {
    font-size: 1.1rem;
}

.bi[b-qh6cg2hyr8] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-qh6cg2hyr8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-qh6cg2hyr8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-qh6cg2hyr8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-qh6cg2hyr8] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-qh6cg2hyr8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-qh6cg2hyr8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-qh6cg2hyr8]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-qh6cg2hyr8]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-qh6cg2hyr8]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-qh6cg2hyr8] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-qh6cg2hyr8] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-qh6cg2hyr8] {
        display: none;
    }

    .nav-scrollable[b-qh6cg2hyr8] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Pages/Home.razor.rz.scp.css */

:global(*)[b-aljk4ggkaf] {
    box-sizing: border-box;
}

:global(html)[b-aljk4ggkaf],
:global(body)[b-aljk4ggkaf] {
    margin: 0;
    min-width: 320px;
    min-height: 100%;
}

:global(body)[b-aljk4ggkaf] {
    font-family: "Inter", "Vazirmatn", sans-serif;
    background-color: #1687d9;
}

:global(button)[b-aljk4ggkaf],
:global(input)[b-aljk4ggkaf] {
    font: inherit;
}

.translator-page[b-aljk4ggkaf] {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
    padding: 48px 24px 32px;
    color: #ffffff;
    background-color: #1687d9;
    background-image: radial-gradient( circle at 1px 1px, rgba(255, 255, 255, 0.15) 1px, transparent 0 ), linear-gradient( 145deg, rgba(255, 255, 255, 0.03), rgba(0, 58, 128, 0.12) );
    background-size: 22px 22px, 100% 100%;
}

    .translator-page[b-aljk4ggkaf]::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient( circle at 50% 40%, rgba(255, 255, 255, 0.12), transparent 42% );
    }

.background-decoration[b-aljk4ggkaf] {
    position: absolute;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.decoration-one[b-aljk4ggkaf] {
    top: -240px;
    left: -150px;
}

.decoration-two[b-aljk4ggkaf] {
    right: -170px;
    bottom: -250px;
    width: 520px;
    height: 520px;
}

.translator-container[b-aljk4ggkaf] {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    text-align: center;
}

.translator-header[b-aljk4ggkaf] {
    margin-bottom: 34px;
}

.brand-mark[b-aljk4ggkaf] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    color: #ffffff;
    font-size: 29px;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(0, 62, 120, 0.22), inset 0 0 20px rgba(255, 255, 255, 0.06);
    transform: rotate(-4deg);
}

.translator-header h1[b-aljk4ggkaf] {
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -1.6px;
    line-height: 1.15;
}

.translator-header p[b-aljk4ggkaf] {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    font-weight: 400;
}

.translator-box[b-aljk4ggkaf] {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 22px 60px rgba(0, 56, 110, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.input-wrapper[b-aljk4ggkaf] {
    position: relative;
    flex: 1;
}

.name-input[b-aljk4ggkaf] {
    width: 100%;
    height: 64px;
    padding: 0 52px 0 21px;
    border: 0;
    border-radius: 11px 5px 5px 11px;
    outline: none;
    color: #182535;
    background: #ffffff;
    font-size: 17px;
    font-weight: 500;
    box-shadow: inset 0 1px 2px rgba(13, 42, 68, 0.07);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

    .name-input[b-aljk4ggkaf]::placeholder {
        color: #9aa8b6;
        font-weight: 400;
    }

    .name-input:focus[b-aljk4ggkaf] {
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), inset 0 1px 2px rgba(13, 42, 68, 0.07);
    }

.clear-button[b-aljk4ggkaf] {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 29px;
    height: 29px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #93a0ac;
    background: #eef2f5;
    font-size: 22px;
    line-height: 27px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 150ms ease, background-color 150ms ease;
}

    .clear-button:hover[b-aljk4ggkaf] {
        color: #485869;
        background: #e3e9ee;
    }

.translate-button[b-aljk4ggkaf] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 150px;
    height: 64px;
    padding: 0 22px;
    border: 0;
    border-radius: 5px 11px 11px 5px;
    color: #ffffff;
    background: #085fa7;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

    .translate-button svg[b-aljk4ggkaf] {
        width: 19px;
        height: 19px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 160ms ease;
    }

    .translate-button:hover:not(:disabled)[b-aljk4ggkaf] {
        background: #064f8d;
    }

        .translate-button:hover:not(:disabled) svg[b-aljk4ggkaf] {
            transform: translateX(3px);
        }

    .translate-button:active:not(:disabled)[b-aljk4ggkaf] {
        transform: translateY(1px);
    }

    .translate-button:disabled[b-aljk4ggkaf] {
        cursor: not-allowed;
        opacity: 0.56;
    }

.result-card[b-aljk4ggkaf] {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-top: 20px;
    padding: 18px 18px 18px 22px;
    border: 1px solid rgba(255, 255, 255, 0.33);
    border-radius: 15px;
    text-align: left;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(0, 58, 113, 0.22);
    animation: result-appear-b-aljk4ggkaf 220ms ease-out;
}

.result-label[b-aljk4ggkaf] {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    color: #8794a0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.result-value[b-aljk4ggkaf] {
    overflow-wrap: anywhere;
    color: #15283b;
    font-family: "Vazirmatn", sans-serif;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.copy-button[b-aljk4ggkaf] {
    min-width: 78px;
    margin-left: 20px;
    padding: 9px 15px;
    border: 1px solid #dbe4ea;
    border-radius: 9px;
    color: #3573a5;
    background: #f5f8fa;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}

    .copy-button:hover[b-aljk4ggkaf] {
        border-color: #c5d8e6;
        background: #ebf3f8;
    }

.message[b-aljk4ggkaf] {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 500;
    animation: result-appear-b-aljk4ggkaf 220ms ease-out;
}

.error-message[b-aljk4ggkaf] {
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    background: rgba(146, 29, 40, 0.35);
}

.examples[b-aljk4ggkaf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 23px;
}

    .examples span[b-aljk4ggkaf] {
        margin-right: 3px;
        color: rgba(255, 255, 255, 0.66);
        font-size: 13px;
    }

    .examples button[b-aljk4ggkaf] {
        padding: 7px 11px;
        border: 1px solid rgba(255, 255, 255, 0.24);
        border-radius: 7px;
        color: rgba(255, 255, 255, 0.85);
        background: rgba(255, 255, 255, 0.08);
        font-size: 12px;
        cursor: pointer;
        transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
    }

        .examples button:hover[b-aljk4ggkaf] {
            border-color: rgba(255, 255, 255, 0.4);
            color: #ffffff;
            background: rgba(255, 255, 255, 0.15);
        }

.page-footer[b-aljk4ggkaf] {
    position: absolute;
    z-index: 1;
    bottom: 20px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 12px;
    letter-spacing: 0.5px;
}

@keyframes result-appear-b-aljk4ggkaf {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 680px) {
    .translator-page[b-aljk4ggkaf] {
        justify-content: flex-start;
        padding-top: 90px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .translator-header[b-aljk4ggkaf] {
        margin-bottom: 27px;
    }

        .translator-header h1[b-aljk4ggkaf] {
            letter-spacing: -1px;
        }

    .translator-box[b-aljk4ggkaf] {
        flex-direction: column;
        gap: 7px;
    }

    .name-input[b-aljk4ggkaf] {
        height: 60px;
        border-radius: 11px;
    }

    .translate-button[b-aljk4ggkaf] {
        width: 100%;
        height: 56px;
        border-radius: 11px;
    }

    .result-card[b-aljk4ggkaf] {
        grid-template-columns: 1fr;
    }

    .result-value[b-aljk4ggkaf] {
        text-align: center;
    }

    .copy-button[b-aljk4ggkaf] {
        width: 100%;
        margin-top: 15px;
        margin-left: 0;
    }

    .examples[b-aljk4ggkaf] {
        display: none;
    }

    .page-footer[b-aljk4ggkaf] {
        position: static;
        margin-top: auto;
        padding-top: 50px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *[b-aljk4ggkaf],
    *[b-aljk4ggkaf]::before,
    *[b-aljk4ggkaf]::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
