/* Resturent admin theme overrides based on Resturent API settings */
body.resturent-theme {
  background-color: var(--ra-web-bg, var(--ra-surface-variant));
  color: var(--ra-text-primary);
}

body.resturent-theme a {
  color: var(--ra-link);
}

body.resturent-theme a:hover,
body.resturent-theme a:focus {
  color: var(--ra-primary);
}

body.resturent-theme .text-muted,
body.resturent-theme .help-block,
body.resturent-theme .text-muted a {
  color: var(--ra-text-secondary) !important;
}

body.resturent-theme .navbar-default {
  background-color: var(--ra-surface);
  border-bottom-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme #header {
  background-color: var(--ra-web-bg, var(--ra-surface));
  color: var(--ra-text-primary);
  border-bottom: 1px solid var(--ra-web-border, var(--ra-border));
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
}

body.resturent-theme #header a,
body.resturent-theme #header .nav>li>a,
body.resturent-theme #header .navbar-nav>li>a {
  color: var(--ra-text-primary);
}

body.resturent-theme #header a:hover,
body.resturent-theme #header a:focus,
body.resturent-theme #header .nav>li>a:hover,
body.resturent-theme #header .nav>li>a:focus,
body.resturent-theme #header .navbar-nav>li>a:hover,
body.resturent-theme #header .navbar-nav>li>a:focus {
  color: var(--ra-primary);
  background-color: var(--ra-surface-variant);
}

body.resturent-theme nav .logo.logo-text {
  color: var(--ra-text-primary);
}

body.resturent-theme nav .logo.logo-text:hover,
body.resturent-theme nav .logo.logo-text:focus {
  color: var(--ra-primary);
}

body.resturent-theme #top_search input,
body.resturent-theme #top_search .form-control {
  background-color: var(--ra-surface-variant) !important;
  border-color: var(--ra-web-border, var(--ra-border)) !important;
  color: var(--ra-text-primary) !important;
}

body.resturent-theme #top_search input::placeholder {
  color: var(--ra-text-secondary) !important;
}

body.resturent-theme #top_search_button button,
body.resturent-theme #top_search_button i {
  color: var(--ra-text-secondary);
}

body.resturent-theme #top_search:focus-within #top_search_button button,
body.resturent-theme #top_search:focus-within #top_search_button i {
  color: var(--ra-text-primary);
}

body.resturent-theme .navbar-nav > li > a {
  color: var(--ra-text-primary);
}

body.resturent-theme .navbar-nav > li > a:hover,
body.resturent-theme .navbar-nav > li > a:focus {
  color: var(--ra-primary);
}

body.resturent-theme .navbar-nav > li.icon > a i,
body.resturent-theme .navbar-nav > li.icon > a svg {
  color: var(--ra-text-secondary);
}

body.resturent-theme .navbar-nav > li.icon > a:hover i,
body.resturent-theme .navbar-nav > li.icon > a:hover svg,
body.resturent-theme .navbar-nav > li.icon > a:focus i,
body.resturent-theme .navbar-nav > li.icon > a:focus svg {
  color: var(--ra-text-primary);
}

body.resturent-theme .navbar-nav .tw-bg-primary-600,
body.resturent-theme .navbar-nav .tw-bg-primary-700 {
  background-color: var(--ra-primary) !important;
}

body.resturent-theme .navbar-default .navbar-nav>li>a {
  color: var(--ra-text-primary);
}

body.resturent-theme .navbar-default .navbar-nav>.active>a,
body.resturent-theme .navbar-default .navbar-nav>.active>a:focus,
body.resturent-theme .navbar-default .navbar-nav>.active>a:hover {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-primary);
}

body.resturent-theme .navbar-default .navbar-nav>li>a:focus,
body.resturent-theme .navbar-default .navbar-nav>li>a:hover {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-primary);
}

body.resturent-theme .sidebar {
  background-color: var(--ra-surface-variant);
  border-right-color: var(--ra-web-border, var(--ra-border));
}

