/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #495057;
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;*/
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

/* Header Styling */
header {
    background-color: #d96643;
    color: #ffffff;
    padding: 10px;
}

header h1 {
    font-size: 2rem;
    font-weight: bold;
}

footer {
    margin-top: auto;
    background-color: #f8f9fa;
    padding: 10px 0;
}

.copyR {
    text-align: right;
}

/* Navigation Styling */
nav {
    background-color: #d96643;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin: 0 5px;
}

nav a {
    text-decoration: none;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 10px;
}

nav a:hover {
    background-color: yellow;
    color: #000000 !important;
    transition: background-color 300ms linear;
    transition: color 200ms linear;
}

.navbar-toggler {
    margin-left: auto;
}

.nav-right {
    margin-left: auto;
    float: right;
}

.navbar {
    padding: 0;
}

.navbar-brand {
    color: #ffc107;
    font-size: 2rem;
    font-weight: bolder;
}

.brand-logo {
    margin: 10px;
    width: 80px;
}

@media (max-width: 600px) {
    .nav-brand-container {
        scale: 0.8;
        margin-top: -5px;
    }

    header {
        padding-top: 0px;
    }

    .navbar {
        margin-top: -10px;
    }
}

.navbar-brand:hover {
    color: #ffc107;
}

/* Main Content Styling */
main {
    padding: 20px 0;
    flex: 1;
}

/* Form Styling */
form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.login-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Alert Styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #343a40;
    background-color: #ffd055;
}

.btn-primary {
    background-color: #ffc107;
    color: black;
    border: white;
}

.btn-primary:hover {
    background-color: yellow;
    color: #000000;
    transition: background-color 250ms linear;
}

.row {
    max-width: 100%;
}

.nav-link {
    color: unset;
}

.nav-link:hover {
    color: unset;
    background-color: yellow;
}

.autocomplete-input {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
    width: 100%;
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
}

.autocomplete-items {
    position: absolute;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    top: 100%;
    left: 0;
    right: 0;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    border: 1px solid #b9b9b9;
    border-top: none;
    border-radius: .25rem;
    background-color: #d2d2d2;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;

}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}