/* Common Modal Popup */
.common_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.common_modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.common_modal_content {
    position: relative;
    width: 500px;
    max-width: 90vw;
    max-height: 80vh;
    padding: 40px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
    margin: auto;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.common_modal_title {
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    color: #1C1C1E;
    text-align: center;
}

.common_modal_body {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 24px;
    color: #54545E;
    word-break: break-word;
    white-space: pre-wrap;
}

.common_modal_buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.common_modal_btn {
    padding: 12px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.common_modal_btn_close {
    background: #F6F7F9;
    color: #54545E;
}

.common_modal_btn_close:hover {
    background: #E4E9EF;
}

.common_modal_close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F6F7F9;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.common_modal_close:hover {
    background: #E4E9EF;
}

.common_modal_close::before,
.common_modal_close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #6D7882;
    transform: translate(-50%, -50%) rotate(45deg);
}

.common_modal_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
} 