#findModal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: rgba(31, 38, 25, 0.34);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

#modal-box {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 500px;
    max-width: calc(100% - 40px);
    min-height: 520px;
    padding: 46px 52px 42px;
    box-sizing: border-box;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(57, 66, 44, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
}

#modal-box form {
    display: block;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
}

#id_find,
#pwd_find {
    width: 100%;
}

#pwd_find {
    display: none;
}

.find-form {
    width: 100%;
    margin: 0 auto;
}

.find-img {
    display: block;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    padding: 16px;
    border-radius: 40%;
    background: #eef6e7;
    object-fit: contain;
}

.find-title {
    margin: 0 0 30px;
    color: #587c34;
    font-size: 32px;
    font-weight: 800;
    text-align: center;
}

.find-title::after {
    content: "";
    display: block;
    width: 92px;
    height: 2px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, #8dad5c, transparent);
}

.row {
    min-height: 225px;
}

.find-row {
    width: 100%;
    margin: 0 auto 22px;
    text-align: left;
}

.find-label {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    color: #1f1f1f;
    font-size: 15px;
    font-weight: 700;
}

.find-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.find-input {
    width: 100%;
    min-width: 0;
    height: 52px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.84);
    color: #222;
    font-size: 15px;
    outline: none;
}

.find-input:focus {
    border-color: #6f963e;
    box-shadow: 0 0 0 3px rgba(111, 150, 62, 0.12);
}

.find-sub-btn,
.find-check-btn {
    width: 124px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.find-sub-btn {
    border: 1px solid #6f963e;
    background: #fff;
    color: #5e8736;
}

.find-check-btn {
    border: none;
    background: linear-gradient(180deg, #79a14c 0%, #658f3b 100%);
    color: white;
}

.find-sub-btn:hover,
.find-check-btn:hover,
.find-main-btn:hover {
    filter: brightness(0.97);
}

.find-msg,
#msg,
#id_email_msg,
#pwd_email_msg {
    min-height: 16px;
    margin-top: 7px;
    color: #777;
    font-size: 13px;
    text-align: left;
}

.find-main-btn {
    display: block;
    width: 100%;
    height: 56px;
    margin: 26px auto 0;
    border: none;
    border-radius: 8px;
    background: linear-gradient(180deg, #79a14c 0%, #658f3b 100%);
    color: white;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.find-tab {
    width: 100%;
    margin: 25px auto 0;
    display: flex;
    justify-content: center;
    gap: 14px;
}

.tab-btn {
    width: 190px;
    height: 50px;
    border: none;
    border-radius: 8px;
    background: #eef6e7;
    color: #587c34;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.tab-btn.active {
    background: #6f963e;
    color: white;
}

.modal-class {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #eef6e7;
    color: #587c34;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
}

.modal-class:hover {
    background: #dfeccd;
}

#authNumber {
    display: none;
}

@media (max-width: 560px) {
    #modal-box {
        padding: 40px 24px 32px;
    }

    .find-control {
        flex-direction: column;
        align-items: stretch;
    }

    .find-sub-btn,
    .find-check-btn {
        width: 100%;
    }
}
