@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* Redesigned Design System Variable Tokens */
:root {
    --pure-white: #FFFFFF;
    --soft-lavender: #FAF5FF;
    --mist-purple: #F3E8FF;
    --lavender-purple: #A855F7;
    --rich-purple: #7E22CE;
    --deep-violet: #3B0764;
    --dusty-pink: #F472B6;
    --blush-tint: #FDF2F8;
    --near-black: #0F051D;
    --warm-grey: #6B7280;
    
    /* Modern Glass System */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(126, 34, 206, 0.06);
    
    /* Fonts */
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--soft-lavender);
    color: var(--near-black);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(at 0% 0%, rgba(168, 85, 247, 0.08) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(244, 114, 182, 0.06) 0px, transparent 50%);
    background-attachment: fixed;
}

html {
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Ambient Glowing Background Blobs */
.ambient-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: blobFloat 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background-color: var(--lavender-purple);
}

.blob-2 {
    bottom: -10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background-color: var(--dusty-pink);
    animation-delay: -5s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -50px) scale(1.1);
    }
    100% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Premium Glassmorphism Panel Utility */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-panel:hover {
    box-shadow: 0 12px 40px 0 rgba(126, 34, 206, 0.12);
    border-color: rgba(168, 85, 247, 0.25);
}

/* Navbar Style */
.navbar {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 15px rgba(126, 34, 206, 0.05);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.nav-brand h1 {
    font-size: 1.6rem;
    color: var(--rich-purple);
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0;
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--lavender-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-subtitle {
    font-size: 0.8rem;
    color: var(--warm-grey);
    display: block;
    font-weight: 500;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.employee-name {
    color: var(--rich-purple);
    font-weight: 600;
    font-size: 0.95rem;
    margin-right: 8px;
    background: rgba(168, 85, 247, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

/* Buttons System */
.btn {
    padding: 10px 24px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--lavender-purple) 100%);
    color: var(--pure-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
    filter: brightness(1.05);
}

.btn-secondary {
    background-color: var(--pure-white);
    color: var(--rich-purple);
    border: 1.5px solid rgba(168, 85, 247, 0.3);
}

.btn-secondary:hover {
    background-color: var(--mist-purple);
    border-color: var(--lavender-purple);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: var(--pure-white);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--pure-white);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-info {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: var(--pure-white);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
    border-radius: 14px;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn:active {
    transform: scale(0.97) translateY(0);
}

/* Premium 2-Column Hero Section */
.hero {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--rich-purple);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    gap: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: var(--deep-violet);
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--dusty-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--warm-grey);
    margin-bottom: 36px;
    max-width: 580px;
}

/* Floating Graphic Card in Hero */
.hero-graphic-card {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glass-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(126, 34, 206, 0.1);
    border-radius: 24px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    animation: floatCard 6s ease-in-out infinite;
}

.hero-illustration-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}

@keyframes floatCard {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Services Grid Component */
.services {
    padding: 80px 0;
    background-color: transparent;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: var(--deep-violet);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    color: var(--warm-grey);
    margin-bottom: 48px;
    font-size: 1.05rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    padding: 36px 28px;
    text-align: center;
    cursor: pointer;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    background: linear-gradient(145deg, var(--pure-white) 0%, rgba(243, 232, 255, 0.5) 100%);
    border-color: var(--lavender-purple);
    box-shadow: 0 16px 36px rgba(126, 34, 206, 0.12);
}

.service-icon-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.1);
    color: var(--rich-purple);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--rich-purple);
    color: var(--pure-white);
    transform: rotate(6deg) scale(1.05);
}

.service-icon {
    width: 38px;
    height: 38px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 1.25rem;
    color: var(--deep-violet);
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--warm-grey);
}

/* Star Selector UI Element */
.star-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 12px 0;
}

.star-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #D1D5DB;
    transition: all 0.15s ease;
}

.star-btn.selected,
.star-btn:hover {
    color: #FBBF24;
    transform: scale(1.15);
}

/* Estimate container styling */
.estimate-container {
    background: var(--blush-tint);
    border: 1px solid rgba(244, 114, 182, 0.25);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.estimate-price {
    font-size: 1.3rem;
    color: var(--rich-purple);
    font-weight: 800;
    margin-top: 4px;
}

/* Support Form */
.support {
    padding: 80px 0;
}

.support-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: var(--deep-violet);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    background-color: var(--pure-white);
    color: var(--near-black);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--lavender-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E22CE' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
}

