* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: url('https://img.freepik.com/free-vector/gradient-glassmorphism-background_23-2149447863.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-box {
    background: rgb(255, 255, 255);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* border: 2px solid #CA680E; */
    width: 380px;
    padding: 40px;
    position: relative;
    margin-top: 20px;
}

.login-box .avatar {
    background-color: #902B12;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box .avatar img {
    width: 100%;
    height: 100%;
    font-size: 40px;
    color: #fff;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #902B12;
}

.login-box .select-group {
    position: relative;
    margin-bottom: 20px;
}

.login-box .select-group select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border-radius: 30px;
    border: none;
    outline: none;
    background: rgba(0, 0, 0, 0.966);
    color: #fff;
    font-size: 17px;
    appearance: none;
}

.login-box .select-group i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    pointer-events: none;
    font-size: 15px;
}

.login-box .select-group select option {
    color: #000;
}

.login-box .input-group {
    position: relative;
    margin-bottom: 20px;
}

.login-box .input-group input {
    width: 100%;
    padding: 12px 40px 12px 40px;
    border-radius: 30px;
    border: none;
    outline: none;
    color: #494949;
    font-size: 16px;
    border: 1px solid #ccc;
}

.login-box .input-group input::placeholder {
    color: #494949;
}

.login-box .input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #494949;
}

.login-box .options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 20px;
    color: #fff;
}

.login-box .options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #494949;
}

.login-box .options input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #902B12;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.login-box .options input[type="checkbox"]:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.login-box .options input[type="checkbox"]:checked {

    border-color: #902B12;
}

.login-box .options input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #902B12;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-box .options a {
    color: #494949;
    text-decoration: none;
}

.login-box .options a:hover {
    text-decoration: underline;
}

.login-box .buttons {
    display: flex;
    justify-content: center;
}

.login-box .buttons button {
    width: 100%;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
    background-color: #285AEB;
    color: #fff;
    font-weight: bold;
}

.login-box .buttons button:hover {
    background-color: #1c43b7;
}

.login-box .register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #494949;
}

.login-box .register-link a {
    color: #902B12;
    text-decoration: none;
}

.login-box .register-link a:hover {

    text-decoration: underline;
}

.social_icon {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
}

.social_icon a {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-size: 11px;
}

.social_icon a.google {
    background-color: #DB4437;
    /* Google red */
}

.social_icon a.facebook {
    background-color: #3B5998;
    /* Facebook blue */
}

.social_icon a.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%,
            #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.login_with {
    display: flex;
    align-items: center;
    text-align: center;
    color: #494949;
    margin: 20px 0;
    font-size: 14px;
}

.login_with::before,
.login_with::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

@media (max-width: 768px) {
    .login-box {
        width: 350px;
        padding: 30px 25px;
    }

    .login-box h2 {
        font-size: 22px;
    }

    .login-box .input-group input,
    .login-box .select-group select {
        font-size: 13px;
        padding: 10px 35px 10px 35px;
    }

    .login-box .buttons button {
        font-size: 13px;
        padding: 10px 30px;
    }

    .login-box .register-link,
    .login-box .options {
        font-size: 13px;
    }

    .login-box .avatar {
        width: 80px;
        height: 80px;
        top: -40px;
    }

    .login-box .avatar i {
        font-size: 30px;
    }
}

@media (max-width: 426px) {
    .login-box {
        width: 90%;
        padding: 25px 20px;
        border-radius: 15px;
    }

    .login-box h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .login-box .input-group input,
    .login-box .select-group select {
        font-size: 15px;
        padding: 12px 40px 12px 40px;
    }

    .login-box .buttons button {
        font-size: 15px;
        padding: 12px 40px;
    }


    .login-box .avatar {
        width: 70px;
        height: 70px;
        top: -35px;
    }

    .login-box .avatar i {
        font-size: 26px;
    }

    .login-box .register-link {
        font-size: 12px;
    }
}