/* ==================================================
   PURAKAM MONOCHROMATIC & DYNAMIC DESIGN SYSTEM
   Theme: Luxury Minimalist Grayscale (Black, Gray, White)
   With Premium Micro-Motion & Layout Transitions
   ================================================== */

:root {
    /* Monochromatic Light Color Tokens */
    --bg-main: #fcfcfd;        /* Luxury Soft White */
    --bg-surface: #f4f4f6;     /* Pure Cool Light Gray */
    --bg-glass: rgba(255, 255, 255, 0.85); /* Frosty White Glass */
    --border-glass: rgba(0, 0, 0, 0.08);   /* Subtle Dark Border */
    --border-active: rgba(0, 0, 0, 0.25);  /* More Pronounced Border */
    
    --primary: #000000;        /* Crisp Black Accent */
    --primary-muted: #1c1c1e;
    --primary-glow: rgba(0, 0, 0, 0.06);
    
    --text-primary: #121214;   /* Deep charcoal black */
    --text-secondary: #5a5a62; /* Slate dark gray */
    --text-muted: #9e9ea7;     /* Light Muted Gray */
    --accent: #000000;         /* Monochrome Accent */
    
    --success: #000000;
    --success-bg: rgba(0, 0, 0, 0.04);
    --warning: #5a5a62;
    --warning-bg: rgba(0, 0, 0, 0.02);
    --danger: #9e9ea7;
    --danger-bg: rgba(0, 0, 0, 0.01);
    --info: #000000;
    --info-bg: rgba(0, 0, 0, 0.04);
    
    /* Grayscale Status Representations */
    --status-pending-bg: rgba(0, 0, 0, 0.03);
    --status-pending-color: #5a5a62;
    --status-pending-border: rgba(0, 0, 0, 0.08);
    
    --status-active-bg: #121214;
    --status-active-color: #ffffff;
    --status-active-border: #000000;
    
    --status-completed-bg: rgba(0, 0, 0, 0.06);
    --status-completed-color: #000000;
    --status-completed-border: #000000;
    
    --status-cancelled-bg: transparent;
    --status-cancelled-color: #9e9ea7;
    --status-cancelled-border: rgba(0, 0, 0, 0.04);

    /* Layout Constants */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
    /* Monochromatic background texture and glow */
    background-image: 
        radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.015) 0%, transparent 50%);
    background-attachment: fixed;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #d1d1d6;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    outline: none;
}

/* ==================================================
   TYPOGRAPHY
   ================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: -0.03em;
}

/* Premium High-Contrast Monochromatic text gradient */
.gradient-text {
    background: linear-gradient(180deg, #000000 0%, #5a5a62 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==================================================
   LAYOUT: NAVBAR & FOOTER
   ================================================== */
.navbar-container {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-medium);
}

.navbar-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.35rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    color: var(--primary);
}

.logo-icon {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}


.logo:hover .logo-icon {
    transform: rotate(360deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-fast);
    padding: 0.5rem 0.9rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
}