/* Timeline Tracker UI */
.timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 32px 0 24px;
    padding: 0 10px;
}

.timeline-line {
    position: absolute;
    top: 14px;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: var(--mist-purple);
    z-index: 1;
}

.timeline-progress {
    position: absolute;
    top: 14px;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, var(--lavender-purple), var(--rich-purple));
    z-index: 1;
    transition: width 0.4s ease;
}

.timeline-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--warm-grey);
}

.timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--pure-white);
    border: 3px solid var(--mist-purple);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    color: var(--warm-grey);
}

.timeline-dot svg {
    width: 16px;
    height: 16px;
}

.timeline-step.active .timeline-dot {
    border-color: var(--lavender-purple);
    background-color: var(--mist-purple);
    color: var(--rich-purple);
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.3);
}

.timeline-step.completed .timeline-dot {
    border-color: var(--rich-purple);
    background-color: var(--rich-purple);
    color: var(--pure-white);
}

.timeline-step.active {
    color: var(--rich-purple);
}

.timeline-step.completed {
    color: var(--near-black);
}

/* Custom Feedback Rating Card */
.feedback-card {
    background: linear-gradient(135deg, var(--blush-tint) 0%, var(--mist-purple) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.feedback-card h5 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--deep-violet);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 380px;
    width: calc(100% - 48px);
}

.toast {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateX(120%);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 5px solid var(--warm-grey);
}

.toast.show {
    transform: translateX(0);
}

.toast-success { border-left-color: #10B981; }
.toast-error { border-left-color: #EF4444; }
.toast-info { border-left-color: #3B82F6; }

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-message {
    font-size: 0.9rem;
    font-weight: 550;
    color: var(--near-black);
}

/* Modals Refactoring */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(15, 5, 29, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--pure-white);
    margin: 5% auto;
    border-radius: 24px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 25px 50px -12px rgba(126, 34, 206, 0.25);
    animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.modal-small {
    max-width: 420px;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(30px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--deep-violet) 0%, var(--rich-purple) 100%);
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    color: var(--pure-white);
    font-size: 1.35rem;
    font-weight: 700;
}

.close {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.8rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close:hover {
    color: var(--pure-white);
}

.modal-content form {
    padding: 30px;
    background-color: var(--pure-white);
}

/* My Bookings Modal Enhancements */
.modal-bookings {
    max-width: 700px;
}

.modal-title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    width: 28px;
    height: 28px;
    color: var(--pure-white);
}

.modal-body {
    padding: 30px;
    background-color: var(--pure-white);
}

.search-section {
    margin-bottom: 24px;
}

.search-description {
    color: var(--warm-grey);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.search-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--lavender-purple);
    pointer-events: none;
}

.search-phone-input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    border: 2px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background: var(--pure-white);
}

.search-phone-input:focus {
    outline: none;
    border-color: var(--lavender-purple);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.search-phone-input::placeholder {
    color: var(--warm-grey);
}

.btn-search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.btn-search svg {
    width: 20px;
    height: 20px;
}

/* Mobile Responsive for My Bookings Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-bookings {
        max-width: 100%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .search-description {
        font-size: 0.9rem;
    }
    
    .modal-icon {
        width: 24px;
        height: 24px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
}

/* Customer Booking Details */
.bookings-results {
    margin-top: 24px;
    max-height: 500px;
    overflow-y: auto;
    padding: 4px;
}

/* Loading and Empty States */
.loading, .empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--warm-grey);
    font-size: 1rem;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading::before {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid rgba(168, 85, 247, 0.1);
    border-top-color: var(--lavender-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    background: rgba(168, 85, 247, 0.03);
    border-radius: 14px;
    border: 1.5px dashed rgba(168, 85, 247, 0.2);
    position: relative;
    padding-top: 80px;
}

.empty-state::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2'%3E%3Cpath d='M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-3 7h3m-3 4h3m-6-4h.01M9 16h.01'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.4;
}

.booking-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FDFBFF 100%);
    padding: 0;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1.5px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.04);
    transition: all 0.3s ease;
    overflow: hidden;
}

.booking-card:hover {
    box-shadow: 0 8px 24px rgba(126, 34, 206, 0.12);
    transform: translateY(-2px);
    border-color: rgba(168, 85, 247, 0.25);
}

