
/* General body styling for dark mode and centering */
body.login-page {
    background-color: #121212; /* Dark background */
    color: #e0e0e0; /* Light text */
    font-family: Arial, Helvetica, sans-serif;
    margin: 0; /* Remove default body margin */
    padding: 20px; /* Add some padding around the content */
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    min-height: 100vh; /* Ensure body takes full viewport height */
    box-sizing: border-box;
}

/* Center introductory text */
h1, p {
    text-align: center;
}

h1 {
        margin-bottom: 0.5em;
        color: #ffffff; /* Brighter white for heading */
}

    p {
        margin-bottom: 1.5em;
        color: #aaaaaa; /* Slightly dimmer for paragraph */
}


/* Form container styling */
.login-form {
    background-color: #1e1e1e; /* Slightly lighter dark shade for the form */
    padding: 2em; /* Space inside the form */
    border-radius: 15px; /* Rounded corners - as requested */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    width: 100%; /* Responsive width */
    max-width: 400px; /* Max width for larger screens */
    box-sizing: border-box; /* Include padding/border in width */
    display: flex;
    flex-direction: column; /* Stack form elements */
    gap: 1em; /* Space between form elements (replaces margins) */
}

/* Label styling */
.login-label {
    font-weight: bold;
    color: #bbbbbb; /* Light grey for labels */
    /* Removed display: block and margin-bottom; handled by flex gap */
}

/* Input field styling */
.login-input {
    width: 100%; /* Full width within the form */
    padding: 0.8em;
    border: 1px solid #444; /* Darker border */
    border-radius: 8px; /* Slightly rounded corners for inputs */
    background-color: #333; /* Dark background for inputs */
    color: #e0e0e0; /* Light text in inputs */
    box-sizing: border-box;
    font-size: 1em;
}

/* Input field focus style */
.login-input:focus {
    outline: none; /* Remove default outline */
    border-color: #007bff; /* Highlight border on focus */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3); /* Add a subtle glow */
}

/* Button styling */
.login-button {
    padding: 0.8em 1.5em;
    border: none;
    border-radius: 8px;
    background-color: #007bff; /* Primary button color (blue) */
    color: white;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth hover effect */
        /* Removed margin-top; handled by flex gap */
}

/* Button hover effect */
.login-button:hover {
    background-color: #0056b3; /* Darker shade on hover */
}