#table {
    min-height: 180px;

}

.form-label {
    margin-top: 10px;
}

.truck-cols-1 {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(1, minmax(0, 1fr));
    gap: 10px;
    border: solid #000 3px;
    border-radius: 10px;
    padding: 10px;
}

.truck-cols-2 {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border: solid #000 3px;
    border-radius: 10px;
    padding: 10px;
}

.job {
    width: 100%;
    flex: 1;
    background: #c0d5d7;
    margin: 0;
    height: 60px;
    padding: 10px;
    color: #a4c6c9;
}

.job.loaded {
    background: #0097a7;
    color: #fff;
}

a.job {
    opacity: 1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

a.job:hover {
    opacity: .75;
}


.swal2-icon-content {
    color: #142640;
}

.swal2-icon.swal2-warning {
    border-color: #142640;
    color: #142640;
}

.swal2-popup {
    width: 300px !important; /* Adjust width as per your requirement */
    font-size: 12px !important; /* Adjust font size to make text smaller */
}

:root {
    --admin-font: "Sora", "Segoe UI", sans-serif;
    --btn-radius: 999px;
}

body,
.navbar,
.card,
.btn,
.form-control,
.form-select,
.dropdown-menu {
    font-family: var(--admin-font);
}

.btn {
    border-radius: var(--btn-radius);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.btn:active {
    transform: translateY(0);
}

.btn.btn-primary,
.btn.btn-info,
.btn.btn-success {
    box-shadow: 0 8px 18px rgba(15, 156, 243, 0.25);
}

.btn.btn-dark {
    box-shadow: 0 8px 18px rgba(10, 10, 10, 0.25);
}

.card,
.modal-content,
.dropdown-menu {
    border-radius: 18px;
}

.card-header {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.card-footer {
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
}

.form-control,
.form-select,
.input-group-text {
    border-radius: 14px;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(15, 156, 243, 0.15);
}

.table {
    border-radius: 14px;
}

/* Fix for dropdown menus in tables with few records */
.table-responsive {
    overflow: visible !important;
}

.card-body .table-responsive,
.card-body .dataTables_wrapper {
    overflow: visible !important;
}

/* Ensure dropdowns in tables are visible */
.table .dropdown-menu {
    position: absolute;
    z-index: 1050;
}

/* Minimum height for table cards to accommodate dropdowns */
.card-body:has(.table) {
    min-height: 200px;
    overflow: visible;
}

.badge {
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-weight: 600;
}

.page-title-box {
    padding: 12px 0;
}

.btn.btn-outline-light,
.btn.btn-outline-secondary {
    border-radius: var(--btn-radius);
}

.btn.btn-outline-light:hover,
.btn.btn-outline-secondary:hover {
    transform: translateY(-1px);
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 48px 0;
}

.auth-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px rgba(13, 18, 28, 0.2);
}

.auth-card .card-body {
    padding: 2rem 2.25rem;
}

.auth-title {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.seo-card {
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.seo-preview {
    padding: 16px;
    border-radius: 14px;
    border: 1px dashed rgba(15, 23, 42, 0.15);
    background: rgba(248, 250, 252, 0.9);
}

.seo-preview--compact {
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
}

.seo-preview-title {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 4px;
}

.seo-preview-url {
    color: #198754;
    font-size: 0.78rem;
    margin-bottom: 6px;
}

.seo-preview-desc {
    color: #5b6470;
    line-height: 1.4;
}

.seo-checklist {
    display: grid;
    gap: 10px;
}

.seo-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #4b5563;
}

.seo-check i {
    font-size: 1rem;
}

/* ========================================
   ADMIN THEME MODES
   ======================================== */

body.admin-theme-dark {
    background-color: #0b111a;
    color: #e7ecf4;
}

body.admin-theme-dark .page-content,
body.admin-theme-dark .main-content,
body.admin-theme-dark .footer {
    background-color: transparent;
}

body.admin-theme-dark .card,
body.admin-theme-dark .modal-content,
body.admin-theme-dark .dropdown-menu,
body.admin-theme-dark .vertical-menu {
    background-color: #121a26;
    color: #e7ecf4;
    border-color: rgba(255, 255, 255, 0.08);
}

body.admin-theme-dark .table {
    color: #e7ecf4;
}

body.admin-theme-dark .table-striped > tbody > tr:nth-of-type(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

body.admin-theme-dark .form-control,
body.admin-theme-dark .form-select {
    background-color: rgba(15, 22, 30, 0.85);
    color: #e7ecf4;
    border-color: rgba(255, 255, 255, 0.08);
}

body.admin-theme-dark .form-control::placeholder {
    color: rgba(231, 236, 244, 0.5);
}

body.admin-theme-dark .seo-preview {
    background: rgba(10, 14, 20, 0.6);
    border-color: rgba(255, 255, 255, 0.12);
}

body.admin-theme-dark .seo-preview-title {
    color: #8ab4ff;
}

body.admin-theme-dark .seo-preview-url {
    color: #7ce0a6;
}

body.admin-theme-dark .seo-preview-desc,
body.admin-theme-dark .seo-check {
    color: rgba(231, 236, 244, 0.7);
}

/* ========================================
   MODERN SIDEBAR STYLES
   ======================================== */

/* Sidebar container */
.vertical-menu {
    transition: all 0.3s ease;
}

/* Menu items - larger font and better spacing */
#sidebar-menu ul li a {
    font-size: 15px !important;
    font-weight: 500;
    padding: 14px 20px !important;
    margin: 4px 12px;
    border-radius: 12px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Menu item icons */
#sidebar-menu ul li a i {
    font-size: 20px !important;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Menu item hover state */
#sidebar-menu ul li a:hover {
    transform: translateX(4px);
    background: rgba(128, 128, 128, 0.15);
}

#sidebar-menu ul li a:hover i {
    transform: scale(1.1);
}

/* Active menu item - works for both light and dark */
#sidebar-menu ul li a.active,
#sidebar-menu ul li.mm-active > a {
    font-weight: 600 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

#sidebar-menu ul li a.active i,
#sidebar-menu ul li.mm-active > a i {
    color: #fff !important;
}

/* Submenu styling */
#sidebar-menu ul ul {
    padding-left: 8px;
}

