*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    background: #f4f6f8;
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
}

.navbar.bg-dark {
    background: #1f2428 !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.18);
}

.navbar-brand img {
    height: 2.5rem !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    padding: 0.85rem 0.95rem;
    white-space: nowrap;
}

.navbar-dark .navbar-nav .active > .nav-link,
.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

.dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.account-balance {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-left: 0.35rem;
}

.chat-notification-link {
    position: relative;
}

.chat-unread-badge {
    align-items: center;
    background: #ef4444;
    border: 2px solid #1f2428;
    border-radius: 999px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 20px;
    min-width: 20px;
    padding: 0 0.25rem;
    position: absolute;
    right: -0.15rem;
    top: 0.15rem;
}

.chat-unread-badge[hidden] {
    display: none !important;
}

.container {
    max-width: 1180px;
}

.navbar {
    padding: 0.65rem 1.5rem;
}

.navbar .container-fluid {
    align-items: center;
    display: flex;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
}

.navbar-brand {
    align-items: center;
    display: flex;
    margin-right: 1.5rem;
    padding-bottom: 0;
    padding-top: 0;
}

.navbar-collapse {
    flex-grow: 1;
}

.navbar-nav {
    align-items: center;
    flex-wrap: nowrap;
}

.navbar .d-flex.align-items-center {
    margin-left: auto;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-brand {
        margin-right: 0.75rem;
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .account-balance {
        margin-left: 0.15rem;
    }
}

.company-dashboard {
    background: #eef2f7;
    border-bottom: 1px solid #dbe3ec;
    padding: 1.75rem 0;
}

.company-dashboard .container {
    max-width: 1180px;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 3rem);
}

.dashboard-header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto 1rem;
    max-width: 1180px;
}

.dashboard-kicker {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 0.2rem;
    text-transform: uppercase;
}

.dashboard-header h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0;
}

.dashboard-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 auto;
    max-width: 1180px;
}

.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    min-height: 104px;
    padding: 1rem;
    width: 100%;
}

.stat-card span {
    color: #64748b;
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.stat-card strong {
    color: #111827;
    display: block;
    font-size: 1.45rem;
    line-height: 1.2;
}

.card.bg-white.text-white {
    background: transparent !important;
    border: 0;
    color: #1f2933 !important;
}

.card.bg-white.text-white > .card-img-overlay {
    position: static;
    padding: 1.25rem 0;
}

.card.bg-white.text-white > .card-img-overlay > .container {
    max-width: 1180px;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 3rem);
}

.card.bg-dark {
    border: 0;
    border-radius: 0;
    height: auto !important;
    margin-top: 3rem !important;
    overflow: hidden;
    padding: 1.5rem 0;
}

.card.bg-dark > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
}

.card.bg-dark img,
.card.bg-dark ul,
.card.bg-dark p {
    margin-left: 0 !important;
}

.card.bg-dark .nav {
    justify-content: center;
}

.row.container[style*="margin-left"] {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1.25rem auto 0 !important;
    max-width: 1180px;
    padding: 0 !important;
    width: calc(100% - 3rem);
}

.row.container[style*="margin-left"] .col-md-3 {
    flex: none;
    max-width: none;
    padding: 0;
    width: auto;
}

.row.container[style*="margin-left"] a {
    border-right: 1px solid #e5e7eb;
    color: #1f2933;
    display: block;
    padding: 1rem 1.2rem;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease;
}

.row.container[style*="margin-left"] h5 {
    font-size: 1rem;
    margin: 0;
}

.row.container[style*="margin-left"] a:hover {
    background: #1f2937;
    color: #fff !important;
    text-decoration: none;
}

.row.container[style*="margin-left"] a:hover h5,
.row.container[style*="margin-left"] a:hover b {
    color: #fff !important;
}

.card.bg-white.text-white > .card-img-overlay > .container > .row {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    margin: 0;
    padding: 1rem 1.25rem;
}

.card.bg-white.text-white > .card-img-overlay > .container > .row h6 {
    color: #111827 !important;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.card.bg-white.text-white > .card-img-overlay > .container > .row a {
    font-weight: 700;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
}

.btn-secondary,
.btn-dark {
    background: #334155;
    border-color: #334155;
}

.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
}

.btn-outline-secondary {
    border-color: #94a3b8;
    color: #334155;
}

.table {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.table th {
    background: #1f2937 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 0.9rem;
    white-space: nowrap;
}

.table td {
    border-color: #edf2f7;
    color: #1f2933;
    vertical-align: middle;
}

.table .alert,
td .alert {
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    margin: 0.5rem;
    padding: 1.25rem;
}

.alert-danger {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.jumbotron-fluid {
    background: #1f2937 !important;
    margin-bottom: 1.5rem;
    padding: 1.5rem 0;
}

.jumbotron-fluid h2 {
    font-size: 1.4rem;
    letter-spacing: 0;
    margin: 0;
}

#myUL,
#myUL ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

#myUL {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    padding: 1rem;
}

#myUL li {
    margin: 0.35rem 0;
}

#myUL .row {
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    margin: 0;
    padding: 0.45rem 0;
}

.box {
    display: inline-flex;
    align-items: center;
    color: #111827;
    font-weight: 700;
    margin: 0.25rem 0;
}

.box::before {
    background: #e2e8f0;
    border-radius: 4px;
    color: #1f2937 !important;
    line-height: 1;
    margin-right: 0.5rem !important;
    min-width: 1.25rem;
    padding: 0.15rem 0.35rem;
    text-align: center;
}

form h4[style*="background:black"],
.container h4[style*="background:black"] {
    background: #1f2937 !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
}

input[type="checkbox"] {
    height: 1rem;
    width: 1rem;
}

.booking-detail-page {
    background: #eef2f7;
    padding: 1.5rem 0 0;
}

