/* styles.css */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #f0ece3;
    margin: 0;
    padding: 20px;
}

#loginSection {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Reverted padding back to 3.5cm on left and right */
    padding: 20px 3.5cm; 
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    /* Set text alignment to left by default */
    text-align: left;
    z-index: 1000;
}

#loginSection h2 {
    color: #00509e;
    margin-bottom: 15px; /* Reduced from 20px to 15px */
    text-align: center; /* Keep the heading centered */
}

.form-container {
    max-width: 300px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 10px; /* Reduced from 15px to 10px */
}

label {
    display: block;
    margin-bottom: 3px; /* Reduced from 5px to 3px */
    text-align: left; /* Ensure labels are left-aligned */
    /* Removed font-weight to eliminate bolding */
    font-weight: normal;
    color: #333;
}

button {
    background: #00509e;
    color: white;
    border: none;
    padding: 10px 16px; /* Increased padding for better click area */
    border-radius: 4px;
    cursor: pointer;
    margin: 15px 0 0 0; /* Space above the button */
    font-weight: 700; /* Keep the button text bold for prominence */
    transition: background 0.3s ease;
    width: 100%; /* Full width for better alignment */
}

button:hover {
    background: #003d75;
}

input {
    padding: 8px;
    margin: 0; /* Removed top and bottom margins */
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f8f9fa;
    color: #00509e;
}
