:root {
    --bg-color: #f4f7fc;
    --app-bg: #ffffff;
    --card-bg: #ffffff;
    --card-border: 1px solid #e2e8f0;
    --card-hover: #f8fafc;
    --primary: #1967d2;
    --primary-light: #3b82f6;
    --primary-dim: #1455b6;
    --primary-glow: rgba(25, 103, 210, 0.25);
    /* Aliasing legacy gold variables to royal blue to maintain compatibility across all components */
    --gold: #1967d2;
    --gold-light: #3b82f6;
    --gold-dim: #1455b6;
    --gold-glow: rgba(25, 103, 210, 0.25);
    --text-main: #17171d;
    --text-muted: #64748b;
    --danger: #ef4444;
    --success: #00a859;
    --warning: #f59e0b;
    --font-main: 'Cairo', sans-serif;
    --app-max-width: 480px;
    --bottom-nav-height: 65px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

html {
    background-color: var(--bg-color);
    color-scheme: light;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Mobile Frame Wrapper on Desktop */
@media (min-width: 601px) {
    body {
        background: linear-gradient(180deg, #e9effa 0%, #f4f7fc 100%);
    }
    
    .container, 
    #app-content, 
    .login-screen {
        max-width: var(--app-max-width) !important;
        width: 100%;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.2px;
}

p {
    line-height: 1.55;
    color: var(--text-muted);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dim);
}

/* Utilities */
.container {
    padding: 18px 20px 100px 20px;
    max-width: var(--app-max-width);
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .container {
        padding: 16px 18px 95px 18px;
    }
}

.card {
    background: var(--card-bg);
    border: var(--card-border);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(25, 103, 210, 0.06), 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.card:hover {
    border-color: rgba(25, 103, 210, 0.3);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
    text-align: center;
    user-select: none;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(25, 103, 210, 0.3);
}

.btn:active {
    transform: scale(0.97);
    filter: brightness(0.95);
}

.btn:hover {
    box-shadow: 0 6px 20px rgba(25, 103, 210, 0.45);
}

.btn-outline {
    background: rgba(25, 103, 210, 0.05);
    border: 1.5px solid rgba(25, 103, 210, 0.4);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-family: var(--font-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:active {
    transform: scale(0.97);
}

.btn-outline.active {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    box-shadow: 0 4px 12px rgba(25, 103, 210, 0.3);
}

.input-group {
    margin-bottom: 16px;
    position: relative;
}

.input-field {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1.5px solid #d1d9e6;
    border-radius: 13px;
    color: #17171d;
    font-size: 16px; /* Prevents auto-zoom on iOS */
    font-family: var(--font-main);
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

select.input-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231967d2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
    background-size: 18px;
    padding-left: 42px !important;
    cursor: pointer;
}

select.input-field option {
    background-color: #ffffff;
    color: #17171d;
    padding: 10px;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(25, 103, 210, 0.16);
}

/* Specific Views */
.login-screen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px 18px;
    width: 100%;
}

.logo-area {
    text-align: center;
    margin-bottom: 25px;
}

.logo-img {
    width: 308px;
    max-width: 80%;
    height: auto;
    object-fit: contain;
    /* margin-bottom: 14px; */
    filter: drop-shadow(0 4px 16px rgba(25, 103, 210, 0.25));
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

.app-title {
    font-size: 1.7rem;
    background: linear-gradient(135deg, #1967d2, #17171d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Mobile Dock / Bottom Navigation (ALWAYS 100% FULL WIDTH) */
.nav-bottom {
    position: fixed;
    bottom: 0;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1.5px solid #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)) 12px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.nav-item {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    flex: 1;
    max-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 4px;
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.nav-item:active {
    transform: scale(0.92);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active .nav-icon {
    color: var(--primary);
    transform: translateY(-2px);
    filter: drop-shadow(0 2px 8px rgba(25, 103, 210, 0.4));
}

.nav-icon {
    font-size: 1.35rem;
    display: block;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Status Badges */
.badge {
    padding: 4px 9px;
    border-radius: 8px;
    font-size: 0.73rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bg-gold {
    background: rgba(25, 103, 210, 0.1);
    color: var(--primary);
    border: 1px solid rgba(25, 103, 210, 0.25);
}

.bg-green {
    background: rgba(0, 168, 89, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 168, 89, 0.25);
}

.bg-orange {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.bg-pending {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.bg-red,
.bg-danger-light {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 34px;
    border: 1px solid #94a3b8;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .3s;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked+.slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(24px);
    background-color: #ffffff;
}

/* Accordion */
.accordion {
    cursor: pointer;
    padding: 14px;
    width: 100%;
    border: 1px solid #e2e8f0;
    text-align: right;
    outline: none;
    font-size: 0.95rem;
    font-family: var(--font-main);
    transition: 0.3s;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 6px;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion.active,
.accordion:hover {
    background-color: #f8fafc;
    border-color: rgba(25, 103, 210, 0.3);
}

.panel {
    padding: 0 14px;
    background-color: #f8fafc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    border-radius: 0 0 12px 12px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    border-top: none;
}

.filter-bar {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 4px 2px 12px 2px;
    margin-bottom: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    white-space: nowrap;
    padding: 8px 16px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #ffffff;
    border-color: var(--primary);
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(25, 103, 210, 0.3);
    transform: translateY(-1px);
}

/* Timeline Styling */
.timeline {
    position: relative;
    padding-right: 25px;
    margin-top: 18px;
}

.timeline::before {
    content: '';
    position: absolute;
    right: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    opacity: 0.4;
}

.timeline-item {
    position: relative;
    padding-bottom: 25px;
}

.timeline-dot {
    position: absolute;
    right: -25px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(25, 103, 210, 0.5);
    border: 3px solid #ffffff;
}

.timeline-content {
    background: #ffffff;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s;
}

.timeline-item:active .timeline-content {
    background: #f8fafc;
}

.order-item {
    transition: transform 0.15s ease, background 0.15s ease;
    border-right: 4px solid var(--primary);
    border-left: 1px solid #e2e8f0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.order-item:active {
    transform: scale(0.98);
}

/* Native Bottom Sheets / Modals */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(15, 23, 42, 0.6); 
    backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(6px); 
    z-index: 20000; 
    display: flex; 
    align-items: flex-end; 
    justify-content: center; 
    padding: 0; 
}

.modal-card { 
    background: #ffffff; 
    border: 1.5px solid #e2e8f0; 
    border-bottom: none; 
    border-radius: 24px 24px 0 0; 
    padding: 20px 18px calc(24px + env(safe-area-inset-bottom)) 18px; 
    width: 100%; 
    max-width: var(--app-max-width); 
    max-height: 88vh; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
    animation: sheetSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; 
    box-shadow: 0 -10px 40px rgba(15, 23, 42, 0.18); 
    position: relative; 
    color: var(--text-main);
}

.modal-card::before { 
    content: ''; 
    display: block; 
    width: 42px; 
    height: 4.5px; 
    background: #cbd5e1; 
    border-radius: 4px; 
    margin: 0 auto 16px auto; 
}

@keyframes sheetSlideUp { 
    from { opacity: 0; transform: translateY(100%); } 
    to { opacity: 1; transform: translateY(0); } 
}

@keyframes modalPop { 
    from { opacity: 0; transform: scale(0.9) translateY(20px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}

@media (min-width: 601px) {
    .modal-overlay {
        align-items: center;
        padding: 20px;
    }
    .modal-card {
        border-radius: 20px;
        border-bottom: 1.5px solid #e2e8f0; 
        animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        padding: 24px;
    }
    .modal-card::before {
        display: none;
    }
}

/* =========================================================================
   App Header & Responsive Co-Branding (ALWAYS 100% FULL WIDTH)
   ========================================================================= */
header,
.app-header,
.header {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.header-identity-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-logo-container {
    position: relative;
    flex-shrink: 0;
}

.brand-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
    background: #f8fafc;
    padding: 2px;
    box-shadow: 0 2px 8px rgba(25, 103, 210, 0.18);
    transition: transform 0.2s ease;
}

.brand-logo-fallback {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(25, 103, 210, 0.2);
}

.brand-text-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.brand-title {
    margin: 0;
    font-size: 0.95rem;
    color: #17171d;
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
}

@media (max-width: 480px) {
    .brand-title {
        max-width: 155px;
        font-size: 0.88rem;
    }
}

.brand-badge {
    font-size: 0.65rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    margin-top: 2px;
}

.brand-badge i {
    color: var(--primary);
    font-size: 0.62rem;
}

.user-info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.user-avatar-circle {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(25, 103, 210, 0.1);
    border: 1.5px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-display-name {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: #17171d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.user-display-role {
    margin: 0;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.header-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.header-action-btn:hover {
    background: rgba(25, 103, 210, 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.notif-action-btn {
    position: relative;
}

.header-notif-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* Dedicated Greeting Strip for Exclusive Client */
.client-greeting-strip {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 0 auto;
}

.greeting-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.greeting-avatar-icon {
    color: var(--primary);
    font-size: 1.15rem;
}

.greeting-text-wrap {
    display: flex;
    flex-direction: column;
}

.greeting-title {
    font-size: 0.85rem;
    color: #17171d;
    font-weight: 700;
}

.greeting-title strong {
    color: var(--primary);
}

.greeting-subtitle {
    font-size: 0.68rem;
    color: #64748b;
    font-weight: 500;
}

.greeting-tag {
    background: rgba(25, 103, 210, 0.1);
    border: 1px solid rgba(25, 103, 210, 0.25);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

/* =========================================================================
   Client Dashboard Premium Styles (Light, Modern, Ultra-Crisp)
   ========================================================================= */

.client-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.client-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.client-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.client-stat-materials,
.client-stat-labor,
.client-stat-equipment {
    border-top: 3.5px solid var(--primary);
    background: linear-gradient(180deg, rgba(25, 103, 210, 0.03) 0%, #ffffff 100%);
}

.client-stat-val {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 3px;
    color: var(--primary);
}

.client-stat-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3 Core Services Cards - Unified Color Matching the First Card */
.client-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.client-service-card,
.service-materials,
.service-labor,
.service-equipment {
    background: linear-gradient(135deg, rgba(25, 103, 210, 0.04) 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid rgba(25, 103, 210, 0.25);
    box-shadow: 0 4px 20px rgba(25, 103, 210, 0.08);
    position: relative;
    overflow: hidden;
}

.client-service-card:hover,
.service-materials:hover,
.service-labor:hover,
.service-equipment:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(25, 103, 210, 0.16);
}

.client-service-card:active {
    transform: scale(0.985);
}

.client-service-card .service-badge,
.service-materials .service-badge,
.service-labor .service-badge,
.service-equipment .service-badge {
    color: var(--primary);
    background: rgba(25, 103, 210, 0.1);
}

.client-service-card .service-icon-box,
.service-materials .service-icon-box,
.service-labor .service-icon-box,
.service-equipment .service-icon-box {
    background: linear-gradient(135deg, rgba(25, 103, 210, 0.15), rgba(25, 103, 210, 0.05));
    border: 1.5px solid rgba(25, 103, 210, 0.3);
    color: var(--primary);
}

.client-service-card .service-btn,
.service-materials .service-btn,
.service-labor .service-btn,
.service-equipment .service-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dim));
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(25, 103, 210, 0.3);
}

.service-badge {
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
}

.service-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #17171d;
    line-height: 1.3;
}

.service-desc {
    margin: 4px 0 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    transition: all 0.2s ease;
}

.service-icon-box {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    flex-shrink: 0;
}

/* Client Order Items in Dashboard */
.client-order-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 15px 16px;
    margin-bottom: 11px;
    border-radius: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.client-order-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background: #f8fafc;
}

.client-order-item.border-primary { border-right: 4.5px solid var(--primary); }
.client-order-item.border-success { border-right: 4.5px solid #00a859; }
.client-order-item.border-warning { border-right: 4.5px solid #ea580c; }
.client-order-item.border-slate { border-right: 4.5px solid #94a3b8; }

