@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --blue: #111761;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #1E3A8A;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-link-color: var(--primary);
}

a {
    color: var(--bs-link-color);
}

.nav-pills .nav-link.active {
    background-color: var(--primary); /* Primary color fallback */
    color: white;
}

body {
    /*font-family: Arial, sans-serif;*/
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
}

.login-wrapper {
    background-image: url('/images/background.jpeg'); /* Replace with your image path */
    background-size: cover; /* Makes the image cover the entire viewport */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    height: 100vh; /* Ensures the body takes up the full height of the viewport */
    margin: 0; /* Removes default margin/padding from the body */
}

/* Style for the logo container */
.logo {
    text-align: center; /* Centers the logo horizontally */
    margin-bottom: 20px; /* Adds space below the logo */
}

/* Style for the actual logo image */
.logo img {
    max-width: 100%; /* Ensures the logo scales within its container */
    height: auto; /* Preserves the aspect ratio of the logo */
    max-height: 80px; /* Optionally limit the height of the logo */
}

.alert-primary {
    border: none;
}

div.car-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

div.category-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

div#filters-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 20px;
}

a.active {
    text-decoration: underline;
    font-weight: bold;
}

.navbar {
    background-color: var(--primary);
    padding: 1em;
    border-radius: 15px;
    margin: 10px;
}
.navbar ul {
    margin: 0;
}


.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-links {
    list-style: none;
    padding: 0;
}

.navbar-links li {
    display: inline;
    margin: 0 1em;
}

.navbar-links a {
    color: white;
    text-decoration: none;
}

.navbar-links .active {
    font-weight: bold;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.main-container {
    margin: 10px;
}

.date {
    font-size: 1.6em;
    margin: 1em;
    font-weight: bold;
}

.tables-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
}

.table-container {
    flex: 1 1 45%;
    background-color: #f9f9f9;
    padding: 1em;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.tables-grid .table-container:nth-last-child(1):nth-child(odd) {
    flex: 1 1 50%;
    max-width: 50%;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px solid #ddd;
    padding: 2px;
    text-align: center;
    font-size: 16px;
}

th {
    background-color: #f2f2f2;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f0f2f5;
    margin: 0;
}

.login-container {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.login-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 1.5rem;
}

.login-container form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 14px;
}

.form-group input {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    width: 95%;
}

.form-group input:focus {
    outline: none;
    border-color: #1E3A8A;
}

button {
    background-color: var(--primary);
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 1rem;
}

button#logout_btn {
    padding: 0;
    margin: 0;
}

button:hover {
    background-color: #50779f;
}

.location-link {
    font-size: 14px;
}

.error-messages {
    color: red;
}