#sidebar-menu ul ul li a {
    font-size: 14px !important;
    padding: 10px 16px 10px 48px !important;
    margin: 2px 12px;
}

#sidebar-menu ul ul li a.mm-active {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #60a5fa !important;
}

/* Arrow icon for expandable menus - aligned right */
#sidebar-menu ul li a.has-arrow {
    position: relative;
}

#sidebar-menu ul li a.has-arrow::after {
    position: absolute !important;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
    margin-left: auto;
}

#sidebar-menu ul li.mm-active > a.has-arrow::after {
    transform: translateY(-50%) rotate(-180deg);
}

/* Menu title/category labels */
#sidebar-menu .menu-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 16px 20px 8px;
    margin-top: 8px;
}

/* ========================================
   COLLAPSED SIDEBAR
   ======================================== */
body.vertical-collpsed .vertical-menu #sidebar-menu ul li a {
    padding: 14px !important;
    margin: 4px 8px;
    justify-content: center;
}

body.vertical-collpsed .vertical-menu #sidebar-menu ul li a span {
    display: none;
}

body.vertical-collpsed .vertical-menu:hover #sidebar-menu ul li a {
    padding: 14px 20px !important;
    justify-content: flex-start;
}

body.vertical-collpsed .vertical-menu:hover #sidebar-menu ul li a span {
    display: inline;
}

/* ========================================
   SCROLLBAR STYLING
   ======================================== */
.vertical-menu .simplebar-scrollbar::before {
    background: rgba(128, 128, 128, 0.3);
    border-radius: 4px;
}
