/* 루메디크 사용자 모달 유틸리티 CSS */

/* 모달 오버레이 */
.lq-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 20px;
}

.lq-modal-overlay.active {
    opacity: 1;
}

/* 모달 박스 */
.lq-modal-box {
    background: #fff;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.2s ease;
    overflow: hidden;
}

.lq-modal-overlay.active .lq-modal-box {
    transform: translateY(0);
}

/* 모달 본문 */
.lq-modal-body {
    padding: 32px 24px 24px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    word-break: keep-all;
}

/* 모달 푸터 */
.lq-modal-footer {
    display: flex;
    border-top: 1px solid #f0f0f0;
}

/* 모달 버튼 */
.lq-modal-btn {
    flex: 1;
    padding: 14px 0;
    border: none;
    background: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: 'Noto Sans KR', sans-serif;
}

.lq-modal-btn:hover {
    background: #faf8f8;
}

.lq-modal-btn-cancel {
    color: #888;
    border-right: 1px solid #f0f0f0;
}

.lq-modal-btn-confirm {
    color: #c76b52;
}

/* 토스트 메시지 */
.lq-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
    max-width: 90%;
    text-align: center;
}

.lq-toast.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 반응형 */
@media (max-width: 480px) {
    .lq-modal-box {
        max-width: calc(100% - 32px);
    }

    .lq-modal-body {
        padding: 28px 20px 20px;
        font-size: 14px;
    }

    .lq-modal-btn {
        padding: 12px 0;
        font-size: 14px;
    }

    .lq-toast {
        bottom: 80px;
        font-size: 13px;
        padding: 10px 20px;
    }
}
