/* Sohbetist kayıt ekranı yasal onay popup */

.register-card {
    max-width: 440px;
}

.terms-box {
    margin: 12px 0;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 12px;
}

.terms-box label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
    color: #374151;
}

.terms-box input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.terms-link-btn {
    margin-top: 10px !important;
    background: #4f46e5 !important;
    color: white !important;
    width: auto !important;
    padding: 9px 12px !important;
    border-radius: 10px !important;
    font-size: 13px;
}

#registerBtn:disabled {
    background: #9ca3af !important;
    cursor: not-allowed;
}

.terms-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .68);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.terms-modal.open {
    display: flex;
}

.terms-modal-content {
    width: min(760px, 100%);
    max-height: 88vh;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
}

.terms-modal-header {
    height: 60px;
    background: #111827;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.terms-modal-header button {
    border: 0;
    background: #ef4444;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 22px;
    cursor: pointer;
}

.terms-modal-body {
    padding: 20px;
    overflow-y: auto;
    line-height: 1.6;
    color: #374151;
}

.terms-modal-body h2 {
    margin-top: 0;
    color: #111827;
}

.terms-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    padding: 12px;
    border-radius: 12px;
}

.terms-modal-footer {
    padding: 14px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
}

.terms-modal-footer button {
    border: 0;
    background: #10b981;
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
}

@media(max-width: 600px) {
    .terms-modal-content {
        max-height: 92vh;
        border-radius: 16px;
    }

    .terms-modal-header {
        height: auto;
        min-height: 58px;
        gap: 10px;
    }
}