/* ============================================
   Yasal Uyarı Modal
   ============================================ */

.yasal-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(6px);
    z-index: 30000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.yasal-modal-overlay.show {
    display: flex;
}

.yasal-modal {
    background: #151b28;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
    animation: yasalModalIn 0.25s ease;
}

@keyframes yasalModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.yasal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yasal-modal-header h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: #fbbf24;
    display: flex;
    align-items: center;
    gap: 10px;
}

.yasal-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yasal-modal-close:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
}

.yasal-modal-body {
    padding: 18px 22px;
    overflow-y: auto;
}

.yasal-modal-body p {
    margin: 0 0 12px 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: #cdd6e4;
    word-wrap: break-word;
}

.yasal-modal-body p:last-child {
    margin-bottom: 0;
}

.yasal-modal-body strong {
    color: #ffffff;
}

.yasal-modal-footer {
    padding: 14px 22px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yasal-modal-btn {
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.yasal-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(102, 126, 234, 0.45);
}

@media (max-width: 480px) {
    .yasal-modal {
        max-height: 90vh;
    }

    .yasal-modal-header h3 {
        font-size: 15px;
    }

    .yasal-modal-body p {
        font-size: 13px;
    }
}