/* Booking Card Header */
.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(244, 114, 182, 0.05) 100%);
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.booking-service-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-icon-mini {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rich-purple);
}

.service-icon-mini svg {
    width: 100%;
    height: 100%;
}

.booking-card-header h4 {
    color: var(--rich-purple);
    font-size: 1.3rem;
    margin: 0;
    font-weight: 700;
}

/* Tracking ID Box */
.tracking-id-box {
    margin: 20px 24px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.06) 0%, rgba(244, 114, 182, 0.04) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(168, 85, 247, 0.3);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tracking-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--warm-grey);
}

.tracking-id {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rich-purple);
    letter-spacing: 1px;
}

/* Booking Details Grid */
.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    padding: 0 24px;
    margin-bottom: 16px;
}

.detail-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border: 1px solid rgba(168, 85, 247, 0.08);
}

.detail-item-full {
    grid-column: 1 / -1;
    margin: 0 24px 16px;
}

.detail-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--lavender-purple);
}

.detail-icon svg {
    width: 100%;
    height: 100%;
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--warm-grey);
}

.detail-value {
    font-size: 0.95rem;
    color: var(--near-black);
    font-weight: 500;
    word-wrap: break-word;
}

/* Alert Boxes */
.alert-box {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    margin: 0 24px 16px;
    border-radius: 12px;
    border: 1px solid;
}

.alert-warning {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.3);
}

.alert-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.alert-icon svg {
    width: 100%;
    height: 100%;
}

.alert-warning .alert-icon {
    color: #F59E0B;
}

.alert-success .alert-icon {
    color: #059669;
}

.alert-box strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--deep-violet);
}

.alert-box p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--near-black);
}

.amount-value {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #059669 !important;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1.5px solid transparent;
}

.status-pending { 
    background: rgba(245, 158, 11, 0.12); 
    color: #D97706; 
    border-color: rgba(245, 158, 11, 0.3); 
}

.status-assigned { 
    background: rgba(59, 130, 246, 0.12); 
    color: #2563EB; 
    border-color: rgba(59, 130, 246, 0.3); 
}

.status-ongoing { 
    background: rgba(168, 85, 247, 0.12); 
    color: #7E22CE; 
    border-color: rgba(168, 85, 247, 0.3); 
}

.status-completed { 
    background: rgba(16, 185, 129, 0.12); 
    color: #059669; 
    border-color: rgba(16, 185, 129, 0.3); 
}

.status-rejected { 
    background: rgba(239, 68, 68, 0.12); 
    color: #DC2626; 
    border-color: rgba(239, 68, 68, 0.3); 
}

.status-incomplete { 
    background: rgba(236, 72, 153, 0.12); 
    color: #DB2777; 
    border-color: rgba(236, 72, 153, 0.3); 
}

/* Timeline Enhancements */
.timeline {
    margin: 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 14px;
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.rejected-step {
    color: #EF4444 !important;
}

.rejected-dot {
    background-color: #FEE2E2 !important;
    border-color: #EF4444 !important;
    color: #EF4444 !important;
}

.rejected-dot svg {
    width: 14px;
    height: 14px;
}

.incomplete-step {
    color: #EC4899 !important;
}

.incomplete-step .timeline-dot {
    background-color: #FDF2F8 !important;
    border-color: #EC4899 !important;
    color: #EC4899 !important;
}

/* Feedback Card */
.feedback-card {
    margin: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(244, 114, 182, 0.03) 100%);
    border-radius: 14px;
    border: 1.5px solid rgba(168, 85, 247, 0.15);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.feedback-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender-purple);
}

.feedback-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.feedback-card h5 {
    color: var(--rich-purple);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 700;
}

.feedback-subtitle {
    color: var(--warm-grey);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.feedback-textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    resize: vertical;
    transition: all 0.2s ease;
}

.feedback-textarea:focus {
    outline: none;
    border-color: var(--lavender-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

/* Star Selector Enhancement */
.star-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 16px 0;
}

.star-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #D1D5DB;
    transition: all 0.2s ease;
    padding: 4px;
}

.star-btn.selected {
    color: #F59E0B;
    transform: scale(1.1);
}

