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

body {
    background: url('/static/img/main.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}


.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}


form {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}


form h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    font-size: 1.8rem;
}


form input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

form input:focus {
    border-color: #27ae60;
    box-shadow: 0 0 5px rgba(39,174,96,0.5);
    outline: none;
}


form button {
    width: 100%;
    padding: 12px;
    background-color: #2ecc71;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}


.login-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #2c3e50;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-link:hover {
    color: #27ae60;
}


ul {
    margin-bottom: 15px;
    color: #e74c3c;
    font-size: 0.9rem;
    list-style: none;
    padding-left: 0;
}

ul li {
    margin-bottom: 5px;
}

@media (max-width: 480px) {
    form {
        padding: 30px 20px;
    }
    form h2 {
        font-size: 1.5rem;
    }
}