body {
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #74ebd5, #acb6e5);
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#header {
    width: 100%;
    height: 80px;
    background-color: #222;
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 15px;
    font-size: 1.3rem;
    font-weight: 500;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.login-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    box-sizing: border-box;
    animation: slideFade 0.5s ease-out;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}
.form-group input {
    border-radius: 10px;
    background-color: #fff;
    padding: 12px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border: 1px solid #ccc;
    transition: border 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border: 1px solid #3f51b5; /* Blue border */
    box-shadow: 0 0 5px rgba(63, 81, 181, 0.5); /* Blue glow */
    outline: none;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: 0.3s;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #007bff;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}

ul.messages {
    margin-top: 10px;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

ul.messages li {
    color: red;
    font-size: 14px;
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: #555;
}

.footer-text a {
    color: #007bff;
    text-decoration: none;
}
.footer-text a:hover {
    text-decoration: underline;
}

.role-buttons {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.role-button {
    flex: 1;
    padding: 12px;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.role-button:hover {
    background-color: #0056b3;
}

.role-button.active {
    background-color: #FF4500;
}