.star-btn:hover {
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .booking-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .booking-details-grid {
        grid-template-columns: 1fr;
    }
    
    .tracking-id {
        font-size: 0.95rem;
    }
    
    .detail-item {
        padding: 10px;
    }
}

/* About & Ratings sliders */
.about-ratings {
    padding: 80px 0;
    background-color: rgba(168, 85, 247, 0.02);
}

.about-section {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    color: var(--near-black);
    line-height: 1.8;
}

.ratings-section {
    margin-top: 60px;
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.rating-card {
    background-color: var(--pure-white);
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.25s ease;
}

.rating-card:hover {
    box-shadow: 0 10px 25px rgba(126, 34, 206, 0.08);
    transform: translateY(-3px);
}

.stars {
    color: #F59E0B;
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.rating-card h4 {
    color: var(--deep-violet);
    margin-bottom: 8px;
    font-size: 1.05rem;
    font-weight: 700;
}

.rating-card p {
    color: var(--near-black);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.rating-service {
    color: var(--rich-purple);
    font-size: 0.85rem;
    font-style: italic;
}

/* Footer Section */
.footer {
    background-color: var(--near-black);
    padding: 60px 0 30px;
    margin-top: 80px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand h3 {
    color: var(--pure-white);
    font-size: 1.6rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.footer-brand p {
    color: var(--warm-grey);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--lavender-purple);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--warm-grey);
    font-size: 0.85rem;
}

/* Unified Employee / Admin Auth Screen */
.auth-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-container {
    width: 100%;
    max-width: 440px;
}

.auth-card {
    background-color: var(--pure-white);
    padding: 48px 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(126, 34, 206, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
}

.auth-logo-container {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.auth-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--rich-purple);
    margin-bottom: 6px;
    letter-spacing: 2px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--lavender-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--warm-grey);
    margin-bottom: 36px;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
}

.link {
    color: var(--lavender-purple);
    text-decoration: none;
    transition: color 0.2s ease;
    font-weight: 600;
}

.link:hover {
    color: var(--rich-purple);
    text-decoration: underline;
}

.error-message {
    color: #EF4444;
    margin-top: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Dashboard UI Layout */
.dashboard {
    min-height: 100vh;
    background-color: var(--soft-lavender);
}

.dashboard-content {
    padding: 40px 0;
}

/* Admin / Employee Stats Widgets */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--pure-white);
    padding: 24px 28px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(168, 85, 247, 0.12);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.02);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(126, 34, 206, 0.08);
    border-color: rgba(168, 85, 247, 0.25);
}

.stat-icon {
    width: 56px;
    height: 56px;
    color: var(--rich-purple);
    flex-shrink: 0;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-info h3 {
    font-size: 1.8rem;
    color: var(--deep-violet);
    margin-bottom: 2px;
    font-weight: 800;
}

.stat-info p {
    color: var(--warm-grey);
    font-size: 0.85rem;
    font-weight: 550;
}

/* Orders Dashboard Panels */
.orders-section {
    margin-top: 32px;
}

.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.order-card {
    background-color: var(--pure-white);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.02);
    border: 1px solid rgba(168, 85, 247, 0.15);
    border-left: 5px solid var(--lavender-purple);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-card:hover {
    box-shadow: 0 12px 28px rgba(126, 34, 206, 0.1);
    transform: translateY(-3px);
}

.order-card h4 {
    color: var(--rich-purple);
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.order-card p {
    color: var(--near-black);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.order-card strong {
    color: var(--deep-violet);
}

.order-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

/* Dashboard Navigation Tabs */
.tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(168, 85, 247, 0.15);
    overflow-x: auto;
    white-space: nowrap;
}

.tab-btn {
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    color: var(--warm-grey);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: var(--rich-purple);
}

.tab-btn.active {
    color: var(--rich-purple);
    border-bottom-color: var(--rich-purple);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.tab-header .section-title {
    font-size: 1.6rem;
    color: var(--deep-violet);
    margin-bottom: 0;
    text-align: left;
}

/* Filter Controls badge list */
.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 6px 16px;
    background-color: var(--pure-white);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--rich-purple);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background-color: var(--mist-purple);
}

.filter-btn.active {
    background-color: var(--rich-purple);
    border-color: var(--rich-purple);
    color: var(--pure-white);
    box-shadow: 0 4px 10px rgba(126, 34, 206, 0.2);
}

/* Administrative responsive tables */
.bookings-table,
.employees-table,
.reports-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.table-row {
    background-color: var(--pure-white);
    padding: 20px 24px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
    align-items: center;
    border: 1px solid rgba(168, 85, 247, 0.12);
    transition: all 0.2s ease;
}

.table-row:hover {
    background-color: var(--blush-tint);
    border-color: var(--lavender-purple);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(126, 34, 206, 0.06);
}

.table-cell {
    font-size: 0.9rem;
    color: var(--near-black);
}

.table-cell strong {
    color: var(--rich-purple);
    display: block;
    margin-bottom: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.allocate-section {
    display: flex;
    gap: 6px;
    align-items: center;
}

.allocate-section select {
    padding: 6px 10px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    background-color: var(--pure-white);
    color: var(--near-black);
    font-size: 0.85rem;
}

/* Live Search inputs in Admin */
.search-controls {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 20px;
}

.search-input-wrapper {
    position: relative;
    flex-grow: 1;
}

.search-input-wrapper input {
    width: 100%;
    padding: 10px 16px;
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    font-size: 0.9rem;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--lavender-purple);
}

/* Alert Notification Lists */
.notifications-list {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
}

.notification-item {
    background-color: #FEF2F2;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 16px;
    border: 1px solid #FEE2E2;
    border-left: 5px solid #EF4444;
    transition: all 0.2s ease;
}

.notification-item:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.08);
}

