*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    background: linear-gradient(
            135deg,
            #5a3ec8,
            #6c4ce0
    );
}

.login-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-card{

    background:white;

    width:480px;

    padding:50px;

    border-radius:20px;

    box-shadow:
            0 10px 30px rgba(0,0,0,0.15);

    text-align:center;
}

.logo{
    width:120px;
    margin-bottom:20px;
    border-radius:12px;
}

h1{
    color:#5a3ec8;
    font-size:34px;
    margin-bottom:10px;
}

.subtitle{
    color:#6b7280;
    margin-bottom:35px;
}

form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.input-group{
    position:relative;
    display:flex;
    align-items:center;
}

.input-group svg{
    position:absolute;
    left:14px;
    width:20px;
    height:20px;
    stroke:#9ca3af;
    pointer-events:none;
}

.input-group input{
    width:100%;
    padding-left:44px;
}

input{

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:16px;
}

input:focus{
    outline:none;
    border-color:#5a3ec8;
}

.input-group:focus-within svg{
    stroke:#5a3ec8;
}

.forgot-password{
    color:#5a3ec8;
    font-size:14px;
    text-align:right;
    margin-top:-8px;
    cursor:pointer;
}

.forgot-password:hover{
    text-decoration:underline;
}

button{

    padding:16px;

    border:none;

    border-radius:10px;

    background:#5a3ec8;

    color:white;

    font-size:17px;

    font-weight:bold;

    cursor:pointer;

    transition:0.3s;
}

button:hover{
    background:#472eb0;
}

.alert-error{

    background:#ffe6e6;

    color:#c0392b;

    padding:10px;

    border-radius:8px;

    margin-bottom:15px;
}

.alert-success{

    background:#eafaf1;

    color:#27ae60;

    padding:10px;

    border-radius:8px;

    margin-bottom:15px;
}