*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* colours, fonts general beauty*/

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

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

.app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}


/* ============================ */
/* ============================ */
/* ============MAIN============ */
/* ============================ */
/* ============================ */


/* desktop */

.nav {
    z-index: 100;
    height: 56px;
    background-color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.main {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: stretch;
    flex: 1 0 auto;
    min-height: calc(100vh - 56px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.contents {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
    min-height: 100%;
}

/* nav */

.nav .brand-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    margin: 0;
    min-width: 0;
    flex: 1 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    padding-right: 12px;
}

.nav .brand-logo-img {
    display: inline-block;
    height: 32px;
    width: auto;
    max-width: min(160px, 42vw);
    object-fit: contain;
    vertical-align: middle;
}

.nav .brand-logo span {
    color: var(--primary);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.nav-link {
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.nav-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
}

/* change password */

.change-password {
    position: fixed;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: min(500px, 90%);
    padding: 2rem;

    background: var(--white);
    border: 1px solid var(--bg-accent);
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);

    z-index: 9999;

    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.change-password-overlay {
    display: none;
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);

    z-index: 9998;
}

.change-password-overlay.open {
    display: block;
}

.change-password-top {
    display: flex;
    justify-content: space-between;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

.alert-error {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    display: block;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #6EE7B7;
    display: block;
}

.alert ul {
    margin: 0;
    padding-left: 16px;
}

.alert li {
    margin-bottom: 4px;
}

/* side bar */

.sidebar {
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 1.5rem 0;
    height: 100%;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-label {
    padding-top: 6px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0 1.25rem;
    margin-bottom: 6px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 1.25rem;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s;
    border-left: 3px solid transparent;
    text-decoration: none;
}

.sidebar-item {
    color: var(--text-secondary);
}

.sidebar-item a {
    color: inherit;
    text-decoration: none;
}
.sidebar-item.active {
    background: var(--bg-accent);
    color: var(--primary-dark);
    border-left-color: var(--accent2);
    font-weight: 500;
}

.sidebar-item:hover { 
    background: var(--bg); 
    color: var(--text-primary); 
}

.page {
    display: none;
    margin: 3rem;
}

.page.active {
    display: block;
}

.mobile-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--bg-accent);
    display: none;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: 6px;
}


@media (max-width: 850px){
    .sidebar {
        position: fixed;
        top: 56px;
        left: 0;
        bottom: 0;
        width: 260px;
        background: var(--white);
        z-index: 200;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-right: 1px solid var(--border);
        top: 0;
        right: 0;
        bottom: 0;
    }

    .sidebar.open {
        transform: translateX(0);
    }

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

    .page {
        margin: 1rem;
    }

    .mobile-head {
        display: flex;
    }
}

/* Drawer */

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 100vw);
    max-width: 100%;
    background: var(--white);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.drawer-head {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    margin-bottom: 6px;
}

.drawer-body {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--bg-accent);
    flex-shrink: 0;
}

.drawer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.header-button {
    display: none;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--bg-accent);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 16px;
    transition: all 0.15s;
}

@media (max-width: 850px) {
    .header-button {
        display: flex;
    }
}

.drawer-close {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--bg-accent);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
    transition: all 0.15s;
}

.drawer-close:hover {
    background-color: red;
    color: var(--white);
    border-color: red;
}


.drawer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.drawer-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.drawer-email {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.drawer-section-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--border);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    margin-top: 1.5rem;
}

.drawer-field {
    margin-bottom: 12px;
}

.form-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    margin-top: 5px;
}

.form-input, .form-select {
    border: 1px solid var(--bg-accent);
    border-radius: 7px;
    padding: 8px 11px;
    font-size: 13px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    background: var( --bg-card);
    outline: none;
    transition: border-color 0.15s;
}

.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-accent);
}

.toggle {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--bg-accent);
    cursor: pointer;
    position: relative;
    transition: 0.2s;
    flex-shrink: 0;
}

.toggle::after {
    content: '';
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--white);
    position: absolute;
    top: 3px;
    left: 3px;
    transition: left 0.2s;
}

.toggle.on::after {
    left: 19px;
}

.toggle.on {
    background: var(--accent2);
}

.toggle-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.toggle-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================ */
/* ============================ */
/* ==========DASHBOARD========== */
/* ============================ */
/* ============================ */

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.page-sub {
    font-size: 13px;
    color: var(--text-secondary);
    padding-bottom: 25px;
}


.dashboard-content {
    display: none;
}

.dashboard-content.active {
    display: block;
}

.welcome-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A3A 100%);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem
}
.welcome-hero-left {
    flex-shrink: 0;
}

.welcome-hero-right {
    flex-shrink: 0;
}

.welcome-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--accent2);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.welcome-sub-header {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 8px;
}

.welcome-description {
    font-size: 13px;
    color: var(--text-secondary);
    max-width: 360px;
    line-height: 1.5;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}

.cards-container {
    background: var(--white);
    border: 1px solid var(--bg-accent);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-align: center;
}

.main-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.sub-text {
    font-size: 11px;
    color: var(--text-secondary);
}

.service-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 1.25rem;
}

.service-tile {
    background: var(--white);
    border: 1px solid var(--bg-accent);
    border-radius: 10px;
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s;
}

.service-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent2);
    font-size: 17px;
    flex-shrink: 0;
}

.service-tile-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.service-tile-desc {
    font-size: 11px;
    color: var(--text-secondary);
}

.service-tile:hover {
    border-color: var(--accent2);
    background: var(--bg-accent);
}