[dir="rtl"] body.resturent-theme .sidebar {
  border-left-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .sidebar ul.nav li a {
  color: var(--ra-text-secondary);
}

body.resturent-theme .sidebar ul.nav li a i.menu-icon {
  color: var(--ra-text-secondary);
}

body.resturent-theme .sidebar>ul.nav>li:hover a:first-child,
body.resturent-theme .sidebar>ul.nav>li.active a:first-child {
  background-color: var(--ra-primary);
  border-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .sidebar ul.nav li.active>a,
body.resturent-theme .sidebar ul.nav>li>a:hover,
body.resturent-theme .sidebar ul.nav>li>a:focus,
body.resturent-theme .sidebar ul.nav li.active>a .menu-icon,
body.resturent-theme .sidebar ul.nav>li>a:hover .menu-icon,
body.resturent-theme .sidebar ul.nav>li>a:focus .menu-icon {
  color: var(--ra-on-primary);
}

body.resturent-theme .sidebar ul.nav li .nav-second-level li a {
  color: var(--ra-text-secondary);
}

body.resturent-theme .sidebar ul.nav li .nav-second-level li.active a,
body.resturent-theme .sidebar ul.nav>li .nav-second-level>li:not(.active)>a:hover,
body.resturent-theme .sidebar ul.nav>li .nav-second-level>li:not(.active)>a:focus {
  color: var(--ra-text-primary);
}

body.resturent-theme .sidebar>ul.nav>li.active ul li a span {
  color: var(--ra-primary) !important;
}

body.resturent-theme .sidebar>ul.nav>li.active ul li:not(:last-child) > a {
  border-bottom: 1px solid gray !important;
}

body.resturent-theme .panel_s,
body.resturent-theme .panel {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
  border-radius: var(--ra-radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

body.resturent-theme .panel-body {
  background-color: var(--ra-surface);
}

body.resturent-theme .panel_s > .panel-heading,
body.resturent-theme .panel > .panel-heading {
  background-color: var(--ra-surface-variant);
  border-bottom-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
  border-top-left-radius: var(--ra-radius);
  border-top-right-radius: var(--ra-radius);
}

body.resturent-theme .panel_s .panel-body,
body.resturent-theme .panel .panel-body {
  color: var(--ra-text-primary);
}

body.resturent-theme .hr-panel-heading,
body.resturent-theme hr {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .table>thead>tr>th,
body.resturent-theme .table thead th {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-primary);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .table>tbody>tr>td,
body.resturent-theme .table>tfoot>tr>td {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .table>tbody>tr>td,
body.resturent-theme .dataTables_empty,
body.resturent-theme .dataTables_info,
body.resturent-theme .pagination > li > a,
body.resturent-theme .pagination > li > span {
  color: var(--ra-text-primary);
}

body.resturent-theme .pagination > li > a,
body.resturent-theme .pagination > li > span {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .pagination > .disabled > a,
body.resturent-theme .pagination > .disabled > span {
  color: var(--ra-text-secondary);
}

body.resturent-theme .form-control,
body.resturent-theme .input-group-addon,
body.resturent-theme .bootstrap-select .dropdown-toggle {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
  border-radius: var(--ra-button-radius);
}

body.resturent-theme .form-control:focus,
body.resturent-theme .bootstrap-select .dropdown-toggle:focus {
  border-color: var(--ra-primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.03);
}

body.resturent-theme .btn {
  border-radius: var(--ra-button-radius);
}

body.resturent-theme .btn-primary {
  background-color: var(--ra-primary);
  border-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .btn-primary:hover,
body.resturent-theme .btn-primary:focus {
  filter: brightness(0.95);
  color: var(--ra-on-primary);
}

body.resturent-theme .btn-default,
body.resturent-theme .btn-light {
  background-color: var(--ra-surface-variant);
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
}

body.resturent-theme .btn-success {
  background-color: var(--ra-success);
  border-color: var(--ra-success);
  color: var(--ra-on-success);
}

body.resturent-theme .btn-warning {
  background-color: var(--ra-warning);
  border-color: var(--ra-warning);
  color: var(--ra-on-warning);
}

body.resturent-theme .btn-danger {
  background-color: var(--ra-error);
  border-color: var(--ra-error);
  color: var(--ra-on-error);
}

body.resturent-theme .label,
body.resturent-theme .badge {
  border-radius: var(--ra-chip-radius);
}

body.resturent-theme .screen-options-area {
  background-color: var(--ra-surface-variant);
  border-bottom-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .screen-options-btn {
  background-color: var(--ra-surface);
  color: var(--ra-text-primary);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .placeholder-dashboard-widgets {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .widget-dragger {
  color: var(--ra-text-secondary);
}

body.resturent-theme .widget-dragger:hover,
body.resturent-theme .widget-dragger:active {
  color: var(--ra-text-primary);
}

body.resturent-theme .dropdown-menu {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .dropdown-menu>li>a {
  color: var(--ra-text-primary);
}

body.resturent-theme .dropdown-menu>li>a:hover,
body.resturent-theme .dropdown-menu>li>a:focus {
  background-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .dropdown-menu>li.active>a,
body.resturent-theme .dropdown-menu>li.active>a:hover,
body.resturent-theme .dropdown-menu>li.active>a:focus {
  background-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .dropdown-menu>li>a {
  color: var(--ra-text-primary);
}

body.resturent-theme .dropdown-menu .divider {
  background-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .text-primary,
body.resturent-theme .link-primary {
  color: var(--ra-primary) !important;
}

body.resturent-theme .text-success {
  color: var(--ra-success) !important;
}

body.resturent-theme .text-warning {
  color: var(--ra-warning) !important;
}

body.resturent-theme .text-danger,
body.resturent-theme .text-error {
  color: var(--ra-error) !important;
}

body.resturent-theme .bg-primary,
body.resturent-theme .label-primary,
body.resturent-theme .badge-primary {
  background-color: var(--ra-primary) !important;
  color: var(--ra-on-primary) !important;
}

body.resturent-theme .bg-success,
body.resturent-theme .label-success,
body.resturent-theme .badge-success {
  background-color: var(--ra-success) !important;
  color: var(--ra-on-success) !important;
}

body.resturent-theme .bg-warning,
body.resturent-theme .label-warning,
body.resturent-theme .badge-warning {
  background-color: var(--ra-warning) !important;
  color: var(--ra-on-warning) !important;
}

body.resturent-theme .bg-danger,
body.resturent-theme .label-danger,
body.resturent-theme .badge-danger {
  background-color: var(--ra-error) !important;
  color: var(--ra-on-error) !important;
}

body.resturent-theme .nav-tabs>li>a,
body.resturent-theme .nav-pills>li>a {
  color: var(--ra-text-secondary);
}

body.resturent-theme .nav-tabs>li.active>a,
body.resturent-theme .nav-tabs>li.active>a:focus,
body.resturent-theme .nav-tabs>li.active>a:hover,
body.resturent-theme .nav-pills>li.active>a,
body.resturent-theme .nav-pills>li.active>a:focus,
body.resturent-theme .nav-pills>li.active>a:hover {
  color: var(--ra-text-primary);
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .pagination>.active>a,
body.resturent-theme .pagination>.active>span,
body.resturent-theme .pagination>.active>a:hover,
body.resturent-theme .pagination>.active>span:hover,
body.resturent-theme .pagination>.active>a:focus,
body.resturent-theme .pagination>.active>span:focus {
  background-color: var(--ra-primary);
  border-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .alert {
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
  background-color: var(--ra-surface-variant);
}

body.resturent-theme .alert-success {
  background-color: color-mix(in srgb, var(--ra-success) 12%, var(--ra-surface));
  border-color: var(--ra-success);
}

body.resturent-theme .alert-warning {
  background-color: color-mix(in srgb, var(--ra-warning) 12%, var(--ra-surface));
  border-color: var(--ra-warning);
}

body.resturent-theme .alert-danger,
body.resturent-theme .alert-error {
  background-color: color-mix(in srgb, var(--ra-error) 12%, var(--ra-surface));
  border-color: var(--ra-error);
}

body.resturent-theme .table>thead>tr>th,
body.resturent-theme .table>tbody>tr>th,
body.resturent-theme .table>tfoot>tr>th,
body.resturent-theme .table>thead>tr>td,
body.resturent-theme .table>tbody>tr>td,
body.resturent-theme .table>tfoot>tr>td {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .dataTables_wrapper .dataTables_filter input,
body.resturent-theme .dataTables_wrapper .dataTables_length select {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
  border-radius: var(--ra-button-radius);
}

body.resturent-theme .dataTables_wrapper .dataTables_filter input::placeholder {
  color: var(--ra-text-secondary);
}

body.resturent-theme .bg-white,
body.resturent-theme .bg-light,
body.resturent-theme .bg-gray,
body.resturent-theme .bg-grey {
  background-color: var(--ra-surface) !important;
}

body.resturent-theme .bg-faded,
body.resturent-theme .bg-muted,
body.resturent-theme .bg-info {
    background-color: var(--ra-surface-variant) !important;
    background-color: red !important;
}

body.resturent-theme .text-info {
  color: var(--ra-secondary) !important;
}

body.resturent-theme .well,
body.resturent-theme .list-group-item,
body.resturent-theme .modal-content,
body.resturent-theme .modal-header,
body.resturent-theme .modal-footer {
  background-color: var(--ra-surface);
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-primary);
}

body.resturent-theme .modal-header,
body.resturent-theme .modal-footer {
  background-color: var(--ra-surface-variant);
}

body.resturent-theme .breadcrumb {
  background-color: var(--ra-surface-variant);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .breadcrumb>li>a {
  color: var(--ra-text-secondary);
}

body.resturent-theme .breadcrumb>.active {
  color: var(--ra-text-primary);
}

body.resturent-theme .progress {
  background-color: var(--ra-surface-variant);
}

body.resturent-theme .progress-bar {
  background-color: var(--ra-primary);
}

body.resturent-theme .table-striped>tbody>tr:nth-of-type(odd) {
  background-color: color-mix(in srgb, var(--ra-surface-variant) 55%, var(--ra-surface));
}

body.resturent-theme .table-hover>tbody>tr:hover {
  background-color: color-mix(in srgb, var(--ra-surface-variant) 70%, var(--ra-surface));
}

body.resturent-theme .nav>li>a {
  color: var(--ra-text-secondary);
}

body.resturent-theme .nav>li>a:hover,
body.resturent-theme .nav>li>a:focus {
  color: var(--ra-text-primary);
  background-color: var(--ra-surface-variant);
}

body.resturent-theme .label-default,
body.resturent-theme .badge-default {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-primary);
}

body.resturent-theme .form-control::placeholder {
  color: var(--ra-text-secondary);
}

body.resturent-theme .input-group-addon {
  background-color: var(--ra-surface-variant);
  border-color: var(--ra-web-border, var(--ra-border));
  color: var(--ra-text-secondary);
}

body.resturent-theme .tw-text-neutral-400,
body.resturent-theme .tw-text-neutral-500,
body.resturent-theme .tw-text-gray-400,
body.resturent-theme .tw-text-gray-500 {
  color: var(--ra-text-secondary) !important;
}

body.resturent-theme .tw-text-neutral-600,
body.resturent-theme .tw-text-neutral-700,
body.resturent-theme .tw-text-neutral-800,
body.resturent-theme .tw-text-gray-600,
body.resturent-theme .tw-text-gray-700,
body.resturent-theme .tw-text-gray-800,
body.resturent-theme .tw-text-gray-900 {
  color: var(--ra-text-primary) !important;
}

body.resturent-theme .tw-bg-neutral-50,
body.resturent-theme .tw-bg-neutral-100,
body.resturent-theme .tw-bg-neutral-200,
body.resturent-theme .tw-bg-gray-50,
body.resturent-theme .tw-bg-gray-100,
body.resturent-theme .tw-bg-gray-200 {
  background-color: var(--ra-surface-variant) !important;
}

body.resturent-theme #wrapper,
body.resturent-theme #content,
body.resturent-theme .content,
body.resturent-theme .page-content,
body.resturent-theme .card,
body.resturent-theme .card-body,
body.resturent-theme .modal-body,
body.resturent-theme .modal-content,
body.resturent-theme .well,
body.resturent-theme .bg-white {
  background-color: var(--ra-web-bg, var(--ra-surface));
  color: var(--ra-text-primary);
}

body.resturent-theme .border,
body.resturent-theme .border-top,
body.resturent-theme .border-right,
body.resturent-theme .border-bottom,
body.resturent-theme .border-left,
body.resturent-theme .tw-border,
body.resturent-theme .tw-border-neutral-100,
body.resturent-theme .tw-border-neutral-200,
body.resturent-theme .tw-border-neutral-300,
body.resturent-theme .tw-border-gray-100,
body.resturent-theme .tw-border-gray-200,
body.resturent-theme .tw-border-gray-300 {
  border-color: var(--ra-web-border, var(--ra-border)) !important;
}

body.resturent-theme .panel,
body.resturent-theme .panel_s,
body.resturent-theme .panel-heading,
body.resturent-theme .panel-body,
body.resturent-theme .panel-footer {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .nav-tabs,
body.resturent-theme .nav-tabs>li>a,
body.resturent-theme .nav-tabs>li.active>a,
body.resturent-theme .nav-tabs>li.active>a:focus,
body.resturent-theme .nav-tabs>li.active>a:hover {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .nav-tabs>li>a {
  background-color: var(--ra-surface);
}

body.resturent-theme .nav-tabs>li.active>a,
body.resturent-theme .nav-tabs>li.active>a:focus,
body.resturent-theme .nav-tabs>li.active>a:hover {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-primary);
}

body.resturent-theme .nav-pills>li>a {
  background-color: var(--ra-surface);
}

body.resturent-theme .nav-pills>li.active>a,
body.resturent-theme .nav-pills>li.active>a:focus,
body.resturent-theme .nav-pills>li.active>a:hover {
  background-color: var(--ra-primary);
  color: var(--ra-on-primary);
}

body.resturent-theme .table,
body.resturent-theme .table>thead>tr>th,
body.resturent-theme .table>tbody>tr>td,
body.resturent-theme .table>tfoot>tr>td {
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .form-control,
body.resturent-theme select.form-control,
body.resturent-theme textarea.form-control,
body.resturent-theme input.form-control {
  background-color: var(--ra-surface);
  color: var(--ra-text-primary);
  border-color: var(--ra-web-border, var(--ra-border));
}

body.resturent-theme .form-control:disabled,
body.resturent-theme .form-control[readonly] {
  background-color: var(--ra-surface-variant);
  color: var(--ra-text-secondary);
}

body.resturent-theme .table>tbody>tr>td,
body.resturent-theme .table>tbody>tr>th,
body.resturent-theme .table>tfoot>tr>td,
body.resturent-theme .table>tfoot>tr>th,
body.resturent-theme .table>thead>tr>td,
body.resturent-theme .table>thead>tr>th {
  color: var(--ra-text-primary);
}

body.resturent-theme h1,
body.resturent-theme h2,
body.resturent-theme h3,
body.resturent-theme h4,
body.resturent-theme h5,
body.resturent-theme h6,
body.resturent-theme .h1,
body.resturent-theme .h2,
body.resturent-theme .h3,
body.resturent-theme .h4,
body.resturent-theme .h5,
body.resturent-theme .h6 {
  color: var(--ra-text-primary);
}

body.resturent-theme small,
body.resturent-theme .small {
  color: var(--ra-text-secondary);
}
