/* static/styles.css */

body {
    font-family: Arial, sans-serif;
    padding: 20px;
}
/* Style the table */
table {
    width: 90%;
    margin: 2rem auto;
    border-collapse: collapse;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

th {
    background-color: #f1f3f5;
    font-weight: 600;
}

tr:hover {
    background-color: #f8f9fa;
}
/**/


/* Style flash message*/
.flash-messages {
    width: 90%;
    margin: 1rem auto;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 5px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 5px solid #dc3545;
}
/**/

h1, h2 {
    color: #333;
}

form {
    margin-top: 20px;
}

/* Style Button*/
button {
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

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

input, select {
    padding: 0.5rem;
    width: 100%;
    max-width: 400px;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: 1px solid #ced4da;
}
/**/

/* Style the navbar */
/* Navbar base */
.navbar {
    background-color: #343a40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;  /* Remove vertical padding */
    min-height: 100px; /* Ensures logo fits */
    position: relative;
}

/* Logo container on the far left */
.navbar-left {
    position: absolute;
    left: 1rem;
    display: flex;
    align-items: center;
}

/* Logo image */
.logo {
    height: 100px;
    object-fit: contain;
    display: block;
}

/* Navbar links */
.navbar-list {
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.navbar-list li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar-list li a:hover {
    background-color: #495057;
}
/**/

/* Style Container */
.container {
    width: 90%;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
/**/

/* Style Content */
.content {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.content:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
/**/