.nav-link i {
    width: 14px;
    height: 14px;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.highlight-partner {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.nav-link.highlight-partner:hover {
    background: var(--primary);
    color: var(--bg-main);
    border-color: var(--primary);
}

.user-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    border: 1px solid var(--border-glass);
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.user-pill i {
    width: 12px;
    height: 12px;
    color: var(--text-primary);
}

.role-badge {
    background: var(--text-muted);
    color: var(--text-primary);
    font-size: 0.65rem;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ==================================================
   BUTTONS (Monochromatic Styling & Hover Scaling)
   ================================================== */
.btn-primary {
    background: #000000;
    color: #ffffff;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #000000;
    cursor: pointer;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: #1c1c1e;
    border-color: #1c1c1e;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-medium);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-logout {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-fast);
}

.btn-logout:hover {
    color: var(--text-primary);
}

/* ==================================================
   CORE WRAPPER & GLASS CARDS (Slow Motion Hover)
   ================================================== */
.main-wrapper {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 2.2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
    transition: var(--transition-slow);
}

.glass-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

/* ==================================================
   LANDING / HOME PAGE & MOTION EFFECTS
   ================================================== */
.hero-section {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
    padding: 4rem 1rem 6rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: slideUpFade 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Motion: Keyframe animation for content slides */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Interactive Search Bar */
.search-container {
    display: flex;
    max-width: 100%;
    margin: 0 0 2rem 0;
    position: relative;
    animation: slideUpFade 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-visual {
    position: relative;
    animation: slideUpFade 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.05);
    transition: var(--transition-slow);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1.1 / 1;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

.hero-image-wrapper:hover {
    border-color: var(--border-active);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08);
}

/* Promo Split Banner Section */
.promo-banner-section {
    margin-bottom: 5rem;
}

.promo-banner-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.promo-image-side {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.promo-banner-card:hover .promo-image {
    transform: scale(1.02);
}

.promo-content-side {
    padding: 3.5rem;
    text-align: left;
}

.promo-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
}

.promo-content-side h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.promo-content-side p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.8rem;
    line-height: 1.6;
}

.promo-features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.promo-features-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.promo-features-list li i {
    width: 16px;
    height: 16px;
}

/* Responsive updates for home page */
@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 1rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .search-container {
        margin: 0 auto;
        max-width: 580px;
    }
    
    .hero-image {
        max-width: 500px;
        margin: 0 auto;
        aspect-ratio: 1.2 / 1;
    }
    
    .promo-banner-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .promo-image-side {
        min-height: 300px;
        order: 2;
    }
    
    .promo-content-side {
        padding: 2.5rem 1.8rem;
        order: 1;
    }
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    transition: var(--transition-medium);
}

.search-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.03);
}

.search-icon {
    position: absolute;
    left: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    width: 18px;
    transition: var(--transition-fast);
}

.search-input:focus + .search-icon {
    color: var(--text-primary);
}

/* Category Grid & Cards (Hover Lift) */
.section-title {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 500;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    margin-bottom: 6rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.8rem 1.8rem;
    cursor: pointer;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    transition: var(--transition-slow);
}

.category-card i {
    width: 40px;
    height: 40px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition-medium);
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(255, 255, 255, 0.03);
}

.category-card:hover i {
    color: var(--primary);
    transform: scale(1.1);
}

/* Stats Flow */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    text-align: center;
    padding: 3.5rem;
    margin-top: 3rem;
    background: var(--bg-surface);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
    transition: var(--transition-slow);
}

.stats-banner:hover {
    border-color: var(--border-active);
}

.stat-item h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================================================
   SERVICES & PARTNER LISTINGS
   ================================================== */
.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
}

/* Filters Sidebar */
.filter-sidebar h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group {
    margin-bottom: 1.8rem;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    outline: none;
    transition: var(--transition-fast);
}

.form-input:focus {
    border-color: var(--primary);
}

/* Category Filter Vertical List */
.category-filter-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.category-filter-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.9rem;
    border-radius: var(--border-radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.category-filter-item i {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.category-filter-item:hover {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
}

.category-filter-item:hover i {
    color: var(--text-primary);
}

.category-filter-item.active {
    background: #000000;
    color: #ffffff;
}

.category-filter-item.active i {
    color: #ffffff;
}

/* Segment Control */
.segment-control {
    display: flex;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    padding: 0.25rem;
    gap: 0.25rem;
}

.segment-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.8rem;
    border-radius: calc(var(--border-radius-sm) - 2px);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.segment-btn:hover {
    color: var(--text-primary);
}

.segment-btn.active {
    background: #000000;
    color: #ffffff;
}

/* Partner List Card styles (Monochrome layout) */
.partner-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partner-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    transition: var(--transition-slow);
}

.partner-card:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
}

.partner-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
}

.partner-info h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.partner-details {
    display: flex;
    gap: 1.2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.partner-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.partner-details i {
    width: 13px;
    height: 13px;
}

.partner-details .rating {
    color: var(--text-primary);
    font-weight: 600;
}

.partner-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 580px;
}

