/* auth-login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(90deg, #e2e2e2, #c9d6ff);
}*/

.auth-container {
    position: relative;
    width: 850px;
    height: 550px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .2);
    overflow: hidden;
    margin: 20px;
}

.auth-form-box {
    justify-content: center;
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 40px;
    z-index: 1;
    transition: .6s ease-in-out 1.2s, visibility 0s 1s;
}

.auth-container.active .auth-form-box {
    right: 50%;
}

.auth-form-box.register {
    visibility: hidden;
}

.auth-container.active .auth-form-box.register {
    visibility: visible;
}

.auth-form-box h1 {
    font-size: 36px;
    margin: 20px 0;
}

.input-box {
    position: relative;
    margin: 8px 0;
}

    .input-box input {
        width: 100%;
        padding: 13px 50px 13px 20px;
        background: #eee;
        border-radius: 8px;
        border: none;
        outline: none;
        font-size: 16px;
        color: #333;
        font-weight: 500;
    }

        .input-box input::placeholder {
            color: #888;
            font-weight: 400;
        }

    .input-box i {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 20px;
        color: #888;
    }

.forgot-link {
    margin: 15px;
}

    .forgot-link a {
        font-size: 18px;
        color: #333;
        text-decoration: none;
    }

.auth-btn {
    width: 100%;
    height: 40px;
    background: #bc7d33;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 30px;
    border-radius: 7px;
}

.auth-toggle-box {
    position: absolute;
    width: 100%;
    height: 100%;
}

    .auth-toggle-box::before {
        content: '';
        position: absolute;
        left: -250%;
        width: 300%;
        height: 100%;
        background: #bc7d33;
        border-radius: 150px;
        z-index: 2;
        transition: 1.8s ease-in-out;
    }

.auth-container.active .auth-toggle-box::before {
    left: 50%;
}


.toggle-panel {
    position: absolute;
    width: 50%;
    height: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: .6s ease-in-out;
}

    .toggle-panel.toggle-left {
        left: 0;
        transition-delay: 1.2s;
    }

.auth-container.active .toggle-panel.toggle-left {
    left: 200%;
    transition-delay: .6s;
}

.toggle-panel.toggle-right {
    right: -50%;
    transition-delay: .6s;
}

.auth-container.active .toggle-panel.toggle-right {
    right: 0;
    transition-delay: 1.2s;
}

.toggle-panel p {
    margin-bottom: 20px;
}

.toggle-panel .auth-btn {
    width: 160px;
    height: 46px;
    background: transparent;
    border: 2px solid #fff;
    box-shadow: none;
}



.form-select {
    box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
}



.form-select option:hover {
    background: #ff9d0036 !important;
}



@media(max-width: 400px) {

    .auth-container {
        height: 112vh;
        width: auto;
    }

    .auth-form-box {
        bottom: 0;
        width: 100%;
        height: 70%;
    }

    .auth-container.active .auth-form-box {
        right: 0;
        bottom: 30%;
    }

    .auth-toggle-box::before {
        left: 0;
        top: -270%;
        width: 100%;
        height: 300%;
        border-radius: 20vw;
    }

    .auth-container.active .auth-toggle-box::before {
        left: 0;
        top: 70%;
    }

    .toggle-panel {
        width: 100%;
        height: 30%;
    }

        .toggle-panel.toggle-left {
            top: 0;
        }

    .auth-container.active .toggle-panel.toggle-left {
        left: 0;
        top: -30%;
    }

    .toggle-panel.toggle-right {
        right: 0;
        bottom: -30%;
    }

    .auth-container.active .toggle-panel.toggle-right {
        bottom: 0;
    }
}

@media (max-width:400px) {
    .auth-form-box {
        justify-content: center;
        padding: 20px;
    }

    .toggle-panel h1 {
        font-size: 30px;
    }
}

.input-box {
    position: relative;
    margin: 15px 0;
}

    .input-box input {
        width: 100%;
        padding: 14px 50px 14px 18px;
        background: rgba(255, 255, 255, 0.8);
        border: 2px solid transparent;
        border-radius: 12px;
        outline: none;
        font-size: 16px;
        color: #333;
        font-weight: 500;
        transition: all 0.3s ease;
        box-shadow: rgba(0, 0, 0, 0.07) 0px 1px 2px, rgba(0, 0, 0, 0.07) 0px 2px 4px, rgba(0, 0, 0, 0.07) 0px 4px 8px, rgba(0, 0, 0, 0.07) 0px 8px 16px, rgba(0, 0, 0, 0.07) 0px 16px 32px, rgba(0, 0, 0, 0.07) 0px 32px 64px;
    }

        .input-box input::placeholder {
            color: #999;
            font-weight: 400;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        .input-box input:focus {
            border: 2px solid #bc7d33;
            box-shadow: 0 0 8px rgba(188,125,51,0.5);
            background: #fff;
        }


    .input-box i {
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 18px;
        color: #bc7d33;
        transition: color 0.3s ease;
    }

    .input-box input:focus ~ i {
        color: #000;
    }
