:root {
    --primary-color: #A5001D;
    --secondary-color: #ffffff;
    --error-color: #b00;
}

body {
    background-color: #F0F0F0;
}

a {
    text-decoration: none;
}

.navbar {
    top: 0;
    z-index: 1030;
}

.navbar-brand {
    padding-top: 0px;
    padding-bottom: 0px;
}

.btn-custom {
    background-color: var(--primary-color) !important;
    color: white;
    border: none;
}

.btn-custom:hover {
    background-color: var(--primary-color);
    color: white;
}

/* .btn-outline-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
} */

.navbar-nav .active {
    background-color: var(--primary-color);
    color: #fff !important;
    border-radius: 4px;
    padding: 6px 12px;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 20px;
        padding-left: 20px;
    }
}

.map-overlay {
    position: absolute;
    top: 12%;
    left: 22%;
    width: 60%;
    z-index: 1000;
}

/* White card */
.map-overlay-card {
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 260px;
}


/* PAGE WRAPPER */
.page-wrapper {
    position: relative;
    min-height: 80vh;
}

/* PAGE LOADER */
.page-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* HIDDEN STATE */
.page-loader.hidden {
    display: none;
}

/* PAGE CONTENT */
.page-content {
    position: relative;
    z-index: 1;
}

.users-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 2%;
    margin: 2% 0;
}

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #00000033;
    border-radius: .3rem;
    outline: 0;
}

.modal-content .modal-header {
    margin-bottom: 3%;
}

.modal-content .modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4%;
}

.modal-dialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: #00000080;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
}

.modal-content select.form-control {
    appearance: auto;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

.table-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3%;
}

.table-actions {
    width: 70%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.table-actions a,
.table-actions .form-control {
    font-size: 0.9em;
}

.dataTables_info,
.dataTables_paginate {
    margin-top: 2%;
    font-size: small;
}

.restaurant-thead tr th {
    background-color: #d6d6d6;
    font-size: 1em;
}

.restaurant-thead tr th:last-child {
    border-top-right-radius: 0.5em;
    border-end-end-radius: 0.5em;
}

.restaurant-thead tr th:first-child {
    border-start-start-radius: 0.5em;
    border-bottom-left-radius: 0.5em;
}

.table tbody tr td {
    font-size: 0.9em;
    padding: 0.8em 0.5em;
}

/* ROW HOVER */
.table tbody tr:hover {
    background: #fff;
    cursor: pointer;
}

.form-error {
    position: relative !important;
    max-width: 70%;
    margin: 0vh auto;
    color: red
}

.form-card {
    position: relative !important;
    background: #fff;
    border-radius: 8px;
    padding: 1.5em;
    max-width: 70%;
    margin: 3vh auto;
}

.form-header {
    position: absolute;
    top: -5px;
    right: -65px;
}


.page-wrapper .active>.page-link,
.page-link.active {
    background-color: var(--primary-color);
    border: var(--primary-color);
    color: var(--secondary-color);
    box-shadow: none;
}

.page-wrapper .page-link {
    color: var(--primary-color);
}

input[readonly] {
  background-color: #f8f9fa;
  cursor: not-allowed;
}