.notification-item h4 {
    color: #DC2626;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.notification-item p {
    color: var(--near-black);
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.notification-item strong {
    color: var(--deep-violet);
}

/* Progress States */
.loading {
    text-align: center;
    color: var(--rich-purple);
    padding: 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    color: var(--warm-grey);
    padding: 60px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed rgba(168, 85, 247, 0.2);
    border-radius: 16px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-graphic-card {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: row;
        gap: 12px;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .nav-subtitle {
        display: none;
    }
    
    .nav-buttons {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
    }
    
    .nav-buttons .btn {
        flex: 0 1 auto;
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .table-row {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 12px;
    }
    
    .table-cell {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--mist-purple);
        padding-bottom: 8px;
    }
    
    .table-cell:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .table-cell strong {
        margin-bottom: 0;
    }
    
    .allocate-section {
        width: 100%;
        justify-content: flex-end;
    }
    
    .tab-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-controls {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollbar Custom Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--soft-lavender);
}

::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--rich-purple);
}

/* Customer Reviews Carousel Section - Infinite Scroll Style */
.reviews-section {
    padding: 80px 0;
    background: white;
    overflow: hidden;
    position: relative;
}

.reviews-label {
    text-align: center;
    color: var(--lavender-purple);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.reviews-heading {
    text-align: center;
    font-size: 2.4rem;
    color: var(--deep-violet);
    font-weight: 800;
    margin-bottom: 12px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--dusty-pink) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reviews-sub {
    text-align: center;
    color: var(--warm-grey);
    font-size: 1.05rem;
    margin-bottom: 48px;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    will-change: transform;
    animation: infiniteScroll 12s linear infinite;
}

.carousel-track:hover {
    animation-play-state: paused;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.review-card {
    min-width: 320px;
    max-width: 320px;
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(126, 34, 206, 0.15);
}

.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-violet), var(--lavender-purple), var(--dusty-pink));
}

.review-stars {
    margin-bottom: 15px;
    color: #fbb115;
    font-size: 22px;
    letter-spacing: 3px;
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    flex-grow: 1;
}

.review-author {
    font-weight: bold;
    text-align: right;
    color: #2c3e50;
    margin-top: auto;
    font-size: 18px;
    margin-bottom: 8px;
}

.service-tag-small {
    font-size: 0.75rem;
    color: var(--lavender-purple);
    background: rgba(168, 85, 247, 0.1);
    padding: 4px 10px;
    border-radius: 10px;
    display: inline-block;
    font-weight: 600;
    text-align: right;
    margin-left: auto;
    width: fit-content;
}

/* Remove old carousel button styles */
.carousel-btn,
.carousel-btn-prev,
.carousel-btn-next,
.carousel-indicators {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .review-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .reviews-heading {
        font-size: 2rem;
    }
    
    .carousel-track {
        animation-duration: 6s;
    }
}

