.backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    z-index: 9998;
    pointer-events: none;
    transition: opacity 0.4s ease-out;
}

.backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.form_container {
    position: fixed;
    max-width: 420px;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
    z-index: 9999;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-out;
}

.form_container.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.form_close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #0b0217;
    font-size: 22px;
    opacity: 0.7;
    cursor: pointer;
}

.form_container h2 {
    font-size: 22px;
    color: #0b0217;
    text-align: center;
}

.input_box {
    position: relative;
    margin-top: 20px;
    width: 100%;
    height: 40px;
}

.input_box input {
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    padding: 0 30px;
    color: #333;
    border-bottom: 1.5px solid #aaaaaa;
}

.input_box input:focus {
    border-color: #7d2ae8;
}

.input_box i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #707070;
}

.input_box i.email,
.input_box i.password {
    left: 5px;
}

.input_box input:focus~i.email,
.input_box input:focus~i.password {
    color: #7d2ae8;
}

.input_box i.pw_hide {
    right: 5px;
    font-size: 18px;
    cursor: pointer;
}

.button {
    background: #7d2ae8;
    margin-top: 20px;
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    color: white;
    border: none;
}

.login_signup {
    font-size: 12px;
    text-align: center;
    margin-top: 15px;
}