/* Fresh Water Plumbing - Main Stylesheet
   Mobile-first, accessible, performance-optimized */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Modern Color Palette */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #10b981;
    --danger: #ef4444;
    --danger-dark: #dc2626;
    --warning: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --text: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    
    /* Spacing */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 90%; /* Scale everything down by 10% */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

/* Ensure minimum width for very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 0.5rem;
        min-width: 280px;
    }
    
    body {
        min-width: 280px;
        overflow-x: auto;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--light);
    border-color: var(--border);
    color: var(--text);
}

.btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    gap: 0.375rem;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: var(--danger-dark);
    color: #fff;
}

.btn .material-symbols-outlined {
    font-size: 1.125rem;
    line-height: 1;
    color: inherit;
    display: inline-block;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-large .material-symbols-outlined {
    font-size: 1.25rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-sm .material-symbols-outlined {
    font-size: 1em;
    margin-right: 0.2rem;
    color: inherit;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0066cc 0%, #004499 50%, #003366 100%);
    color: #fff;
    padding: 5rem 0 6rem;
    text-align: center;
    min-height: 700px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    z-index: 0;
}

.hero-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: heroPattern 20s ease-in-out infinite;
}

@keyframes heroPattern {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeUp 0.6s ease 0.1s both;
}

.hero-badge .material-symbols-outlined {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
    animation: fadeUp 0.6s ease 0.2s both;
}

.hero-title-main {
    display: block;
    margin-bottom: 0.25rem;
}

.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, #fff 0%, #e0f2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: fadeUp 0.6s ease 0.3s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    animation: fadeUp 0.6s ease 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease 0.5s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

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

.hero-feature .material-symbols-outlined {
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    animation: fadeUp 0.6s ease 0.6s both;
}

.btn-hero-primary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.5);
}

.btn-hero-outline {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    animation: fadeUp 0.6s ease 0.7s both;
}

.hero-guarantee .material-symbols-outlined {
    font-size: 1.1rem;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Trust Signals */
.trust-signals {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.trust-signals::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.trust-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.15);
    border-color: rgba(0, 102, 204, 0.2);
}

.trust-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    width: 72px; /* 80px * 0.9 */
    height: 72px; /* 80px * 0.9 */
}

.trust-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    opacity: 0.1;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon-bg {
    transform: scale(1.2);
}

.trust-icon {
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
    transition: transform 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
}

.trust-item h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 700;
}

.trust-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Services */
.services {
    padding: 6rem 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%); */
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 102, 204, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.02) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.12);
    border-color: rgba(0, 102, 204, 0.2);
}

.service-card-icon {
    width: 57.6px; /* 64px * 0.9 */
    height: 57.6px; /* 64px * 0.9 */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.service-card:hover .service-card-icon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

.service-card-icon .material-symbols-outlined {
    font-size: 2.25rem;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.3;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 0.95rem;
}

.service-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    font-size: 0.95rem;
}

.service-card-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.service-card-btn .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-btn .material-symbols-outlined {
    transform: translateX(4px);
}

/* Service Areas */
.service-areas {
    padding: 6rem 0;
    background: #f8f9fa;
    position: relative;
}

.service-areas .container {
    position: relative;
    z-index: 1;
}

.areas-map-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    margin: 4rem 0;
    overflow: hidden;
    background: #e8f4fd;
    border-radius: 0;
}

.areas-map-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, #d4e7f7 0%, #c5def4 25%, #b8d5f0 50%, #c5def4 75%, #d4e7f7 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 40px,
            rgba(0, 102, 204, 0.03) 40px,
            rgba(0, 102, 204, 0.03) 41px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 40px,
            rgba(0, 102, 204, 0.03) 40px,
            rgba(0, 102, 204, 0.03) 41px
        );
    background-size: 100% 100%, 40px 40px, 40px 40px;
}

.map-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, transparent 3%),
        radial-gradient(circle at 60% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 4%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.25) 0%, transparent 3.5%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 4%);
    opacity: 0.6;
}

.map-water {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to top, rgba(0, 102, 204, 0.15) 0%, rgba(0, 102, 204, 0.05) 100%);
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

.areas-map-pins {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.map-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 3;
    animation: pinPulse 2s ease-in-out infinite;
}

.map-pin:nth-child(odd) {
    animation-delay: 0.5s;
}

@keyframes pinPulse {
    0%, 100% {
        transform: translate(-50%, -100%) scale(1);
    }
    50% {
        transform: translate(-50%, -100%) scale(1.05);
    }
}

.pin-marker {
    width: 45px; /* 50px * 0.9 */
    height: 45px; /* 50px * 0.9 */
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4), 0 0 0 4px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
}

.map-pin:hover .pin-marker {
    transform: rotate(-45deg) scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.9);
}

.pin-marker .material-symbols-outlined {
    font-size: 1.5rem;
    color: #fff;
    transform: rotate(45deg);
    font-variation-settings: 'FILL' 1;
}

.pin-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    background: #fff;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.pin-label-arrow {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.map-pin:hover .pin-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-100%) translateY(-8px);
}

.pin-label-text {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.areas-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 50%, transparent 100%);
    padding: 3rem 0 2rem;
    z-index: 4;
}

.areas-list-panel {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(0, 102, 204, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.areas-list-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.areas-list-title .material-symbols-outlined {
    font-size: 2rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.areas-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.areas-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 8px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.areas-list li:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: translateX(4px);
}

.areas-list li .material-symbols-outlined {
    font-size: 1.1rem;
    color: #4ade80;
    font-variation-settings: 'FILL' 1;
}

.areas-list-cta {
    text-align: center;
}

.areas-list-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.areas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.areas-badge .material-symbols-outlined {
    font-size: 1.2rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.area-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 102, 204, 0.1);
    border: 2px solid rgba(0, 102, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.2);
    border-color: rgba(0, 102, 204, 0.3);
}

.area-card-icon {
    width: 63px; /* 70px * 0.9 */
    height: 63px; /* 70px * 0.9 */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.area-card:hover .area-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.area-card-icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.area-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.area-card-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.area-card-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.area-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.area-feature .material-symbols-outlined {
    font-size: 1.1rem;
    color: #4ade80;
    font-variation-settings: 'FILL' 1;
}

.area-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.area-card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.area-card-cta .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.area-card-cta:hover .material-symbols-outlined {
    transform: scale(1.1);
}

.areas-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
    box-shadow: 0 16px 48px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.areas-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: areasCTAPulse 4s ease-in-out infinite;
}

@keyframes areasCTAPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.areas-cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.areas-cta-icon {
    width: 72px; /* 80px * 0.9 */
    height: 72px; /* 80px * 0.9 */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.areas-cta-icon .material-symbols-outlined {
    font-size: 2.5rem;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.areas-cta-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #fff;
}

.areas-cta-content p {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.7;
}

.areas-cta-content .btn {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.areas-cta-content .btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.map-placeholder p {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.map-placeholder small {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Reviews */
.reviews {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f4f8 100%);
    position: relative;
    overflow: hidden;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    /* background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%); */
}

.reviews::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.reviews .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.reviews .section-title {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-top: 0.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.reviews-summary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #856404;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.reviews-summary .material-symbols-outlined {
    font-size: 1.25rem;
    color: #ffc107;
    font-variation-settings: 'FILL' 1;
}

.reviews-summary strong {
    font-weight: 700;
    color: #856404;
}

.reviews-summary span:not(.material-symbols-outlined) {
    color: #856404;
    opacity: 0.7;
}

.reviews-slider {
    position: relative;
    overflow: visible;
    padding: 2rem 0 5rem;
    margin: 0 -2rem;
    z-index: 1;
}

.reviews-slider-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 0 4rem;
}

.review-card {
    background: #fff;
    border: 2px solid rgba(0, 102, 204, 0.08);
    border-radius: 20px;
    padding: 2.75rem;
    min-width: calc(33.333% - 1.33rem);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 102, 204, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 204, 0.25);
}

.review-card:hover::before {
    opacity: 1;
}

.review-card:hover::after {
    opacity: 1;
}

.review-rating {
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.3rem;
    align-items: center;
}

.review-rating .star {
    color: #e0e0e0;
    font-size: 1.6rem;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.review-rating .star.star-filled {
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    transform: scale(1.1);
}

.review-rating-display {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-rating-display .star {
    color: #ddd;
    font-size: 1.2rem;
}

.review-rating-display .star.star-filled {
    color: #ffc107;
}

.review-rating-display .rating-number {
    margin-left: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1.75rem;
    color: var(--text);
    line-height: 1.75;
    font-size: 1.05rem;
    position: relative;
    padding-left: 1.5rem;
}

.review-text::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    color: rgba(0, 102, 204, 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-text-preview {
    max-width: 300px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.review-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 2px solid rgba(0, 102, 204, 0.08);
    margin-top: auto;
}

.review-author strong {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.review-date {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Reviews Slider Navigation */
.reviews-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.reviews-slider-nav:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.35), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.15);
}

.reviews-slider-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.reviews-slider-nav:hover .material-symbols-outlined {
    color: #fff;
    transform: scale(1.1);
}

.reviews-slider-nav.prev {
    left: 0.5rem;
}

.reviews-slider-nav.next {
    right: 0.5rem;
}

.reviews-slider-nav .material-symbols-outlined {
    font-size: 1.875rem;
    color: var(--primary);
    transition: all 0.3s ease;
    font-variation-settings: 'FILL' 1;
}

.reviews-slider-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 1.5rem 0;
    z-index: 5;
}

.reviews-slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 102, 204, 0.2);
    background: rgba(0, 102, 204, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    position: relative;
}

.reviews-slider-dots button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reviews-slider-dots button:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 204, 0.4);
    transform: scale(1.3);
}

.reviews-slider-dots button.active {
    border-color: var(--primary);
    background: transparent;
    width: 32px;
    border-radius: 16px;
}

.reviews-slider-dots button.active::before {
    transform: translate(-50%, -50%) scale(1);
    border-radius: 16px;
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background: var(--light);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--light);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-badge .material-symbols-outlined {
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.cta-content h2 {
    color: #fff;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    line-height: 1.7;
}

.cta-urgency {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 193, 7, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 193, 7, 0.4);
    border-radius: 50px;
    padding: 0.875rem 1.75rem;
    margin-bottom: 2rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    animation: pulse-urgency 2s ease-in-out infinite;
}