.partner-actions {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
}

.partner-price {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

.partner-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
}

.status-online {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.status-offline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
}

/* ==================================================
   BOOKING FLOW (WIZARD STEPS)
   ================================================== */
.booking-container {
    max-width: 700px;
    margin: 0 auto;
}

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.booking-steps-nav::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-glass);
    z-index: 1;
}

.step-indicator {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.9rem;
    z-index: 2;
    color: var(--text-secondary);
    transition: var(--transition-medium);
}

.step-indicator.active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--bg-main);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
}

.step-indicator.completed {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}

/* Form layout settings */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.form-full {
    grid-column: span 2;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

textarea.form-input {
    resize: none;
    height: 120px;
}

/* Invoice Calculations Table */
.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.invoice-table th, .invoice-table td {
    padding: 0.9rem 1.2rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glass);
}

.invoice-table td.amount {
    text-align: right;
    font-weight: 500;
}

.invoice-table tr.total-row {
    font-size: 1.2rem;
    font-weight: 600;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.invoice-table tr.total-row td.amount {
    color: var(--text-primary);
}

/* Payment Selector Cards */
.payment-selector {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-medium);
}

.payment-option input {
    accent-color: #000000;
    width: 18px;
    height: 18px;
}

.payment-option i {
    width: 20px;
    color: var(--text-primary);
}

.payment-option:hover {
    border-color: var(--border-active);
    background: rgba(0, 0, 0, 0.02);
}

.upi-form-wrapper {
    background: var(--bg-surface);
    padding: 1.2rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.5rem;
    border: 1px dashed var(--border-glass);
}

/* ==================================================
   DASHBOARDS (CUSTOMER / PARTNER)
   ================================================== */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
}

.dashboard-stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition-medium);
}

.dashboard-stat-card:hover {
    border-color: var(--border-active);
    transform: translateY(-3px);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius-sm);
    background: var(--bg-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-data h3 {
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 600;
}

.stat-data p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Booking Record Items */
.booking-item-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: var(--transition-slow);
}

.booking-item-card:hover {
    border-color: var(--border-active);
}

.booking-header {
    background: var(--bg-surface);
    padding: 1.2rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.booking-body {
    padding: 1.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

.booking-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.booking-meta-row {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.booking-meta-row i {
    width: 15px;
    height: 15px;
    color: var(--text-primary);
}

/* Monochromatic status indicators */
.status-badge {
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border: 1px solid transparent;
}

.badge-pending {
    background: var(--status-pending-bg);
    color: var(--status-pending-color);
    border-color: var(--status-pending-border);
}

.badge-accepted, .badge-on_the_way, .badge-in_progress {
    background: var(--status-active-bg);
    color: var(--status-active-color);
    border-color: var(--status-active-border);
}

.badge-completed {
    background: var(--status-completed-bg);
    color: var(--status-completed-color);
    border-color: var(--status-completed-border);
}

.badge-cancelled {
    background: var(--status-cancelled-bg);
    color: var(--status-cancelled-color);
    border-color: var(--status-cancelled-border);
    text-decoration: line-through;
}

/* Booking Timeline lifecycle */
.booking-lifecycle {
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-glass);
}

.lifecycle-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
    flex: 1;
}

.lifecycle-step::after {
    content: '';
    position: absolute;
    top: 9px;
    left: 50%;
    right: -50%;
    height: 1px;
    background: var(--border-glass);
    z-index: 1;
    transition: var(--transition-medium);
}

.lifecycle-step:last-child::after {
    display: none;
}

.lifecycle-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    margin-bottom: 0.4rem;
    z-index: 2;
    transition: var(--transition-medium);
}

.lifecycle-step.active {
    color: var(--text-primary);
    font-weight: 600;
}

.lifecycle-step.active .lifecycle-dot {
    border: 3px solid var(--primary);
    background: var(--bg-main);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    animation: activeStepPulse 2.5s infinite ease-in-out;
}