.next-job-card {
    background: var(--text-primary);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.next-job-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.next-job-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.next-job-date {
    background: var(--accent2);
    border-radius: 8px;
    padding: 10px 14px;
    text-align: center;
    flex-shrink: 0;
}

.next-job-date-day {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.next-job-date-mon {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.next-job-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.next-job-service {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 5px;
}

.next-job-meta {
    font-size: 13px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 14px;
}

.rebook-card {
    background: var(--bg-accent);
    border: 1px solid var(--primary-light);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.rebook-card.active {
    display: flex;
}

.rebook-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.rebook-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    flex-shrink: 0;
}

.rebook-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.rebook-sub {
    font-size: 12px;
    color: var(--text-secondary);
}

/* mobile */

@media (max-width: 850px) {

    .page-title {
        font-size: 20px;
    }

    .welcome-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .welcome-hero-right,
    .welcome-hero-left {
        width: 100%;
    }

    .welcome-description {
        max-width: 100%;
    }

    .welcome-hero-left .btn {
        width: 100%;
        justify-content: center;
    }

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

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-tile {
        padding: 1rem;
    }

    .next-job-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .next-job-left {
        width: 100%;
    }

    .next-job-actions {
        width: 100%;
        flex-direction: column;
    }

    .next-job-actions .btn {
        width: 100%;
    }

    .rebook-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .rebook-card .btn {
        width: 100%;
    }
}

.card {
    background: var(--white);
    border: 1px solid var(--bg-accent);
    border-radius: 10px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    max-width: 100%;
    min-width: 0;
}

.card-table {
    overflow: hidden;
}

.card-table .card-body {
    overflow: hidden;
    min-width: 0;
    max-width: 100%;
}

.card-head {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--bg-accent);
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 1rem;
}

.custom-calendar-component {
    padding: 20px;
}

thead {
    display: table-header-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

tr {
    display: table-row;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

.jobs-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0 12px 10px;
    vertical-align: middle;
}


.jobs-table td {
    padding: 10px 12px;
    border-top: 1px solid var(--bg-accent);
    color: var(--text-secondary);
}

.status-badge {
    display: flex;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    width: 75px;
    align-items: center;
    justify-content: center;
}

/* ============================ */
/* ============Jobs============ */
/* ============================ */

.schedule-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.25rem;
}

.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.jobs-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.job-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.job-date-block {
    text-align: center;
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 52px;
    transition: all 0.2s ease;
}

.job-date-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.1;
    color: #1e293b;
}

.job-date-mon {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.job-info-title {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.job-info-meta {
    font-size: 0.85rem;
    color: #64748b;
}

.job-card-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.no-jobs-msg {
    padding: 20px;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

.job-date-block.is-completed {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
}

.job-date-block.is-completed .job-date-day {
    color: #334155;
    font-weight: 700;
    font-size: 1.25rem;
}

.job-date-block.is-completed .job-date-mon {
    color: #64748b;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.job-date-block.is-future {
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
}

.job-date-block.is-future .job-date-day {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
}

.job-date-block.is-future .job-date-mon {
    color: #e2e8f0;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.job-date-block.is-pending {
    background-color: var(--primary);
    border: 1px solid var(--primary-dark);
    opacity: 0.85;
}

.job-date-block.is-pending .job-date-day {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
}

.job-date-block.is-pending .job-date-mon {
    color: #e2e8f0;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* ============================ */
/* ============================ */
/* ==========INVOICES========== */
/* ============================ */
/* ============================ */


.invoice-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.25rem;
}

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.25rem;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-sub {
    font-size: 11px;
    color: var(--primary);
    margin-top: 3px;
    font-weight: 500;
}



.status-badge.status-rejected {
    background: #FEE2E2;
    color: #991B1B;
}
 
.job-date-block.is-rejected {
    background: #FEF2F2;
    color: #991B1B;
    opacity: 0.85;
}
 
.job-reject-reason {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.4;
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 6px;
    padding: 6px 9px;
    max-width: 420px;
}
 
.job-reject-reason i {
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Table scroll shell - use around wide tables so .card overflow:hidden does not clip */
.table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.jobs-table th,
.jobs-table td {
    white-space: nowrap;
}

/* ============================ */
/* MOBILE - must stay LAST so it wins over desktop rules above */
/* ============================ */

@media (max-width: 850px) {
    .nav {
        padding: 0 0.75rem;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .nav .brand-logo {
        font-size: 15px;
        padding-right: 8px;
    }

    .nav .brand-logo-img {
        height: 26px;
        max-width: min(120px, 38vw);
    }

    .nav-right {
        gap: 8px;
    }

    .nav-avatar {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }

    .main,
    .contents,
    .page,
    .card,
    .card-body,
    .configurator-wrapper,
    .form-flow,
    .book-a-job-page {
        min-width: 0;
        max-width: 100%;
    }

    .page {
        margin: 1rem 0.75rem;
        overflow-x: hidden;
    }

    .schedule-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .schedule-layout .left-side,
    .schedule-layout .right-side {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        max-width: 100%;
    }

    .job-card-left,
    .job-card-right {
        width: 100%;
        min-width: 0;
    }

    .job-card-right {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .job-card-right .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

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

    .table-scroll {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .jobs-table {
        width: max-content;
        min-width: 560px;
        max-width: none;
    }

    .job-reject-reason {
        max-width: 100%;
    }

    .welcome-hero,
    .next-job-card,
    .rebook-card,
    .cards,
    .invoice-stats,
    .stat-card {
        max-width: 100%;
        min-width: 0;
    }
}

@media (max-width: 380px) {
    .nav .brand-logo {
        font-size: 13px;
    }

    .nav-right {
        gap: 6px;
    }
}

 