/* 로그인 모달 */
.login_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);
}

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

.login_modal_content {
    position: relative;
    width: 400px;
    max-width: 90vw;
    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;
}

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

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

.login_modal_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login_modal_form_group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login_modal_form_group label {
    font-size: 16px;
    font-weight: 500;
    color: #54545E;
    line-height: 24px;
}

.login_modal_form_group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #CDD0D8;
    border-radius: 12px;
    font-size: 16px;
    line-height: 24px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login_modal_form_group input:focus {
    border-color: #3EC364;
    box-shadow: 0 0 0 3px rgba(62, 195, 100, 0.1);
}

.login_modal_error {
    display: none;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: rgba(255, 102, 185, 0.1);
    border: 1px solid rgba(255, 102, 185, 0.2);
    border-radius: 8px;
    color: #FF66B9;
    font-size: 14px;
    line-height: 20px;
}

.login_modal_buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.login_modal_btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.login_modal_btn_cancel:hover {
    background: #E4E9EF;
}

.login_modal_btn_submit {
    background: #3EC364;
    color: #fff;
}

.login_modal_btn_submit:hover {
    background: #11987B;
}

.login_modal_btn_submit:disabled {
    background: #B2B9C3;
    cursor: not-allowed;
}

.login_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;
}

.login_modal_close:hover {
    background: #E4E9EF;
}

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

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