.cta-urgency .material-symbols-outlined {
    font-size: 1.25rem;
    color: #ffc107;
    animation: rotate-clockwise 3s linear infinite;
}

@keyframes pulse-urgency {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 193, 7, 0);
    }
}

@keyframes rotate-clockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.cta-feature .material-symbols-outlined {
    font-size: 1.2rem;
    color: #4ade80;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-cta-primary {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.btn-cta-outline {
    padding: 1.25rem 3rem;
    font-size: 1.15rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 1rem;
}

.cta-note .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Footer */
/* Breadcrumbs for SEO */
.breadcrumbs {
    background: #f8f9fa;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.breadcrumbs ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-light);
}

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

.breadcrumbs a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.footer {
    background: #242424;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000000cc;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

/* Ensure mobile CTA bar is hidden on desktop */
@media (min-width: 769px) {
    .mobile-cta-bar {
        display: none !important;
    }
}

.mobile-cta-bar .btn {
    flex: 1;
    text-align: center;
}

/* Forms */
.booking-form-section,
.thank-you-section,
.auth-section {
    padding: 3rem 0;
    min-height: 60vh;
}

.booking-form,
.auth-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Professional Auth Section */
.auth-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.auth-background-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: authPattern 20s ease-in-out infinite;
}

@keyframes authPattern {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.auth-section .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
}

.auth-form-container {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    padding: 3rem 2.5rem;
    animation: fadeUp 0.5s ease-out;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.auth-logo-img {
    max-height: 57.6px; /* 64px * 0.9 */
    max-width: 180px; /* 200px * 0.9 */
    object-fit: contain;
}

.auth-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 0.9375rem;
    color: #6c757d;
    margin: 0;
    font-weight: 500;
}

.auth-form {
    margin-top: 2rem;
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: flex;
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2px;
}

.auth-form .form-group-icon .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-form .input-icon {
    position: absolute;
    left: 1rem;
    color: #6c757d;
    font-size: 1.25rem;
    pointer-events: none;
    z-index: 1;
}

.auth-form .form-group-icon input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}

.auth-form .form-group-icon input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    outline: none;
}

.auth-form .form-group-icon input::placeholder {
    color: #adb5bd;
}

.auth-form .password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    z-index: 1;
}

.auth-form .password-toggle:hover {
    color: var(--primary);
}

.auth-form .password-toggle .material-symbols-outlined {
    font-size: 1.25rem;
}

.auth-form .form-group-remember {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-form .checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 0;
    user-select: none;
    margin: 0;
    font-weight: 400;
}

.auth-form .checkbox-label:hover {
    color: #374151;
}

.auth-form .checkbox-label .checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.auth-form .checkbox-label .checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.auth-form .checkbox-label:hover .checkbox-custom {
    border-color: #9ca3af;
    background: #f9fafb;
}

.auth-form .checkbox-label .checkbox-input:focus + .checkbox-custom {
    outline: 2px solid rgba(0, 102, 204, 0.2);
    outline-offset: 2px;
}

.auth-form .checkbox-label .checkbox-input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.auth-form .checkbox-label .checkbox-input:checked + .checkbox-custom::before {
    content: '';
    width: 5px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    position: absolute;
    margin-top: -1px;
}

.auth-form .checkbox-label .checkbox-text {
    line-height: 1.4;
    font-weight: 400;
    color: inherit;
}

.auth-form .auth-submit {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.auth-form .auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 102, 204, 0.4);
}

.auth-form .auth-submit:active {
    transform: translateY(0);
}

.auth-form .auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.auth-form .auth-submit .material-symbols-outlined {
    font-size: 1.25rem;
}

.auth-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.auth-link .material-symbols-outlined {
    font-size: 1rem;
}

.auth-form-container .alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease-out;
}

