/* General body styling */
body {
    font-family: Arial, sans-serif;
    background-color: #1e2a47; /* Dark blue background */
    color: white; /* White font color */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3 {
    color: #f0f0f0; /* Lighter color for headings */
    text-align: center;
}

/* Center the content */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Form styling */
form {
    background-color: #2a3a6f; /* Slightly lighter dark blue for forms */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

form input[type="text"], 
form input[type="password"], 
form input[type="file"], 
form button {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    font-size: 16px;
}

/* Button styles */
form button {
    background-color: #5c6bc0; /* Blue button */
    color: white;
    cursor: pointer;
}

form button:hover {
    background-color: #3f4b84; /* Darker blue when hovered */
}

/* Table styling */
table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
}

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

table th {
    background-color: #3f4b84; /* Header row background */
    color: white;
}

table tr:nth-child(even) {
    background-color: #2a3a6f; /* Alternate row background */
}

table a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
}

table a:hover {
    color: #ffcc00; /* Gold color on hover for links */
}

/* Success/Error messages */
.success, .error {
    color: #ffcc00;
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
}

.error {
    color: red;
}

/* Responsive design */
@media (max-width: 768px) {
    form input[type="text"], 
    form input[type="password"], 
    form input[type="file"], 
    form button {
        width: 100%;
    }

    .container {
        padding: 10px;
    }
}
