:root {
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-alt: #f1f5f9;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --primary: #2563eb;
    --primary-strong: #1d4ed8;
    --accent: #14b8a6;
    --radius: 12px;
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    background:
        radial-gradient(circle at top right, #e0f2fe 0%, rgba(224, 242, 254, 0) 40%),
        radial-gradient(circle at 10% 20%, #dbeafe 0%, rgba(219, 234, 254, 0) 42%),
        var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: 98px;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.top-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 13px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.top-bar-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 38px;
    gap: 10px;
}

.top-contact {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-contact:hover {
    color: #ffffff;
}

.top-contact-icon {
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-contact-label {
    line-height: 1.3;
}

.top-contact-label--mobile {
    display: none;
}

.top-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social a {
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 12px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-social a i {
    font-size: 11px;
    line-height: 1;
}

.top-social a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.38);
}

.site-header {
    position: fixed;
    top: 38px;
    left: 0;
    right: 0;
    z-index: 45;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.nav .logo {
    margin: 0;
    text-decoration: none;
    color: #0b3ea8;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -0.6px;
    display: inline-flex;
    align-items: center;
}

.nav .logo-img {
    display: block;
    height: 44px;
    width: auto;
    max-width: min(200px, 52vw);
    object-fit: contain;
}

.nav .logo-text {
    display: inline-block;
    color: #0b3ea8;
    font-weight: 800;
    font-size: clamp(24px, 3vw, 30px);
    letter-spacing: -0.6px;
    line-height: 1;
}

.nav-toggle {
    display: none;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-toggle-icon {
    font-size: 1.25rem;
    display: block;
    line-height: 1;
}

.nav nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover {
    background: var(--surface-alt);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown.open .nav-dropdown-toggle {
    background: var(--surface-alt);
    border-color: #cbd5e1;
}

.nav-dropdown-toggle-icon {
    color: #0b3ea8;
    font-size: 14px;
}

.nav-dropdown-chevron {
    font-size: 11px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 280px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    z-index: 80;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-heading {
    margin: 4px 10px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.nav-dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background-color 0.2s ease;
}

.nav-dropdown-item > i {
    margin-top: 2px;
    width: 18px;
    text-align: center;
    color: #0b3ea8;
    flex-shrink: 0;
}

.nav-dropdown-item span {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.nav-dropdown-item strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.nav-dropdown-item small {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.35;
}

.nav-dropdown-item:hover {
    background: var(--surface-alt);
}

.nav-dropdown-item--pro > i {
    color: #7c3aed;
}

.nav-dropdown-item--register > i {
    color: #059669;
}

.nav-dropdown-divider {
    height: 1px;
    margin: 8px 4px;
    background: var(--border);
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #dc2626;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

main.container {
    padding: 32px 0 20px;
    min-height: 60vh;
}

.slider-full {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    border-radius: 0;
}

main.container > .slider-full:first-child {
    margin-top: -33px;
}

.slider {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    height: 380px;
    min-height: 380px;
    box-shadow: 0 20px 40px rgba(30, 41, 59, 0.14);
}

.global-stats {
    background: #f8fafc;
    padding: 24px 0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-badges {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: center;
}

.stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-badge-value {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -1px;
}

.stat-badge-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.slide {
    display: flex;
    align-items: center;
    height: 380px;
    min-height: 380px;
    padding: 34px 0 128px;
    color: #fff;
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.slide-1 {
    background: linear-gradient(120deg, rgba(11, 62, 168, 0.55), rgba(37, 99, 235, 0.45) 48%, rgba(56, 189, 248, 0.4));
    background-size: cover;
    background-position: center;
}

.slide-2 {
    background: linear-gradient(120deg, rgba(15, 118, 110, 0.55), rgba(8, 145, 178, 0.45) 45%, rgba(56, 189, 248, 0.4));
    background-size: cover;
    background-position: center;
}

.slide-3 {
    background: linear-gradient(120deg, rgba(76, 29, 149, 0.55), rgba(124, 58, 237, 0.45) 52%, rgba(167, 139, 250, 0.4));
    background-size: cover;
    background-position: center;
}

.slide-1,
.slide-2,
.slide-3 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-3 {
    background-position: center top;
}

.split {
    width: min(1120px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

.slide .hero-copy {
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 22px 26px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
    max-width: 640px;
}

.slide h1,
.slide h2 {
    margin: 0 0 10px;
    font-size: 54px;
    line-height: 1.15;
    letter-spacing: -1px;
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.slide p {
    margin: 0;
    color: #f8fafc;
    max-width: 620px;
    font-size: 19px;
    line-height: 1.55;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.hero-copy .btn {
    margin-top: 0;
}

.hero {
    margin: 28px 0 32px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 42px;
    letter-spacing: -0.8px;
    margin: 0 0 14px;
    line-height: 1.2;
    color: #0f172a;
}

.hero p {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
}

.hero-art {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.hero-worker {
    width: 200px;
    min-height: 200px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
    color: #fff;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.28);
}

.hero-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 12px;
    color: #f1f5f9;
}

.slider-overlay {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, 92%);
    bottom: 16px;
    z-index: 12;
    pointer-events: auto;
}

.slider-search {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.search-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.modern-search {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.search-input-group {
    display: grid;
    grid-template-columns: 1.3fr auto 1.4fr;
    align-items: center;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    position: relative;
    background: #ffffff;
}

.service-field {
    gap: 10px;
}

.location-field {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.location-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.search-icon {
    font-size: 18px;
    flex-shrink: 0;
    opacity: 0.9;
}

.location-input,
.service-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-weight: 500;
    color: #0f172a;
    background: transparent;
    width: 100%;
}

.service-field .service-input {
    min-width: 0;
}

.search-submit-btn {
    width: auto;
    margin: 0;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    color: #ffffff;
    border: none;
    white-space: nowrap;
    cursor: pointer;
}

.search-submit-btn:hover {
    filter: brightness(0.97);
}

.location-input {
    padding: 2px 0;
}

.location-input::placeholder,
.service-input::placeholder {
    color: #94a3b8;
}

.use-location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s ease;
    width: auto;
    align-self: center;
    white-space: nowrap;
}

.use-location-btn:hover {
    background: #eff6ff;
}

.location-icon {
    font-size: 16px;
}

.search-divider {
    width: 1px;
    height: 54px;
    background: #e2e8f0;
}

.trending-searches {
    background: #ffffff;
    padding: 18px 20px;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid #e2e8f0;
}

.trending-searches h4 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.trending-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trending-chip {
    padding: 8px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trending-chip-icon {
    font-size: 16px;
    line-height: 1;
}

.trending-chip:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
}

.slider-search select,
.slider-search input {
    margin: 0;
    border: none;
    box-shadow: none;
}

.slider-search select {
    border-right: 1px solid #e5e7eb;
}

.slide-nav {
    display: none;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.88);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    z-index: 14;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.slide-nav:hover {
    background: rgba(15, 23, 42, 0.75);
    transform: translateY(-50%) scale(1.05);
    border-color: #fff;
}

@media (max-width: 900px) {
    .slide-nav:hover {
        transform: scale(1.05);
    }
}

.slide-nav.prev {
    left: 16px;
}

.slide-nav.next {
    right: 16px;
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 28px 0 32px;
}

.home-section {
    margin: 0 0 32px;
}

.carousel-section {
    margin: 48px 0;
    position: relative;
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-header h2 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.see-all-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

.see-all-link:hover {
    color: var(--primary-strong);
    text-decoration: underline;
}

.service-carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 0 16px;
    scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 240px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.carousel-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.carousel-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-icon {
    font-size: 64px;
}

.carousel-card-content {
    padding: 14px;
}

.carousel-card-content h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.carousel-rating {
    margin: 0 0 6px;
    font-size: 13px;
    color: var(--muted);
}

.carousel-price {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.service-contact-inline {
    margin: 8px 0 0;
    font-size: 12px;
    color: #475569;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.24);
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

.home-services-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 28px;
    margin: 48px 0;
    padding: 32px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: var(--radius);
}

.doorstep-services {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 32px;
    border-radius: var(--radius);
    margin: 48px 0;
}

.doorstep-services .carousel-header {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
}

.carousel-subtitle {
    margin: 6px 0 0;
    font-size: 16px;
    color: var(--muted);
    font-weight: normal;
}

.doorstep-track {
    gap: 14px;
}

.doorstep-card {
    flex: 0 0 140px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.24s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.doorstep-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.doorstep-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 12px;
    text-align: center;
    height: 100%;
}

.doorstep-card-media {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    overflow: hidden;
    border: 2px solid #dbeafe;
    flex-shrink: 0;
}

.doorstep-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doorstep-icon {
    font-size: 36px;
}

.doorstep-card h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.doorstep-contact-icon {
    display: inline-flex;
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

.home-services-sidebar h2 {
    margin: 0 0 20px;
    font-size: 28px;
    letter-spacing: -0.5px;
    color: var(--text);
}

.service-category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    min-height: 90px;
}

.service-category-item:hover {
    border-color: var(--primary);
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

.service-cat-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.home-services-images {
    display: flex;
    align-items: center;
}

.service-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

.service-img {
    height: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.service-img-large {
    grid-column: span 2;
    height: 260px;
}

.two-col {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 14px;
}

.feature-list {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--text);
}

.feature-list li {
    margin-bottom: 8px;
}

.stat-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 26px rgba(15, 23, 42, 0.1);
}

.stat-item h3 {
    margin: 0 0 6px;
    font-size: 32px;
    color: var(--primary-strong);
    letter-spacing: -0.6px;
}

.stat-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.section-head {
    margin: 32px 0 18px;
    text-align: center;
}

.section-head h2 {
    margin: 0 0 10px;
    font-size: 38px;
    letter-spacing: -0.6px;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.category-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 14px;
}

.category-chip {
    width: auto;
    margin: 0;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.category-chip:hover {
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.category-chip.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.category-cards,
.card-grid,
.testimonial-grid,
.stats-grid,
.footer-grid {
    display: grid;
    gap: 18px;
}

.category-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-bottom: 32px;
}

.category-card {
    position: relative;
    padding: 0;
    overflow: hidden;
}

.category-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.category-card-media {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    overflow: hidden;
}

.category-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.category-card:hover .category-card-media img {
    transform: scale(1.05);
}

.category-icon-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}

.category-card-body {
    padding: 18px 20px 22px;
}

.category-card h3 {
    font-size: 18px;
    margin: 0 0 8px;
}

.category-card p {
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card,
.service-detail,
.auth-box,
.category-card,
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.card:hover,
.category-card:hover,
.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: #cbd5e1;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.card h3,
.service-detail h3,
.auth-box h3 {
    margin-top: 0;
    font-size: 20px;
    letter-spacing: -0.3px;
    color: var(--text);
}

.service-detail h1 {
    margin-top: 0;
    font-size: 36px;
    letter-spacing: -0.7px;
    line-height: 1.2;
}

.service-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 26px;
}

.service-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 26px;
    align-items: start;
}

.service-page-layout-tight {
    margin-top: -4px;
}

.service-main-content {
    display: grid;
    gap: 10px;
}

.service-scope-panel {
    margin: 0;
    padding: 20px 22px;
}

.service-scope-title {
    margin: 0 0 12px;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-scope-note {
    margin: -4px 0 12px;
    color: #64748b;
}

.service-scope-list {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 8px;
    color: #334155;
}

.service-scope-list li {
    line-height: 1.45;
}

.service-scope-panel--provided {
    border-left: 4px solid #22c55e;
}

.service-scope-panel--required {
    border-left: 4px solid #f59e0b;
    background: #fffbeb;
}

.service-scope-panel--excluded {
    border-left: 4px solid #94a3b8;
}

.service-scope-list--required li::marker {
    color: #d97706;
}

.service-scope-list--muted {
    color: #64748b;
}

.service-subitems-panel {
    margin: 12px 0;
}

.service-subitems-header h3 {
    margin: 0 0 6px;
}

.service-subitems-group {
    margin-bottom: 18px;
}

.service-subitems-group h4 {
    margin: 0 0 10px;
    font-size: 1rem;
    color: #0f172a;
}

.service-subitems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.service-subitem-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100%;
}

.service-subitem-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 999px;
}

.service-subitem-card h5 {
    margin: 8px 0 4px;
    font-size: 1rem;
    line-height: 1.35;
}

.service-subitem-price {
    margin: 8px 0 0;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.05rem;
}

.service-subitem-add-btn {
    width: 100%;
}

.service-subitems-group--repair .service-subitem-card { border-top: 3px solid #f59e0b; }
.service-subitems-group--install .service-subitem-card { border-top: 3px solid #22c55e; }
.service-subitems-group--material .service-subitem-card { border-top: 3px solid #6366f1; }
.service-subitems-group--inspection .service-subitem-card { border-top: 3px solid #0ea5e9; }

.service-items-editor {
    display: grid;
    gap: 12px;
    margin-bottom: 10px;
}

.service-item-row {
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    padding: 12px;
    background: #f8fafc;
}

.related-services-panel {
    position: sticky;
    top: 118px;
}

.related-services-panel h3 {
    margin-bottom: 14px;
}

.related-services-panel {
    padding: 22px;
}

.related-services-list {
    display: grid;
    gap: 12px;
}

.related-service-item {
    display: block;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    background: #f8fafc;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.related-service-item:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    transform: translateY(-1px);
}

.related-service-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.related-service-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e0ecff;
    font-size: 13px;
    flex-shrink: 0;
}

.related-service-meta {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
}

.service-detail p {
    line-height: 1.7;
}

.service-detail-carpenter {
    border-color: #bfdbfe;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    max-width: 720px;
    width: 100%;
}

.service-main-content-carpenter > .service-detail,
.service-main-content-carpenter > .card,
.service-main-content-carpenter > .card-grid {
    max-width: 720px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.carpenter-hero-strip {
    margin: 14px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.carpenter-hero-strip span {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    font-weight: 700;
}

.carpenter-section {
    margin-top: 0;
}

.service-main-content > .card,
.service-main-content > .card-grid {
    margin: 0;
}

.carpenter-checklist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.carpenter-checklist h4,
.carpenter-faq-grid h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.carpenter-checklist ul {
    margin: 0;
    padding-left: 18px;
    color: #475569;
}

.carpenter-checklist li {
    margin-bottom: 8px;
}

.carpenter-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.carpenter-faq-grid article {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
}

.carpenter-faq-grid p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.service-detail-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.service-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-box {
    max-width: 540px;
    margin: 32px auto;
    padding: 32px;
}

.auth-box h1 {
    margin: 0 0 8px;
    font-size: 32px;
    letter-spacing: -0.6px;
}

.auth-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.auth-box .small {
    margin-bottom: 18px;
}

.auth-switch {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.auth-box--professional {
    border-top: 4px solid var(--primary);
}

.service-card h3 {
    margin-top: 0;
    font-size: 20px;
    letter-spacing: -0.3px;
}

.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card-link:hover {
    color: inherit;
    text-decoration: none;
}

.service-card-link h3,
.service-card-link p,
.service-card-link span {
    text-decoration: none;
}

.service-card:hover .service-card-link,
.service-card:hover .service-card-link h3,
.service-card:hover .service-card-link p,
.service-card:hover .service-card-link span {
    text-decoration: none !important;
}

.service-card p {
    margin-top: 10px;
    line-height: 1.6;
    color: var(--muted);
}

.service-card-cta {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    margin-top: 4px;
}

.service-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text);
}

.service-media {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    overflow: hidden;
    margin-bottom: 14px;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-media-fallback {
    font-size: 48px;
    line-height: 1;
}

.card a,
.service-detail a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card .btn,
.card .btn:hover,
.card .btn:focus,
.card .btn:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}

.service-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    margin-bottom: 8px;
}

.service-action-form {
    display: inline-block;
    margin: 0;
}

.service-detail .btn,
.service-detail .btn:hover,
.service-detail .btn.secondary,
.service-detail .btn.secondary:hover {
    color: #ffffff;
    text-decoration: none;
}

.card a:hover,
.service-detail a:hover {
    color: var(--primary-strong);
    text-decoration: underline;
}

input,
textarea,
select,
button {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    margin: 6px 0 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
}

button,
.btn {
    width: auto;
    display: inline-block;
    margin: 0;
    background: linear-gradient(135deg, var(--primary), #3b82f6);
    border: none;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

button:hover,
.btn:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.26);
}

.btn.secondary {
    background: linear-gradient(135deg, #0f172a, #1e293b);
}

.admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 0 0 24px;
}

.admin-head h1 {
    margin: 0;
    font-size: clamp(26px, 4vw, 32px);
    letter-spacing: -0.6px;
    color: #0f172a;
    font-weight: 800;
}

.admin-subtitle-inline {
    margin: 6px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.admin-page-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 28px 30px;
    border-radius: 20px;
    background:
        radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.22), transparent 42%),
        radial-gradient(circle at 0% 100%, rgba(99, 102, 241, 0.18), transparent 40%),
        linear-gradient(135deg, #0f172a 0%, #1e3a8a 52%, #0f766e 100%);
    color: #f8fafc;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-page-hero__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #bae6fd;
}

.admin-page-hero__title {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.6px;
    line-height: 1.1;
}

.admin-page-hero__text {
    margin: 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.55;
    color: #cbd5e1;
}

.admin-page-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.admin-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.admin-btn--primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35);
}

.admin-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.42);
}

.admin-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
    color: #f8fafc;
}

.admin-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.34);
}

.admin-btn--sm {
    padding: 9px 14px;
    font-size: 13px;
    border-radius: 10px;
}

.admin-main .admin-btn--primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
}

.admin-main .admin-btn--ghost {
    background: #f8fafc;
    border-color: #e2e8f0;
    color: #334155;
}

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

.admin-stat-card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 10px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.admin-stat-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    transform: translate(35%, -35%);
    opacity: 0.12;
    pointer-events: none;
}

.admin-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: #dbe3ef;
}

.admin-stat-card--users::after { background: #3b82f6; }
.admin-stat-card--bookings::after { background: #f59e0b; }
.admin-stat-card--payments::after { background: #10b981; }
.admin-stat-card--revenue::after { background: #8b5cf6; }

.admin-stat-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.admin-stat-card__icon svg {
    width: 24px;
    height: 24px;
}

.admin-stat-card--users .admin-stat-card__icon {
    background: #dbeafe;
    color: #1d4ed8;
}

.admin-stat-card--bookings .admin-stat-card__icon {
    background: #fef3c7;
    color: #b45309;
}

.admin-stat-card--payments .admin-stat-card__icon {
    background: #d1fae5;
    color: #047857;
}

.admin-stat-card--revenue .admin-stat-card__icon {
    background: #ede9fe;
    color: #6d28d9;
}

.admin-stat-card__body {
    flex: 1;
    min-width: 0;
}

.admin-stat-label {
    margin: 0 0 6px;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.admin-stat-value {
    margin: 0;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.8px;
    line-height: 1.05;
}

.admin-stat-hint {
    margin: 8px 0 0;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.admin-insights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.admin-insight-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e8edf4;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-insight-pill:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.admin-insight-pill__label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

.admin-insight-pill strong {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.admin-insight-pill--alert {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.admin-insight-pill--alert strong {
    color: #dc2626;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 22px;
    align-items: start;
}

.admin-main-content,
.admin-sidebar-widgets,
.admin-dashboard-grid > * {
    min-width: 0;
}

.admin-panel,
.admin-card {
    background: #ffffff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.admin-panel--services {
    overflow: visible;
}

.admin-service-list {
    width: 100%;
    min-width: 0;
}

.admin-service-cards {
    display: none;
}

.admin-service-card {
    padding: 16px 18px;
    border-top: 1px solid #eef2f7;
}

.admin-service-card:first-child {
    border-top: none;
}

.admin-service-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.admin-service-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    word-break: break-word;
}

.admin-service-card__price {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 800;
    color: #0f766e;
}

.admin-service-card .admin-action-buttons {
    flex-direction: row;
    flex-wrap: wrap;
}

.admin-service-card .admin-btn-edit,
.admin-service-card .admin-btn-delete {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.admin-panel--welcome {
    margin-bottom: 22px;
    padding: 24px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 100%);
    border-color: #bfdbfe;
}

.admin-panel__head {
    padding: 22px 24px 0;
}

.admin-panel__head--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 0;
}

.admin-panel__head h3,
.admin-card-header h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.3px;
}

.admin-panel__sub,
.admin-card-subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 24px;
    border-bottom: 1px solid #eef2f7;
}

.admin-card h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    padding: 20px 20px 0;
}

.admin-table-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
}

.admin-table th {
    padding: 14px 24px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid #e8edf4;
}

.admin-table td {
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #0f172a;
    vertical-align: middle;
}

.admin-table-id {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
}

.admin-table-price {
    font-weight: 700;
    color: #0f766e;
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.admin-table tbody tr:hover {
    background: #f8fafc;
}

.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.admin-badge-category {
    background: #d1fae5;
    color: #065f46;
}

.admin-action-buttons {
    display: flex;
    gap: 8px;
}

.admin-btn-edit,
.admin-btn-delete {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.admin-btn-edit {
    background: #dbeafe;
    color: #1e40af;
}

.admin-btn-edit:hover {
    background: #2563eb;
    color: #ffffff;
}

.admin-btn-delete {
    background: #fee2e2;
    color: #dc2626;
}

.admin-btn-delete:hover {
    background: #dc2626;
    color: #ffffff;
}

.admin-table-footer {
    padding: 16px 24px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.admin-sidebar-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.admin-quick-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 8px 20px 22px;
}

.admin-quick-action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e8edf4;
    border-radius: 14px;
    text-decoration: none;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-quick-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.admin-quick-action__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
}

.admin-quick-action__icon svg {
    width: 20px;
    height: 20px;
}

.admin-quick-action--blue .admin-quick-action__icon { background: #dbeafe; color: #1d4ed8; }
.admin-quick-action--violet .admin-quick-action__icon { background: #ede9fe; color: #6d28d9; }
.admin-quick-action--amber .admin-quick-action__icon { background: #fef3c7; color: #b45309; }
.admin-quick-action--teal .admin-quick-action__icon { background: #ccfbf1; color: #0f766e; }
.admin-quick-action--indigo .admin-quick-action__icon { background: #e0e7ff; color: #4338ca; }
.admin-quick-action--slate .admin-quick-action__icon { background: #e2e8f0; color: #334155; }

.admin-quick-icon {
    font-size: 28px;
}

.admin-quick-label {
    line-height: 1.25;
}

.admin-guide-list {
    display: grid;
    gap: 10px;
    padding: 8px 20px 22px;
}

.admin-guide-item {
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e8edf4;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.admin-guide-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.admin-guide-item summary {
    font-weight: 600;
    cursor: pointer;
    color: #0f172a;
    font-size: 14px;
}

.admin-guide-item[open] summary {
    margin-bottom: 8px;
    color: #2563eb;
}

.admin-guide-item p {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    overflow-x: auto;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.table form {
    min-width: 220px;
}

.table th,
.table td {
    border: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
}

.table th {
    background: #f8fafc;
    font-weight: 700;
    color: var(--text);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table td {
    font-size: 15px;
}

.table tbody tr:hover {
    background: #f8fafc;
}

.booking-meta {
    margin: 4px 0 12px;
}

.booking-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    border-radius: 14px;
    border: 1px solid #e8edf4;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
}

.booking-table {
    min-width: 1080px;
    font-size: 13px;
}

.booking-table th,
.booking-table td {
    padding: 8px 10px;
    vertical-align: middle;
}

.booking-table th {
    font-size: 12px;
    letter-spacing: 0.3px;
}

.booking-table td {
    font-size: 13px;
    line-height: 1.35;
}

.booking-address {
    min-width: 180px;
    max-width: 240px;
    white-space: normal;
    word-break: break-word;
}

.booking-update-form {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 420px;
    white-space: nowrap;
}

.booking-update-form select {
    font-size: 13px;
    padding: 8px 10px;
    min-height: 34px;
    margin: 0;
    width: auto;
}

.booking-update-form button {
    font-size: 12px;
    padding: 7px 10px;
    min-height: 32px;
    border-radius: 7px;
    white-space: nowrap;
}

.booking-update-form select[name="status"] {
    min-width: 120px;
}

.booking-update-form select[name="professional_id"] {
    min-width: 200px;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 8px;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
}

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

.page-link.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.page-link.disabled {
    opacity: 0.45;
    pointer-events: none;
}

.btn-delete-user {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: #ffffff;
}

.btn-view-user {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
}

.admin-main .table a.btn-view-user,
.admin-main .table a.btn-view-user:visited,
.admin-main .table a.btn-view-user:hover,
.admin-main .table a.btn-view-user i {
    color: #ffffff;
}

.btn-status-user {
    background: linear-gradient(135deg, #334155, #1e293b);
    color: #ffffff;
}

.btn-verify-user {
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
}

.btn-view-user:hover {
    box-shadow: 0 10px 18px rgba(29, 78, 216, 0.3);
}

.btn-status-user:hover {
    box-shadow: 0 10px 18px rgba(30, 41, 59, 0.28);
}

.btn-verify-user:hover {
    box-shadow: 0 10px 18px rgba(21, 128, 61, 0.26);
}

.btn-delete-user:hover {
    box-shadow: 0 10px 18px rgba(185, 28, 28, 0.28);
}

.user-actions-cell {
    min-width: 320px;
}

.user-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.user-action-btn {
    font-size: 12px;
    padding: 7px 10px;
    min-height: 32px;
    border-radius: 8px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.user-actions .btn.secondary.user-action-btn {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #ffffff;
}

.user-actions .btn.secondary.user-action-btn:hover {
    box-shadow: 0 10px 18px rgba(91, 33, 182, 0.3);
}

.user-actions .inline-form {
    display: inline-flex;
    margin: 0;
}

@media (max-width: 1100px) {
    .booking-table {
        min-width: 980px;
    }
}

.inline-form {
    display: inline;
}

.error {
    color: #dc2626;
}

.required-mark {
    color: #dc2626;
    font-weight: 800;
}

.small,
.no-results {
    color: var(--muted);
}

.no-results {
    text-align: center;
    margin: 12px 0 18px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.badge-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge-approved {
    background: #d1fae5;
    color: #065f46;
}

.badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.badge-assigned {
    background: #dbeafe;
    color: #1e3a8a;
}

.badge-completed {
    background: #d1fae5;
    color: #065f46;
}

.badge-canceled {
    background: #fee2e2;
    color: #991b1b;
}

.badge-active {
    background: #d1fae5;
    color: #065f46;
}

.badge-blocked {
    background: #fee2e2;
    color: #991b1b;
}

.testimonial-card {
    padding: 20px;
}

.testimonial-card p:first-child {
    font-style: italic;
    color: var(--muted);
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

.testimonial-card h4 {
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.process-item span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary-strong);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 12px;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.18);
}

.process-item h3 {
    margin: 8px 0 10px;
    font-size: 18px;
}

.process-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.testimonial-card {
    padding: 28px;
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.testimonial-quote {
    font-size: 72px;
    line-height: 1;
    color: #e0f2fe;
    font-family: Georgia, serif;
    position: absolute;
    top: 16px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    color: #475569;
    margin: 24px 0 20px;
    font-size: 16px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.testimonial-location {
    margin: 2px 0 0;
    font-size: 14px;
    color: #64748b;
}

.testimonial-rating {
    font-size: 14px;
    color: #f59e0b;
}

.how-it-works {
    background: linear-gradient(180deg, #f8fafc, #ffffff);
    padding: 48px 0;
    margin: 48px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.process-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    border-color: #93c5fd;
}

.process-number {
    position: absolute;
    top: -16px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.process-icon {
    font-size: 56px;
    margin: 16px 0;
}

.process-card h3 {
    margin: 16px 0 12px;
    font-size: 20px;
    color: #0f172a;
}

.process-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 15px;
}

.cta-panel {
    text-align: center;
    padding: 38px 24px;
    margin-top: 6px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-radius: var(--radius);
}

.cta-panel h2 {
    margin: 0 0 12px;
    font-size: 32px;
    letter-spacing: -0.5px;
}

.cta-panel p {
    margin: 0 0 20px;
    font-size: 17px;
    color: var(--muted);
}

.site-footer {
    margin-top: 48px;
    background: #0f172a;
    color: #cbd5e1;
    padding: 48px 0 0;
}

.footer-content {
    padding-bottom: 32px;
}

.footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-column h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.footer-column a {
    display: block;
    margin-bottom: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 20px;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(203, 213, 225, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #94a3b8;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #cbd5e1;
    text-decoration: none;
}

.admin-body {
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 28%),
        radial-gradient(circle at 0% 80%, rgba(99, 102, 241, 0.06), transparent 32%),
        #eef2f7;
    color: #0f172a;
    padding-top: 0 !important;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    overflow-x: hidden;
}

.admin-main {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.admin-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    margin-bottom: 20px;
    border-radius: 14px;
    border: 1px solid #e8edf4;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.05);
}

.admin-table-scroll:focus-visible {
    outline: 2px solid #60a5fa;
    outline-offset: 2px;
}

.admin-table-scroll > .table {
    display: table;
    width: 100%;
    min-width: 680px;
    margin: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    white-space: nowrap;
}

.admin-table-scroll > .admin-reviews-table {
    min-width: 920px;
}

.admin-main .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-form-page.card {
    max-width: min(840px, 100%) !important;
    margin: 0 0 24px !important;
}

.admin-auth-body {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    padding-top: 0 !important;
    overflow: hidden;
    background: #0b1020;
}

.admin-auth-backdrop {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.admin-auth-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.06);
    animation: admin-auth-slide 18s ease-in-out infinite;
}

.admin-auth-slide--1 {
    background-image: url('hero-slider-1.png');
}

.admin-auth-slide--2 {
    background-image: url('hero-slider-2.png');
    animation-delay: -6s;
}

.admin-auth-slide--3 {
    background-image: url('hero-slider-3.png');
    animation-delay: -12s;
}

@keyframes admin-auth-slide {
    0%, 100% {
        opacity: 0;
        transform: scale(1.06);
    }
    8%, 28% {
        opacity: 1;
        transform: scale(1);
    }
    36% {
        opacity: 0;
        transform: scale(1.04);
    }
}

.admin-auth-backdrop__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11, 62, 168, 0.55) 0%, rgba(15, 118, 110, 0.5) 48%, rgba(15, 23, 42, 0.72) 100%);
}

.admin-auth-main {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
}

.admin-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 520px;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.06),
        0 24px 60px rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-auth-brand {
    position: relative;
    padding: 40px 36px;
    color: #f8fafc;
    background:
        linear-gradient(165deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.88) 55%, rgba(15, 118, 110, 0.85) 100%);
}

.admin-auth-brand__inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-auth-brand__logo {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    font-size: 26px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    margin-bottom: 20px;
}

.admin-auth-brand__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #bae6fd;
}

.admin-auth-brand__title {
    margin: 0 0 10px;
    font-size: clamp(26px, 4vw, 34px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.admin-auth-brand__text {
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.55;
    color: #cbd5e1;
    max-width: 32ch;
}

.admin-auth-brand__services {
    list-style: none;
    margin: auto 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-auth-brand__services li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 600;
}

.admin-auth-brand__services li span {
    font-size: 18px;
    line-height: 1;
}

.admin-auth-form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 36px;
    background: #ffffff;
}

.admin-login-panel {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.admin-login-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
}

.admin-login-sub {
    margin: 0 0 28px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.admin-login-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 14px;
    font-weight: 600;
}

.admin-login-form {
    display: grid;
    gap: 18px;
}

.admin-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.admin-field__control {
    position: relative;
}

.admin-field__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    line-height: 1;
    pointer-events: none;
    opacity: 0.85;
}

.admin-login-form .admin-field__control input {
    width: 100%;
    margin: 0;
    padding: 14px 14px 14px 44px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.admin-login-form .admin-field__control input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.admin-login-form .admin-field__control input::placeholder {
    color: #94a3b8;
}

.admin-login-submit {
    width: 100%;
    margin: 6px 0 0;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.admin-login-submit:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.38);
}

@media (max-width: 820px) {
    .admin-auth-body {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
        padding: max(12px, env(safe-area-inset-top)) 14px max(12px, env(safe-area-inset-bottom));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-auth-main {
        width: 100%;
        max-width: 420px;
        margin: auto;
    }

    .admin-auth-card {
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
        width: 100%;
        min-height: min(580px, calc(100dvh - 24px));
        max-height: calc(100dvh - 24px);
    }

    .admin-auth-brand {
        order: -1;
        flex: 0 0 auto;
        padding: 16px 20px 14px;
    }

    .admin-auth-form-wrap {
        order: 1;
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 22px 28px;
        border-top: 1px solid #eef2f7;
    }

    .admin-login-panel {
        max-width: 100%;
    }

    .admin-login-header {
        text-align: center;
    }

    .admin-auth-brand__inner {
        height: auto;
    }

    .admin-auth-brand__text {
        display: none;
    }

    .admin-auth-brand__eyebrow {
        margin-bottom: 4px;
        font-size: 10px;
    }

    .admin-auth-brand__title {
        margin-bottom: 0;
        font-size: 22px;
    }

    .admin-auth-brand__logo {
        width: 40px;
        height: 40px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .admin-auth-brand__services {
        margin: 12px 0 0;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
    }

    .admin-auth-brand__services li {
        padding: 8px 4px;
        aspect-ratio: 1;
        border-radius: 10px;
    }

    .admin-auth-brand__services li span {
        font-size: 20px;
    }

    .admin-login-header h1 {
        font-size: 24px;
    }

    .admin-login-sub {
        margin-bottom: 20px;
        font-size: 13px;
    }

    .admin-login-form {
        gap: 14px;
    }

    .admin-login-form .admin-field__control input {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .admin-login-submit {
        padding: 13px 18px;
    }
}

@media (max-width: 520px) {
    .admin-auth-body {
        padding: max(10px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom));
    }

    .admin-auth-main {
        max-width: 100%;
    }

    .admin-auth-card {
        border-radius: 18px;
        min-height: min(520px, calc(100dvh - 20px));
    }

    .admin-auth-form-wrap {
        padding: 20px 18px 24px;
    }

    .admin-auth-brand {
        padding: 14px 16px 12px;
    }

    .admin-auth-brand__inner {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "logo title"
            "icons icons";
        align-items: center;
        column-gap: 12px;
        row-gap: 10px;
    }

    .admin-auth-brand__logo {
        grid-area: logo;
        margin-bottom: 0;
    }

    .admin-auth-brand__eyebrow {
        display: none;
    }

    .admin-auth-brand__title {
        grid-area: title;
        font-size: 20px;
    }

    .admin-auth-brand__services {
        grid-area: icons;
        margin: 0;
        gap: 6px;
    }

    .admin-auth-brand__services li span {
        font-size: 18px;
    }

    .admin-login-header h1 {
        font-size: 22px;
        margin-bottom: 4px;
    }

    .admin-login-sub {
        margin-bottom: 16px;
    }
}

.admin-shell {
    --admin-sidebar-w: 272px;
    --admin-accent: #60a5fa;
    --admin-accent-dim: rgba(96, 165, 250, 0.16);
    --admin-surface: #ffffff;
    --admin-border: #e8edf4;
    min-height: 100vh;
    display: grid;
    grid-template-columns: var(--admin-sidebar-w) 1fr;
}

.admin-sidebar-backdrop {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.admin-sidebar-backdrop[hidden] {
    display: none !important;
}

.admin-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 24%),
        linear-gradient(165deg, #0b1220 0%, #111827 48%, #172554 100%);
    border-right: 1px solid rgba(148, 163, 184, 0.1);
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 40;
    box-shadow: 16px 0 48px rgba(2, 6, 23, 0.28);
}

.admin-sidebar-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 22px 16px 18px;
    gap: 4px;
}

.admin-sidebar-head {
    flex-shrink: 0;
    padding-bottom: 6px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #f8fafc;
}

.admin-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent),
        linear-gradient(135deg, #38bdf8, #6366f1);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.35);
    flex-shrink: 0;
}

.admin-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.admin-brand-title {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.admin-brand-badge {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.admin-subtitle {
    margin: 10px 0 0;
    padding-left: 52px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
}

.admin-nav-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    margin: 16px -6px 12px 0;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.35) transparent;
}

.admin-nav-scroll::-webkit-scrollbar {
    width: 6px;
}

.admin-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
    border-radius: 6px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.admin-nav-label {
    margin: 14px 0 8px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.admin-nav-label:first-child {
    margin-top: 4px;
}

.admin-nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.88;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    background: transparent;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.admin-nav a:hover {
    background: rgba(248, 250, 252, 0.06);
    color: #f1f5f9;
}

.admin-nav a:hover .admin-nav-icon {
    opacity: 1;
}

.admin-nav a.active {
    background: linear-gradient(90deg, var(--admin-accent-dim), rgba(96, 165, 250, 0.06));
    border-color: rgba(96, 165, 250, 0.28);
    color: #f0f9ff;
    box-shadow: inset 3px 0 0 var(--admin-accent);
}

.admin-nav a.active .admin-nav-icon {
    color: var(--admin-accent);
    opacity: 1;
}

.admin-sidebar-actions {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.admin-sidebar-action {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.admin-sidebar-action .admin-nav-icon {
    width: 18px;
    height: 18px;
}

.admin-sidebar-action--ghost {
    color: #cbd5e1;
    background: rgba(248, 250, 252, 0.04);
    border-color: rgba(148, 163, 184, 0.15);
}

.admin-sidebar-action--ghost:hover {
    background: rgba(248, 250, 252, 0.08);
    color: #f8fafc;
    border-color: rgba(148, 163, 184, 0.25);
}

.admin-sidebar-action--danger {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(248, 113, 113, 0.2);
}

.admin-sidebar-action--danger:hover {
    background: rgba(239, 68, 68, 0.18);
    color: #fef2f2;
    border-color: rgba(248, 113, 113, 0.35);
}

.admin-content-wrap {
    padding: 0 28px 32px;
    min-width: 0;
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0 16px;
    margin-bottom: 8px;
    background: linear-gradient(180deg, rgba(238, 242, 247, 0.96) 70%, rgba(238, 242, 247, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-topbar__main {
    flex: 1;
    min-width: 0;
}

.admin-topbar__eyebrow {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.admin-topbar__title {
    margin: 0;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 800;
    letter-spacing: -0.4px;
    color: #0f172a;
    line-height: 1.2;
}

.admin-topbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.admin-topbar__date {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid #e2e8f0;
}

.admin-topbar__link {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.admin-topbar__link:hover {
    color: #2563eb;
    border-color: #93c5fd;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.12);
}

.admin-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-menu-toggle svg {
    width: 22px;
    height: 22px;
}

.admin-menu-toggle:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.admin-menu-toggle:focus-visible {
    outline: 2px solid #38bdf8;
    outline-offset: 2px;
}

.admin-topbar-line {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}

.admin-main .card,
.admin-main .service-detail,
.admin-main .auth-box {
    border-radius: 18px;
    border-color: #e8edf4;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    .admin-sidebar,
    .admin-sidebar-backdrop {
        transition-duration: 0.01ms !important;
    }
}

.admin-main .card,
.admin-main .service-detail,
.admin-main .auth-box,
.admin-main .table {
    background: #ffffff;
    color: #0f172a;
    border-color: #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.admin-main .table th,
.admin-main .table td {
    border-color: #e2e8f0;
    color: #0f172a;
}

.admin-main .table th {
    background: #f8fafc;
    font-weight: 700;
}

.admin-main .table {
    display: table;
    white-space: normal;
    overflow-x: visible;
    border-radius: 12px;
}

.admin-main .table td form {
    display: inline-block;
    margin-left: 6px;
}

.admin-main .table td button {
    margin: 0;
    padding: 7px 11px;
    font-size: 13px;
}

.admin-main input,
.admin-main textarea,
.admin-main select {
    background: #ffffff;
    color: #0f172a;
    border-color: #cbd5e1;
}

.admin-main .btn.secondary {
    background: linear-gradient(135deg, #475569, #334155);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 20px;
    margin-top: 20px;
}

.admin-sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-head h3 {
    margin: 0;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}

.admin-welcome {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    border-color: #93c5fd;
}

.admin-welcome h3,
.admin-panel--welcome h3 {
    margin-top: 0;
}

.empty-state__icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.empty-state h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #0f172a;
}

.setup-steps {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.setup-step {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.setup-step.completed {
    background: #f0fdf4;
    border-color: #86efac;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    flex-shrink: 0;
}

.setup-step.completed .step-number {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.setup-step h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.setup-step p {
    margin: 0 0 10px;
    color: #64748b;
    font-size: 14px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

.quick-action-btn:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-2px);
}

.quick-action-btn span:first-child {
    font-size: 28px;
}

.guide-list {
    display: grid;
    gap: 10px;
}

.guide-list details {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.guide-list summary {
    font-weight: 600;
    cursor: pointer;
    color: var(--text);
}

.guide-list details[open] summary {
    margin-bottom: 8px;
    color: var(--primary);
}

.guide-list p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 48px 20px;
}

.empty-state p {
    margin: 12px 0 20px;
    color: var(--muted);
}

.btn-small {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    background: var(--primary);
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-small:hover {
    background: var(--primary-strong);
}

.btn-danger {
    background: #dc2626;
}

.btn-danger:hover {
    background: #b91c1c;
}

.btn-success {
    background: #059669;
}

.btn-success:hover {
    background: #047857;
}

.admin-head--split {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.admin-filter-tab {
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.admin-filter-tab.active,
.admin-filter-tab:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.admin-actions-cell .inline-form {
    display: inline;
    margin: 0;
}

.review-comment-cell {
    max-width: 280px;
    white-space: normal;
    line-height: 1.45;
}

.admin-form-card .checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-top: 8px;
}

.admin-main .success {
    padding: 12px 14px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    margin-bottom: 16px;
}

.admin-table-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
}

.admin-table-avatar--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #1d4ed8;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.professional-detail-photo {
    margin-bottom: 16px;
}

.professional-detail-photo img {
    width: 96px;
    height: 96px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.admin-doc-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

.booking-list {
    display: grid;
    gap: 18px;
    margin-bottom: 32px;
}

.booking-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.booking-card-id {
    margin: 0 0 4px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.booking-card-head h3 {
    margin: 0;
    font-size: 20px;
}

.booking-card-meta p {
    margin: 6px 0;
    font-size: 14px;
}

.booking-professional {
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.booking-professional h4 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #334155;
}

.booking-professional-body {
    display: flex;
    align-items: center;
    gap: 14px;
}

.booking-professional-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dbeafe;
    flex-shrink: 0;
}

.booking-professional-photo--fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1d4ed8;
    font-weight: 700;
    font-size: 20px;
}

.booking-professional-name {
    margin: 0 0 4px;
    font-size: 16px;
}

.booking-assigned-at {
    margin: 6px 0 0;
    font-size: 13px;
    color: #475569;
}

.booking-professional-pending {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
}

.booking-card-review {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.booking-review-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.profile-page {
    max-width: 720px;
    margin: 0 auto 40px;
}

.profile-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0b3ea8 0%, #1d5fd6 55%, #3b82f6 100%);
}

.profile-hero-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    color: #fff;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.profile-hero-text h1 {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -0.5px;
    color: #fff;
}

.profile-hero-text p {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
}

.profile-hero .badge {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.profile-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.profile-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-stat-card:hover {
    transform: translateY(-3px);
    border-color: #93c5fd;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.profile-stat-card--primary {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-color: #bfdbfe;
}

.profile-stat-card i {
    font-size: 22px;
    color: var(--primary);
    width: 28px;
    text-align: center;
}

.profile-stat-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.2;
}

.profile-stat-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.profile-details h2 {
    margin: 0 0 6px;
    font-size: 20px;
}

.profile-details .small {
    margin-bottom: 18px;
}

.profile-info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.profile-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.profile-info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-info-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.profile-info-value {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.45;
    word-break: break-word;
}

.profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.profile-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.profile-logout {
    margin-left: auto;
    color: #dc2626;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.profile-logout:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .profile-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-quick-stats {
        grid-template-columns: 1fr;
    }

    .profile-logout {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
}

.admin-booking-pro {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}

.help-banner {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 10px;
}

.help-banner h4 {
    margin: 0 0 4px;
}

.help-banner p {
    margin: 0;
    color: #78350f;
    font-size: 14px;
}

.field-hint {
    margin-top: -8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748b;
}

.tip-list {
    margin: 0;
    padding-left: 20px;
}

.tip-list li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}

.content-preview {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.preview-banner {
    margin-bottom: 12px;
}

.preview-banner h4 {
    margin: 0 0 6px;
    font-size: 18px;
    color: var(--primary);
}

.preview-banner p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.preview-box {
    padding: 10px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    margin-top: 10px;
    font-size: 13px;
}

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

.current-image {
    margin-bottom: 16px;
}

input[type="file"] {
    padding: 10px;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    cursor: pointer;
}

input[type="file"]:hover {
    border-color: var(--primary);
    background: #eff6ff;
}

.cart-page-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.cart-back-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
}

.cart-toast {
    padding: 10px 14px;
    margin-bottom: 14px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.cart-delivery-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 12px;
}

.cart-delivery-banner i {
    font-size: 22px;
    color: var(--primary);
}

.cart-bill-card h3 {
    margin-top: 0;
}

.cart-free-tag {
    color: #2563eb;
    font-weight: 700;
    font-size: 13px;
}

.cart-login-hint {
    margin-top: 12px;
    color: var(--muted);
}

.cart-layout--with-bar {
    padding-bottom: 88px;
}

.cart-proceed-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.1);
}

.cart-proceed-total strong {
    display: block;
    font-size: 22px;
    line-height: 1.1;
    color: var(--text);
}

.cart-proceed-total span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.cart-proceed-btn {
    flex: 1;
    max-width: 420px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 10px;
    background: #059669;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: filter 0.2s ease;
}

.cart-proceed-btn:hover {
    filter: brightness(1.05);
    color: #fff;
}

.cart-proceed-btn--checkout {
    background: var(--primary);
}

.cart-register-hint {
    text-align: center;
    margin: -72px 0 80px;
}

.quantity-form--pill {
    display: inline-flex;
    align-items: center;
    background: #059669;
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn--pill {
    background: transparent;
    color: #fff;
    border: none;
    min-width: 32px;
    height: 32px;
    font-size: 18px;
    font-weight: 700;
}

.qty-btn--pill:hover {
    background: rgba(0, 0, 0, 0.12);
}

.quantity-form--pill .qty-display {
    color: #fff;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #059669;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.15s ease;
}

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

.add-to-cart-form {
    margin: 0;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.service-card-footer .service-card-cta {
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.nav-cart-guest {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

body.cart-drawer-open {
    overflow: hidden;
}

.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 90;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(440px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: #f8fafc;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-drawer-header h2 {
    margin: 0;
    flex: 1;
    font-size: 20px;
}

.cart-drawer-back {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.cart-drawer-share {
    color: #059669;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 16px 24px;
    display: flex;
    flex-direction: column;
}

.cart-drawer-loading,
.cart-drawer-error {
    padding: 24px;
    text-align: center;
    color: var(--muted);
}

.cart-drawer-empty {
    text-align: center;
    padding: 40px 16px;
}

.cart-drawer-empty-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
}

.cart-drawer-shipment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
}

.cart-drawer-shipment i {
    font-size: 22px;
    color: var(--primary);
}

.cart-drawer-shipment span {
    display: block;
    font-size: 13px;
    color: var(--muted);
}

.cart-drawer-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: grid;
    gap: 12px;
}

.cart-drawer-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.cart-drawer-item-media {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    background: #eff6ff;
}

.cart-drawer-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-drawer-item-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 28px;
}

.cart-drawer-item-info h4 {
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
}

.cart-drawer-item-info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

.cart-drawer-item-line {
    margin-top: 6px !important;
    font-weight: 700;
    color: var(--text) !important;
    font-size: 14px !important;
}

.cart-drawer-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.cart-drawer-remove {
    border: none;
    background: none;
    color: #dc2626;
    font-size: 12px;
    cursor: pointer;
    padding: 0;
}

.cart-drawer-bill {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.cart-drawer-bill h4 {
    margin: 0 0 12px;
    font-size: 16px;
}

.cart-drawer-bill-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.cart-drawer-bill-total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 16px;
}

.cart-drawer-full-link {
    display: inline-block;
    margin-top: 10px;
}

.cart-drawer-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border-top: 1px solid var(--border);
    margin: auto -16px -24px;
    position: sticky;
    bottom: 0;
    box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06);
}

.cart-drawer-footer .cart-proceed-btn {
    max-width: none;
    flex: 1;
    padding: 12px 16px;
    font-size: 15px;
}

.cart-drawer-footer .cart-proceed-total strong {
    font-size: 20px;
}

@media (max-width: 480px) {
    .cart-drawer {
        width: 100vw;
    }

    .cart-drawer-share {
        display: none;
    }

    .cart-drawer-item {
        grid-template-columns: 56px 1fr;
    }

    .cart-drawer-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    margin: 24px 0;
}

.cart-items {
    display: grid;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px 1fr auto auto;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    align-items: center;
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-details h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.cart-item-category {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 14px;
}

.cart-item-price {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 6px;
    background: var(--surface-alt);
    border: 1px solid var(--border);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qty-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.qty-display {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
}

.cart-line-total {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
}

.btn-remove {
    padding: 6px 12px;
    font-size: 13px;
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    background: #dc2626;
    color: #ffffff;
}

.cart-summary {
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.summary-total {
    font-size: 20px;
    font-weight: 800;
    border-top: 2px solid var(--text);
    border-bottom: none;
    margin-top: 8px;
    padding-top: 16px;
}

.btn-block {
    width: 100%;
    text-align: center;
    margin-top: 16px;
}

.admin-head {
    margin: 0 0 20px;
}

.admin-main .stats-grid .card {
    padding: 18px;
}

.admin-main .stats-grid .card h3 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 15px;
}

.admin-main .stats-grid .card p {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #0b3ea8;
}

.admin-main .table a {
    color: #1d4ed8;
    font-weight: 600;
}

@media (max-width: 900px) {
    .slide h1,
    .slide h2 {
        font-size: 34px;
    }

    .slide .hero-copy {
        padding: 18px 18px 20px;
    }

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

    .hero-art {
        display: none;
    }

    .slider {
        height: 340px;
        min-height: 340px;
    }

    .slide {
        height: 340px;
        min-height: 340px;
        padding: 30px 0 118px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

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

    .slide-nav {
        top: auto;
        bottom: 118px;
        transform: none;
    }
}

@media (max-width: 768px) {
    main.container {
        padding: 20px 0 16px;
    }

    main.container > .slider-full:first-child {
        margin-top: -20px;
    }

    .container {
        width: min(1120px, 95%);
    }

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

    .top-bar-wrap {
        min-height: 34px;
        gap: 8px;
    }

    .top-contact {
        font-size: 12px;
        min-width: 0;
        flex: 1 1 auto;
        max-width: min(100%, calc(100vw - 140px));
    }

    .top-contact-label--desktop {
        display: none;
    }

    .top-contact-label--mobile {
        display: inline;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .top-contact-icon {
        display: inline-flex;
        width: 28px;
        height: 28px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
        font-size: 13px;
        font-style: normal;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .top-contact:hover .top-contact-icon {
        background: rgba(255, 255, 255, 0.38);
    }

    .top-social {
        gap: 6px;
    }

    .top-social a {
        width: 24px;
        height: 24px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        min-width: 44px;
        min-height: 44px;
        padding: 0 10px;
    }

    .nav-toggle-icon {
        font-size: 1.35rem;
    }

    .nav nav {
        width: 100%;
        display: none;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 6px;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        z-index: 60;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    }

    .nav nav.open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .nav a {
        width: 100%;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
    }

    .nav-dropdown.open .nav-dropdown-menu {
        display: block;
    }

    .slider {
        height: 310px;
        min-height: 310px;
    }

    .slide {
        height: 310px;
        min-height: 310px;
        padding: 20px 0 106px;
    }

    .slider-search {
        grid-template-columns: 1fr;
    }

    .search-input-group {
        grid-template-columns: 1fr;
    }

    .location-field {
        flex-direction: column;
        align-items: stretch;
    }

    .use-location-btn {
        align-self: flex-start;
    }

    .search-divider {
        display: none;
    }

    .search-field {
        border-bottom: 1px solid #e2e8f0;
        padding: 12px 14px;
    }

    .service-field {
        flex-wrap: wrap;
    }

    .search-submit-btn {
        width: 100%;
    }

    .search-field:last-child {
        border-bottom: none;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .process-card {
        padding: 24px 16px;
    }

    .process-icon {
        font-size: 48px;
    }

    .trending-searches {
        padding: 16px;
    }

    .testimonial-quote {
        font-size: 56px;
    }

    .stats-badges {
        flex-direction: column;
        gap: 24px;
    }

    .slider-overlay {
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 16px);
        bottom: 8px;
    }

    .modern-search {
        border-radius: 12px;
    }

    .search-submit-btn {
        min-height: 42px;
    }

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

    .card-grid,
    .category-cards,
    .testimonial-grid,
    .footer-grid,
    .stats-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .see-all-link {
        margin-top: 2px;
    }

    .carousel-btn {
        display: none;
    }

    .carousel-card {
        flex: 0 0 200px;
    }

    .doorstep-card {
        flex: 0 0 120px;
    }

    .doorstep-card-media {
        width: 72px;
        height: 72px;
    }

    .category-card-media {
        height: 140px;
    }

    .doorstep-icon {
        font-size: 30px;
    }

    .doorstep-card h4 {
        font-size: 12px;
    }

    .doorstep-services {
        padding: 20px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .service-detail {
        padding: 20px;
    }

    .service-page-layout {
        grid-template-columns: 1fr;
    }

    .related-services-panel {
        position: static;
    }

    .carpenter-checklist,
    .carpenter-faq-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 12px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-quantity,
    .cart-item-total {
        grid-column: span 2;
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column {
        margin-bottom: 16px;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-backdrop {
        display: none !important;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: opacity 0.22s ease, visibility 0.22s ease, left 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .admin-sidebar-backdrop[hidden] {
        display: none !important;
    }

    body.admin-sidebar-open .admin-sidebar-backdrop:not([hidden]) {
        display: block !important;
        left: min(var(--admin-sidebar-w), 88vw);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        width: min(var(--admin-sidebar-w), 88vw);
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        z-index: 50;
        transform: translateX(-104%);
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 24px 0 60px rgba(2, 6, 23, 0.5);
        isolation: isolate;
    }

    body.admin-sidebar-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-content-wrap {
        position: relative;
        z-index: 1;
        padding: 0 max(14px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    }

    body.admin-sidebar-open .admin-menu-toggle {
        position: relative;
        z-index: 51;
    }

    body.admin-sidebar-open {
        overflow: hidden;
    }

    .admin-menu-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .admin-sidebar {
        padding-left: env(safe-area-inset-left);
    }

    .admin-topbar {
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: 10px;
        gap: 12px;
    }

    .admin-topbar__title {
        font-size: 18px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .admin-topbar__date {
        display: none;
    }

    .admin-topbar__link {
        padding: 10px 12px;
        font-size: 12px;
    }

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

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-table-wrapper--desktop {
        display: none;
    }

    .admin-service-cards {
        display: block;
    }

    .admin-service-card {
        padding: 16px;
    }

    .admin-panel--services .admin-table-footer {
        padding: 14px 16px;
    }

    .admin-main .stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .admin-insights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-page-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 18px;
    }

    .admin-page-hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .admin-page-hero__actions .admin-btn {
        width: 100%;
        min-width: 0;
    }

    .admin-panel__head--split {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-panel__head--split .admin-btn {
        width: 100%;
    }

    .admin-head {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .admin-head--split .btn {
        width: 100%;
        text-align: center;
    }

    .admin-head .btn {
        width: 100%;
        text-align: center;
    }

    .admin-filter-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 6px;
        margin-bottom: 16px;
        scrollbar-width: thin;
    }

    .admin-filter-tab {
        flex-shrink: 0;
    }

    .admin-quick-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-panel__head,
    .admin-card-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .admin-table-scroll > .table {
        min-width: 640px;
    }

    .admin-table th,
    .admin-table td {
        padding: 10px 14px;
        font-size: 13px;
    }

    .admin-action-buttons {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }

    .admin-btn-edit,
    .admin-btn-delete {
        width: 100%;
        text-align: center;
    }

    .user-actions-cell {
        min-width: 0;
        white-space: normal;
    }

    .user-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        white-space: normal;
    }

    .user-action-btn {
        min-height: 40px;
        padding: 9px 12px;
    }

    .booking-update-form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        width: 100%;
        max-width: 280px;
        white-space: normal;
        gap: 8px;
    }

    .booking-update-form select,
    .booking-update-form button {
        width: 100%;
        min-width: 0;
    }

    .booking-update-form select[name="status"],
    .booking-update-form select[name="professional_id"] {
        min-width: 0;
    }

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

    .admin-actions-cell .btn-small,
    .admin-actions-cell .inline-form,
    .admin-actions-cell .btn-link {
        width: 100%;
    }

    .admin-actions-cell .inline-form button,
    .admin-actions-cell .btn-small {
        width: 100%;
        text-align: center;
        min-height: 38px;
    }

    .review-comment-cell {
        max-width: 200px;
    }

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

    .setup-steps {
        gap: 12px;
    }

    .setup-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .slide-nav {
        bottom: 115px;
    }

    /* .contact-layout, .onboarding-layout, .upload-grid: mobile rules live after CONTACT / ONBOARDING sections (cascade fix). */

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

    .admin-slider {
        height: 280px;
    }

    .admin-slide-content {
        padding: 24px;
    }

    .admin-slide-content h3 {
        font-size: 22px;
    }

    .admin-slide-content p {
        font-size: 14px;
    }

    .admin-slide-nav {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .admin-slide-nav.prev {
        left: 12px;
    }

    .admin-slide-nav.next {
        right: 12px;
    }
}

@media (max-width: 480px) {
    body:not(.admin-body):not(.admin-auth-body) {
        padding-top: 112px;
    }

    .top-bar-wrap {
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        padding: 4px 0;
        row-gap: 4px;
    }

    .top-contact-label--mobile {
        font-size: 10px;
    }

    .top-contact-icon {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .slide h1,
    .slide h2 {
        font-size: 26px;
        line-height: 1.18;
    }

    .slide {
        min-height: 320px;
        padding: 28px 0 118px;
    }

    .slide p {
        font-size: 15px;
        line-height: 1.5;
    }

    .hero-actions .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .slide-nav {
        width: 42px;
        height: 42px;
        font-size: 18px;
        bottom: 128px;
    }

    .stats-strip {
        grid-template-columns: 1fr;
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }

    .admin-insights {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        padding: 16px;
    }

    .admin-stat-card__icon {
        width: 46px;
        height: 46px;
    }

    .admin-stat-value {
        font-size: 26px;
    }

    .admin-topbar__eyebrow {
        font-size: 10px;
    }

    .admin-topbar__title {
        font-size: 17px;
    }

    .admin-topbar__actions {
        display: flex;
    }

    .admin-topbar__link {
        padding: 8px 10px;
        font-size: 11px;
    }

    .admin-menu-toggle {
        width: 42px;
        height: 42px;
    }

    .admin-quick-actions {
        grid-template-columns: 1fr;
    }

    .admin-panel--welcome {
        padding: 18px 16px;
    }

    .admin-table-scroll > .table {
        min-width: 560px;
    }

    .booking-table {
        min-width: 880px;
    }

    .admin-subtitle {
        padding-left: 0;
        margin-top: 8px;
    }

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

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

    .process-number {
        top: -12px;
        left: 16px;
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .process-icon {
        font-size: 40px;
    }
}

/* ============================
   CONTACT PAGE
   ============================ */
/* Mobile: flex column avoids squeezed two-column grid; desktop uses grid + minmax(0,…) */
.contact-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 26px 0;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 769px) {
    .contact-layout {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
        align-items: start;
    }
}

.contact-form-card,
.contact-office-card {
    padding: 26px;
    border: 1px solid #dbe4f0;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.contact-form-card h3,
.contact-office-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    letter-spacing: -0.3px;
}

.contact-form-card {
    background: #ffffff;
    border-top: 4px solid #0f766e;
}

.contact-office-card {
    background: linear-gradient(165deg, #0f172a 0%, #134e4a 52%, #0f766e 100%);
    color: #e6fffb;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-office-card h3 {
    color: #ffffff;
}

.contact-form .form-grid {
    margin-top: 2px;
    gap: 14px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-hero {
    margin-bottom: 8px;
}

.contact-kicker {
    margin: 0 0 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #0f766e;
    font-weight: 700;
}

.contact-form label {
    margin-bottom: 4px;
    display: block;
    font-weight: 700;
    color: #334155;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    margin-top: 4px;
    margin-bottom: 14px;
    border-radius: 10px;
}

.contact-office-card p {
    margin: 8px 0;
}

.contact-points a {
    color: #ccfbf1;
    text-decoration: none;
    font-weight: 600;
}

.contact-points a:hover {
    text-decoration: underline;
}

.contact-tags {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-tag {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #ecfeff;
    font-size: 12px;
    font-weight: 700;
}

.contact-section-label {
    margin-top: 14px;
    margin-bottom: 4px;
    font-size: 11px;
    letter-spacing: 0.12em;
    font-weight: 800;
    text-transform: uppercase;
    color: #99f6e4;
}

.contact-submit-btn {
    background: linear-gradient(135deg, #0f766e, #115e59);
    border-radius: 10px;
    padding: 12px 22px;
}

.contact-submit-btn:hover {
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.34);
}

/* ============================
   PROFESSIONAL ONBOARDING
   ============================ */
/* Form is first in DOM for mobile; ≥769px grid places sidebar left, form right */
.onboarding-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (min-width: 769px) {
    .onboarding-layout {
        display: grid;
        grid-template-columns: minmax(0, 350px) minmax(0, 1fr);
        align-items: start;
    }

    .onboarding-sidebar {
        grid-column: 1;
        grid-row: 1;
    }

    .onboarding-form-container {
        grid-column: 2;
        grid-row: 1;
    }
}

.onboarding-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.benefit-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.benefit-item h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.benefit-item p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.requirement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirement-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 14px;
}

.requirement-list li:last-child {
    border-bottom: none;
}

.onboarding-form-container {
    padding: 40px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.form-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}

.professional-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    background: #f9fafb;
    border-radius: 8px;
}

.form-section h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #111827;
}

.upload-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 769px) {
    .upload-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.upload-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: auto;
}

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    flex-wrap: wrap;
}

.inline-form {
    display: inline-block;
}

/* Contact & apply-professional: spacing, stacking order, and touch-friendly controls on small screens */
@media (max-width: 768px) {
    .contact-layout {
        gap: 18px;
        margin: 16px 0;
    }

    .contact-form-card,
    .contact-office-card {
        padding: 18px 16px;
        min-width: 0;
    }

    .contact-form-card h3,
    .contact-office-card h3 {
        font-size: 1.25rem;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .contact-office-card p,
    .contact-points a {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .contact-tags {
        justify-content: flex-start;
    }

    .onboarding-layout {
        gap: 20px;
        margin-top: 16px;
    }

    .onboarding-form-container {
        padding: 20px 16px;
    }

    .onboarding-form-container h2 {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .form-subtitle {
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .professional-form .form-grid,
    .contact-form .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .upload-field input[type="file"] {
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-section {
        padding: 16px 14px;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn,
    .form-actions .btn.secondary {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero {
        margin: 18px 0 20px;
        padding: 0 4px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 6vw, 2rem);
        letter-spacing: -0.4px;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .contact-hero h1 {
        font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 92px;
    }

    main.container > .slider-full:first-child {
        margin-top: -14px;
    }

    .slider {
        height: 285px;
        min-height: 285px;
    }

    .slide {
        height: 285px;
        min-height: 285px;
        padding: 16px 0 102px;
    }

    .slider-overlay {
        width: calc(100% - 12px);
        bottom: 6px;
    }

    .search-field {
        padding: 10px 12px;
    }

    .location-input,
    .service-input {
        font-size: 14px;
    }

    .contact-form-card,
    .contact-office-card {
        padding: 14px 12px;
    }

    .onboarding-form-container {
        padding: 16px 12px;
    }

    .benefit-icon {
        font-size: 26px;
    }

    .checkbox-label {
        font-size: 13px;
    }
}

.alert {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-error {
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #060;
    border: 1px solid #cfc;
}

.detail-row {
    background: #f9fafb;
}

.professional-details {
    padding: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.detail-grid h4 {
    margin: 0 0 12px 0;
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-grid p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.detail-grid a {
    color: var(--primary);
    text-decoration: none;
}

.detail-grid a:hover {
    text-decoration: underline;
}

.admin-btn-view,
.admin-btn-approve {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.admin-btn-view:hover {
    background: #2563eb;
}

.admin-btn-approve {
    background: #10b981;
}

.admin-btn-approve:hover {
    background: #059669;
}

/* Admin Dashboard Slider */
.admin-slider {
    position: relative;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.admin-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.admin-slide.active {
    opacity: 1;
}

.admin-slide-content {
    text-align: center;
    padding: 40px;
    max-width: 700px;
}

.admin-slide-content .slide-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 16px;
}

.admin-slide-content h3 {
    margin: 0 0 12px 0;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.admin-slide-content p {
    margin: 0;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.6;
}

.admin-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-slide-nav:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-50%) scale(1.1);
}

.admin-slide-nav.prev {
    left: 20px;
}

.admin-slide-nav.next {
    right: 20px;
}

.admin-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slide-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-indicator.active {
    background: white;
    width: 28px;
    border-radius: 5px;
}

.slide-indicator:hover {
    background: rgba(255,255,255,0.7);
}