@keyframes activeStepPulse {
    0% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.25);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(0, 0, 0, 0);
    }
}

.lifecycle-step.completed {
    color: var(--text-primary);
}

.lifecycle-step.completed .lifecycle-dot {
    border-color: var(--primary);
    background: var(--primary);
}

.lifecycle-step.completed::after {
    background: var(--primary);
}

/* ==================================================
   PARTNER CONSOLE SPECIALS & SWITCHES
   ================================================== */
.partner-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
}

.online-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-surface);
    padding: 1.2rem 1.8rem;
    border-radius: var(--border-radius-md);
    border: 1px solid var(--border-glass);
    margin-bottom: 2.5rem;
    transition: var(--transition-medium);
}

.online-toggle-wrapper:hover {
    border-color: var(--border-active);
}

/* Switch Toggle widget */
.switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eaeaea;
    transition: var(--transition-fast);
    border-radius: 34px;
    border: 1px solid var(--border-glass);
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-secondary);
    transition: var(--transition-fast);
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #000000;
    border-color: #000000;
}

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

/* SVG Earnings Chart (Monochromatic gray gradient fill) */
.earnings-chart-container {
    margin-top: 2rem;
    position: relative;
}

.chart-svg {
    width: 100%;
    height: 150px;
}

.chart-line {
    fill: none;
    stroke: #000000;
    stroke-width: 2;
    stroke-linecap: round;
}

.chart-grid-line {
    stroke: rgba(0, 0, 0, 0.05);
    stroke-width: 1;
}

.chart-area {
    fill: url(#area-gradient);
    opacity: 0.15;
}

/* ==================================================
   MOCK MAP SIMULATOR
   ================================================== */
.map-simulator {
    height: 200px;
    background: var(--bg-surface);
    border-radius: var(--border-radius-md);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background-image: 
        radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000000;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.map-marker::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    transform: rotate(45deg);
}

.map-marker.pulse::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid #000000;
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
    top: -10px;
    left: -10px;
}

