.pt-iys-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
}

.pt-iys-overlay.is-visible {
    display: flex;
}

.pt-iys-modal {
    background: #fff;
    border-radius: 12px;
    width: min(560px, 92vw);
    max-height: 92vh;
    overflow-y: auto;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .25);
    font-family: inherit;
    position: relative;
}

.pt-iys-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #475569;
}

.pt-iys-modal__title {
    font-size: 20px;
    margin: 0 0 8px;
    color: #0f172a;
}

.pt-iys-modal__desc {
    font-size: 13.5px;
    color: #475569;
    margin: 0 0 18px;
    line-height: 1.55;
}

.pt-iys-email-field {
    margin: 0 0 16px;
}

.pt-iys-email-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
}

.pt-iys-channel {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.pt-iys-channel:last-child {
    border-bottom: 0;
}

.pt-iys-channel__label {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.pt-iys-channel__hint {
    display: block;
    font-weight: 400;
    color: #64748b;
    font-size: 12px;
    margin-top: 2px;
}

.pt-iys-pill {
    appearance: none;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
}

.pt-iys-pill.is-active[data-value="ONAY"] {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.pt-iys-pill.is-active[data-value="RET"] {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.pt-iys-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 18px;
}

.pt-iys-actions button {
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid transparent;
}

.pt-iys-actions .pt-iys-save {
    background: #0f172a;
    color: #fff;
}

.pt-iys-actions .pt-iys-later {
    background: #fff;
    border-color: #cbd5e1;
    color: #475569;
}

.pt-iys-reminder {
    margin-top: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border-left: 3px solid #0ea5e9;
    font-size: 12.5px;
    color: #334155;
    border-radius: 4px;
}

.pt-iys-saved {
    color: #16a34a;
    font-size: 13px;
    margin-right: auto;
}

/* --- Tek-karar simplified decision cards --- */
.pt-iys-simple-decision {
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

.pt-iys-decision-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.pt-iys-decision-card:has(input:checked) {
    border-color: #0f172a;
    background: #f8fafc;
}

.pt-iys-decision-card input[type=radio] {
    margin-top: 4px;
}

.pt-iys-decision-card__title {
    grid-column: 2;
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.pt-iys-decision-card__desc {
    grid-column: 2;
    color: #475569;
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.5;
}

.pt-iys-decision-card__desc a {
    color: #0ea5e9;
    text-decoration: underline;
}

.pt-iys-advanced-toggle {
    background: none;
    border: 0;
    color: #0ea5e9;
    font-size: 12.5px;
    cursor: pointer;
    margin-bottom: 8px;
    padding: 4px 0;
    text-decoration: underline;
}

.pt-iys-advanced {
    padding: 8px 0 4px;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 8px;
}

.pt-iys-advanced .pt-iys-channel {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    font-size: 13px;
}

.pt-iys-advanced .pt-iys-channel__label {
    font-weight: 500;
    color: #334155;
}

.pt-iys-advanced label {
    color: #475569;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* --- Document preview overlay (KVKK / Ticari / Üyelik içerik modal) --- */
.pt-iys-doc-preview {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pt-iys-doc-preview__inner {
    background: #fff;
    border-radius: 12px;
    width: min(720px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px 30px;
    position: relative;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .35);
}

.pt-iys-doc-preview__close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: transparent;
    border: 0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: #475569;
}

.pt-iys-doc-preview__body h2 {
    margin-top: 0;
    color: #0f172a;
}

.pt-iys-doc-preview__body h3 {
    color: #1e293b;
    margin-top: 18px;
    font-size: 15px;
}

.pt-iys-doc-preview__body p,
.pt-iys-doc-preview__body li {
    color: #334155;
    line-height: 1.6;
    font-size: 14px;
}

/* --- Register / checkout consent blok — düz sade, arka plansız --- */
.pt-iys-consents {
    margin: 12px 0;
    padding: 0;
    background: none;
    border: 0;
}

.pt-iys-consents .pt-iys-consent {
    margin: 8px 0 !important;
    padding: 0;
    background: none;
    border: 0;
}

.pt-iys-consents label {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: inherit;
    cursor: pointer;
    background: none;
}

.pt-iys-consents input[type=checkbox] {
    margin: 3px 0 0;
    flex: 0 0 auto;
}

.pt-iys-consents a.pt-iys-modal-link {
    color: inherit;
    text-decoration: underline;
}

.pt-iys-required {
    color: #dc2626;
    margin-left: 2px;
}
