/* Doku stuff
Front Color: #f2ddb1
Hover Color: #ebab21*/


/* Enhanced Link Styling */
a {
    color: #f2ddb1; /* Front Color for links */
    transition: color 0.3s ease;
}

a:hover, a:active {
    color: #ebab21; /* Hover Color for links */
}

a:focus {
    outline: 2px dashed #ebab21;
    outline-offset: 2px;
}

/* Generic Styling / Page Layout */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
}
header {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.container {
    display: flex;
    flex: 1;
}
nav {
    background-color: #f4f4f4;
    padding: 20px;
    width: 250px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 60px; /* Height of the header */
    height: calc(100vh - 60px);
    overflow-y: auto;
}
/* Enhanced Link Styling */
a {
    text-decoration: none; /* Remove underline */
    color: #007bff; /* Bright blue, common for links */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

a:hover, a:active {
    color: #0056b3; /* Darker shade of blue on hover/active for better visibility */
    text-decoration: underline; /* Underline on hover to indicate it's clickable */
}

a:focus {
    outline: 2px dashed #0056b3; /* Dashed outline on focus for accessibility */
    outline-offset: 2px; /* Space between outline and element border */
}
main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    position: sticky;
    bottom: 0;
    width: 100%;
}

/* Modal Styling */
errors {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    min-width: 200px;
    max-width: 400px;
    background-color: rgb(255, 151, 151);
    border-radius: 15px; /* Rounded edges */
    border: 2px solid #333; /* Border */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Login Form */
.login-form {
    background-color: #f5f5f5; /* Light gray background for contrast */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin: 0 auto; /* Center the form */
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #333; /* Dark text color for readability */
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff; /* White background for input fields */
}

.login-form input[type="submit"] {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #ebab21; /* A warm gold color to match the hover color */
    color: #000; /* Black text color */
    font-size: 16px;
    cursor: pointer;
}

.login-form input[type="submit"]:hover {
    background-color: #d39e00; /* A slightly darker gold for hover state */
}



/* 404 Page */
.page404 {
    text-align: center;
}
.page404 h1 {
    font-size: 6em;
    margin: 0;
    color: #ff6347;
}
.page404 p {
    font-size: 1.5em;
    margin: 20px 0;
}
.page404 a {
    color: #ff6347;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s;
}
.page404 a:hover {
    color: #333;
}

/* Button Styling */
.button {
    display: inline-block;
    padding: 10px 20px; /* Consistent padding with navigation and login */
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    color: #000; /* Black text color to match the navigation and login buttons */
    background-color: #f2ddb1; /* Same background color as navigation and login */
    border: none;
    border-radius: 5px; /* Rounded corners consistent with navigation and login */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for background color and text color */
}

.button:hover {
    background-color: #ebab21; /* Same hover color as navigation and login */
    color: #fff; /* White text on hover */
}

/* Secondary Button Styling */
.button-secondary {
    background-color: #6c757d; /* A neutral gray color for secondary actions */
    color: #fff; /* White text for secondary buttons */
}

.button-secondary:hover {
    background-color: #5a6268; /* Slightly darker gray on hover */
    color: #fff; /* Keep text white on hover */
}

/* Danger Button Styling */
.button-danger {
    background-color: #dc3545; /* Red color for danger actions */
    color: #fff; /* White text for danger buttons */
}

.button-danger:hover {
    background-color: #c82333; /* Darker red on hover */
    color: #fff; /* Keep text white on hover */
}


/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 12px; /* Smaller font size for more data per page */
    color: #333;
}

.table th,
.table td {
    padding: 4px 5px; /* Reduced padding for tighter spacing */
    border: 1px solid #ddd;
    text-align: left;
}

.table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f1f1f1;
}

.table td {
    padding: 8px 10px; /* Consistent with the reduced padding */
}


/* Navigation Bar Styling */
nav ul {
    list-style-type: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
}

nav li {
    margin-bottom: 10px; /* Space out the nav items vertically */
}

nav a {
    display: block; /* Make the links fill the width of the list item */
    padding: 10px 15px; /* Consistent padding for all nav items */
    color: #000; /* Black text color */
    background-color: #f2ddb1; /* Same background color as your button */
    text-decoration: none; /* Remove underline from links */
    border-radius: 5px; /* Slight rounding on the corners */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition for background color and text color */
}

nav a:hover {
    background-color: #ebab21; /* Hover color similar to your button hover */
    color: #fff; /* White text on hover */
}

/* Selected Item Styling */
nav a.selected {
    background-color: #ebab21; /* Same hover background color as selected */
    font-weight: bold; /* Bold font for emphasis */
    color: #fff; /* White text for selected item */
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: Arial, sans-serif; /* Use a consistent font family */
    color: #333; /* Dark gray color for all headings */
    margin-top: 0; /* Remove top margin for tighter spacing */
    margin-bottom: 25px; /* Increased bottom margin for more spacing */
    font-weight: bold; /* Bold font weight for all headings */
    line-height: 1.2; /* Line height for readability */
}

/* Specific Styles for Each Heading Level */
h1 {
    font-size: 3em; /* Larger heading */
    margin-bottom: 30px; /* Larger margin for emphasis */
}

h2 {
    font-size: 2.5em; /* Larger font size */
    margin-bottom: 28px; /* Increased margin for spacing */
}

h3 {
    font-size: 2em; /* Larger font size */
    margin-bottom: 26px; /* Increased margin for spacing */
}

h4 {
    font-size: 1.75em; /* Larger font size */
    margin-bottom: 24px; /* Increased margin for spacing */
}

h5 {
    font-size: 1.5em; /* Larger font size */
    margin-bottom: 22px; /* Increased margin for spacing */
}

h6 {
    font-size: 1.25em; /* Larger font size */
    margin-bottom: 20px; /* Increased margin for spacing */
    color: #666; /* Slightly lighter color for less emphasis */
}


/* Logo Class */
.logo-class {
    max-width: 100px;
    height: auto;
    display: block; /* Ensure the logo is displayed as a block element */
    margin: 10px 0; /* Adjust margin as needed */
}