@media (max-width: 480px) {
    .review-card {
        min-width: 260px;
        max-width: 260px;
        padding: 20px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .review-author {
        font-size: 16px;
    }
}


/* ================================
   STAR RATING SYSTEM
   ================================ */

.star-rating {
    display: flex;
    gap: 8px;
    font-size: 40px;
    margin-bottom: 10px;
}

.star {
    cursor: pointer;
    color: #7A6B82;
    transition: all 0.2s ease;
    user-select: none;
}

.star:hover {
    transform: scale(1.2);
    color: #9558C6;
}

.star.active {
    color: #9558C6;
}

/* ================================
   UI/UX ENHANCEMENTS
   ================================ */

/* Custom Selection */
::selection {
    background: rgba(149, 88, 198, 0.25);
    color: var(--deep-violet);
}

/* Focus Visible Ring for Accessibility */
:focus-visible {
    outline: 2.5px solid var(--lavender-purple);
    outline-offset: 2px;
    border-radius: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* Smooth Anchor Scroll Offset */
html {
    scroll-padding-top: 80px;
}

/* Form Validation States */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-group .field-error {
    color: #EF4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.2s ease;
}

.form-group input.success,
.form-group textarea.success {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

/* Shimmer Loading Skeleton */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(168, 85, 247, 0.06) 25%,
        rgba(168, 85, 247, 0.15) 50%,
        rgba(168, 85, 247, 0.06) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-text-short {
    width: 60%;
}

.skeleton-title {
    height: 22px;
    width: 40%;
    margin-bottom: 16px;
}

.skeleton-card {
    height: 120px;
    border-radius: 16px;
    margin-bottom: 12px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Floating Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rich-purple) 0%, var(--lavender-purple) 100%);
    color: var(--pure-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(126, 34, 206, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 28px rgba(126, 34, 206, 0.4);
}

.scroll-to-top:active {
    transform: scale(0.92);
}

.scroll-to-top svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Glass Panel Enhancement */
.glass-panel {
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glass-panel:hover::before {
    opacity: 1;
}

/* Card 3D Lift Effect */
.card-lift {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
}

.card-lift:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 16px 40px rgba(126, 34, 206, 0.12);
}

/* Subtle Grid Background Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(rgba(168, 85, 247, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(168, 85, 247, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* Smooth Page Load Transition */
.fade-page {
    animation: pageFadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Success Message */
.success-message {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.04) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.success-message h2 {
    color: #10B981 !important;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Booking Modal Price Estimate Tag */
.estimate-container {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(244, 114, 182, 0.05) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    animation: fadeIn 0.35s ease;
}

.estimate-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--warm-grey);
    margin-bottom: 6px;
}

.estimate-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--rich-purple);
    letter-spacing: -0.5px;
}

.estimate-note {
    font-size: 0.75rem;
    color: var(--warm-grey);
    margin-top: 4px;
}

/* Navbar Scroll Shadow Effect */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(126, 34, 206, 0.1);
    background: rgba(255, 255, 255, 0.92);
}

/* Toast Animation Refinements */
.toast {
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.2;
    animation: toastTimer 4s linear forwards;
}

@keyframes toastTimer {
    from { width: 100%; }
    to { width: 0%; }
}

/* Employee Online Status Pulse */
.online-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
    margin-right: 6px;
    animation: onlinePulse 2s infinite;
}

@keyframes onlinePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0);
    }
}

/* Notification Badge Pulse */
.notif-badge {
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Responsive Floating Button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Booking Timeline Enhancement */
.timeline-step {
    position: relative;
}

.timeline-step .step-tooltip {
    display: none;
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--near-black);
    color: var(--pure-white);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

.timeline-step:hover .step-tooltip {
    display: block;
}

/* Improved Button Loading State */
.btn.loading {
    pointer-events: none;
    position: relative;
    color: transparent !important;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--pure-white);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* Service Card Image Support */
.service-card-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin: 0 auto 16px;
    border-radius: 12px;
}

/* Modal Close Button Hover */
.close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
}

