/* =========================================================
   아이디 찾기 결과 모달
========================================================= */

/* 모달 전체 */
.find-id-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

/* 어두운 배경 */
.find-id-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* =========================================================
   모달 박스
========================================================= */

.find-id-modal-box {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 380px;

    background: #ffffff;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);

    animation: findIdModalShow 0.25s ease-out;
}

/* 모달 등장 애니메이션 */
@keyframes findIdModalShow {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================================================
   닫기 버튼
========================================================= */

.find-id-modal-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    border: none;
    background: transparent;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: #777;

    font-size: 22px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.find-id-modal-close:hover {
    background: #f3f3f3;
    color: #222;
}

/* =========================================================
   모달 내용
========================================================= */

.find-id-modal-content {
    text-align: center;

    padding: 38px 30px 32px;
}

/* 아이콘 */

.find-id-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #eef6ff;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #1976d2;

    font-size: 28px;
}

/* 제목 */

.find-id-modal-content h3 {
    margin: 0 0 18px;

    color: #222;

    font-size: 20px;
    font-weight: 700;
}

/* 설명 */

.find-id-message {
    margin: 5px 0;

    color: #666;

    font-size: 14px;
    line-height: 1.6;
}

/* =========================================================
   찾은 아이디
========================================================= */

.found-id-value {
    display: inline-block;

    margin: 10px 0;

    padding: 10px 20px;

    background: #f5f7fa;

    border-radius: 8px;

    color: #222;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 0.3px;
}

/* =========================================================
   비밀번호 재설정 버튼
========================================================= */

/* =========================================================
   비밀번호 재설정 버튼
========================================================= */

.reset-btn-box {
    margin-top: 24px;
    width: 100%;
}

.reset-btn-box .login-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 20px;

    background: #003b5c !important;
    color: #ffffff !important;

    border: 1px solid #003b5c !important;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 600;

    text-decoration: none !important;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;
}

.reset-btn-box .login-btn:hover {
    background: #002f49 !important;
    border-color: #002f49 !important;

    color: #ffffff !important;

    text-decoration: none !important;
}

.reset-btn-box .login-btn:active {
    transform: translateY(1px);
}

/* =========================================================
   실패 상태
========================================================= */

.find-id-error {
    background: #fff2f2;
    color: #e53935;
}

.find-id-error-message {
    margin: 0;

    color: #666;

    font-size: 14px;
    line-height: 1.6;
}

/* 실패 모달 확인 버튼 */
.find-id-confirm-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 48px;

    box-sizing: border-box;

    padding: 0 20px;

    background: #003b5c !important;
    color: #ffffff !important;

    border: 1px solid #003b5c !important;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.1s ease;
}

.find-id-confirm-btn:hover {
    background: #002f49 !important;
    border-color: #002f49 !important;
    color: #ffffff !important;
}

.find-id-confirm-btn:active {
    transform: translateY(1px);
}

/* =========================================================
   모바일
========================================================= */

@media (max-width: 480px) {
    .find-id-modal {
        padding: 16px;
    }

    .find-id-modal-box {
        max-width: 100%;

        border-radius: 14px;
    }

    .find-id-modal-content {
        padding: 34px 24px 26px;
    }

    .find-id-modal-content h3 {
        font-size: 18px;
    }

    .found-id-value {
        font-size: 17px;
    }
}
