* {
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background: url('https://www.totara.com/wp-content/themes/totara/assets/images/bg-article-hero-mid-blue.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.login-box {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid #007BFF;
    width: 380px;
    padding: 40px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 123, 255, 0.3);
}

.login-box .avatar {
    background-color: #F3BD00;
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid #007BFF;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box .avatar i {
    font-size: 40px;
    color: #fff;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.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(255, 255, 255, 0.2);
    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;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 17px;
}

.login-box .input-group input::placeholder {
    color: #eee;
}

.login-box .input-group i {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #fff;
}

.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;
}

.login-box .options input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #007BFF;
    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 {
    background-color: #007BFF;
    border-color: #007BFF;
}

.login-box .options input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: white;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login-box .options a {
    color: #fff;
    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: #007BFF;
    color: #fff;
    font-weight: bold;
}

.login-box .buttons button:hover {
    background-color: #0166d1;
}

.login-box .register-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
}

.login-box .register-link a {
    color: #fff;
    text-decoration: none;
}

.login-box .register-link a:hover {

    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-box {
        width: 60%;
        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;
    }
}