/* ═══════════════════════════════════════════════════════════
   Solestra Rental — KVKK Açık Rıza
   Kayıt formlarında checkbox'lar + açıklayıcı modal
   ═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   CHECKBOX ALANLARI (Form içinde)
   ═══════════════════════════════════════════════════════════ */

.solestra-kvkk-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 14px 0 8px;
    font-family: "Muli", sans-serif;
}

.solestra-kvkk-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #6a6a6a;
    cursor: pointer;
    padding: 8px 10px;
    background: #fafafa;
    border: 1px solid #eee;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
    letter-spacing: 0.02em;
}

.solestra-kvkk-row:hover {
    background: #fff;
    border-color: #ddd;
}

.solestra-kvkk-row--required {
    border-color: #e0e0e0;
}

.solestra-kvkk-row input[type="checkbox"] {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    cursor: pointer;
    accent-color: #000;
    -webkit-appearance: auto;
    appearance: auto;
}

.solestra-kvkk-text {
    flex: 1;
    min-width: 0;
}

.solestra-kvkk-text a {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
}

.solestra-kvkk-text a:hover {
    opacity: 0.7;
}

.solestra-kvkk-required {
    color: #b00020;
    font-weight: 700;
    margin-left: 2px;
}

/* ═══════════════════════════════════════════════════════════
   MODAL (Metni Göster)
   ═══════════════════════════════════════════════════════════ */

.solestra-kvkk-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.solestra-kvkk-modal-overlay--visible {
    display: flex;
    background: rgba(0, 0, 0, 0.65);
}

.solestra-kvkk-modal {
    width: 100%;
    max-width: 640px;
    max-height: 85vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    font-family: "Muli", sans-serif;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.solestra-kvkk-modal-overlay--visible .solestra-kvkk-modal {
    transform: translateY(0);
    opacity: 1;
}

/* ── Header ── */

.solestra-kvkk-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: #000;
    color: #fff;
    flex-shrink: 0;
}

.solestra-kvkk-modal-header h2 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}

.solestra-kvkk-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
    transition: all 0.2s ease-out;
    -webkit-appearance: none;
    appearance: none;
}

.solestra-kvkk-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* ── Body ── */

.solestra-kvkk-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
    color: #333;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    -webkit-overflow-scrolling: touch;
}

.solestra-kvkk-modal-body p {
    margin: 0 0 14px;
    color: #333;
}

.solestra-kvkk-modal-body h3 {
    font-family: "Muli", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #000;
    margin: 24px 0 10px;
    padding-top: 16px;
    border-top: 1px solid #eee;
}

.solestra-kvkk-modal-body h3:first-of-type {
    margin-top: 18px;
}

.solestra-kvkk-modal-body a {
    color: #000;
    font-weight: 600;
    text-decoration: underline;
}

.solestra-kvkk-footnote {
    font-size: 11px !important;
    color: #888 !important;
    font-style: italic;
    margin-top: 20px !important;
    padding-top: 14px;
    border-top: 1px solid #eee;
}

/* ── Footer ── */

.solestra-kvkk-modal-footer {
    padding: 14px 24px;
    background: #fafafa;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.solestra-kvkk-modal-close-btn {
    padding: 12px 28px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0;
    font-family: "Muli", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease-out;
    -webkit-appearance: none;
    appearance: none;
}

.solestra-kvkk-modal-close-btn:hover {
    background: #2a2a2a;
}

/* ── Body scroll lock ── */

body.solestra-kvkk-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 520px) {
    .solestra-kvkk-modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .solestra-kvkk-modal {
        max-height: 100vh;
        height: 100vh;
        max-width: 100%;
    }

    .solestra-kvkk-modal-header {
        padding: 14px 18px;
    }

    .solestra-kvkk-modal-body {
        padding: 18px 20px;
        font-size: 12.5px;
    }

    .solestra-kvkk-modal-footer {
        padding: 12px 18px;
    }

    .solestra-kvkk-row {
        font-size: 11.5px;
        padding: 10px 12px;
    }
}