.auth-form-container .alert .material-symbols-outlined {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.auth-form-container .alert-error {
    background: #fff5f5;
    color: #c53030;
    border: 1px solid #feb2b2;
}

.auth-form-container .alert-error .material-symbols-outlined {
    color: #c53030;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Auth */
@media (max-width: 768px) {
    .auth-form-container {
        padding: 2rem 1.5rem;
        border-radius: 12px;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .auth-logo-img {
        max-height: 48px;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 1rem;
    }
    
    .auth-form-container {
        padding: 1.5rem 1.25rem;
    }
    
    .auth-title {
        font-size: 1.375rem;
    }
    
    .auth-subtitle {
        font-size: 0.875rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.error {
    color: var(--danger);
    font-size: 0.875rem;
    display: block;
    margin-top: 0.25rem;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Admin Styles - Modern Minimalistic Design */
.admin-layout {
    min-height: 100vh;
    background: #f8fafc;
}

.admin-header {
    background: #ffffff;
    color: var(--text);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.admin-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: -0.02em;
    color: var(--text);
}

.admin-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.admin-header h1 {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.admin-user {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: nowrap;
}

.admin-user span {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-light);
}

.admin-user .logout-button {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    background: var(--danger);
    border: none;
    color: #ffffff;
    transition: var(--transition);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.admin-user .logout-button:hover {
    background: var(--danger-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.admin-user .logout-button .material-symbols-outlined {
    font-size: 1.125rem;
    color: inherit;
}

.admin-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 65px;
    z-index: 99;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.admin-nav .container {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.admin-nav .container::-webkit-scrollbar {
    display: none;
}

.admin-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    margin-bottom: -1px;
}

.admin-nav a:hover {
    color: var(--primary);
    background: var(--light);
}

.admin-nav a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    font-weight: 600;
    background: transparent;
}

.admin-nav a .material-symbols-outlined {
    font-size: 1.125rem;
    opacity: 0.8;
}

.admin-nav a.active .material-symbols-outlined {
    opacity: 1;
}

.admin-content {
    padding: 2rem 0;
    background: #f8fafc;
    min-height: calc(100vh - 200px);
}

.admin-content .container {
    max-width: 1400px;
}

.admin-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.kpi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.kpi-card h3 {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kpi-value {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.admin-section {
    background: #ffffff;
    padding: 1.75rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.admin-section:hover {
    box-shadow: var(--shadow-md);
}

.admin-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

/* Admin Page Header */
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.admin-page-header h1,
.admin-page-header h2 {
    margin: 0;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px dashed var(--border);
    box-shadow: var(--shadow-sm);
}

.empty-state .material-symbols-outlined {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h2,
.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.empty-state p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.empty-state .btn {
    margin-top: 0.75rem;
}

.empty-state .btn.btn-primary {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    gap: 0.5rem;
}

.empty-state .btn.btn-primary .material-symbols-outlined {
    font-size: 1.125rem;
    color: inherit;
}

/* Admin Form Styles */
.admin-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.admin-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
    letter-spacing: -0.01em;
}

/* Contract file upload */
.contract-file-upload {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.contract-file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.contract-file-trigger {
    padding-inline: 1rem;
}

.contract-file-name {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contract-attachment {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.contract-attachment .material-symbols-outlined {
    font-size: 1rem;
    color: var(--primary);
}

.admin-form h2:not(:first-child) {
    margin-top: 2.5rem;
}

.admin-form .form-group {
    margin-bottom: 1.5rem;
}

.admin-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.875rem;
}

.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="tel"],
.admin-form input[type="password"],
.admin-form input[type="number"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    background: #ffffff;
    color: var(--text);
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-form input:hover,
.admin-form select:hover,
.admin-form textarea:hover {
    border-color: var(--border);
}

.admin-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.admin-form small code {
    background: var(--light);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-size: 0.8125rem;
    color: var(--text);
}

.admin-form input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.admin-form label input[type="checkbox"] {
    display: inline;
    margin-right: 0.5rem;
}

.admin-form .btn {
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-light);
    display: table; /* Default: show table on desktop */
}

/* Mobile Card View - Hidden by default */
.admin-table-mobile {
    display: none;
}

.admin-table th,
.admin-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.admin-table th {
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.admin-table th:first-child,
.admin-table td:first-child {
    padding-left: 1.5rem;
}

.admin-table th:last-child,
.admin-table td:last-child {
    padding-right: 1.5rem;
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: var(--light);
}

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

.admin-table td {
    font-size: 0.9375rem;
    color: var(--text);
    vertical-align: middle;
}

.admin-table td small {
    display: block;
    color: #6c757d;
    font-size: 0.8125rem;
    margin-top: 0.25rem;
}

.admin-table .btn-sm {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
    margin: 0.125rem;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.admin-table .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.admin-table td:last-child {
    white-space: nowrap;
}

.admin-table td:last-child .btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}

.status-new { 
    background: #dbeafe;
    color: #1e40af;
    border-color: #93c5fd;
}

.status-confirmed { 
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.status-completed { 
    background: #d1fae5;
    color: #064e3b;
    border-color: #34d399;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.status-contact { 
    background: #fef3c7;
    color: #92400e;
    border-color: #fcd34d;
}

.status-qualified { 
    background: #d1fae5;
    color: #065f46;
    border-color: #6ee7b7;
}

.status-closed_lost { 
    background: #fee2e2;
    color: #991b1b;
    border-color: #fca5a5;
}

.status-closed_won { 
    background: #d1fae5;
    color: #064e3b;
    border-color: #34d399;
}

.admin-filters {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding: 1.25rem;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.admin-filters input,
.admin-filters select {
    flex: 1;
    min-width: 150px;
    padding: 0.625rem 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.admin-filters input:focus,
.admin-filters select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
    outline: none;
}

.admin-count {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0;
}

.pagination {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.pagination .btn {
    min-width: 100px;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s;
}

.pagination span {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0 1rem;
}

.detail-layout {
    display: grid;
    gap: 1.5rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-section {
    background: #fff;
    padding: 1.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: box-shadow 0.2s;
}

.detail-section:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.detail-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.detail-section h2 .btn-sm {
    margin-left: auto;
    flex-shrink: 0;
}

.detail-section dl {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.25rem 1.5rem;
    margin: 0;
}

.detail-section dt {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 0.5rem;
}

.detail-section dd {
    margin: 0;
    color: #333;
    font-size: 0.9375rem;
    padding-top: 0.5rem;
    line-height: 1.6;
}

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

.detail-section dd a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.status-select {
    padding: 0.5rem 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9375rem;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 150px;
}

.status-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.note-item {
    background: linear-gradient(to right, #f8f9fa, #fff);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid var(--primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.note-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.note-item p {
    margin: 0 0 0.75rem 0;
    color: #333;
    line-height: 1.6;
}

.note-item small {
    display: block;
    color: #6c757d;
    font-size: 0.8125rem;
    font-style: italic;
}

.note-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f0f0;
}

.note-form textarea {
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.875rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.note-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

.service-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--light);
    border-radius: 4px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-container {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

.modal-container.modal-medium {
    max-width: 600px;
}

.modal-container.modal-large {
    max-width: min(95vw, 1600px);
    width: 95%;
}

/* Booking Modal Specific Styles */
.booking-modal-container {
    max-width: 700px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.booking-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2rem 2.5rem;
    border-bottom: none;
    position: relative;
    flex-shrink: 0;
}

.booking-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.booking-header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.booking-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.booking-header-icon .material-symbols-outlined {
    font-size: 2rem;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.booking-modal-header h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.booking-header-subtitle {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    color: #fff;
}

.booking-modal-header .modal-close {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
}

.booking-modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.booking-modal-header .modal-close .material-symbols-outlined {
    font-size: 1.5rem;
}

.booking-modal-body {
    padding: 2.5rem;
    background: #fff;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.booking-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    border-radius: 16px;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.booking-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.booking-feature .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.booking-form-group {
    margin-bottom: 1.75rem;
}

.booking-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.booking-label .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.booking-input,
.booking-select,
.booking-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text-dark);
}

.booking-input:focus,
.booking-select:focus,
.booking-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

.booking-input::placeholder,
.booking-textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.booking-select-wrapper {
    position: relative;
}

.booking-select {
    appearance: none;
    padding-right: 3rem;
    cursor: pointer;
}

.booking-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.booking-select-wrapper:focus-within .booking-select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: var(--primary);
}

.booking-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.6;
}

.booking-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 102, 204, 0.1);
}

.booking-btn-cancel,
.booking-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 140px;
    justify-content: center;
}

.booking-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.booking-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.booking-btn-cancel {
    background: #f8f9fa;
    color: var(--text);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.booking-btn-cancel:hover {
    background: #e9ecef;
    border-color: rgba(0, 0, 0, 0.15);
}

.booking-btn-cancel .material-symbols-outlined,
.booking-btn-submit .material-symbols-outlined {
    font-size: 1.2rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text);
}

.modal-body {
    padding: 1.5rem;
    padding-bottom: 2rem;
}

.modal-body p {
    margin-bottom: 0;
}

.modal-footer {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

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

/* Confirm Modal Specific Styles */
.confirm-modal-container {
    max-width: 500px;
}

.confirm-modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem 1rem;
    border-bottom: none;
    position: relative;
}

.confirm-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.confirm-icon {
    font-size: 2.5rem;
    color: #f57c00;
    font-weight: 600;
}

.confirm-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.confirm-modal-header .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #6c757d;
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.confirm-modal-header .modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.confirm-modal-body {
    text-align: center;
    padding: 1.5rem 2rem;
}

.confirm-modal-body p {
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
    margin: 0;
}

.confirm-modal-footer {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid #f0f0f0;
}

.confirm-modal-footer .btn {
    min-width: 140px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.confirm-modal-footer .btn .material-symbols-outlined {
    font-size: 1.25rem;
    color: inherit;
}

.confirm-modal-footer .btn-secondary {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.confirm-modal-footer .btn-secondary:hover {
    background: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.confirm-modal-footer .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.confirm-modal-footer .btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Gallery Management (Admin) */
/* Gallery Header */
.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.gallery-header-left h2 {
    margin: 0;
}

.gallery-count {
    padding: 0.25rem 0.75rem;
    background: #f0f0f0;
    border-radius: 12px;
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 500;
}

.gallery-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gallery-view-toggle {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 0.25rem;
    gap: 0.25rem;
}

.view-toggle-btn {
    padding: 0.5rem;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    color: var(--text);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-toggle-btn:hover {
    background: #e9ecef;
}

.view-toggle-btn.active {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: var(--primary);
}

.view-toggle-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Gallery Grid - Compact View */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1rem;
}

.gallery-view-list {
    grid-template-columns: 1fr;
}

.gallery-view-list .gallery-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.gallery-view-list .gallery-item-image-wrapper {
    width: 200px;
    min-width: 200px;
    flex-shrink: 0;
}

.gallery-view-list .gallery-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.gallery-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: rgba(0, 102, 204, 0.2);
}

.gallery-item-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #f5f5f5;
}

.gallery-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-thumbnail {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay-actions {
    display: flex;
    gap: 0.5rem;
}

.gallery-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.gallery-action-btn:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-action-btn.gallery-action-delete:hover {
    background: #dc3545;
    color: #fff;
}

.gallery-action-btn .material-symbols-outlined {
    font-size: 1.25rem;
}

.gallery-item-status-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.gallery-item-status-badge.status-active {
    background: #28a745;
    color: #fff;
}

.gallery-item-status-badge.status-inactive {
    background: #dc3545;
    color: #fff;
}

.gallery-item-status-badge .material-symbols-outlined {
    font-size: 1rem;
}

.gallery-item-info {
    padding: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gallery-item-order {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 500;
}

.gallery-item-order .material-symbols-outlined {
    font-size: 1rem;
}

.gallery-item-caption {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gallery-item-caption.empty {
    color: var(--text-light);
    font-style: italic;
}

/* Gallery Edit Modal */
.gallery-edit-preview {
    margin: 0.5rem 0;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.gallery-edit-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.file-input {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 100%;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.file-input:hover {
    border-color: var(--primary);
}

.file-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Gallery Drop Zone */
#galleryDropZone {
    border: 2px dashed var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#galleryDropZone:hover {
    border-color: var(--primary);
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

#galleryDropZone.drag-over {
    border-color: var(--primary);
    background: #e3f2fd;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

#galleryDropZone .material-symbols-outlined {
    transition: transform 0.3s;
}

#galleryDropZone:hover .material-symbols-outlined,
#galleryDropZone.drag-over .material-symbols-outlined {
    transform: scale(1.1);
}

.form-hint {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.checkbox-label:hover {
    background: #f0f0f0;
    border-color: var(--primary);
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: #fff;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkbox-input:checked + .checkbox-custom,
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-input:checked + .checkbox-custom::after,
.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
}

/* Hide native checkbox when using custom checkbox styling */
.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 12px;
    border: 2px dashed rgba(0, 0, 0, 0.1);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.empty-state p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        padding: 3rem 0 4rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-features {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-feature {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .hero-guarantee {
        font-size: 0.85rem;
        flex-wrap: wrap;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-description {
        font-size: 1.1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .areas-map-container {
        min-height: 500px;
        margin: 2rem 0;
    }
    
    .map-pin {
        transform: translate(-50%, -100%) scale(0.85);
    }
    
    .pin-marker {
        width: 40px;
        height: 40px;
    }
    
    .pin-marker .material-symbols-outlined {
        font-size: 1.2rem;
    }
    
    .pin-label {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }
    
    .areas-map-overlay {
        padding: 2rem 0 1.5rem;
    }
    
    .areas-list-panel {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .areas-cta {
        padding: 2.5rem 1.5rem;
    }
    
    .areas-cta-content h3 {
        font-size: 1.5rem;
    }
    
    .areas-cta-content p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .mobile-cta-bar {
        display: flex;
    }
    
    /* Work Slider Responsive */
    .work {
        padding: 3rem 0;
    }
    
    .slider {
        border-radius: 10px;
    }
    
    .slide {
        padding-bottom: 62.5%; /* 16:10 aspect ratio */
    }
    
    .slide figcaption {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .slider-nav {
        width: 44px;
        height: 44px;
        font-size: 1.625rem;
        line-height: 40px;
    }
    
    .slider-nav.prev {
        left: 0.875rem;
    }
    
    .slider-nav.next {
        right: 0.875rem;
    }
    
    /* Brand Logo Responsive */
    .brand-logo {
        height: 28.8px; /* 32px * 0.9 */
        max-width: 108px; /* 120px * 0.9 */
    }
    
    .brand-text {
        font-size: 1rem;
    }
    
    /* Admin Header Responsive */
    .admin-header {
        padding: 1rem 0;
    }
    
    .admin-header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .admin-header h1 {
        font-size: 1.5rem;
        margin: 0;
        flex: 1;
    }
    
    .admin-user {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
    }
    
    .admin-user span {
        display: none; /* Hide user name on mobile */
    }
    
    .admin-user .logout-button {
        font-size: 0.75rem;
        padding: 0.5rem 0.625rem;
        gap: 0.25rem;
    }
    
    .admin-user .logout-button span.material-symbols-outlined {
        font-size: 1rem;
        color: inherit;
    }
    
    .notification-container {
        position: relative;
        flex-shrink: 0;
    }
    
    .notification-bell {
        width: 44px;
        height: 44px;
        font-size: 1.375rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .notification-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -4px;
        right: -4px;
        border-width: 2px;
        padding: 0 4px;
    }
    
    /* Admin Navigation Responsive */
    .admin-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .admin-nav::-webkit-scrollbar {
        display: none;
    }
    
    .admin-nav .container {
        flex-direction: row;
        gap: 1rem;
        min-width: max-content;
        padding: 0 1rem;
    }
    
    .admin-nav a {
        padding: 0.875rem 0.5rem;
        white-space: nowrap;
        font-size: 0.875rem;
        border-bottom: 2px solid transparent;
    }
    
    /* Admin Content Responsive */
    .admin-content {
        padding: 1rem 0;
    }
    
    .admin-content .container {
        padding: 0 1rem;
    }
    
    /* KPI Grid Responsive */
    .kpi-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .kpi-card {
        padding: 1.25rem 1rem;
    }
    
    .kpi-value {
        font-size: 1.75rem;
    }
    
    /* Admin Section Responsive */
    .admin-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Admin Form Responsive */
    .admin-form {
        padding: 1.5rem 1rem;
    }
    
    .admin-form h2 {
        font-size: 1.25rem;
    }
    
    /* Admin Filters Responsive */
    .admin-filters {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .admin-filters input,
    .admin-filters select {
        width: 100%;
    }
    
    .admin-filters .btn {
        width: 100%;
    }
    
    /* Admin Table Responsive - Card View */
    .admin-table-wrapper {
        overflow-x: visible;
        margin: 0;
        padding: 0;
    }
    
    /* Hide table on mobile, show cards */
    .admin-table {
        display: none !important;
    }
    
    /* Show mobile cards on mobile */
    .admin-table-mobile {
        display: block !important;
    }
    
    .admin-table-mobile-card {
        background: #fff;
        border-radius: 12px;
        padding: 1.25rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 1px solid #e8e8e8;
        transition: all 0.2s ease;
    }
    
    .admin-table-mobile-card:active {
        transform: scale(0.98);
        box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    }
    
    .admin-table-mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .admin-table-mobile-card-title {
        font-weight: 600;
        font-size: 1.125rem;
        color: #1a1a1a;
        margin: 0;
    }
    
    .admin-table-mobile-card-id {
        font-size: 0.8125rem;
        color: #6c757d;
        background: #f8f9fa;
        padding: 0.25rem 0.5rem;
        border-radius: 4px;
    }
    
    .admin-table-mobile-card-body {
        display: grid;
        gap: 0.75rem;
    }
    
    .admin-table-mobile-card-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0.5rem 0;
    }
    
    .admin-table-mobile-card-label {
        font-size: 0.75rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #6c757d;
        font-weight: 600;
        min-width: 80px;
        flex-shrink: 0;
    }
    
    .admin-table-mobile-card-value {
        font-size: 0.9375rem;
        color: #333;
        text-align: right;
        flex: 1;
        word-break: break-word;
    }
    
    .admin-table-mobile-card-value a {
        color: var(--primary);
        text-decoration: none;
    }
    
    .admin-table-mobile-card-value a:hover {
        text-decoration: underline;
    }
    
    .admin-table-mobile-card-actions {
        display: flex;
        gap: 0.5rem;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #f0f0f0;
    }
    
    .admin-table-mobile-card-actions .btn {
        flex: 1;
        justify-content: center;
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }
    
    .admin-table-mobile-card-actions .btn .material-symbols-outlined {
        font-size: 1.125rem;
    }
    
    .admin-count {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    /* Detail Section Responsive */
    .detail-layout {
        gap: 1rem;
    }
    
    .detail-section {
        padding: 1.25rem 1rem;
    }
    
    .detail-section h2 {
        font-size: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .detail-section h2 .btn-sm {
        margin-left: 0;
        width: 100%;
    }
    
    .detail-section dl {
        grid-template-columns: 1fr;
        gap: 0.75rem 1rem;
    }
    
    .detail-section dt {
        font-size: 0.8125rem;
        padding-top: 0.75rem;
        border-top: 1px solid #f0f0f0;
        margin-top: 0.5rem;
    }
    
    .detail-section dt:first-child {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
    
    .detail-section dd {
        padding-top: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .status-select {
        width: 100%;
        min-width: auto;
    }
    
    /* Notes Responsive */
    .note-item {
        padding: 1rem;
    }
    
    .note-form textarea {
        min-height: 80px;
    }
    
    /* Pagination Responsive */
    .pagination {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .pagination .btn {
        min-width: auto;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .pagination span {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    /* Gallery Grid Responsive */
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .gallery-view-list .gallery-item-image-wrapper {
        width: 150px;
        min-width: 150px;
    }
    
    /* Modal Responsive */
    .modal-container {
        width: 95%;
        margin: 1rem auto;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .booking-modal-container {
        border-radius: 16px;
    }
    
    .booking-modal-header {
        padding: 1.5rem 1.25rem;
    }
    
    .booking-header-content {
        gap: 1rem;
    }
    
    .booking-header-icon {
        width: 50px;
        height: 50px;
    }
    
    .booking-header-icon .material-symbols-outlined {
        font-size: 1.75rem;
    }
    
    .booking-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .booking-header-subtitle {
        font-size: 0.85rem;
    }
    
    .booking-modal-body {
        padding: 1.5rem 1.25rem;
    }
    
    .booking-features {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .booking-feature {
        font-size: 0.85rem;
    }
    
    .booking-form-group {
        margin-bottom: 1.5rem;
    }
    
    .booking-input,
    .booking-select,
    .booking-textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .booking-modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .booking-btn-cancel,
    .booking-btn-submit {
        width: 100%;
        min-width: auto;
        padding: 0.875rem 1.5rem;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-actions .btn {
        width: 100%;
        min-width: auto;
    }
    
    /* Notification Dropdown Responsive */
    .notification-dropdown {
        right: 0;
        left: 0;
        width: calc(100vw - 2rem);
        max-width: 400px;
    }
    
    /* Action Buttons Responsive */
    .admin-section > div:first-child,
    div[style*="display:flex"][style*="justify-content:space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
    
    .admin-section h2,
    .admin-section h3 {
        font-size: 1.5rem;
    }
    
    .admin-section .btn,
    div[style*="display:flex"] .btn {
        width: 100% !important;
    }
    
    /* Notification Bell Responsive */
    .notification-bell {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .notification-badge {
        min-width: 20px;
        height: 20px;
        font-size: 0.65rem;
        top: -5px;
        right: -5px;
    }
    
    .notification-dropdown {
        max-width: calc(100vw - 1rem);
    }
}

/* Desktop: Show tables, hide mobile cards */
@media (min-width: 769px) {
    .admin-table {
        display: table !important;
    }
    
    .admin-table-mobile {
        display: none !important;
    }
    
    .admin-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 2rem 0;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-title-main,
    .hero-title-accent {
        display: block;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-features {
        gap: 0.75rem;
    }
    
    .hero-feature {
        font-size: 0.8rem;
        padding: 0.5rem 0.875rem;
    }
    
    .hero-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .hero-guarantee {
        font-size: 0.8rem;
        padding: 0.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .services-grid,
    .review-card {
        min-width: calc(100% - 0rem);
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .service-card-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-card-icon .material-symbols-outlined {
        font-size: 2rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    .trust-grid {
        gap: 1.25rem;
    }
    
    .trust-item {
        padding: 1.75rem;
    }
    
    .trust-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .trust-icon {
        font-size: 2rem;
    }
    
    .trust-item h3 {
        font-size: 1.1rem;
    }
    
    .trust-item p {
        font-size: 0.875rem;
    }
    
    .areas-map-container {
        min-height: 400px;
        margin: 1.5rem 0;
    }
    
    .areas-list-panel {
        padding: 1.75rem;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .areas-cta-content {
        padding: 2rem 1.5rem;
    }
    
    .areas-cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        gap: 0.75rem;
    }
    
    .cta-feature {
        font-size: 0.9rem;
    }
    
    .reviews-slider {
        margin: 0 -0.75rem;
        padding: 1.5rem 0 4rem;
    }
    
    .reviews-slider-track {
        padding: 0 2.5rem;
        gap: 1.5rem;
    }
    
    .review-card {
        padding: 2rem;
        min-width: calc(100% - 0rem);
    }
    
    .review-rating .star {
        font-size: 1.4rem;
    }
    
    .review-text {
        font-size: 0.95rem;
        padding-left: 1.25rem;
    }
    
    .review-text::before {
        font-size: 2.5rem;
    }
    
    .review-author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .reviews-slider-nav.prev {
        left: 0.25rem;
    }
    
    .reviews-slider-nav.next {
        right: 0.25rem;
    }
    
    .reviews-slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .reviews-slider-nav .material-symbols-outlined {
        font-size: 1.5rem;
    }
    
    .reviews-slider-dots {
        padding: 1.25rem 0;
    }
    
    .faq-item {
        padding: 1rem;
    }
    
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        padding: 0 1rem 1rem;
    }
    
    /* Admin Extra Small Screens */
    .admin-header {
        padding: 0.875rem 0;
    }
    
    .admin-header .container {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .admin-header h1 {
        font-size: 1.125rem;
        width: 100%;
        order: 1;
    }
    
    .admin-user {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        width: auto;
        order: 2;
        margin-left: auto;
    }
    
    .admin-user span {
        display: none;
    }
    
    .admin-user .logout-button {
        font-size: 0.6875rem;
        padding: 0.4375rem 0.5rem;
    }
    
    .notification-bell {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .admin-nav .container {
        gap: 0.75rem;
    }
    
    .admin-nav a {
        font-size: 0.8125rem;
        padding: 0.75rem 0.375rem;
    }
    
    .admin-content {
        padding: 0.75rem 0;
    }
    
    .admin-content .container {
        padding: 0 0.75rem;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .kpi-value {
        font-size: 1.5rem;
    }
    
    .admin-section {
        padding: 1rem 0.75rem;
    }
    
    .admin-filters {
        padding: 0.75rem;
    }
    
    .detail-section {
        padding: 1rem 0.75rem;
    }
    
    .detail-section h2 {
        font-size: 1.125rem;
    }
    
    .modal-container {
        width: 98%;
        margin: 0.5rem auto;
    }
    
    .modal-header,
    .modal-body {
        padding: 0.75rem;
    }
    
    /* Confirm Modal Mobile */
    .confirm-modal-header {
        padding: 1.5rem 1rem 0.75rem;
    }
    
    .confirm-icon-wrapper {
        width: 56px;
        height: 56px;
    }
    
    .confirm-icon {
        font-size: 2rem;
    }
    
    .confirm-modal-header h2 {
        font-size: 1.25rem;
    }
    
    .confirm-modal-body {
        padding: 1rem 1.25rem;
    }
    
    .confirm-modal-footer {
        flex-direction: column;
        padding: 1rem 1.25rem 1.5rem;
    }
    
    .confirm-modal-footer .btn {
        width: 100%;
        min-width: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .gallery-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .gallery-header-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .gallery-view-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .gallery-view-list .gallery-item {
        flex-direction: column;
    }
    
    .gallery-view-list .gallery-item-image-wrapper {
        width: 100%;
        min-width: 100%;
    }
    
    .gallery-action-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Header Responsive */
    .site-header {
        border-bottom-width: 1px;
    }
    
    .nav-bar {
        height: auto;
        min-height: 80px;
        /* padding: 0.75rem 0; */
    }
    
    .brand {
        font-size: 1.25rem;
    }
    
    .brand-logo {
        height: 36px; /* 40px * 0.9 */
        max-width: 90px; /* 100px * 0.9 */
    }
    
    .top-nav {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .top-nav a {
        font-size: 0.875rem;
        padding: 0.5rem 0.75rem;
    }
    
    .top-nav a[data-open-modal="bookingModal"] {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .nav-phone {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .mobile-cta-bar {
        padding: 0.75rem;
    }
    
    .mobile-cta-bar .btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

/* Extra Small Devices (320px - 360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero {
        padding: 1.5rem 0;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.875rem;
    }
    
    .hero-description {
        font-size: 0.85rem;
    }
    
    .hero-feature {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    .hero-cta .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .hero-guarantee {
        font-size: 0.75rem;
        padding: 0.625rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 0.875rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .service-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .service-card-icon .material-symbols-outlined {
        font-size: 1.75rem;
    }
    
    .service-card h3 {
        font-size: 1.15rem;
    }
    
    .service-card p {
        font-size: 0.875rem;
    }
    
    .trust-item {
        padding: 1.5rem;
    }
    
    .trust-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    
    .trust-icon {
        font-size: 1.75rem;
    }
    
    .trust-item h3 {
        font-size: 1rem;
    }
    
    .trust-item p {
        font-size: 0.8125rem;
    }
    
    .areas-map-container {
        min-height: 350px;
    }
    
    .areas-list-panel {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .areas-list-title {
        font-size: 1.25rem;
    }
    
    .areas-cta-content {
        padding: 1.5rem 1rem;
    }
    
    .areas-cta-content h3 {
        font-size: 1.25rem;
    }
    
    .areas-cta-content p {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 0.95rem;
    }
    
    .cta-feature {
        font-size: 0.85rem;
    }
    
    .reviews-slider {
        margin: 0 -0.5rem;
        padding: 1.25rem 0 3.5rem;
    }
    
    .reviews-slider-track {
        padding: 0 2rem;
        gap: 1.25rem;
    }
    
    .review-card {
        padding: 1.75rem;
    }
    
    .review-rating .star {
        font-size: 1.3rem;
    }
    
    .review-text {
        font-size: 0.9rem;
        padding-left: 1rem;
    }
    
    .review-text::before {
        font-size: 2rem;
    }
    
    .review-author strong {
        font-size: 0.95rem;
    }
    
    .review-date {
        font-size: 0.8125rem;
    }
    
    .reviews-slider-nav {
        width: 36px;
        height: 36px;
    }
    
    .reviews-slider-nav .material-symbols-outlined {
        font-size: 1.375rem;
    }
    
    .reviews-slider-nav.prev {
        left: 0.25rem;
    }
    
    .reviews-slider-nav.next {
        right: 0.25rem;
    }
    
    .reviews-slider-dots {
        padding: 1rem 0;
        gap: 8px;
    }
    
    .reviews-slider-dots button {
        width: 10px;
        height: 10px;
    }
    
    .reviews-slider-dots button.active {
        width: 28px;
    }
    
    /* Work Slider Responsive */
    .work {
        padding: 3rem 0;
    }
    
    .slider {
        border-radius: 8px;
    }
    
    .slide {
        padding-bottom: 75%; /* 4:3 aspect ratio */
    }
    
    .slide figcaption {
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        line-height: 36px;
    }
    
    .slider-nav.prev {
        left: 0.75rem;
    }
    
    .slider-nav.next {
        right: 0.75rem;
    }
    
    .slider-dots {
        bottom: 0.75rem;
        gap: 6px;
    }
    
    .slider-dots button {
        width: 8px;
        height: 8px;
    }
    
    .slider-dots button.active {
        width: 24px;
        border-radius: 12px;
    }
    
    .faq-question {
        font-size: 0.9rem;
        padding: 0.875rem;
    }
    
    .faq-answer {
        font-size: 0.85rem;
        padding: 0 0.875rem 0.875rem;
    }
    
    .booking-modal-container {
        border-radius: 12px;
    }
    
    .booking-modal-header {
        padding: 1.5rem;
    }
    
    .booking-header-icon {
        width: 48px;
        height: 48px;
    }
    
    .booking-header-icon .material-symbols-outlined {
        font-size: 1.75rem;
    }
    
    .booking-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .booking-header-subtitle {
        font-size: 0.85rem;
    }
    
    .booking-modal-body {
        padding: 1.5rem;
    }
    
    .booking-features {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    
    .booking-feature {
        font-size: 0.85rem;
    }
    
    .booking-form-group {
        margin-bottom: 1.25rem;
    }
    
    .booking-label {
        font-size: 0.9rem;
    }
    
    .booking-input,
    .booking-select,
    .booking-textarea {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    .booking-modal-actions {
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .booking-btn-cancel,
    .booking-btn-submit {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .mobile-cta-bar {
        padding: 0.625rem;
    }
    
    .mobile-cta-bar .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    /* Header Extra Small */
    .nav-bar {
        min-height: 70px;
        padding: 0.5rem 0;
    }
    
    .brand {
        font-size: 1.125rem;
    }
    
    .brand-logo {
        height: 32.4px; /* 36px * 0.9 */
        max-width: 81px; /* 90px * 0.9 */
    }
    
    .top-nav {
        gap: 0.375rem;
    }
    
    .top-nav a {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.625rem;
    }
}

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

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* Hero intro animation */
.hero .hero-content {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeUp 600ms ease 120ms forwards;
}

/* Reveal-on-scroll utility */
.reveal-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 500ms ease, transform 500ms ease;
}
.reveal-item.revealed {
    opacity: 1;
    transform: none;
}

/* Modal transitions */
.modal {
    opacity: 0;
    transition: opacity 200ms ease;
}
.modal.active { opacity: 1; }
.modal.closing { opacity: 0; }

.modal-container {
    transform: translateY(16px);
    opacity: 0;
    transition: transform 250ms ease, opacity 250ms ease;
}
.modal.active .modal-container { transform: translateY(0); opacity: 1; }
.modal.closing .modal-container { transform: translateY(16px); opacity: 0; }

/* Header / Navigation */
/* Admin Bar (shown on public site when logged in) */
.admin-bar {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 0.625rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-bar-left .material-symbols-outlined {
    font-size: 1.125rem;
    opacity: 0.9;
}

.admin-bar-text {
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.admin-bar-user {
    font-size: 0.875rem;
    opacity: 0.8;
    padding-left: 0.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-bar-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.admin-bar-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.admin-bar-link .material-symbols-outlined {
    font-size: 1rem;
}

.admin-bar-logout {
    background: rgba(220, 53, 69, 0.2);
}

.admin-bar-logout:hover {
    background: rgba(220, 53, 69, 0.3);
}

@media (max-width: 768px) {
    .admin-bar-content {
        flex-wrap: wrap;
    }
    
    .admin-bar-user {
        display: none;
    }
    
    .admin-bar-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
    
    .admin-bar-link span:not(.material-symbols-outlined) {
        display: none;
    }
}

/* Admin Nav View Site Link */
.admin-nav-view-site {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.875rem 1.25rem !important;
    background: var(--light);
    border-radius: var(--radius);
    color: var(--primary);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.admin-nav-view-site:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.admin-nav-view-site .material-symbols-outlined {
    font-size: 1.125rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 9998;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

/* Adjust site header when admin bar is present */
body:has(.admin-bar) .site-header {
    top: 40px;
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 108px; /* 120px * 0.9 */
}
.brand {
    font-weight: 800;
    color: #0b3f67;
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.2s;
}

.brand:hover {
    opacity: 0.85;
}

.brand-logo {
    height: auto;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: inline-block;
}

/* Hide brand text on mobile */
@media (max-width: 768px) {
    .brand-text {
        display: none;
    }
}
.top-nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}
.top-nav a { 
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-nav a:hover { 
    color: var(--primary);
}

.top-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.top-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Book button styling */
.top-nav a[data-open-modal="bookingModal"] {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.top-nav a[data-open-modal="bookingModal"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.top-nav a[data-open-modal="bookingModal"]:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
    color: #fff !important;
}

.top-nav a[data-open-modal="bookingModal"]:hover::before {
    left: 100%;
}

.top-nav a[data-open-modal="bookingModal"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.top-nav a[data-open-modal="bookingModal"]::after {
    display: none;
}

/* Phone number styling */
.nav-phone {
    font-weight: 700;
    color: #fff !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    padding: 0.625rem 1.25rem !important;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-phone::before {
    content: 'phone';
    font-family: 'Material Symbols Outlined';
    font-size: 1.125rem;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
}

.nav-phone::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-phone:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
    color: #fff !important;
}

.nav-phone:hover::after {
    left: 100%;
}

.nav-phone:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}
.drawer-links a {
    position: relative;
    transition: all 0.3s ease;
}
.drawer-links a.active {
    color: var(--primary);
    font-weight: 600;
    padding-left: 1rem;
}
.drawer-links a.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary);
    border-radius: 2px;
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: 2px solid var(--primary);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.burger:hover {
    background: rgba(0, 102, 204, 0.05);
    border-color: var(--primary-dark);
    transform: scale(1.05);
}

.burger:active {
    transform: scale(0.95);
}

.burger[aria-expanded="true"] {
    background: var(--primary);
    border-color: var(--primary);
}

.burger[aria-expanded="true"] span {
    background: #fff;
}

.burger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                top 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.3s ease,
                background 0.3s ease;
}

.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 27px; }

.burger[aria-expanded="true"] span:nth-child(1) {
    top: 20px;
    transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.burger[aria-expanded="true"] span:nth-child(3) {
    top: 20px;
    transform: rotate(-45deg);
}

/* Drawer */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9997;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.drawer-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: all;
}

.drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 340px !important;
    max-width: 85vw !important;
    height: 100vh !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%) !important;
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.25), -8px 0 24px rgba(0, 0, 0, 0.15), -4px 0 12px rgba(0, 0, 0, 0.1) !important;
    transform: translateX(100%) !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    z-index: 9998 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
}

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

.drawer-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.5rem 1.25rem !important;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 50%, #003d7a 100%) !important;
    border-bottom: none !important;
    gap: 1rem !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 80px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    flex-shrink: 0 !important;
}

.drawer-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.drawer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.drawer-header > * {
    position: relative;
    z-index: 1;
}

.drawer-header .drawer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.drawer-header strong {
    color: #fff !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 1px 2px rgba(0, 0, 0, 0.15) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    letter-spacing: -0.01em !important;
    line-height: 1.3 !important;
    flex: 1;
    min-width: 0;
}

.drawer-logo {
    height: 38px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.drawer-close {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.75rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    padding: 0;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.drawer-close:active {
    transform: rotate(90deg) scale(0.95) !important;
}

.drawer-links {
    display: flex !important;
    flex-direction: column !important;
    padding: 1rem 0 !important;
    gap: 0.5rem !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 !important;
    background: #ffffff !important;
    -webkit-overflow-scrolling: touch !important;
}

.drawer-links a {
    color: #333 !important;
    text-decoration: none !important;
    padding: 1rem 1.25rem !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    position: relative !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    border-left: 4px solid transparent !important;
    border-bottom: none !important;
    margin: 0 0.75rem !important;
    border-radius: 10px !important;
    background: transparent !important;
    flex-wrap: nowrap !important;
    min-height: 56px !important;
    -webkit-tap-highlight-color: rgba(0, 102, 204, 0.1) !important;
}

.drawer-links a:last-child {
    border-bottom: none !important;
    margin-bottom: 0.5rem !important;
}

/* Add icons to navigation links using Material Symbols */
.drawer-links a:not([href^="tel:"])::before {
    content: '' !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 1.375rem !important;
    font-weight: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 10px !important;
    background: rgba(0, 102, 204, 0.1) !important;
    color: #0066cc !important;
    flex-shrink: 0 !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    line-height: 1 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    transform: none !important;
}

/* Ensure Book link icon has same styling and alignment */
.drawer-links a[data-open-modal="bookingModal"]::before {
    content: 'event' !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 10px !important;
    background: rgba(0, 102, 204, 0.1) !important;
    color: #0066cc !important;
    flex-shrink: 0 !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 1.375rem !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    line-height: 1 !important;
    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    transform: none !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
}

/* Home icon - matches links that go to homepage */
.drawer-links a:first-of-type:not([href^="tel:"]):not([href^="#"]):not([data-open-modal])::before {
    content: 'home' !important;
}

.drawer-links a[href*="route="]:not([href*="services"]):not([href*="faq"]):not([href*="booking"]):not([data-open-modal])::before,
.drawer-links a[href="/"]::before,
.drawer-links a[href=""]::before,
.drawer-links a[href*="index.php?route=/"]::before,
.drawer-links a[href*="index.php?route="]:not([href*="services"]):not([href*="faq"]):not([href*="booking"])::before {
    content: 'home' !important;
}

/* Services icon */
.drawer-links a[href="#services"]::before,
.drawer-links a[href*="services"]::before {
    content: 'plumbing' !important;
}

/* FAQ icon */
.drawer-links a[href="#faq"]::before,
.drawer-links a[href*="faq"]::before {
    content: 'help_outline' !important;
}

.drawer-links a[href*="booking"]::before {
    content: 'event' !important;
}

/* Separator before phone number */
.drawer-links a[href^="tel:"] {
    margin-top: 0.75rem !important;
    padding: 1.125rem 1.25rem !important;
    border-top: 2px solid rgba(0, 102, 204, 0.15) !important;
    border-bottom: none !important;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 102, 204, 0.03) 100%) !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    font-size: 1.05rem !important;
    border-radius: 10px !important;
    margin-left: 0.75rem !important;
    margin-right: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1) !important;
    min-height: 56px !important;
}

.drawer-links a[href^="tel:"]:hover {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15) 0%, rgba(0, 102, 204, 0.08) 100%) !important;
    color: var(--primary-dark) !important;
    transform: translateX(2px) !important;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2) !important;
}

/* Background gradient effect - separate from icons */
.drawer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, transparent 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

/* Override ::before for phone link to show icon instead of gradient */
.drawer-links a[href^="tel:"]::before {
    content: 'phone' !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 1.375rem !important;
    font-weight: normal !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    border-radius: 10px !important;
    background: rgba(0, 102, 204, 0.12) !important;
    color: #0066cc !important;
    flex-shrink: 0 !important;
    position: static !important;
    z-index: 2 !important;
    transition: background-color 0.25s ease, color 0.25s ease !important;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    vertical-align: middle !important;
}

.drawer-links a:hover {
    color: var(--primary) !important;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.08) 0%, rgba(0, 102, 204, 0.03) 100%) !important;
    border-left-color: var(--primary) !important;
    transform: translateX(2px) !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1) !important;
}

.drawer-links a:hover::after {
    width: 100% !important;
}

.drawer-links a:hover::before {
    background: rgba(0, 102, 204, 0.18) !important;
    color: #0052a3 !important;
    transform: scale(1.03) !important;
}

.drawer-links a.active:hover::before {
    transform: none !important;
}

.drawer-links a:not([href^="tel:"]):hover::before {
    background: rgba(0, 102, 204, 0.18) !important;
    transform: scale(1.03) !important;
    color: #0052a3 !important;
}

.drawer-links a:not([href^="tel:"]).active:hover::before {
    transform: none !important;
}

.drawer-links a.active {
    color: var(--primary) !important;
    font-weight: 700 !important;
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.12) 0%, rgba(0, 102, 204, 0.06) 100%) !important;
    border-left-color: var(--primary) !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15) !important;
    transform: none !important;
}

.drawer-links a.active::after {
    width: 100% !important;
}

.drawer-links a.active::before {
    background: rgba(0, 102, 204, 0.25) !important;
    color: #0052a3 !important;
    transform: none !important;
    position: static !important;
}

.drawer-links a.active::after {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 32px !important;
    background: var(--primary) !important;
    border-radius: 0 4px 4px 0 !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4) !important;
    z-index: 1 !important;
}

.drawer-links a:not([href^="tel:"]).active::before {
    background: rgba(0, 102, 204, 0.25) !important;
    color: #0052a3 !important;
    transform: none !important;
    position: static !important;
}

@media (max-width: 992px) {
    .top-nav { display: none; }
    .burger { display: inline-block; }
}

/* Drawer Responsive */
@media (max-width: 480px) {
    .drawer {
        width: 320px;
        max-width: 90vw;
    }
    
    .drawer-header {
        padding: 1.25rem 1rem;
        min-height: 75px;
    }
    
    .drawer-header strong {
        font-size: 1.05rem;
    }
    
    .drawer-logo {
        height: 36px;
        max-width: 110px;
    }
    
    .drawer-close {
        width: 38px;
        height: 38px;
        font-size: 1.5rem;
        margin-left: 0.25rem;
    }
    
    .drawer-links {
        padding: 0.875rem 0;
    }
    
    .drawer-links a {
        padding: 0.9375rem 1.125rem;
        font-size: 1rem;
        min-height: 52px;
        margin: 0 0.625rem;
    }
    
    .drawer-links a:not([href^="tel:"])::before {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        max-width: 38px;
        max-height: 38px;
        font-size: 1.25rem;
    }
    
    .drawer-links a[href^="tel:"] {
        padding: 1rem 1.125rem;
        font-size: 1rem;
        min-height: 52px;
    }
    
    .drawer-links a[href^="tel:"]::before {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        max-width: 38px;
        max-height: 38px;
        font-size: 1.25rem;
    }
}

@media (max-width: 360px) {
    .drawer {
        width: 300px;
        max-width: 95vw;
    }
    
    .drawer-header {
        padding: 1.125rem 0.875rem;
        min-height: 70px;
    }
    
    .drawer-header strong {
        font-size: 1rem;
    }
    
    .drawer-logo {
        height: 34px;
        max-width: 100px;
    }
    
    .drawer-close {
        width: 36px;
        height: 36px;
        font-size: 1.375rem;
    }
    
    .drawer-links {
        padding: 0.75rem 0;
    }
    
    .drawer-links a {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        min-height: 48px;
        margin: 0 0.5rem;
    }
    
    .drawer-links a:not([href^="tel:"])::before {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        font-size: 1.125rem;
    }
    
    .drawer-links a[href^="tel:"] {
        padding: 0.9375rem 1rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    .drawer-links a[href^="tel:"]::before {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        max-width: 36px;
        max-height: 36px;
        font-size: 1.125rem;
    }
}

/* Slider (Past Work) */
.work { 
    padding: 4rem 0; 
    background: var(--light); 
}

.slider { 
    position: relative; 
    overflow: hidden; 
    border-radius: 12px; 
    background: #fff; 
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.slider-track { 
    display: flex; 
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1); 
    will-change: transform; 
}

.slide { 
    min-width: 100%; 
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    background: #f8f9fa;
}

.slide img { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide:hover img {
    transform: scale(1.05);
}

.slide figcaption { 
    position: absolute; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    padding: 1rem 1.5rem; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    color: #fff; 
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    z-index: 2;
}

.slider-nav { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 102, 204, 0.2);
    border-radius: 50%; 
    width: 48px; 
    height: 48px; 
    cursor: pointer; 
    font-size: 1.75rem;
    line-height: 44px; 
    text-align: center;
    color: var(--primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.slider-nav:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-nav.prev { left: 1rem; }
.slider-nav.next { right: 1rem; }

.slider-dots { 
    position: absolute; 
    bottom: 1rem; 
    left: 0; 
    right: 0; 
    display: flex; 
    gap: 8px; 
    justify-content: center;
    z-index: 5;
}

.slider-dots button { 
    width: 10px; 
    height: 10px; 
    border-radius: 50%; 
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.slider-dots button:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dots button.active { 
    background: #fff;
    border-color: #fff;
    width: 28px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Error Pages */
.error-page {
    padding: 6rem 0;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-page .container {
    max-width: 600px;
}

.error-page h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1;
}

.error-page p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.error-page .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.error-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
}

@media (max-width: 768px) {
    .error-page {
        padding: 4rem 0;
        min-height: 50vh;
    }
    
    .error-page h1 {
        font-size: 3rem;
    }
    
    .error-page p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .error-page .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .error-page h1 {
        font-size: 2.5rem;
    }
    
    .error-page p {
        font-size: 1rem;
    }
    
    .error-page .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Notification System */
.notification-container {
    position: relative;
    margin-right: 0;
    flex-shrink: 0;
}
.notification-bell {
    position: relative;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    color: var(--text);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.notification-bell .material-symbols-outlined {
    display: block;
    line-height: 1;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.notification-bell:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.notification-bell:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.notification-bell:hover .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}
.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #fff;
    border-radius: 9999px;
    min-width: 18px;
    height: 18px;
    font-size: 0.625rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #ffffff;
    padding: 0 4px;
    box-shadow: var(--shadow-md);
}
.notification-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 380px;
    max-width: 90vw;
    max-height: 520px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.notification-header {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #fafafa 0%, #fff 100%);
}
.notification-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}
.notification-list {
    overflow-y: auto;
    max-height: 350px;
}
.notification-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.notification-item:hover {
    background: #f8f9fa;
    padding-left: 1.5rem;
}
.notification-item.unread {
    background: linear-gradient(to right, #e3f2fd 0%, #fff 15%);
    font-weight: 500;
    border-left: 3px solid #2196f3;
}
.notification-item.unread:hover {
    background: linear-gradient(to right, #bbdefb 0%, #f8f9fa 15%);
}
.notification-item-content {
    flex: 1;
    min-width: 0;
}
.notification-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}
.notification-item-message {
    font-size: 0.9rem;
    color: #242424;
    white-space: pre-wrap;
    margin-bottom: 0.5rem;
}
.notification-item-time {
    font-size: 0.75rem;
    color: #242424;
}
.notification-delete-btn {
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
    opacity: 0.6;
}
.notification-delete-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    opacity: 1;
}
.notification-delete-btn .material-symbols-outlined {
    font-size: 1.125rem;
    line-height: 1;
}
.notification-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
    background: #fafafa;
}
.notification-view-all {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.notification-view-all:hover {
    color: #0056b3;
    text-decoration: none;
    transform: translateX(2px);
}
.notification-view-all::after {
    content: '→';
    transition: transform 0.2s;
}
.notification-view-all:hover::after {
    transform: translateX(2px);
}
.notification-loading,
.notification-empty {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
}

/* Settings page template help */
.form-group small code {
    background: var(--light);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: var(--primary);
    border: 1px solid var(--border);
}

/* Tag Manager Interface */
.tag-manager {
    margin-bottom: 0.5rem;
}

.tag-input-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.tag-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: #fff;
    transition: all 0.2s;
    font-family: inherit;
}

.tag-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.5rem;
    background: var(--light);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    animation: tagFadeIn 0.2s ease-out;
}

@keyframes tagFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.tag:hover {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
    border: none;
    background: var(--danger);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-weight: bold;
}

.tag-remove:hover {
    background: var(--danger-dark);
    transform: scale(1.1);
}

.tag-remove:focus {
    outline: 2px solid var(--danger);
    outline-offset: 2px;
}

.tag-hidden-input {
    display: none !important;
}

/* Responsive tag manager */
@media (max-width: 768px) {
    .tag {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    
    .tag-remove {
        width: 16px;
        height: 16px;
        font-size: 12px;
    }
    
    .tag-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Accordion Styles */
.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.accordion-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    transition: all 0.2s;
    position: relative;
}

.accordion-header:hover {
    background: var(--light);
}

.accordion-header:focus {
    outline: 2px solid var(--primary);
    outline-offset: -2px;
}

.accordion-title {
    flex: 1;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-light);
    display: inline-block;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.5rem;
}

.accordion-header[aria-expanded="true"] + .accordion-content {
    max-height: 3000px;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

/* Responsive accordion */
@media (max-width: 768px) {
    .accordion-header {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .accordion-header[aria-expanded="true"] + .accordion-content {
        padding: 1.25rem;
    }
}

/* Products Page Styles */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.products-count {
    color: var(--text-light);
    font-size: 0.875rem;
}

.products-header-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* Generic admin actions row (e.g. New Lead) */
.admin-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

/* Contracts Header */
.contracts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.contracts-header h2 {
    margin: 0;
}

.contracts-header .page-subtitle {
    margin-top: 0.25rem;
}

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.product-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: rgba(0, 102, 204, 0.2);
}

.product-card-header {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}

.product-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.product-badge-inactive {
    background: #6c757d;
    color: #fff;
}

.product-badge-out-of-stock {
    background: #dc3545;
    color: #fff;
}

.product-checkbox {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.product-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.product-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
}

.product-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden !important;
    background: #f5f5f5;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card-image img {
    width: fit-content;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

.product-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.product-card-image-placeholder .material-symbols-outlined {
    font-size: 3rem;
    color: #ccc;
}

.product-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    line-height: 1.4;
}

.product-card-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.product-card-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.price-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-tax {
    font-size: 0.75rem;
    color: var(--text-light);
}

.price-total {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}

.product-card-stock,
.product-card-sku {
    font-size: 0.8125rem;
    display: flex;
    gap: 0.5rem;
}

.stock-label,
.sku-label {
    color: var(--text-light);
    font-weight: 500;
}

.stock-value {
    color: #28a745;
    font-weight: 600;
}

.stock-value.stock-out {
    color: #dc3545;
}

.sku-value {
    color: var(--text);
    font-family: monospace;
}

.product-card-cart-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #e7f3ff;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
}

.product-card-cart-info .material-symbols-outlined {
    font-size: 1rem;
}

.product-card-actions {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 0.5rem;
}

.product-card-actions .btn {
    flex: 1;
}

/* Cart Page Styles */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 1rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 160px 1fr 160px 200px auto;
    gap: 2rem;
    align-items: start;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cart-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 102, 204, 0.2);
}

.cart-item-image {
    width: 160px;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.cart-item-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
}

.cart-item-image-placeholder .material-symbols-outlined {
    font-size: 2.5rem;
    color: #ccc;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    padding-right: 1rem;
}

.cart-item-description-wrapper {
    position: relative;
}

.cart-item-description {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.description-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.description-toggle:hover {
    color: #0056b3;
    text-decoration: underline;
}

.description-toggle .toggle-icon {
    font-size: 1.125rem;
    transition: transform 0.2s ease;
}

.cart-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.cart-item-price-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.cart-item-unit-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.cart-item-tax-rate {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.cart-summary {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.cart-summary-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.cart-summary-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.cart-summary-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-row .label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.cart-summary-row .value {
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 500;
}

.cart-summary-total {
    padding-top: 1rem;
    border-top: 2px solid var(--border);
    margin-top: 0.5rem;
}

.cart-summary-total .label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
}

.cart-summary-total .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.cart-summary-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Product Modal Styles */
.product-modal-container {
    max-width: 800px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.product-modal-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2rem 2.5rem;
    border-bottom: none;
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.product-header-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.product-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.product-header-icon .material-symbols-outlined {
    font-size: 2rem;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.product-modal-header h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.product-header-subtitle {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    color: #fff;
}

.product-modal-header .modal-close {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.product-modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.product-modal-body {
    padding: 2.5rem;
    background: #fff;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
}

.product-form-group {
    margin-bottom: 1.75rem;
}

.product-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.product-label .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.product-label .required {
    color: #dc3545;
    margin-left: 0.25rem;
}

.product-input,
.product-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text-dark);
}

.product-input:focus,
.product-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

.product-input::placeholder,
.product-textarea::placeholder {
    color: var(--text-light);
    opacity: 0.6;
}

.product-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.6;
}

.product-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.product-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.product-checkbox-label:hover {
    background: rgba(0, 102, 204, 0.05);
}

.product-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.product-checkbox-custom {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border: 2px solid rgba(0, 102, 204, 0.3);
    border-radius: 6px;
    background: #fff;
    position: relative;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-checkbox-label input[type="checkbox"]:checked + .product-checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.product-checkbox-label input[type="checkbox"]:checked + .product-checkbox-custom::after {
    content: '✓';
    color: #fff;
    font-size: 0.875rem;
    font-weight: bold;
}

.product-checkbox-text {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.product-modal-footer {
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    border-top: 2px solid rgba(0, 102, 204, 0.1);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-shrink: 0;
}

.product-btn-cancel,
.product-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius);
    transition: var(--transition);
    min-width: 120px;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.product-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.3);
}

.product-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.product-btn-submit:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.product-btn-cancel {
    background: #fff;
    color: var(--text);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.product-btn-cancel:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.15);
}

.product-btn-cancel .material-symbols-outlined,
.product-btn-submit .material-symbols-outlined {
    font-size: 1.125rem;
    color: inherit;
}

/* Product Image Upload Styles */
.product-image-upload-wrapper {
    position: relative;
}

.product-image-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.product-image-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed rgba(0, 102, 204, 0.3);
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-image-upload-label:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.product-image-upload-label .material-symbols-outlined {
    font-size: 3rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.upload-text {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-light);
}

.product-image-preview {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 102, 204, 0.2);
    background: #fff;
}

.product-image-preview img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 300px;
    object-fit: contain;
}

.product-image-remove {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-image-remove:hover {
    background: #dc3545;
    transform: scale(1.1);
}

.product-image-remove .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Multiple Product Images Styles */
.product-images-upload-wrapper {
    position: relative;
}

.product-images-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.product-images-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed rgba(0, 102, 204, 0.3);
    border-radius: 12px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.product-images-upload-label:hover {
    border-color: var(--primary);
    background: rgba(0, 102, 204, 0.05);
    transform: translateY(-2px);
}

.product-images-upload-label .material-symbols-outlined {
    font-size: 3rem;
    color: var(--primary);
    font-variation-settings: 'FILL' 1;
}

.product-images-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.product-image-preview-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(0, 102, 204, 0.2);
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.product-image-preview-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.product-image-preview-item.primary {
    border-color: var(--primary);
    border-width: 3px;
}

.product-image-preview-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    display: block;
}

.product-image-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-image-preview-item:hover .product-image-actions {
    opacity: 1;
}

.product-image-action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.product-image-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.product-image-action-btn[data-action="set-primary"] {
    color: #ffc107;
}

.product-image-action-btn[data-action="set-primary"].active {
    background: #ffc107;
    color: #fff;
}

.product-image-action-btn[data-action="delete"],
.product-image-action-btn[data-action="remove"] {
    color: #dc3545;
}

.product-image-action-btn[data-action="delete"]:hover,
.product-image-action-btn[data-action="remove"]:hover {
    background: #dc3545;
    color: #fff;
}

.product-image-action-btn .material-symbols-outlined {
    font-size: 1.1rem;
}

.primary-badge {
    position: absolute;
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
}

/* Responsive Product Modal */
@media (max-width: 768px) {
    .product-modal-container {
        max-width: 95vw;
        border-radius: 16px;
    }
    
    .product-modal-header {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .product-header-content {
        width: 100%;
    }
    
    .product-modal-header .modal-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .product-modal-body {
        padding: 1.5rem;
    }
    
    .product-form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column-reverse;
    }
    
    .product-btn-cancel,
    .product-btn-submit {
        width: 100%;
    }
}

/* Responsive Products & Cart */
@media (max-width: 1024px) {
    .cart-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary {
        position: static;
    }
    
    .cart-item {
        grid-template-columns: 100px 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .cart-item-quantity,
    .cart-item-totals,
    .cart-item-actions {
        grid-column: 2;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .products-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cart-item {
        grid-template-columns: 80px 1fr;
        padding: 1rem;
        gap: 1rem;
    }
    
    .cart-item-image {
        width: 80px;
        height: 80px;
    }
}

.cart-item-quantity {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-width: 140px;
    max-width: 160px;
}

.cart-item-quantity label {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.cart-quantity-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
    color: var(--text);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.cart-quantity-input:hover {
    border-color: rgba(0, 102, 204, 0.3);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.1);
}

.cart-quantity-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.15), 0 4px 12px rgba(0, 102, 204, 0.1);
    transform: translateY(-1px);
}

.cart-item-totals {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 200px;
    max-width: 220px;
}

.cart-item-subtotal,
.cart-item-tax,
.cart-item-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 0.5rem 0;
}

.cart-item-subtotal,
.cart-item-tax {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding-bottom: 0.75rem;
}

.cart-item-subtotal .label,
.cart-item-tax .label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cart-item-subtotal .value,
.cart-item-tax .value {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.cart-item-total {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0;
    border-top: 2px solid rgba(0, 102, 204, 0.2);
    border-bottom: none;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 102, 204, 0.02) 100%);
    border-radius: 8px;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.cart-item-total .label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-item-total .value {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-shadow: 0 1px 2px rgba(0, 102, 204, 0.1);
}

.cart-item-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 0.25rem;
    min-width: 120px;
}

.cart-remove-btn {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.2);
    position: relative;
    overflow: hidden;
}

.cart-remove-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cart-remove-btn:hover::before {
    width: 300px;
    height: 300px;
}

.cart-remove-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
    background: #dc3545;
}

.cart-remove-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

.cart-remove-btn .material-symbols-outlined {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
}

.cart-remove-btn .btn-text {
    display: inline;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .cart-remove-btn .btn-text {
        display: none;
    }
    
    .cart-remove-btn {
        padding: 0.625rem;
        min-width: auto;
    }
}

@media (max-width: 1200px) {
    .cart-item {
        grid-template-columns: 140px 1fr 140px 180px auto;
        gap: 1.5rem;
    }
    
    .cart-item-image {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 968px) {
    .cart-item {
        grid-template-columns: 120px 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    
    .cart-item-image {
        width: 120px;
        height: 120px;
    }
    
    .cart-item-quantity,
    .cart-item-totals,
    .cart-item-actions {
        grid-column: 1 / -1;
    }
    
    .cart-item-quantity {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        max-width: none;
    }
    
    .cart-quantity-input {
        width: 100px;
    }
    
    .cart-item-totals {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: none;
    }
    
    .cart-item-total {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .cart-item-actions {
        justify-content: flex-start;
        min-width: auto;
    }
}

/* ============================================
   Full-Screen Workflow UI
   ============================================ */

.workflow-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f5f5;
    z-index: 10000;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
}

.workflow-fullscreen-content {
    width: 100%;
    max-width: min(95vw, 1600px);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 4rem);
    display: flex;
    flex-direction: column;
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e5e5;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-breadcrumb {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 400;
}

.workflow-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: color 0.2s;
}

.workflow-close:hover {
    color: #333;
}

.workflow-close .material-symbols-outlined {
    font-size: 1.5rem;
}

.workflow-body {
    flex: 1;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    min-height: 500px;
    max-width: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
    text-align: left;
    width: 100%;
    max-width: 100%;
    width: 100%;
}

.workflow-subtitle {
    font-size: 1.125rem;
    color: #333;
    margin: 0 0 3rem 0;
    text-align: left;
    width: 100%;
    font-weight: 400;
}

.workflow-step {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}



/* Phase configuration layout helpers */
.phase-config-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
}

.initial-config-wrapper,
.initial-config-card,
.workflow-contracts-grid {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 1100px) {
    .phase-config-grid {
        grid-template-columns: 1fr;
    }
    .workflow-body {
        padding: 2.5rem 1.5rem;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .workflow-body {
        padding: 2rem 1.25rem;
        max-width: 100%;
    }
    .phase-config-grid {
        grid-template-columns: 1fr;
    }

    .checklist-item {
        flex-direction: column;
    }
}

/* Add New Phase Button */
.workflow-btn-primary {
    background: #007bff;
    color: #ffffff;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.workflow-btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.workflow-btn-primary .material-symbols-outlined {
    font-size: 1.5rem;
}

.workflow-btn-secondary {
    background: #ffffff;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.workflow-btn-secondary:hover {
    background: #007bff;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.workflow-btn-secondary .material-symbols-outlined {
    font-size: 1rem;
    color: inherit;
}

/* Options Grid */
.workflow-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 800px;
}

.workflow-option-card {
    background: #e3f2fd;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    color: #1976d2;
}

.workflow-option-card:hover {
    background: #bbdefb;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.workflow-option-card .material-symbols-outlined {
    font-size: 3rem;
    color: #1976d2;
}

.workflow-option-card span:not(.material-symbols-outlined) {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1976d2;
}

/* Contracts Grid */
.workflow-contracts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
}

.workflow-contract-card {
    background: #424242;
    border-radius: 8px;
    padding: 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: all 0.2s;
    color: #ffffff;
}

.workflow-contract-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.workflow-contract-card.selected {
    background: #616161;
}

.workflow-contract-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: #ffffff;
}

.workflow-contract-card span:not(.material-symbols-outlined) {
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
}

.workflow-contract-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.workflow-contract-badge.add {
    background: #4caf50;
    color: #ffffff;
}

.workflow-contract-badge.remove {
    background: #f44336;
    color: #ffffff;
}

/* Products Grid */
.workflow-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 2rem;
}

.workflow-product-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.workflow-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.workflow-product-card.selected {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

.workflow-product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: #f5f5f5;
}

.workflow-product-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.workflow-product-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 1rem;
}

.workflow-product-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.workflow-product-option {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.workflow-product-option label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.workflow-product-option select {
    padding: 0.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.875rem;
}

.workflow-product-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: bold;
}

.workflow-product-badge.add {
    background: #4caf50;
    color: #ffffff;
}

.workflow-product-badge.remove {
    background: #f44336;
    color: #ffffff;
}

/* Payment Configuration */
.workflow-payment-type {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.workflow-prompt {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.workflow-payment-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.workflow-payment-card {
    background: #e3f2fd;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s;
    color: #1976d2;
}

.workflow-payment-card:hover {
    background: #bbdefb;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.workflow-payment-card .material-symbols-outlined {
    font-size: 3rem;
    color: #1976d2;
}

.workflow-payment-card span:not(.material-symbols-outlined) {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1976d2;
}

.workflow-payment-form {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.workflow-payment-amount-box {
    position: relative;
    margin-bottom: 1.5rem;
}

.workflow-payment-input {
    width: 100%;
    padding: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #ffffff;
    color: #1a1a1a;
}

.workflow-payment-input:focus {
    outline: none;
    border-color: #007bff;
}

.workflow-payment-percent-symbol {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    font-weight: 700;
    color: #6c757d;
    pointer-events: none;
}

.workflow-payment-hint {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.workflow-payment-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.workflow-payment-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 2rem;
}

/* Done Button */
.workflow-btn-done {
    background: #007bff;
    color: #ffffff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
    margin: 0 auto;
}

.workflow-btn-done:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.workflow-btn-done .material-symbols-outlined {
    font-size: 1.25rem;
}

/* Phases List */
.workflow-phases-list {
    width: 100%;
    max-width: 900px;
}

.workflow-part-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.workflow-part-section.drag-over-part {
    border-color: #007bff;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.workflow-part-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.workflow-part-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.workflow-part-payment-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #28a745;
    font-weight: 500;
}

.workflow-part-payment-info .material-symbols-outlined {
    font-size: 1rem;
}

/* Parts Configuration */
.workflow-parts-config {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.workflow-part-config-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.workflow-part-config-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.workflow-part-config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.workflow-part-config-header h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.workflow-part-config-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-part-config-body .form-group {
    margin-bottom: 0;
}

.workflow-part-config-body .form-hint {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.workflow-part-phases {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.workflow-phase-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: move;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.workflow-phase-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.workflow-phase-item.drag-over {
    border-color: #007bff;
    background: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.workflow-phase-drag {
    cursor: move;
    color: #6c757d;
    padding: 0.5rem;
}

.workflow-phase-drag .material-symbols-outlined {
    font-size: 1.5rem;
}

.workflow-phase-content {
    flex: 1;
}

.workflow-phase-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.workflow-phase-config {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.workflow-phase-config-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f5f5f5;
    border-radius: 6px;
}

.workflow-phase-config-item .material-symbols-outlined {
    font-size: 1.25rem;
    color: #6c757d;
}

.workflow-phase-config-item span:not(.material-symbols-outlined) {
    font-size: 0.875rem;
    color: #333;
}

.workflow-phase-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.workflow-phase-btn {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.625rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #64748b;
    width: 40px;
    height: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.workflow-phase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.workflow-phase-btn-edit:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.workflow-phase-btn-duplicate:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.workflow-phase-btn-delete:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
}

.workflow-phase-btn .material-symbols-outlined {
    font-size: 1.125rem;
    color: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .workflow-fullscreen {
        padding: 1rem;
    }
    
    .workflow-fullscreen-content {
        min-height: calc(100vh - 2rem);
    }
    
    .workflow-body {
        padding: 2rem 1.5rem;
    }
    
    .workflow-title {
        font-size: 2rem;
    }
    
    .workflow-options-grid,
    .workflow-contracts-grid,
    .workflow-products-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-payment-options {
        grid-template-columns: 1fr;
    }
}

