body.pw-noscroll {
    overflow: hidden !important;
    touch-action: none;
}

.at-teklif {
    position: fixed;
    inset: 0;
    z-index: 2400;
    display: grid;
    place-items: center;
    padding: 16px;
    overflow-y: auto;
    background: rgba(5, 12, 28, .66);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.at-teklif.pw-proposal-anim {
    transition: opacity .22s var(--at-ease);
}

.pw-proposal-anim .at-teklif__kutu {
    transition: transform .22s var(--at-ease);
}

.at-teklif.pw-proposal-anim--from {
    opacity: 0;
}

.at-teklif.pw-proposal-anim--from .at-teklif__kutu {
    transform: translateY(16px) scale(.98);
}

.at-teklif__kutu {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: min(1000px, 100%);
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: hidden;
    border-radius: var(--at-radius-lg);
    background: var(--at-surface);
    color: var(--at-text);
    box-shadow: var(--at-shadow-lg);
}

.at-teklif__kutu:focus {
    outline: none;
}

@media (min-width: 860px) {
    .at-teklif__kutu {
        grid-template-columns: 340px minmax(0, 1fr);
    }
}

.at-teklif__kapat {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--at-line);
    border-radius: 50%;
    background: var(--at-surface);
    color: var(--at-text);
    box-shadow: var(--at-shadow-sm);
}

.at-teklif__kapat:hover {
    border-color: var(--at-danger);
    color: var(--at-danger);
}

.at-teklif__yan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 26px;
    overflow: hidden;
    isolation: isolate;
    background: var(--at-navy);
    background-image: radial-gradient(420px 300px at 100% 0%, color-mix(in srgb, var(--at-primary) 50%, transparent), transparent 70%), linear-gradient(180deg, var(--at-navy) 0%, var(--at-navy-2) 100%);
}

.at-teklif__desen {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 40px 40px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
}

.at-teklif__baslik {
    margin: 0 0 8px;
    color: #fff;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
}

.at-teklif__metin {
    margin: 0;
    color: var(--at-hero-muted);
}

.at-teklif__adimlar {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #E6ECF8;
    font-size: 14px;
}

.at-teklif__adimlar li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.at-teklif__adimlar li > span {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 9px;
    background: rgba(255, 255, 255, .1);
    color: var(--at-accent);
}

.at-teklif__iletisim {
    display: grid;
    gap: 10px;
    margin: auto 0 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
}

.at-teklif__iletisim li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.at-teklif__iletisim-ikon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--at-gradient);
    color: #fff;
}

.at-teklif__iletisim-metin {
    display: grid;
    min-width: 0;
    line-height: 1.3;
}

.at-teklif__iletisim-metin small {
    color: var(--at-hero-muted);
    font-size: 12px;
}

.at-teklif__iletisim-metin a {
    color: #fff;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.at-teklif__govde {
    min-width: 0;
    padding: 30px clamp(18px, 3vw, 34px);
    overflow-y: auto;
}

.at-teklif__form {
    display: grid;
    gap: 16px;
}

.at-teklif__adim {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0 0;
    font-size: 16px;
}

.at-teklif__adim-no {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--at-gradient);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.at-teklif__secimler > legend {
    margin-bottom: 8px;
}

.at-teklif__secim-liste {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.at-teklif__secim {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid var(--at-line-strong);
    border-radius: var(--at-radius-pill);
    background: var(--at-surface);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s var(--at-ease), background-color .15s var(--at-ease), color .15s var(--at-ease);
}

.at-teklif__secim input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--at-primary);
}

.at-teklif__secim:hover {
    border-color: var(--at-primary);
}

.at-teklif__secim:has(input:checked) {
    border-color: var(--at-primary);
    background: color-mix(in srgb, var(--at-primary) 10%, var(--at-surface));
    color: var(--at-primary-ink);
}

.at-teklif__secim:has(input:focus-visible) {
    box-shadow: var(--at-focus);
}

.at-teklif__not {
    min-height: 96px;
}

.at-teklif__uyari {
    margin: 0;
}

.at-teklif__donen {
    border-color: rgba(255, 255, 255, .45);
    border-top-color: #fff;
}

.at-teklif__tamam {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    min-height: 320px;
    text-align: center;
}

.at-teklif__tamam:focus {
    outline: none;
}

.at-teklif__tamam-ikon {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--at-success);
    color: #fff;
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--at-success) 15%, transparent);
}

.at-teklif__tamam-baslik {
    margin: 0;
    font-size: 22px;
}

.at-teklif__tamam-metin {
    max-width: 42ch;
    margin: 0 0 12px;
    color: var(--at-muted);
}

@media (max-width: 859px) {
    .at-teklif {
        align-items: start;
    }

    .at-teklif__kutu {
        max-height: none;
        overflow: visible;
    }

    .at-teklif__yan {
        gap: 12px;
        padding: 24px 20px;
        border-radius: var(--at-radius-lg) var(--at-radius-lg) 0 0;
    }

    .at-teklif__adimlar, .at-teklif__iletisim {
        display: none;
    }

    .at-teklif__govde {
        overflow: visible;
    }

    .at-teklif__kapat {
        border-color: rgba(255, 255, 255, .2);
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }
}

@media (prefers-reduced-motion: reduce) {
    .at-teklif.pw-proposal-anim, .pw-proposal-anim .at-teklif__kutu {
        transition: none;
    }
}