/* Dashboard Stat Card Trending Indicator */
.stat-trend {
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stat-trend.up {
    color: #10B981;
}

.stat-trend.down {
    color: #EF4444;
}


/* ========================================
   EMPLOYEE DETAILS & HISTORY STYLES
   ======================================== */

/* Employee Details */
.employee-details {
    padding: 20px 0;
}

.detail-group {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.detail-group:last-child {
    border-bottom: none;
}

.detail-group h3 {
    font-size: 1.1rem;
    color: var(--dark-purple);
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(168, 85, 247, 0.08);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: var(--warm-grey);
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
    color: var(--near-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-value code {
    background: var(--mist-purple);
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--dark-purple);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: var(--mist-purple);
    transform: scale(1.1);
}

/* Work History Timeline */
.history-header {
    margin-bottom: 20px;
}

.history-header h3 {
    font-size: 1.3rem;
    color: var(--dark-purple);
    font-weight: 700;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--soft-lavender);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(106, 27, 154, 0.06);
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-purple);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--warm-grey);
    font-weight: 500;
}

.history-timeline {
    position: relative;
    padding-left: 30px;
}

.history-timeline h4 {
    font-size: 1.1rem;
    color: var(--dark-purple);
    margin-bottom: 20px;
    font-weight: 700;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--lavender-purple), transparent);
}

.history-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    gap: 15px;
}

.history-marker {
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--lavender-purple);
}

.history-content {
    flex: 1;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(106, 27, 154, 0.06);
    transition: all 0.3s;
}

.history-content:hover {
    box-shadow: 0 4px 16px rgba(106, 27, 154, 0.12);
    transform: translateX(5px);
}

.history-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-title strong {
    font-size: 1.05rem;
    color: var(--dark-purple);
}

.history-details p {
    margin: 6px 0;
    font-size: 0.9rem;
    color: var(--near-black);
}

.history-details strong {
    color: var(--warm-grey);
    font-weight: 600;
}

/* Button Variants */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    margin: 2px;
}

/* Modal Size Variants */
.modal-large .modal-content {
    max-width: 900px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .history-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .history-timeline {
        padding-left: 20px;
    }
    
    .history-marker {
        left: -14px;
    }
    
    .modal-large .modal-content {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
}


/* =========================================
   EMPLOYEE MANAGEMENT - DETAILS MODAL STYLES
   ========================================= */

/* Employee Details Container */
.employee-details-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Detail Card */
.detail-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 255, 0.6) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.15);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.04);
    transition: all 0.3s ease;
}

.detail-card:hover {
    box-shadow: 0 8px 24px rgba(126, 34, 206, 0.1);
    border-color: rgba(168, 85, 247, 0.25);
}

/* Card Header */
.detail-card .card-header {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(244, 114, 182, 0.05) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

.detail-card .card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rich-purple);
}

/* Header Icon */
.header-icon {
    width: 24px;
    height: 24px;
    color: var(--lavender-purple);
    flex-shrink: 0;
}

/* Card Body */
.detail-card .card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Info Row */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.08);
    transition: all 0.2s ease;
}

.info-row:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(168, 85, 247, 0.15);
}

/* Info Label */
.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--warm-grey);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 140px;
}

.info-label svg {
    width: 18px;
    height: 18px;
    color: var(--lavender-purple);
    flex-shrink: 0;
}

/* Info Value */
.info-value {
    flex: 1;
    text-align: right;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--near-black);
}

/* Badge Styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1.5px solid;
}

.badge-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #7E22CE;
    border-color: rgba(168, 85, 247, 0.3);
}

.badge-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #2563EB;
    border-color: rgba(59, 130, 246, 0.3);
}

/* Credential Display */
.credential-display {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.credential-code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--rich-purple);
    background: rgba(168, 85, 247, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(168, 85, 247, 0.15);
    letter-spacing: 0.5px;
    transition: filter 0.3s ease;
}

/* Icon Button */
.icon-btn {
    background: rgba(168, 85, 247, 0.1);
    border: 1.5px solid rgba(168, 85, 247, 0.2);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    color: var(--lavender-purple);
}

.icon-btn:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: var(--lavender-purple);
    transform: scale(1.05);
}

.icon-btn:active {
    transform: scale(0.95);
}

/* Status Badge (Online/Offline) */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border: 1.5px solid;
}

.status-online {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    border-color: rgba(16, 185, 129, 0.3);
}

.status-offline {
    background: rgba(239, 68, 68, 0.12);
    color: #DC2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Modal Large Size for Work History */
.modal-large {
    max-width: 900px;
}

/* =========================================
   WORK HISTORY MODAL STYLES
   ========================================= */

/* Work History Stats Grid */
.history-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(244, 114, 182, 0.03) 100%);
    border-radius: 14px;
    margin-bottom: 24px;
}

