*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;
}

/*Left Side - Logo */
.branding{
   flex: 1;
   color: white;
   display: flex;
   align-items: center;
   gap: 1rem;
}

.logo-circle{
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.logo-circle img{
    width: 85px;
    height: 85px;
}

.brand-name{
    font-size: 3.5rem;
    font-weight: bold;
    letter-spacing: 2px;
}

/*Right Side - Login Form*/
.login-box{
    background: white;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.login-box h2{
    color:#e74c3c;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
}

.form-group{
    margin-bottom: 1.5rem;
}

.form-group label{
    display: block;
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input{
    width: 100%;
    padding: 0.9rem;
    border: none;
    background: #f0f0f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.3s, box-shadow 0.3s;
}

.form-group input.error{
    background: #ffe6e6;
    box-shadow: 0 0 0 2px #e74c3c;
}

.form-group input:focus{
    outline: none;
    background: #e8e8e8;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.error-message{
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.show{
    display: block;
}

.forgot-password{
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a{
    color: #3498db;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

.forgot-password a:hover{
    color: #2980b9;
    text-decoration: underline;
}

.login-button{
    width: 100%;
    padding: 1rem;
    background:  #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    margin-top: 1rem;
}

.login-button:hover{
    background: #c0392b;
    transform: translateY(-2px);
}

.login-button:active{
    transform: translateY(0);
}

.signup-link{
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.signup-link a{
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.signup-link a:hover{
    color:  #c0392b;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 900px){
    .login-container{
        flex-direction: column;
        gap: 3rem;
    }

    .branding{
        flex-direction: row;
        text-align: center;
    }

    .logo-circle{
        width: 100px;
        height: 100px;
        font-size: 60px;
    }
    .brand-name{
        font-size: 2.5rem;
    }
    .login-box{
        max-width: 450px;
    }
}

@media (max-width: 480px){
    body{
        padding: 15px;
    }

    .login-container{
        gap: 2rem;
    }

    .login-circle{
        width: 80px;
        height: 80px;
        font-size: 50px;
    }

    .brand-name{
        font-size: 2rem;
    }

    .login-box{
        padding: 2rem 1.5rem;
    }

    .login-box h2{
        font-size: 1.6rem;
    }

    .form-group input{
        padding: 0.8rem;
    }
    
    .login-button{
        padding: 0.9rem;
    }
}