*,
*:before,
*:after{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
    background-color: #080710;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.background{
    width: 430px;
    height: 520px;
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    z-index: -1;
}
.background .shape{
    height: 200px;
    width: 200px;
    position: absolute;
    border-radius: 50%;
}
.shape:first-child{
    background: linear-gradient(
        #1845ad,
        #23a2f6
    );
    left: -80px;
    top: -80px;
}
.shape:last-child{
    background: linear-gradient(
        to right,
        #ff512f,
        #f09819
    );
    right: -30px;
    bottom: -80px;
}
.login-form{
    height: auto;
    width: 90%;
    max-width: 400px;
    background-color: rgba(255,255,255,0.13);
    position: relative;
    margin: 20px auto;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* For Safari */
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(8,7,16,0.6);
    padding: 35px 25px;
}
.login-form *{
    font-family: 'Poppins',sans-serif;
    color: #ffffff;
    letter-spacing: 0.5px;
    outline: none;
    border: none;
}
.login-form h3{
    font-size: 28px;
    font-weight: 500;
    line-height: 42px;
    text-align: center;
}

.login-form label{
    display: block;
    margin-top: 25px;
    font-size: 16px;
    font-weight: 500;
}
.login-form input{
    display: block;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.07);
    border-radius: 3px;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 300;
}
.login-form input::placeholder{
    color: #e5e5e5;
}
.login-form button{
    margin-top: 40px;
    width: 100%;
    background-color: #ffffff;
    color: #080710;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.login-form button:hover {
    background-color: #f0f0f0;
}
.login-form button:active {
    transform: scale(0.98);
}
.remember-me {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.remember-me input[type="checkbox"] {
    width: auto;
    height: auto;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #23a2f6;
}

.remember-me label {
    margin-top: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
}
.error-message {
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(255, 0, 0, 0.2);
    border-radius: 5px;
    text-align: center;
}
.app-name {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .background {
        display: none; /* Hide background shapes on very small screens */
    }
    
    .login-form {
        width: 95%;
        padding: 25px 20px;
        margin: 10px auto;
    }
    
    .login-form h3 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .login-form label {
        margin-top: 20px;
        font-size: 14px;
    }
    
    .login-form input {
        height: 45px;
    }
    
    .login-form button {
        margin-top: 30px;
        padding: 12px 0;
        font-size: 16px;
    }
}
