/**
 * NextBio Website - 개인정보처리방침·이용약관 모달 스타일
 */

.legal-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legal-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.legal-modal-container {
    position: relative;
    width: 90%;
    max-width: 720px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    z-index: 10003;
    overflow: hidden;
}

.legal-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #2c2c2c;
    border-bottom: 1px solid #3a3a3a;
    flex-shrink: 0;
}

.legal-modal-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-family-suit);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

.legal-modal-close {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s ease;
    width: 40px;
    height: 40px;
}

.legal-modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.legal-modal-close svg {
    width: 24px;
    height: 24px;
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.legal-modal-content {
    font-family: var(--font-family-suit);
    font-size: 14px;
    line-height: 1.75;
    color: #333;
}

@media (max-width: 768px) {
    .legal-modal-container {
        width: 100%;
        max-height: 90vh;
        border-radius: 0;
    }
    .legal-modal-header {
        padding: 14px 16px;
    }
    .legal-modal-title {
        font-size: 16px;
    }
    .legal-modal-body {
        padding: 16px;
    }
    .legal-modal-content {
        font-size: 13px;
    }
}