.booking-detail-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.booking-detail-hero,
.booking-panel,
.booking-summary-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.booking-detail-hero {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.booking-kicker {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.booking-detail-hero h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.booking-subtitle {
    color: #64748b;
    margin: 0.3rem 0 0;
}

.booking-hero-meta {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.booking-status-pill,
.booking-id {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.5rem 0.75rem;
    white-space: nowrap;
}

.booking-status-pill {
    background: #e2e8f0;
    color: #334155;
}

.booking-status-success {
    background: #dcfce7;
    color: #166534;
}

.booking-status-warning {
    background: #fef3c7;
    color: #92400e;
}

.booking-status-danger {
    background: #fee2e2;
    color: #991b1b;
}

.booking-id {
    background: #f1f5f9;
    color: #475569;
}

.booking-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.booking-summary-card {
    min-height: 96px;
    padding: 1rem;
}

.booking-summary-card span {
    color: #64748b;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.booking-summary-card strong {
    color: #111827;
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.booking-detail-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    margin-bottom: 1rem;
}

.booking-panel {
    padding: 1.25rem;
}

.booking-panel-heading {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.booking-panel-heading h2 {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.booking-panel-heading span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
}

.booking-field-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-field-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.booking-field-wide {
    grid-column: 1 / -1;
}

.booking-field label {
    color: #475569;
    display: flex;
    font-size: 0.83rem;
    font-weight: 800;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.booking-field label span {
    color: #94a3b8;
    font-weight: 700;
}

.booking-field .form-control {
    background: #f8fafc;
    border-color: #dbe3ec;
    border-radius: 6px;
    color: #1f2933;
    font-weight: 700;
    min-height: 42px;
}

.booking-field .form-control:read-only {
    background: #f8fafc;
}

.booking-notes {
    min-height: 116px;
    resize: vertical;
}

.booking-notes-edit {
    background: #fff !important;
    font-weight: 600;
}

.booking-notes-panel {
    margin-bottom: 1rem;
}

.booking-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.booking-actions .btn {
    min-width: 150px;
    padding: 0.65rem 1rem;
}

.worker-dashboard-page {
    background: #eef2f7;
    padding: 1.5rem 0 0;
}

.worker-dashboard-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.worker-dashboard-hero,
.worker-panel,
.worker-stat-card,
.worker-company-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.worker-dashboard-hero {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.worker-dashboard-kicker {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin: 0 0 0.25rem;
    text-transform: uppercase;
}

.worker-dashboard-hero h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.worker-dashboard-hero p:last-child {
    color: #64748b;
    margin: 0.3rem 0 0;
}

.worker-dashboard-actions,
.worker-row-actions,
.worker-company-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.worker-dashboard-actions {
    justify-content: flex-end;
}

.worker-stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.worker-stat-card {
    min-height: 96px;
    padding: 1rem;
}

.worker-stat-card span {
    color: #64748b;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.worker-stat-card strong {
    color: #111827;
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.worker-panel {
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.worker-panel-heading {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.worker-panel-heading h2 {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.worker-panel-heading a {
    font-weight: 800;
    white-space: nowrap;
}

.worker-table-wrap {
    overflow-x: auto;
}

.worker-dashboard-table {
    border-radius: 8px;
    box-shadow: none;
    margin-bottom: 0;
    min-width: 880px;
    width: 100%;
}

.worker-dashboard-table th {
    font-size: 0.82rem;
}

.worker-dashboard-table td {
    font-size: 0.9rem;
    white-space: nowrap;
}

.worker-row-actions {
    align-items: center;
    justify-content: center;
}

.worker-row-actions form {
    margin: 0;
}

.worker-row-actions .btn {
    min-width: 64px;
}

.worker-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.45rem 0.65rem;
}

.worker-status-success {
    background: #dcfce7;
    color: #166534;
}

.worker-status-warning {
    background: #fef3c7;
    color: #92400e;
}

.worker-status-danger {
    background: #fee2e2;
    color: #991b1b;
}

.worker-status-muted {
    background: #e2e8f0;
    color: #334155;
}

.worker-empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    font-weight: 800;
    padding: 1rem;
    text-align: center;
}

.worker-bookings-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 0;
}

.worker-bookings-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.worker-bookings-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 6px solid #1f2937;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.worker-bookings-hero-pending {
    border-left-color: #f59e0b;
}

.worker-bookings-hero-confirmed {
    border-left-color: #2563eb;
}

.worker-bookings-hero-history {
    border-left-color: #16a34a;
}

.worker-bookings-hero h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.worker-bookings-hero p:last-child {
    color: #64748b;
    margin: 0.3rem 0 0;
}

.worker-bookings-count {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    min-width: 116px;
    padding: 0.85rem 1rem;
    text-align: center;
}

.worker-bookings-count span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.worker-bookings-count strong {
    color: #111827;
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1;
}

.worker-booking-tabs {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    overflow-x: auto;
    padding: 0.5rem;
}

.worker-booking-tabs a {
    border-radius: 6px;
    color: #475569;
    flex: 0 0 auto;
    font-weight: 800;
    padding: 0.65rem 0.9rem;
    text-decoration: none;
    white-space: nowrap;
}

.worker-booking-tabs a.active,
.worker-booking-tabs a:hover {
    background: #172033;
    color: #ffffff;
}

.worker-bookings-panel {
    margin-bottom: 1.5rem;
}

.worker-bookings-table {
    min-width: 980px;
}

.worker-bookings-table thead th {
    background: #172033;
    border-color: #172033;
    color: #ffffff;
}

.worker-bookings-table td a:not(.btn) {
    color: #1d4ed8;
    font-weight: 800;
}

.worker-booking-modal .modal-content {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

.worker-booking-modal .modal-header {
    background: #172033;
    color: #ffffff;
}

.worker-booking-modal .close {
    color: #ffffff;
    opacity: 0.9;
}

.worker-company-profile-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 0;
}

.worker-company-view-hero {
    border-left: 6px solid #2563eb;
}

.worker-company-view-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    margin-bottom: 1.5rem;
}

.worker-company-info-panel {
    min-height: 260px;
}

.worker-company-description {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #334155;
    line-height: 1.7;
    min-height: 180px;
    overflow-wrap: anywhere;
    padding: 1rem;
    white-space: normal;
}

.worker-transfer-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 0;
}

.worker-transfer-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.worker-transfer-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 6px solid #16a34a;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.worker-transfer-hero h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.worker-transfer-hero p:last-child {
    color: #64748b;
    margin: 0.3rem 0 0;
}

.worker-transfer-action {
    margin: 0;
}

.worker-transfer-action .btn {
    min-width: 180px;
}

.worker-transfer-alert {
    border-radius: 8px;
    font-weight: 700;
}

.worker-transfer-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.worker-transfer-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
    margin-bottom: 1.5rem;
}

.worker-transfer-note-panel {
    min-height: 100%;
}

.worker-transfer-request-card {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    padding: 1rem;
}

.worker-transfer-request-card span {
    color: #64748b;
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.worker-transfer-request-card strong {
    color: #111827;
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.5rem 0;
}

.worker-transfer-request-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.worker-transfer-request-card form {
    margin: 0;
}

.worker-company-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.worker-company-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
}

.worker-company-card img {
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
    object-fit: cover;
    width: 100%;
}

.worker-company-card div {
    padding: 1rem;
}

.worker-company-card h3 {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 0.4rem;
}

.worker-company-card p {
    color: #475569;
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 0.75rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.worker-company-card span {
    color: #64748b;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
}

.worker-company-actions {
    margin-top: auto;
    padding-top: 0 !important;
}

.site-footer {
    background: #1f2428;
    color: #fff;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.site-footer-inner {
    align-items: center;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.site-footer-brand,
.site-footer-main {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.site-footer-brand span {
    font-size: 1rem;
    font-weight: 800;
}

.site-footer-brand img {
    max-height: 76px;
    width: auto;
}

.site-footer-main {
    flex-direction: column;
    justify-content: center;
}

.site-footer-main img {
    max-height: 42px;
    width: auto;
}

.site-footer-main nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
}

.site-footer-main a {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.site-footer-main a:hover {
    color: #fff;
}

.site-footer-main p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

body.admin-panel,
body.company-panel,
body.worker-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.admin-panel .site-footer,
body.company-panel .site-footer,
body.worker-layout .site-footer {
    margin-top: auto;
    width: 100%;
}

.main-body {
    padding-top: 1.5rem;
}

.company-profile-page {
    padding: 1.5rem 0 0;
}

.profile-shell {
    margin: 0 auto;
    max-width: 1180px;
    width: calc(100% - 3rem);
}

.profile-hero,
.profile-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.profile-hero {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.profile-identity {
    align-items: center;
    display: flex;
    gap: 1rem;
    min-width: 0;
}

.profile-identity img {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 92px;
    object-fit: cover;
    width: 92px;
}

.profile-identity h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    margin: 0 0 0.25rem;
}

.profile-identity p:last-child {
    color: #64748b;
    margin: 0;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.profile-stats-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.profile-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    margin-bottom: 1rem;
}

.profile-panel {
    padding: 1.25rem;
}

.panel-heading {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}

.panel-heading h2 {
    color: #111827;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
}

.panel-heading a {
    font-weight: 700;
}

.panel-heading .panel-action-btn {
    align-items: center;
    display: inline-flex;
    min-height: 32px;
    padding: 0.3rem 0.75rem;
}

.profile-details {
    margin: 0;
}

.profile-details div {
    border-bottom: 1px solid #f1f5f9;
    display: grid;
    gap: 1rem;
    grid-template-columns: 150px minmax(0, 1fr);
    padding: 0.75rem 0;
}

.profile-details div:last-child {
    border-bottom: 0;
}

.profile-details dt {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 800;
}

.profile-details dd {
    color: #111827;
    margin: 0;
    overflow-wrap: anywhere;
}

.company-profile-page .profile-skill-sections {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    max-height: 360px;
    overflow: auto;
    padding: 0 !important;
}

.company-profile-page .profile-skill-category {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 0.6rem !important;
    overflow: visible;
    padding: 0.65rem;
}

.company-profile-page .profile-skill-category:last-child {
    margin-bottom: 0 !important;
}

.company-profile-page .skill-category-heading {
    align-items: center;
    background: transparent;
    border-bottom: 0;
    display: inline-flex;
    justify-content: space-between;
    margin: 0 0 0.45rem;
    padding: 0;
    width: auto;
}

.company-profile-page .skill-category-heading span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 0.32rem 0.52rem;
    text-transform: uppercase;
}

.company-profile-page .skill-category-body {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0;
}

.company-profile-page .profile-profession-section {
    background: #fbfdff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    margin: 0 0 0.65rem !important;
    padding: 0.75rem;
}

.company-profile-page .profile-profession-section:last-child {
    margin-bottom: 0 !important;
}

.company-profile-page .profile-profession-section h3 {
    color: #1f2937;
    font-size: 0.92rem;
    font-weight: 800;
    margin: 0 0 0.55rem;
}

.company-profile-page .skill-badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
}

.company-profile-page .skill-badge {
    align-items: center;
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 0.35rem;
    line-height: 1;
    margin: 0 !important;
    max-width: 100%;
    padding: 0.33rem 0.55rem;
    white-space: normal;
    width: auto;
}

.company-profile-page .skill-badge::before {
    background: #1fb58f;
    border-radius: 999px;
    content: "";
    flex: 0 0 auto;
    display: inline-block;
    height: 0.34rem;
    width: 0.34rem;
}

.company-profile-page .empty-text {
    color: #64748b;
    padding: 0.75rem;
}

.company-profile-page .compact-empty {
    font-size: 0.78rem;
    padding: 0;
}

.company-info-panel {
    margin-bottom: 1.5rem;
}

.company-hours-page {
    background: #f6f8fb;
    min-height: calc(100vh - 72px);
    padding: 1.5rem 0 2rem;
}

.hours-hero {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.hours-hero h1 {
    color: #111827;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.hours-hero p:last-child {
    color: #64748b;
    margin: 0;
}

.hours-summary {
    background: #101820;
    border-radius: 8px;
    color: #fff;
    min-width: 150px;
    padding: 1rem 1.15rem;
    text-align: right;
}

.hours-summary span,
.hours-summary small {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-weight: 700;
}

.hours-summary strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0.25rem 0;
}

.hours-alert {
    border-radius: 8px;
    margin: 0 0 1rem;
}

.hours-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: 240px minmax(0, 1fr);
}

.hours-sidebar,
.hours-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(19, 34, 53, 0.06);
}

.hours-sidebar {
    align-self: start;
    padding: 1rem;
}

.hours-sidebar h2 {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
}

.hours-day-tabs {
    display: grid;
    gap: 0.45rem;
}

.hours-day-tabs a {
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #334155;
    display: flex;
    font-weight: 800;
    justify-content: space-between;
    padding: 0.65rem 0.75rem;
    text-decoration: none;
}

.hours-day-tabs a:hover {
    background: #f8fafc;
    color: #101820;
    text-decoration: none;
}

.hours-day-tabs a.is-active {
    background: #e8f7f3;
    border-color: #b7eadf;
    color: #168d72;
}

.hours-panel .panel-heading {
    align-items: flex-start;
    gap: 1rem;
}

.hours-panel .panel-heading p {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0.25rem 0 0;
}

.hours-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.hours-slot-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hours-slot {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 0.45rem;
    margin: 0;
    min-height: 92px;
    padding: 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hours-slot:hover {
    border-color: #94a3b8;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.hours-slot input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.hours-slot .slot-time {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.1;
}

.hours-slot .slot-status {
    align-self: end;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    border-radius: 999px;
    color: #be123c;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    justify-self: start;
    line-height: 1;
    padding: 0.35rem 0.52rem;
}

.hours-slot.is-selected {
    background: #ecfdf5;
    border-color: #86efac;
}

.hours-slot.is-selected .slot-status {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

.hours-savebar {
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    bottom: 1rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.9rem;
    position: sticky;
    z-index: 5;
}

.hours-savebar strong,
.hours-savebar span {
    display: block;
}

.hours-savebar strong {
    color: #111827;
    font-weight: 900;
}

.hours-savebar span {
    color: #64748b;
    font-size: 0.84rem;
}

.hours-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem;
}

.hours-empty h3 {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.hours-empty p {
    color: #64748b;
    margin: 0;
}

.confirm-needs-page,
.booking-path-page {
    background: #f6f8fb;
    min-height: calc(100vh - 72px);
    padding: 1.5rem 0 2rem;
}

.confirm-needs-hero,
.booking-path-hero {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.confirm-needs-hero h1,
.booking-path-hero h1 {
    color: #111827;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.confirm-needs-hero p:last-child,
.booking-path-hero p:last-child {
    color: #64748b;
    margin: 0;
}

.confirm-needs-summary {
    background: #101820;
    border-radius: 8px;
    color: #fff;
    min-width: 150px;
    padding: 1rem 1.15rem;
    text-align: right;
}

.confirm-needs-summary span,
.confirm-needs-summary small {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-weight: 700;
}

.confirm-needs-summary strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.28rem 0;
}

.confirm-needs-alert {
    border-radius: 8px;
}

.confirm-needs-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) 300px;
}

.confirm-needs-panel .panel-heading {
    align-items: flex-start;
    gap: 1rem;
}

.confirm-needs-panel .panel-heading p {
    color: #64748b;
    font-size: 0.88rem;
    margin: 0.25rem 0 0;
}

.confirm-needs-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.confirm-skill-list {
    display: grid;
    gap: 0.8rem;
}

.confirm-skill-group {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.85rem;
}

.confirm-skill-heading {
    margin-bottom: 0.7rem;
}

.confirm-skill-heading span {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1;
    padding: 0.36rem 0.58rem;
}

.confirm-profession-block {
    background: #fbfdff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    margin-bottom: 0.65rem;
    padding: 0.75rem;
}

.confirm-profession-block:last-child {
    margin-bottom: 0;
}

.confirm-profession-block h3 {
    color: #111827;
    font-size: 0.94rem;
    font-weight: 900;
    margin: 0 0 0.55rem;
}

.confirm-skill-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.confirm-skill-chip {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 0.35rem;
    line-height: 1;
    margin: 0;
    padding: 0.45rem 0.68rem;
}

.confirm-skill-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.confirm-skill-chip::before {
    background: #cbd5e1;
    border-radius: 999px;
    content: "";
    display: inline-block;
    height: 0.4rem;
    width: 0.4rem;
}

.confirm-skill-chip.is-selected {
    background: #ecfdf5;
    border-color: #86efac;
    color: #15803d;
}

.confirm-skill-chip.is-selected::before {
    background: #1fb58f;
}

.confirm-next-panel {
    align-self: start;
    background: #101820;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
    color: #fff;
    padding: 1.2rem;
}

.confirm-next-panel h2 {
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0 0 0.45rem;
}

.confirm-next-panel p,
.confirm-next-panel li {
    color: rgba(255, 255, 255, 0.72);
}

.confirm-next-panel ol {
    margin: 0 0 1rem 1rem;
    padding: 0;
}

.confirm-next-panel .btn {
    border-radius: 8px;
    font-weight: 900;
    margin-top: 0.6rem;
}

.confirm-empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.25rem;
}

.confirm-empty-state h3 {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.confirm-empty-state p {
    color: #64748b;
}

.booking-path-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-path-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: #132235;
    display: block;
    padding: 1.35rem;
    text-decoration: none;
}

.booking-path-card:hover {
    border-color: #1fb58f;
    color: #132235;
    text-decoration: none;
    transform: translateY(-1px);
}

.booking-path-icon {
    align-items: center;
    background: #e8f7f3;
    border-radius: 8px;
    color: #168d72;
    display: inline-flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 48px;
}

.booking-path-card h2 {
    color: #111827;
    font-size: 1.15rem;
    font-weight: 900;
    margin: 0 0 0.45rem;
}

.booking-path-card p {
    color: #64748b;
    line-height: 1.6;
}

.booking-path-card strong {
    color: #168d72;
}

.worker-results-page {
    background: #f6f8fb;
    min-height: calc(100vh - 72px);
    padding: 1.5rem 0 2rem;
}

.worker-results-hero {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.worker-results-hero h1 {
    color: #111827;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.worker-results-hero p:last-child {
    color: #64748b;
    margin: 0;
}

.worker-results-summary {
    background: #101820;
    border-radius: 8px;
    color: #fff;
    min-width: 150px;
    padding: 1rem 1.15rem;
    text-align: right;
}

.worker-results-summary span,
.worker-results-summary small {
    color: rgba(255, 255, 255, 0.72);
    display: block;
    font-weight: 700;
}

.worker-results-summary strong {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin: 0.28rem 0;
}

.worker-results-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.worker-results-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-result-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.worker-result-top {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: 88px minmax(0, 1fr);
}

.worker-result-top img {
    aspect-ratio: 1;
    border-radius: 8px;
    height: 88px;
    object-fit: cover;
    width: 88px;
}

.worker-result-name-row {
    align-items: flex-start;
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.worker-result-name-row h2 {
    color: #111827;
    font-size: 1.12rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.worker-result-top p {
    color: #64748b;
    display: -webkit-box;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.worker-favorite-badge {
    align-items: center;
    background: #fee2e2;
    border-radius: 999px;
    color: #dc2626;
    display: inline-flex;
    flex: 0 0 auto;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.worker-result-stats {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: 1fr 1fr;
}

.worker-result-stats div {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 0.75rem;
}

.worker-result-stats span,
.worker-result-stats strong {
    display: block;
}

.worker-result-stats span {
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.worker-result-stats strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    margin-top: 0.25rem;
}

.worker-match-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.worker-match-chips span {
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    display: inline-flex;
    font-size: 0.76rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.4rem 0.58rem;
}

.worker-result-actions {
    display: grid;
    gap: 0.55rem;
    grid-template-columns: 1fr 1fr;
    margin-top: auto;
}

.worker-result-actions .btn {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    font-weight: 900;
    justify-content: center;
    min-height: 42px;
}

.worker-results-empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
}

.worker-results-empty h2 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0 0 0.4rem;
}

.worker-results-empty p {
    color: #64748b;
    margin-bottom: 1rem;
}

.worker-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.company-info-panel p {
    color: #334155;
    line-height: 1.65;
    margin: 0;
    white-space: normal;
}

.edit-profile-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
}

.company-edit-form {
    margin: 0;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-field-wide {
    grid-column: 1 / -1;
}

.form-field label,
.image-upload-panel label {
    color: #334155;
    font-size: 0.9rem;
    font-weight: 800;
    margin: 0;
}

.form-field small,
.image-upload-panel small {
    color: #64748b;
    line-height: 1.45;
}

.company-edit-form .form-control {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #111827;
    min-height: 42px;
}

.company-edit-form textarea.form-control {
    min-height: 220px;
    resize: vertical;
}

.image-upload-panel {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.image-upload-panel img {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    height: 180px;
    object-fit: cover;
    width: 180px;
}

.form-footer-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin: 1rem 0 1.5rem;
}

.skill-needs-page .profile-hero {
    align-items: center;
}

.skill-needs-page .profile-hero h1 {
    margin-bottom: 0.25rem;
}

.skill-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skill-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.current-skill-list {
    display: grid;
    gap: 0.75rem;
}

.current-skill-group {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.9rem;
}

.current-skill-group h3 {
    color: #111827;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
}

.current-skill-group p {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0.25rem 0;
}

.skill-accordion {
    display: grid;
    gap: 0.75rem;
}

.skill-section {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.skill-section-toggle {
    align-items: center;
    background: #f8fafc;
    border: 0;
    color: #111827;
    cursor: pointer;
    display: flex;
    font-weight: 800;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    text-align: left;
    width: 100%;
}

.skill-section-toggle i {
    color: #64748b;
    transition: transform 0.18s ease;
}

.skill-section.is-open .skill-section-toggle {
    background: #1f2937;
    color: #fff;
}

.skill-section.is-open .skill-section-toggle i {
    color: #fff;
    transform: rotate(180deg);
}

.skill-section-body {
    display: none;
    padding: 1rem;
}

.skill-section.is-open .skill-section-body {
    display: block;
}

.profession-block {
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.profession-block:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.profession-block h3 {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.65rem;
}

.skill-checkbox-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skill-check {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ec;
    border-radius: 8px;
    color: #334155;
    cursor: pointer;
    display: flex;
    gap: 0.65rem;
    margin: 0;
    min-height: 46px;
    padding: 0.65rem 0.75rem;
}

.skill-check:hover {
    border-color: #94a3b8;
}

.skill-check.is-selected {
    background: #ecfdf5;
    border-color: #86efac;
    color: #166534;
}

.skill-check input {
    flex: 0 0 auto;
}

.skill-check span {
    line-height: 1.3;
}

.consultant-group-page .profile-shell {
    gap: 1rem;
    max-width: 1180px;
}

.consultant-skill-panel .panel-heading {
    align-items: flex-start;
}

.consultant-skill-panel .panel-heading p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0.25rem 0 0;
}

.consultant-category-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.consultant-category-card {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    display: grid;
    gap: 0.9rem;
    padding: 1rem;
}

.consultant-category-head {
    align-items: flex-start;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
}

.consultant-category-head span {
    color: #64748b;
    display: block;
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.consultant-category-head h3 {
    color: #111827;
    font-size: 1.1rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 0.2rem 0 0;
}

.consultant-category-head i {
    align-items: center;
    background: #e8f7f3;
    border: 1px solid #b7eadf;
    border-radius: 8px;
    color: #168d72;
    display: inline-flex;
    flex: 0 0 auto;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.consultant-skill-check {
    min-height: 48px;
}

.consultant-skill-check:has(input:checked) {
    background: #ecfdf5;
    border-color: #86efac;
    color: #14532d;
}

.consultant-footer-actions {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    margin-bottom: 1.5rem;
    padding: 0.9rem;
    position: sticky;
    bottom: 1rem;
    z-index: 5;
}

.datetime-worker-page .profile-shell {
    gap: 1.25rem;
}

.datetime-search-panel {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    padding: 1.5rem;
}

.datetime-search-head {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    margin-bottom: 1.25rem;
}

.datetime-search-head h2,
.datetime-results-header h2 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.datetime-date-field {
    display: grid;
    gap: 0.4rem;
}

.datetime-date-field label {
    color: #475569;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.datetime-date-field input {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 700;
    min-height: 46px;
    padding: 0.65rem 0.8rem;
    width: 100%;
}

.datetime-alert {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #9a3412;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
}

.datetime-alert p {
    margin: 0.15rem 0;
}

.datetime-time-grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.datetime-time-chip {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    color: #263244;
    cursor: pointer;
    display: flex;
    font-weight: 800;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 0.75rem;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.datetime-time-chip input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.datetime-time-chip:hover {
    border-color: #94a3b8;
}

.datetime-time-chip.is-selected {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

.datetime-submit-row {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.datetime-submit-row strong {
    color: #111827;
}

.datetime-results-header {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
}

.booking-calendar-layout {
    align-items: start;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
}

.booking-worker-card,
.booking-calendar-panel {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
}

.booking-worker-card {
    padding: 1.25rem;
}

.booking-worker-card img {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    width: 100%;
}

.booking-worker-card h2 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 1rem 0 0.45rem;
}

.booking-worker-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.booking-calendar-panel {
    display: grid;
    gap: 1.1rem;
    padding: 1.25rem;
}

.booking-date-form {
    align-items: end;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px) auto;
}

.booking-date-form h2,
.booking-slot-header h2 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.booking-empty-state {
    margin: 0;
}

.booking-slot-header {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    padding-top: 1.1rem;
}

.booking-slot-header span {
    color: #64748b;
    font-weight: 700;
}

.booking-slot-header strong {
    color: #111827;
}

.booking-slot-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 1rem;
}

.booking-slot-card {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 0.2rem;
    min-height: 76px;
    padding: 0.85rem;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.booking-slot-card input[type="checkbox"] {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.booking-slot-card span {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.booking-slot-card small {
    color: #64748b;
    font-weight: 700;
}

.booking-slot-card:hover {
    border-color: #94a3b8;
}

.booking-slot-card.is-selected {
    background: #0f172a;
    border-color: #0f172a;
}

.booking-slot-card.is-selected span,
.booking-slot-card.is-selected small {
    color: #ffffff;
}

.booking-submit-row {
    align-items: center;
    border-top: 1px solid #e5e7eb;
    color: #64748b;
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
}

.booking-submit-row .btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.booking-confirm-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1.15rem;
    padding: 1.25rem;
}

.booking-confirm-summary {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.booking-confirm-summary div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem;
}

.booking-confirm-summary span,
.booking-repeat-weeks label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.booking-confirm-summary strong {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
}

.booking-confirm-table-wrap {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.booking-confirm-table {
    margin: 0;
}

.booking-confirm-table thead {
    background: #0f172a;
    color: #ffffff;
}

.booking-confirm-table th,
.booking-confirm-table td {
    border-color: #e2e8f0;
    vertical-align: middle;
}

.booking-repeat-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.booking-repeat-toggle,
.booking-terms-check {
    align-items: center;
    color: #263244;
    display: flex;
    gap: 0.65rem;
    font-weight: 800;
    margin: 0;
}

.booking-repeat-weeks {
    display: none;
    gap: 0.35rem;
    margin-top: 0.9rem;
    max-width: 260px;
}

.booking-repeat-weeks.is-visible {
    display: grid;
}

.booking-repeat-weeks input {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 42px;
    padding: 0.55rem 0.75rem;
}

.booking-repeat-weeks small {
    color: #64748b;
}

.booking-terms-check {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.95rem;
}

.booking-confirm-actions {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.booking-confirm-actions .btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.checkout-page .profile-shell {
    gap: 1rem;
}

.checkout-page .profile-hero {
    padding: 1.35rem;
}

.checkout-page .profile-hero h1 {
    font-size: 2rem;
    line-height: 1.12;
}

.checkout-page .profile-hero p {
    max-width: 620px;
}

.checkout-page .worker-results-summary {
    min-width: 210px;
    padding: 0.85rem 1rem;
}

.checkout-summary-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.checkout-summary-card div {
    display: grid;
    gap: 0.2rem;
    min-height: 78px;
    padding: 0.9rem 1rem;
}

.checkout-summary-card div + div {
    border-left: 1px solid #e2e8f0;
}

.checkout-summary-card span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-summary-card strong {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.checkout-package-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.checkout-package-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 0.8rem;
    min-height: 0;
    padding: 0.95rem;
    position: relative;
}

.checkout-package-card.is-recommended {
    border-color: #0f172a;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.checkout-package-badge {
    background: #0f172a;
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 900;
    justify-self: start;
    line-height: 1;
    padding: 0.25rem 0.55rem;
    text-transform: uppercase;
}

.checkout-package-badge.muted {
    background: #e8f7f3;
    color: #168d72;
}

.checkout-package-main {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.checkout-package-main span,
.checkout-package-details span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.checkout-package-main strong {
    color: #111827;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.15;
}

.checkout-package-main p {
    color: #2563eb;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
}

.checkout-package-details {
    display: grid;
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-package-details div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.15rem;
    padding: 0.6rem;
}

.checkout-package-details strong {
    color: #111827;
    font-weight: 900;
}

.checkout-package-card .btn {
    align-self: end;
    min-height: 40px;
    width: 100%;
}

.checkout-note {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    gap: 0.65rem;
    line-height: 1.45;
    padding: 0.85rem 1rem;
}

.checkout-note strong {
    color: #111827;
}

.transactions-page .profile-shell {
    gap: 1rem;
}

.transactions-page .profile-hero {
    padding: 1.35rem;
}

.transactions-summary-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.transactions-summary-card div {
    display: grid;
    gap: 0.2rem;
    min-height: 78px;
    padding: 0.9rem 1rem;
}

.transactions-summary-card div + div {
    border-left: 1px solid #e2e8f0;
}

.transactions-summary-card span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.transactions-summary-card strong {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.transactions-ledger {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.transactions-ledger-head {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

.transactions-ledger-head h2 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.transactions-table-wrap {
    overflow-x: auto;
}

.transactions-table {
    margin: 0;
    min-width: 880px;
}

.transactions-table thead {
    background: #0f172a;
    color: #ffffff;
}

.transactions-table th {
    border: 0;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.transactions-table td {
    border-color: #e2e8f0;
    color: #263244;
    font-weight: 700;
    vertical-align: middle;
}

.tx-type-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 0.28rem 0.6rem;
}

.tx-type-badge.is-credit {
    background: #e8f7f3;
    color: #168d72;
}

.tx-type-badge.is-debit {
    background: #fef2f2;
    color: #b91c1c;
}

.tx-credit {
    color: #168d72 !important;
}

.tx-debit {
    color: #b91c1c !important;
}

.worker-transactions-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 0;
}

.worker-transactions-hero {
    border-left: 6px solid #0f172a;
}

.worker-transaction-empty {
    border: 0;
    border-radius: 0;
    margin: 0;
}

.worker-password-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 0;
}

.worker-password-shell {
    margin: 0 auto;
    max-width: 980px;
    width: calc(100% - 3rem);
}

.worker-password-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-left: 6px solid #0f172a;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.worker-password-hero h1 {
    color: #111827;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.worker-password-hero p:last-child {
    color: #64748b;
    margin: 0.3rem 0 0;
}

.worker-password-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    margin-bottom: 1.5rem;
}

.worker-password-form {
    display: grid;
    gap: 1rem;
}

.worker-password-form label {
    display: grid;
    gap: 0.4rem;
    margin: 0;
}

.worker-password-form span {
    color: #334155;
    font-size: 0.86rem;
    font-weight: 800;
}

.worker-password-form .form-control {
    border-color: #cbd5e1;
    border-radius: 8px;
    min-height: 44px;
}

.worker-password-actions {
    display: flex;
    gap: 0.65rem;
    justify-content: flex-end;
    padding-top: 0.25rem;
}

.worker-password-actions .btn {
    min-width: 120px;
}

.worker-password-note {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    color: #64748b;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1rem;
    padding: 1rem;
}

.chat-page-shell {
    background: #eef2f7;
    min-height: calc(100vh - 70px);
    padding: 0;
}

.chat-page-shell .chat {
    align-items: stretch;
    justify-content: stretch;
    min-height: calc(100vh - 70px);
    width: 100%;
}

.chat-page-shell #frame {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    height: calc(100vh - 70px);
    max-height: none;
    min-height: 0;
    overflow: hidden;
    width: 100%;
}

.chat-page-shell #frame #sidepanel {
    flex: 0 0 340px;
    float: none;
    height: 100%;
    max-width: 320px;
    min-width: 300px;
    width: 340px;
}

.chat-page-shell #frame .content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    float: none;
    height: 100%;
    min-width: 0 !important;
    overflow: hidden;
    position: relative;
    width: auto;
}

.chat-page-shell #conversation {
    flex: 1 1 auto;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.chat-page-shell #frame .content .message-input {
    background: #ffffff;
    border-top: 1px solid #dbe3ee;
    flex: 0 0 auto;
    min-height: 76px;
    padding: 0.45rem 0.45rem 1.15rem;
    position: static;
    width: 100%;
    z-index: 1;
}

.chat-page-shell #frame .content .message-input .wrap {
    display: flex;
    height: 52px;
}

.chat-page-shell #frame .content .message-input .wrap input {
    border: 1px solid #d1d9e6;
    border-radius: 8px 0 0 8px;
    flex: 1 1 auto;
    float: none;
    font-size: 0.95rem;
    height: 52px;
    min-height: 52px;
    padding: 0 0.9rem;
    width: auto;
}

.chat-page-shell #frame .content .message-input .wrap button {
    border-radius: 0 8px 8px 0;
    flex: 0 0 56px;
    float: none;
    height: 52px;
    min-height: 52px;
    padding: 0;
}

.chat-page-shell #frame .content .messages ul li {
    align-items: flex-end;
    display: flex;
    float: none;
    gap: 0.5rem;
}

.chat-page-shell #frame .content .messages ul li.sent {
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin-left: auto;
    text-align: right;
}

.chat-page-shell #frame .content .messages ul li.replies {
    justify-content: flex-start;
    margin-right: auto;
    text-align: left;
}

.chat-page-shell #frame .content .messages ul li.sent img,
.chat-page-shell #frame .content .messages ul li.replies img {
    float: none;
    margin: 0;
}