.history-stat-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(168, 85, 247, 0.1);
    transition: all 0.2s ease;
}

.history-stat-card:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(126, 34, 206, 0.08);
}

.history-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--warm-grey);
    letter-spacing: 0.3px;
    margin-bottom: 8px;
}

.history-stat-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--rich-purple);
}

.history-stat-value.revenue {
    font-size: 1.4rem;
    color: #059669;
}

/* Work History Timeline */
.work-history-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 500px;
    overflow-y: auto;
    padding: 4px;
}

/* Work History Item */
.work-history-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 255, 0.6) 100%);
    border: 1.5px solid rgba(168, 85, 247, 0.12);
    border-radius: 14px;
    padding: 16px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.work-history-item:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 4px 16px rgba(126, 34, 206, 0.08);
    transform: translateX(4px);
}

.work-history-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
    background: linear-gradient(180deg, var(--lavender-purple) 0%, var(--rich-purple) 100%);
}

/* History Item Header */
.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.history-service-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--rich-purple);
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-service-name svg {
    width: 20px;
    height: 20px;
    color: var(--lavender-purple);
}

/* History Item Details */
.history-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.history-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.history-detail svg {
    width: 16px;
    height: 16px;
    color: var(--lavender-purple);
    flex-shrink: 0;
}

.history-detail-label {
    color: var(--warm-grey);
    font-weight: 600;
}

.history-detail-value {
    color: var(--near-black);
    font-weight: 500;
}

.history-amount {
    font-size: 1.1rem;
    font-weight: 800;
    color: #059669;
}

/* Empty State for History */
.history-empty-state {
    text-align: center;
    padding: 60px 24px;
    background: rgba(168, 85, 247, 0.03);
    border-radius: 14px;
    border: 1.5px dashed rgba(168, 85, 247, 0.2);
}

.history-empty-state svg {
    width: 64px;
    height: 64px;
    color: var(--lavender-purple);
    opacity: 0.3;
    margin-bottom: 16px;
}

.history-empty-state p {
    color: var(--warm-grey);
    font-size: 1rem;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */

@media (max-width: 768px) {
    .employee-details-container {
        padding: 16px;
        gap: 16px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .info-label {
        min-width: auto;
    }
    
    .info-value {
        text-align: left;
        width: 100%;
    }
    
    .credential-display {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .modal-large {
        max-width: 95%;
    }
    
    .history-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }
    
    .history-item-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .work-history-item {
        padding: 14px 16px;
    }
}

@media (max-width: 480px) {
    .detail-card .card-header {
        padding: 12px 16px;
    }
    
    .detail-card .card-body {
        padding: 16px;
    }
    
    .info-row {
        padding: 10px 12px;
    }
    
    .credential-code {
        font-size: 0.85rem;
        padding: 4px 8px;
    }
    
    .icon-btn {
        padding: 5px;
    }
    
    .icon-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .history-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .history-stat-value {
        font-size: 1.5rem;
    }
}


/* =========================================
   COMPLETE ORDERS TAB STYLES
   ========================================= */

.filter-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-controls input[type="date"] {
    font-family: var(--font-body);
    background: var(--pure-white);
    color: var(--near-black);
    transition: all 0.2s ease;
}

.filter-controls input[type="date"]:focus {
    outline: none;
    border-color: var(--lavender-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}

/* Complete orders table enhancements */
#completeContainer .table-row {
    transition: all 0.3s ease;
}

#completeContainer .table-row:hover {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(244, 114, 182, 0.03) 100%);
    border-left: 4px solid var(--lavender-purple);
    padding-left: 20px;
}

/* Action button with icon */
#completeContainer .btn-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

#completeContainer .btn-info svg {
    flex-shrink: 0;
}

/* Responsive adjustments for complete tab */
@media (max-width: 768px) {
    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-controls input[type="date"],
    .filter-controls button {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   EMPLOYEE EDIT MODE STYLES
   ========================================= */

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header .btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.info-value input[type="text"],
.info-value select {
    font-family: var(--font-body);
    color: var(--near-black);
    background: var(--pure-white);
}

.info-value input[type="text"]:focus,
.info-value select:focus {
    outline: none;
    border-color: var(--lavender-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.15);
}
