/* Full-page background image */
body {
    font-family: 'Poppins', sans-serif; /* Updated to Poppins */
    background: url('login.jpg') no-repeat center center fixed; /* Replace with your image path */
    background-size: cover; /* Makes the background image cover the entire viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
    margin: 0; /* Remove default margin */
}

/* Container and form styling */
.container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    border: 1px solid #6c757d; /* Neutral border */
}

h1 {
    margin-bottom: 20px;
    color: #007BFF; /* Trustworthy blue */
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #495057; /* Dark gray for readability */
}

input {
    width: calc(100% - 20px); /* Adjusted width for symmetry */
    padding: 10px;
    border: 1px solid #6c757d; /* Neutral border */
    border-radius: 5px;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #007BFF; /* Highlight border on focus */
    outline: none;
}

button {
    background: #28a745; /* Positive green for action */
    color: white;
    border: none;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

button:hover {
    background: #218838; /* Darker green on hover */
}

#message {
    margin-top: 10px;
    color: #dc3545; /* Alert red for error messages */
}

.register-link {
    margin-top: 15px;
}

.register-link a {
    color: #007BFF; /* Trustworthy blue */
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Header and Footer styling */
header {
    background-color: #007BFF; /* Trustworthy blue */
    color: white;
    padding: 10px 0;
    text-align: center;
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
}

footer {
    background-color: #f8f9fa; /* Light gray */
    color: #495057; /* Dark gray */
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}
