
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #6d5b97, #483a81);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-container {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

h2 {
    font-size: 24px;
    margin-bottom: 1.5rem;
    color: #f5f5f5;
}

.error-messages {
    background-color: #d9534f;
    color: #fff;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: left;
}

.error-messages ul {
    list-style: none;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    color: #ddd;
    font-weight: bold;
    margin-bottom: 0.5rem;
    display: block;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    color: #f5f5f5;
}

.form-group input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.3);
}

.submit-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #645190;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #584478;
}

.register-link {
    color: #f5f5f5;
    margin-top: 1.5rem;
    display: block;
}

.register-link a {
    color: #f5f5f5;
    text-decoration: underline;
}

.register-link a:hover {
    color: #ddd;
}

.success-message {
    background-color: #28a745; 
    color: #ffffff;            
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}