.chat-page-shell #frame .content .messages ul li.sent p,
.chat-page-shell #frame .content .messages ul li.replies p {
    float: none;
    margin: 0;
    max-width: min(70%, 620px);
}

.chat-empty-contact {
    cursor: default !important;
    opacity: 0.85;
}

.admin-request-page .profile-shell {
    gap: 1rem;
    max-width: none;
    width: calc(100% - 2rem);
}

.admin-request-page .profile-hero {
    padding: 1.35rem;
}

.admin-request-summary {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.admin-request-summary div {
    display: grid;
    gap: 0.2rem;
    min-height: 78px;
    padding: 0.9rem 1rem;
}

.admin-request-summary div + div {
    border-left: 1px solid #e2e8f0;
}

.admin-request-summary span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-request-summary strong {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.admin-request-table-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.admin-request-table-head {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.15rem;
}

.admin-request-table-head h2 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.admin-request-table-wrap {
    padding: 1rem;
}

.admin-request-table {
    margin: 0 !important;
    width: 100% !important;
}

.admin-request-table thead {
    background: #0f172a;
    color: #ffffff;
}

.admin-request-table th {
    border: 0;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-request-table td {
    border-color: #e2e8f0;
    color: #263244;
    font-weight: 700;
    vertical-align: middle;
}

.admin-request-table td strong {
    display: block;
    color: #111827;
}

.admin-request-table td small {
    color: #64748b;
}

.admin-status-badge {
    background: #fff7ed;
    border-radius: 999px;
    color: #c2410c;
    display: inline-flex;
    font-size: 0.74rem;
    font-weight: 900;
    padding: 0.28rem 0.6rem;
}

.admin-request-actions {
    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    white-space: nowrap;
}

.admin-request-actions .btn {
    font-weight: 800;
    min-width: 74px;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

.admin-request-table-card .dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.admin-request-table-card .dataTables_filter input,
.admin-request-table-card .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 38px;
    padding: 0.35rem 0.55rem;
}

.admin-list-page .profile-shell {
    gap: 1rem;
    max-width: none;
    width: calc(100% - 2rem);
}

.admin-list-page .profile-hero {
    padding: 1.35rem;
}

.admin-list-summary {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.admin-list-summary div {
    display: grid;
    gap: 0.2rem;
    min-height: 78px;
    padding: 0.9rem 1rem;
}

.admin-list-summary div + div {
    border-left: 1px solid #e2e8f0;
}

.admin-list-summary span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-list-summary strong {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
}

.admin-list-table-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.admin-list-table-head {
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    padding: 1rem 1.15rem;
}

.admin-list-table-head h2 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.admin-list-table-wrap {
    padding: 1rem;
}

.admin-list-table {
    margin: 0 !important;
    width: 100% !important;
}

.admin-list-table thead {
    background: #0f172a;
    color: #ffffff;
}

.admin-list-table th {
    border: 0;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-list-table td {
    border-color: #e2e8f0;
    color: #263244;
    font-weight: 700;
    vertical-align: middle;
}

.admin-list-table td strong {
    color: #111827;
    display: block;
}

.admin-list-table td small {
    color: #64748b;
}

.admin-status-badge.is-active {
    background: #e8f7f3;
    color: #168d72;
}

.admin-status-badge.is-warning {
    background: #fff7ed;
    color: #c2410c;
}

.admin-status-badge.is-danger {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-booking-page .admin-list-table td {
    vertical-align: middle;
}

.company-booking-page .profile-shell {
    gap: 1rem;
    max-width: 1180px;
}

.company-booking-page .company-booking-hero {
    padding: 1.35rem;
}

.company-booking-summary {
    margin-top: 0.15rem;
}

.company-booking-section {
    margin-top: 0.25rem;
}

.company-booking-section + .company-booking-section {
    margin-top: 1rem;
}

.company-booking-section-meta {
    align-items: center;
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.86rem;
    font-weight: 700;
    gap: 0.65rem 1rem;
}

.company-booking-table td small {
    color: #64748b;
    display: block;
    margin-top: 0.2rem;
}

.company-booking-table td small a {
    color: #2563eb;
    font-weight: 700;
}

.company-booking-table .btn.disabled,
.company-booking-table .btn:disabled {
    opacity: 0.65;
    pointer-events: none;
}

    align-items: center;
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 0.4rem;
    white-space: nowrap;
}

.admin-list-actions .btn {
    font-weight: 800;
    min-width: 74px;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
}

.admin-withdraw-form {
    margin: 0;
    white-space: nowrap;
}

.admin-list-table-card .dataTables_wrapper .row {
    align-items: center;
    margin-left: 0;
    margin-right: 0;
}

.admin-list-table-card .dataTables_filter input,
.admin-list-table-card .dataTables_length select {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    min-height: 38px;
    padding: 0.35rem 0.55rem;
}

.admin-edit-page .profile-shell {
    gap: 1rem;
    max-width: 1180px;
}

.admin-edit-page .profile-hero {
    padding: 1.35rem;
}

.admin-edit-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
}

.admin-edit-section {
    display: grid;
    gap: 0.9rem;
}

.admin-edit-section + .admin-edit-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.2rem;
}

.admin-edit-section-head h2 {
    color: #111827;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0;
}

.admin-edit-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-edit-grid label {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.admin-edit-grid span {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-edit-grid input,
.admin-edit-grid select,
.admin-edit-grid textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    font-size: 0.95rem;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.admin-edit-grid textarea {
    line-height: 1.5;
    min-height: 190px;
    resize: vertical;
}

.admin-edit-wide {
    grid-column: 1 / -1;
}

.admin-edit-actions {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1.15rem;
}

.admin-worker-edit-summary {
    margin-top: 0.25rem;
}

.admin-worker-edit-overview {
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 96px minmax(0, 1fr);
    padding: 1rem;
}

.admin-worker-edit-overview img {
    border: 3px solid #fff;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.admin-worker-edit-overview h3 {
    color: #111827;
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0 0 0.35rem;
}

.admin-worker-edit-overview p {
    color: #475569;
    line-height: 1.55;
    margin: 0 0 0.65rem;
}

.admin-worker-edit-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}

.admin-worker-edit-meta span {
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
}

.worker-profile-page .profile-shell {
    gap: 1rem;
    max-width: 1180px;
}

.worker-profile-hero {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 1.25rem;
    justify-content: space-between;
    padding: 1.25rem;
}

.worker-profile-identity {
    align-items: center;
    display: grid;
    gap: 1rem;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
}

.worker-profile-identity img {
    border-radius: 8px;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.worker-profile-identity h1 {
    color: #111827;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 0.35rem;
}

.worker-profile-identity p:last-child {
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    max-width: 760px;
}

.worker-profile-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: flex-end;
}

.worker-profile-actions .btn {
    font-weight: 800;
    min-height: 42px;
}

.worker-profile-stats {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
}

.worker-profile-stats div {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem;
}

.worker-profile-stats div + div {
    border-left: 1px solid #e2e8f0;
}

.worker-profile-stats span,
.worker-profile-details span {
    color: #64748b;
    font-size: 0.73rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-profile-stats strong {
    color: #111827;
    font-size: 1.05rem;
    font-weight: 900;
}

.worker-profile-grid {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.8fr);
}

.worker-profile-panel {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.07);
    padding: 1.15rem;
}

.worker-profile-panel-head {
    align-items: center;
    display: flex;
    gap: 0.75rem;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.worker-profile-panel-head h2 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 900;
    margin: 0;
}

.worker-skill-groups {
    display: grid;
    gap: 1rem;
}

.worker-skill-group {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
}

.worker-skill-group h3 {
    color: #111827;
    font-size: 1rem;
    font-weight: 900;
    margin: 0;
}

.worker-skill-row {
    border-top: 1px solid #e2e8f0;
    display: grid;
    gap: 0.45rem;
    padding-top: 0.75rem;
}

.worker-skill-row strong {
    color: #334155;
    font-size: 0.92rem;
    font-weight: 900;
}

.worker-skill-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.worker-skill-badges span {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #263244;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
    padding: 0.32rem 0.65rem;
}

.worker-profile-details {
    display: grid;
    gap: 0.75rem;
}

.worker-profile-details div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem;
}

.worker-profile-details strong {
    color: #111827;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.worker-resume-text {
    color: #263244;
    line-height: 1.65;
}

.worker-profile-note {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.worker-profile-alert {
    border-radius: 8px;
    font-weight: 800;
    margin-bottom: 0;
}

.worker-profile-edit-form {
    display: grid;
    gap: 1rem;
}

.worker-edit-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-edit-grid label {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.worker-edit-grid span {
    color: #475569;
    font-size: 0.83rem;
    font-weight: 900;
}

.worker-edit-grid input,
.worker-edit-grid select,
.worker-edit-grid textarea {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #111827;
    font-size: 0.95rem;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.worker-edit-grid textarea {
    line-height: 1.55;
    resize: vertical;
}

.worker-edit-wide {
    grid-column: 1 / -1;
}

.worker-edit-actions {
    align-items: center;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    padding-top: 1rem;
}

.worker-availability-page .profile-shell {
    gap: 1rem;
    max-width: 1180px;
}

.worker-availability-panel {
    display: grid;
    gap: 1rem;
}

.worker-availability-panel .worker-profile-panel-head {
    margin-bottom: 0;
}

.worker-availability-duration {
    background: #eef6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 0.36rem 0.7rem;
    white-space: nowrap;
}

.worker-availability-days {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.worker-availability-days a {
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 999px;
    color: #334155;
    flex: 0 0 auto;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 0.48rem 0.82rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.worker-availability-days a:hover {
    background: #eef6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    text-decoration: none;
}

.worker-availability-days a.is-active {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.worker-availability-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.worker-availability-slot {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
    min-height: 78px;
    padding: 0.85rem;
}

.worker-availability-slot span {
    color: #111827;
    display: block;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
}

.worker-availability-slot small {
    color: #64748b;
    font-weight: 800;
}

.worker-availability-slot strong {
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 0.28rem 0.55rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.worker-availability-control {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.worker-availability-control input {
    cursor: pointer;
    height: 1.1rem;
    width: 1.1rem;
}

.worker-availability-slot.is-available {
    border-color: #bbf7d0;
    box-shadow: inset 4px 0 0 #22c55e;
}

.worker-availability-slot.is-available strong {
    background: #dcfce7;
    color: #15803d;
}

.worker-availability-slot.is-unavailable {
    background: #f8fafc;
    box-shadow: inset 4px 0 0 #cbd5e1;
}

.worker-availability-slot.is-unavailable strong {
    background: #e2e8f0;
    color: #475569;
}

.worker-availability-empty {
    box-shadow: none;
    margin: 0;
}

.worker-hour-detail-layout {
    align-items: start;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
}

.worker-calendar-panel #header {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    margin-bottom: 0.75rem;
    min-height: 64px;
}

.worker-calendar-panel .pre-button,
.worker-calendar-panel .next-button {
    color: #111827;
    cursor: pointer;
    height: 100%;
}

.worker-calendar-panel .head-info {
    text-align: center;
}

.worker-calendar-panel .head-day {
    color: #111827;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 900;
    margin-right: 0.4rem;
}

.worker-calendar-panel .head-month {
    color: #475569;
    display: inline-block;
    font-weight: 800;
}

.worker-calendar-panel .calendar-wrap {
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    overflow: hidden;
}

.worker-calendar-panel #calendar {
    margin: 0;
}

.worker-calendar-panel #calendar thead {
    background: #1f2937;
    color: #fff;
}

.worker-calendar-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.worker-block-slot-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worker-block-slot {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 82px;
    padding: 0.9rem;
}

.worker-block-slot span {
    color: #111827;
    display: block;
    font-size: 1rem;
    font-weight: 900;
}

.worker-block-slot small {
    color: #64748b;
    font-weight: 800;
}

.worker-block-slot strong {
    background: #fee2e2;
    border-radius: 999px;
    color: #991b1b;
    font-size: 0.76rem;
    font-weight: 900;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
}

.worker-block-slot.is-blocked {
    background: #f8fafc;
    box-shadow: inset 4px 0 0 #ef4444;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0.65rem 1rem;
    }

    .navbar .container-fluid {
        align-items: stretch;
        display: block;
    }

    .navbar-brand {
        display: inline-flex;
    }

    .navbar-toggler {
        float: right;
        margin-top: 0.25rem;
    }

    .navbar-collapse {
        clear: both;
        padding-top: 0.75rem;
    }

    .navbar-nav {
        align-items: stretch;
        flex-wrap: wrap;
    }

    .navbar .d-flex.align-items-center {
        margin-left: 0;
    }

    .navbar .d-flex.align-items-center .navbar-nav {
        width: 100%;
    }

    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-detail-shell {
        width: calc(100% - 2rem);
    }

    .booking-detail-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-hero-meta {
        align-items: flex-start;
        text-align: left;
    }

    .booking-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-dashboard-shell {
        width: calc(100% - 2rem);
    }

    .worker-bookings-shell {
        width: calc(100% - 2rem);
    }

    .worker-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .worker-bookings-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .worker-bookings-count {
        text-align: left;
    }

    .worker-company-view-grid {
        grid-template-columns: 1fr;
    }

    .worker-transfer-shell {
        width: calc(100% - 2rem);
    }

    .worker-transfer-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .worker-transfer-action .btn,
    .worker-transfer-request-card .btn {
        width: 100%;
    }

    .worker-transfer-stats,
    .worker-transfer-grid {
        grid-template-columns: 1fr;
    }

    .worker-password-shell {
        width: calc(100% - 2rem);
    }

    .worker-password-hero {
        align-items: stretch;
        flex-direction: column;
    }

    .worker-password-grid {
        grid-template-columns: 1fr;
    }

    .worker-password-actions {
        flex-direction: column-reverse;
    }

    .worker-password-actions .btn {
        width: 100%;
    }

    .chat-page-shell {
        min-height: calc(100vh - 69px);
        padding: 0;
    }

    .chat-page-shell #frame {
        height: calc(100vh - 69px);
        min-height: 0;
    }

    .chat-page-shell #frame #sidepanel {
        flex: 0 0 58px;
        max-width: 58px;
        min-width: 58px;
        width: 58px;
    }

    .chat-page-shell #frame .content {
        min-width: 0 !important;
        width: auto;
    }

    .chat-page-shell #frame .content .contact-profile {
        flex: 0 0 60px;
    }

    .chat-page-shell #frame .content .message-input .wrap input {
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .chat-page-shell {
        min-height: calc(100vh - 64px);
    }

    .chat-page-shell .chat,
    .chat-page-shell #frame {
        height: calc(100vh - 64px);
        min-height: 0;
    }

    .chat-page-shell #frame #sidepanel {
        flex: 0 0 66px;
        max-width: 66px;
        min-width: 66px;
        width: 66px;
    }

    .chat-page-shell #frame #sidepanel #contacts {
        height: calc(100% - 60px);
    }

    .chat-page-shell #frame .content .messages ul li {
        margin-left: 0.5rem;
        margin-right: 0.5rem;
        width: calc(100% - 1rem);
    }

    .chat-page-shell #frame .content .messages ul li.replies img {
        margin-left: 0;
    }

    .chat-page-shell #frame .content .messages ul li p {
        max-width: calc(100% - 44px);
    }

    .chat-page-shell #frame .content .messages ul li.sent p,
    .chat-page-shell #frame .content .messages ul li.replies p {
        max-width: calc(100% - 48px);
    }

    .chat-page-shell #frame .content .message-input {
        min-height: 78px;
        padding: 0.4rem 0.4rem 1.2rem;
    }

    .worker-dashboard-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .worker-dashboard-actions .btn {
        width: 100%;
    }

    .worker-stat-grid,
    .worker-company-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer-inner {
        grid-template-columns: 1fr;
        width: calc(100% - 2rem);
    }

    .site-footer-brand,
    .site-footer-main {
        justify-content: center;
        text-align: center;
    }

    .company-dashboard .container,
    .card.bg-white.text-white > .card-img-overlay > .container,
    .row.container[style*="margin-left"] {
        width: calc(100% - 2rem);
    }

    .profile-shell {
        width: calc(100% - 2rem);
    }

    .profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .profile-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .profile-stats-grid,
    .profile-grid,
    .skill-layout,
    .hours-layout,
    .confirm-needs-layout,
    .booking-path-grid,
    .datetime-search-head,
    .booking-calendar-layout,
    .booking-date-form,
    .booking-detail-grid,
    .booking-field-grid {
        grid-template-columns: 1fr;
    }

    .booking-actions {
        flex-direction: column-reverse;
    }

    .booking-actions .btn {
        width: 100%;
    }

    .booking-confirm-summary,
    .checkout-summary-card,
    .transactions-summary-card,
    .admin-request-summary,
    .admin-list-summary,
    .admin-edit-grid,
    .checkout-package-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary-card div + div,
    .transactions-summary-card div + div,
    .admin-request-summary div + div,
    .admin-list-summary div + div {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .hours-hero,
    .confirm-needs-hero,
    .booking-path-hero,
    .worker-results-hero,
    .datetime-results-header,
    .datetime-submit-row,
    .booking-slot-header,
    .booking-submit-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .booking-confirm-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .booking-confirm-actions .btn {
        width: 100%;
    }

    .checkout-note,
    .transactions-ledger-head,
    .admin-request-table-head,
    .admin-list-table-head {
        align-items: stretch;
        flex-direction: column;
    }

    .transactions-ledger-head .btn {
        width: 100%;
    }

    .admin-request-table-wrap,
    .admin-list-table-wrap {
        padding: 0.75rem;
    }

    .admin-request-actions .btn {
        width: auto;
    }

    .admin-list-actions .btn {
        width: auto;
    }

    .admin-edit-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-edit-actions .btn {
        width: 100%;
    }

    .admin-worker-edit-overview {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .admin-worker-edit-meta {
        justify-content: center;
    }

    .worker-profile-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .worker-profile-identity {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .worker-profile-identity img {
        height: 76px;
        width: 76px;
    }

    .worker-profile-identity h1 {
        font-size: 1.55rem;
    }

    .worker-profile-actions {
        justify-content: flex-start;
        width: 100%;
    }

    .worker-profile-actions .btn {
        width: 100%;
    }

    .worker-profile-stats,
    .worker-profile-grid,
    .worker-edit-grid,
    .worker-hour-detail-layout {
        grid-template-columns: 1fr;
    }

    .worker-edit-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .worker-edit-actions .btn {
        width: 100%;
    }

    .worker-availability-panel .worker-profile-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .worker-availability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .worker-profile-stats div + div {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }

    .hours-summary,
    .confirm-needs-summary,
    .worker-results-summary {
        text-align: left;
        width: 100%;
    }

    .confirm-next-panel {
        order: -1;
    }

    .worker-results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .worker-results-toolbar .btn,
    .worker-result-actions .btn {
        width: 100%;
    }

    .worker-results-grid {
        grid-template-columns: 1fr;
    }

    .hours-day-tabs {
        display: flex;
        gap: 0.5rem;
        overflow-x: auto;
        padding-bottom: 0.15rem;
    }

    .hours-day-tabs a {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .hours-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .datetime-time-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .booking-slot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hours-savebar {
        align-items: stretch;
        flex-direction: column;
        gap: 0.85rem;
    }

    .hours-savebar .btn {
        width: 100%;
    }

    .skill-summary-grid,
    .skill-checkbox-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-footer-actions {
        flex-direction: column-reverse;
    }

    .form-footer-actions .btn,
    .profile-actions .btn {
        width: 100%;
    }

    .profile-details div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .row.container[style*="margin-left"] {
        grid-template-columns: 1fr;
        margin: 1rem !important;
    }

    .row.container[style*="margin-left"] a {
        border-bottom: 1px solid #e5e7eb;
        border-right: 0;
    }

    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .card.bg-dark .row {
        margin: 0;
    }

    .card.bg-dark img,
    .card.bg-dark ul,
    .card.bg-dark p {
        margin-left: 0 !important;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .booking-summary-grid {
        grid-template-columns: 1fr;
    }

    .worker-stat-grid,
    .worker-company-grid {
        grid-template-columns: 1fr;
    }

    .booking-panel,
    .booking-detail-hero,
    .booking-summary-card,
    .worker-panel,
    .worker-dashboard-hero,
    .worker-stat-card {
        padding: 1rem;
    }

    .hours-slot-grid {
        grid-template-columns: 1fr;
    }

    .datetime-search-panel {
        padding: 1rem;
    }

    .datetime-time-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-slot-grid {
        grid-template-columns: 1fr;
    }

    .worker-result-top,
    .worker-result-stats,
    .worker-result-actions {
        grid-template-columns: 1fr;
    }

    .worker-result-top img {
        height: 76px;
        width: 76px;
    }

    .worker-profile-identity {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .worker-availability-grid {
        grid-template-columns: 1fr;
    }

    .worker-block-slot-grid {
        grid-template-columns: 1fr;
    }

    .worker-availability-slot {
        align-items: flex-start;
        flex-direction: column;
    }
}

.worker-hour-classic-page {
    background: #eef2f7;
    min-height: calc(100vh - 160px);
    padding: 1.5rem 0 2rem;
}

.navbar .dropdown-menu.show {
    display: block;
    z-index: 3000;
}

.worker-hour-classic-shell {
    max-width: 1180px;
}

.worker-hour-classic-row {
    row-gap: 1rem;
}

.worker-hour-classic-card {
    background: #ffffff;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    height: 100%;
    padding: 1.15rem;
}

.worker-hour-classic-card h3 {
    color: #172033;
    font-size: 1.15rem;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.worker-hour-classic-summary {
    align-items: stretch;
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
    padding: 0;
    text-align: left;
}

.worker-hour-classic-summary div {
    padding: 1rem 1.15rem;
}

.worker-hour-classic-summary div + div {
    border-left: 1px solid #dbe3ee;
}

.worker-hour-classic-summary span {
    color: #64748b;
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.worker-hour-classic-summary strong {
    color: #172033;
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

.worker-hour-classic-calendar #header {
    align-items: center;
    background: #ffffff !important;
    border: 1px solid #dbe3ee;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    color: #000000 !important;
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    min-height: 58px;
    overflow: hidden;
}

.worker-hour-classic-calendar .head-day {
    display: none !important;
}

.worker-hour-classic-calendar .head-info {
    color: #000000 !important;
    min-width: 0;
    text-align: center;
}

.worker-hour-classic-calendar .head-month {
    color: #000000 !important;
    display: block !important;
    font-size: 1rem !important;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.worker-hour-classic-calendar .head-month::before {
    content: "Select Date";
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: none;
}

.worker-hour-classic-calendar .pre-button,
.worker-hour-classic-calendar .next-button {
    background: #ffffff !important;
    color: #000000 !important;
    cursor: pointer;
    height: 58px;
    position: static !important;
    width: 48px;
}

.worker-hour-classic-calendar .pre-button i,
.worker-hour-classic-calendar .next-button i {
    color: #000000 !important;
}

.worker-hour-classic-calendar .calendar-wrap {
    border: 1px solid #dbe3ee;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.worker-hour-classic-calendar #calendar {
    margin-bottom: 0;
}

.worker-hour-next-col {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 420px;
}

.worker-hour-next-col .btn {
    box-shadow: 0 10px 22px rgba(25, 90, 185, 0.22);
    min-width: 84px;
}

.worker-hour-next-below {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.worker-hour-next-below .btn {
    box-shadow: 0 10px 22px rgba(25, 90, 185, 0.22);
    min-width: 120px;
}

.worker-hour-selected {
    text-align: left;
}

.worker-hour-selected h3 {
    text-align: center;
}

.worker-hour-selected-date {
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

.worker-hour-empty-state {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: #64748b;
    display: flex;
    justify-content: center;
    min-height: 180px;
    padding: 1rem;
    text-align: center;
}

.worker-hour-slot-table {
    border: 1px solid #dbe3ee;
    margin-bottom: 0;
    white-space: normal;
}

.worker-hour-slot-table thead th {
    background: #172033;
    border: 0;
    color: #ffffff;
    font-size: 0.82rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.worker-hour-slot-table td {
    border-color: #e5edf6;
    color: #1f2937;
    vertical-align: middle;
}

.worker-hour-status-pill {
    background: #dcfce7;
    border: 1px solid #86efac;
    border-radius: 999px;
    color: #166534;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.38rem 0.65rem;
}

.worker-hour-status-pill.is-blocked {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}

.worker-hour-block-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .worker-hour-classic-summary {
        grid-template-columns: 1fr;
    }

    .worker-hour-classic-summary div + div {
        border-left: 0;
        border-top: 1px solid #dbe3ee;
    }

    .worker-hour-next-col {
        min-height: auto;
        padding-bottom: 1rem;
        padding-top: 1rem;
    }

    .worker-hour-next-col .btn,
    .worker-hour-next-below .btn,
    .worker-hour-block-actions .btn {
        width: 100%;
    }

    .worker-hour-block-actions {
        justify-content: stretch;
    }
}