@keyframes pulse-animation {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ==================================================
   NOTIFICATION SYSTEM (TOAST SPRING MOTION)
   ================================================== */
#toast-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 1000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #ffffff;
    border: 1px solid var(--border-glass);
    border-left: 3px solid #000000;
    padding: 1.1rem 1.6rem;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 16px 36px rgba(0,0,0,0.08);
    color: var(--text-primary);
    min-width: 320px;
    justify-content: space-between;
    animation: springSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes springSlideIn {
    from {
        opacity: 0;
        transform: translateX(120%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.toast-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toast-close-btn:hover {
    color: var(--text-primary);
}

/* Auth forms minimal card styles */
.auth-container {
    max-width: 450px;
    margin: 4rem auto;
}

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

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* Star selection widget */
.rating-picker {
    display: flex;
    gap: 0.6rem;
    margin: 1.2rem 0;
}

.rating-star {
    font-size: 2.2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.rating-star.selected {
    color: var(--primary);
}

/* ==================================================
   PAGE FADE MOTION TRANSITIONS
   ================================================== */
.fade-in {
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==================================================
   CHAT DRAWER (MONOCHROMATIC GRAYSCALE STYLE)
   ================================================== */
.chat-drawer {
    position: fixed;
    top: 0;
    right: -420px; /* Initially hidden */
    width: 420px;
    height: 100vh;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.06);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-drawer.open {
    right: 0;
}

.chat-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
}

.chat-drawer-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-drawer-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chat-drawer-close-btn:hover {
    color: var(--primary);
}

.chat-messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Chat bubble styling */
.chat-message-bubble {
    max-width: 80%;
    padding: 0.8rem 1.1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    line-height: 1.4;
    position: relative;
    animation: slideUpFade 0.3s ease-out;
}

.chat-message-bubble.incoming {
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-message-bubble.outgoing {
    background: var(--primary);
    color: var(--bg-main);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-message-sender {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-secondary);
}

.chat-message-bubble.outgoing .chat-message-sender {
    color: rgba(0, 0, 0, 0.6);
}

.chat-message-text {
    word-break: break-word;
}

.chat-message-time {
    font-size: 0.65rem;
    margin-top: 0.4rem;
    text-align: right;
    color: var(--text-muted);
}

.chat-message-bubble.outgoing .chat-message-time {
    color: rgba(0, 0, 0, 0.45);
}

.chat-input-area {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid var(--border-glass);
    background: var(--bg-surface);
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    background: var(--bg-main);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--text-primary);
    outline: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.chat-input:focus {
    border-color: var(--primary);
    background: #ffffff;
}

.chat-send-btn {
    background: var(--primary);
    color: var(--bg-main);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-medium);
}

.chat-send-btn:hover {
    transform: scale(1.05);
    background: var(--primary-muted);
}

.chat-send-btn i {
    width: 16px;
    height: 16px;
}

/* Chat drawer backdrop */
.chat-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.chat-drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Chat Launcher Button */
.chat-launcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-medium);
}

.chat-launcher-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* ==========================================
   UI MOTION & MICRO-INTERACTIONS
   ========================================== */

/* 1. Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--text-primary, #000000);
    z-index: 99999;
    transform-origin: 0 50%;
    transform: scaleX(0);
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: scroll()) {
        @keyframes grow-progress {
            from { transform: scaleX(0); }
            to { transform: scaleX(1); }
        }
        .scroll-progress {
            animation: grow-progress auto linear;
            animation-timeline: scroll();
        }
    }
}

/* 2. Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Revealed class for JS fallbacks or explicit triggers */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    @supports ((animation-timeline: view()) and (animation-range: entry)) {
        @keyframes reveal-in {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .scroll-reveal {
            animation: reveal-in auto linear forwards;
            animation-timeline: view();
            animation-range: entry 10% entry 40%;
            transition: none; /* Disable CSS transition if native scroll-driven animation is supported */
        }
    }
}

/* 3. Click Ripple Effect */
.ripple-container {
    position: relative !important;
    overflow: hidden !important;
}

.click-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.5s cubic-bezier(0.1, 0.8, 0.3, 1);
    pointer-events: none;
    background: rgba(0, 0, 0, 0.08); /* Minimal dark gray ripple for light elements */
}

/* White ripple for primary buttons (which are black) */
.btn-primary .click-ripple,
.btn-logout .click-ripple,
.chat-send-btn .click-ripple {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ==================================================
   FOOTER (Premium Monochromatic Design)
   ================================================== */
.footer-container {
    background: #000000;
    color: #ffffff;
    border-top: 1px solid var(--border-glass);
    padding: 5rem 2rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-brand .logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.8rem;
}

.footer-brand .logo-icon {
    stroke: #ffffff;
    width: 28px;
    height: 28px;
}

.footer-desc {
    color: #a1a1aa;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 380px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #27272a;
    color: #a1a1aa;
    transition: all 0.3s ease;
}

.social-link i {
    width: 16px;
    height: 16px;
}

.social-link:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.footer-links-col h4,
.footer-info-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-list a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.footer-links-list a i {
    width: 12px;
    height: 12px;
    opacity: 0;
    transition: all 0.2s ease;
    transform: translateX(-4px);
}

.footer-links-list a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.presence-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.presence-tag {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: #18181b;
    border: 1px solid #27272a;
    border-radius: 50px;
    color: #a1a1aa;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}

.presence-tag i {
    width: 12px;
    height: 12px;
}

.presence-tag:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: #27272a;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-link {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.contact-link i {
    width: 14px;
    height: 14px;
}

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

.footer-bottom {
    border-top: 1px solid #18181b;
    padding-top: 2rem;
    margin-top: 2rem;
}

.footer-bottom-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: #71717a;
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-legal-links a {
    color: #71717a;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links .divider {
    color: #27272a;
    font-size: 0.85rem;
}

/* ==================================================
   MOBILE & TABLET RESPONSIVENESS UPDATES
   ================================================== */

/* Hide mobile toggle and mobile actions by default on desktop */
.mobile-menu-toggle,
.navbar-actions-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* 1. Global Navigation Bar Collapse & Menu Trigger */
    .navbar-actions-mobile {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }
    
    .btn-login-mobile {
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-primary);
        border: 1px solid var(--border-glass);
        padding: 0.4rem 0.9rem;
        border-radius: var(--border-radius-sm);
        background: var(--bg-surface);
        transition: var(--transition-fast);
        display: inline-flex;
        align-items: center;
    }
    
    .btn-login-mobile:hover {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
    }
    
    .mobile-menu-toggle {
        display: flex;
        background: none;
        border: none;
        color: var(--text-primary);
        cursor: pointer;
        padding: 0.5rem;
        align-items: center;
        justify-content: center;
        z-index: 110;
        transition: var(--transition-fast);
    }
    
    .mobile-menu-toggle i {
        width: 22px;
        height: 22px;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-glass);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-bottom: 1px solid var(--border-glass);
        flex-direction: column;
        align-items: stretch;
        padding: 1.5rem 2rem;
        gap: 1rem;
        display: none; /* Managed by JS class toggle */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 99;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        padding: 0.8rem 1rem;
        box-sizing: border-box;
    }
    
    .user-pill {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        box-sizing: border-box;
    }
    
    .nav-links .btn-primary {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    /* 2. Global wrapper / Glass Card adjustments */
    .main-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .glass-card {
        padding: 1.5rem 1.2rem;
        border-radius: var(--border-radius-sm);
    }
    
    /* 3. Services Search Layout & Partner Cards */
    .services-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-glass);
        padding-bottom: 1.5rem;
    }
    
    .partner-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.2rem;
    }
    
    .partner-avatar {
        margin: 0 auto;
    }
    
    .partner-info h3 {
        justify-content: center;
    }
    
    .partner-details {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    
    .partner-actions {
        align-items: center;
        text-align: center;
    }
    
    /* 4. Booking Card Body & Lifecycle Timeline */
    .booking-body {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.2rem;
    }
    
    .booking-body > div:last-child {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    /* Vertical timeline for booking progress on mobile */
    .booking-lifecycle {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.2rem;
    }
    
    .lifecycle-step {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        color: var(--text-muted);
        text-align: left;
        position: relative;
    }
    
    .lifecycle-step::after {
        left: 9px;
        top: 18px;
        bottom: -23px;
        right: auto;
        width: 1px;
        height: auto;
    }
    
    .lifecycle-step:last-child::after {
        display: none;
    }
    
    .lifecycle-dot {
        margin-bottom: 0;
    }

    /* 5. Partner & Admin Dashboard Layout Grid overrides */
    .partner-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Admin/Partner inline 2fr 1fr and 1.6fr 1fr grids */
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns: 1.6fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* Stacking active jobs details */
    .partner-container .glass-card div[style*="display: flex; justify-content: space-between"],
    .admin-tab-content div[style*="display: flex; justify-content: space-between"] {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.2rem !important;
    }
    
    .partner-container .glass-card div[style*="align-items: flex-end"],
    .admin-tab-content div[style*="align-items: flex-end"] {
        align-items: flex-start !important;
        text-align: left !important;
    }
    
    /* Tab controls responsiveness */
    div[style*="display: flex; gap: 1rem; border-bottom"] {
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 0.8rem !important;
        -webkit-overflow-scrolling: touch;
    }
    
    div[style*="display: flex; gap: 1rem; border-bottom"]::-webkit-scrollbar {
        display: none;
    }
    
    div[style*="display: flex; gap: 1rem; border-bottom"] button {
        flex-shrink: 0;
    }

    /* 6. Form grids (Register, Booking, etc.) */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-full {
        grid-column: span 1;
    }

    /* 7. Chat Drawer responsiveness */
    .chat-drawer {
        width: 100vw;
        right: -100vw;
    }
}



