/* =============================================================================
   Petgully Spotless - Booking App Styles
   Modern mobile-first design with purple/pink gradient theme
============================================================================= */

:root {
    /* Primary Colors - Purple/Pink Gradient */
    --primary-purple: #8B5CF6;
    --primary-pink: #EC4899;
    --primary-gradient: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --primary-gradient-soft: linear-gradient(135deg, #A78BFA 0%, #F472B6 100%);
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Accent Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    --info: #3B82F6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gray-50);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.6;
}

/* Mobile Container */
.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background: var(--white);
    position: relative;
    overflow-x: hidden;
}

/* Header */
.app-header {
    background: var(--primary-gradient);
    padding: 20px;
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.header-back {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-home {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.15rem;
    transition: background 0.2s ease;
}

.header-home:hover {
    background: rgba(255,255,255,0.35);
}

.header-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: var(--primary-gradient);
    padding: 40px 20px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.hero-image {
    margin-top: 20px;
    max-width: 200px;
}

/* Content */
.content {
    padding: 20px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
}

.card-link {
    color: var(--primary-purple);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Pet Cards */
.pet-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pet-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.pet-card:hover, .pet-card.selected {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
}

.pet-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient-soft);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pet-avatar-placeholder {
    font-size: 1.5rem;
}

.pet-name {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--gray-800);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pet-breed {
    font-size: 0.65rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pet-size-badge {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 8px;
    font-size: 0.55rem;
    font-size: 0.65rem;
    font-weight: 500;
    margin-top: 4px;
}

.pet-size-badge.small { background: #D1FAE5; color: #065F46; }
.pet-size-badge.medium { background: #FEF3C7; color: #92400E; }
.pet-size-badge.large { background: #FEE2E2; color: #991B1B; }

/* Add Pet Card */
.add-pet-card {
    border: 2px dashed var(--gray-300);
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    color: var(--gray-400);
    font-size: 0.75rem;
}

.add-pet-card:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.add-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: var(--gray-100);
    color: var(--gray-700);
}

.btn-secondary:hover {
    background: var(--gray-200);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
}

.btn-outline:hover {
    background: var(--primary-purple);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* Range Slider */
.range-group {
    margin-bottom: 24px;
}

.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.range-value {
    background: var(--primary-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.range-input {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--gray-200);
    appearance: none;
    outline: none;
}

.range-input::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-gradient);
    cursor: pointer;
    box-shadow: var(--shadow);
}

/* Booking Summary */
.booking-summary {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(236, 72, 153, 0.05));
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--primary-purple);
}

/* QR Code Display */
.qr-section {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius);
    margin: 20px 0;
}

.booking-code {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-purple);
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

/* Flash Messages */
.flash-messages {
    padding: 10px 20px;
}

.flash {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.flash.success { background: #D1FAE5; color: #065F46; }
.flash.error { background: #FEE2E2; color: #991B1B; }
.flash.warning { background: #FEF3C7; color: #92400E; }
.flash.info { background: #DBEAFE; color: #1E40AF; }

/* Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: var(--white);
    padding: 10px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-around;
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.75rem;
    padding: 8px;
    transition: all 0.3s ease;
}

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

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

/* Session Types (legacy) */
.session-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.session-type-card {
    background: var(--gray-50);
    border: 2px solid transparent;
    border-radius: var(--radius);
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.session-type-card:hover, .session-type-card.selected {
    border-color: var(--primary-purple);
    background: rgba(139, 92, 246, 0.1);
}

.session-type-card input {
    display: none;
}

.session-type-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.session-type-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.session-type-price {
    color: var(--primary-purple);
    font-weight: 700;
}

/* =============================================================================
   Package & Add-on Selection (Book Session)
============================================================================= */

/* Package Grid */
/* ===================== Package Grid (2×2 compact squares) ===================== */
.pkg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.pkg-option {
    cursor: pointer;
    display: block;
}

.pkg-option input[type="radio"] {
    display: none;
}

.pkg-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px 12px;
    background: var(--gray-50);
    border: 2px solid var(--gray-100);
    border-radius: 16px;
    transition: all 0.2s ease;
    position: relative;
    min-height: 0;
}

.pkg-card:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.pkg-card.selected {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.06), rgba(236, 72, 153, 0.06));
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.15);
}

.pkg-card-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pkg-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.pkg-card.selected .pkg-icon {
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
}

.pkg-icon-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 0 14px 0 8px;
    letter-spacing: 0.5px;
}

.pkg-name {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--gray-800);
    line-height: 1.2;
}

.pkg-desc {
    font-size: 0.62rem;
    color: var(--gray-400);
    line-height: 1.3;
    margin-bottom: 8px;
}

.pkg-card-bottom {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-top: auto;
}

.pkg-price {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-purple);
    white-space: nowrap;
    line-height: 1;
}

/* Prime pricing in booking */
.pkg-price-old {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 500;
    line-height: 1;
}

.pkg-price-prime {
    color: #059669 !important;
    font-weight: 800;
}

.pkg-prime-badge {
    background: linear-gradient(135deg, #312e81, #4c1d95) !important;
    color: white !important;
    font-size: 0.6rem !important;
    padding: 3px 6px !important;
    letter-spacing: 0.3px;
}

/* ===================== Add-on Pills (inline, contextual) ===================== */
.addon-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
    transition: all 0.25s ease;
}

.addon-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 10px;
}

.addon-section-label span {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-400);
}

.addon-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.addon-pill {
    cursor: pointer;
    display: inline-flex;
}

.addon-pill input[type="checkbox"] {
    display: none;
}

.addon-pill-inner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: 24px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.addon-pill-inner:hover {
    border-color: var(--gray-300);
    background: var(--white);
}

.addon-pill.active .addon-pill-inner {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.06));
    box-shadow: 0 1px 6px rgba(139, 92, 246, 0.15);
}

.addon-pill-icon {
    font-size: 0.9rem;
    line-height: 1;
}

.addon-pill-text {
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--gray-700);
}

.addon-pill.active .addon-pill-text {
    color: var(--primary-purple);
}

.addon-pill-price {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--gray-400);
    padding-left: 6px;
    border-left: 1px solid var(--gray-200);
}

.addon-pill.active .addon-pill-price {
    color: var(--primary-purple);
    border-left-color: rgba(139, 92, 246, 0.2);
}

/* Responsive for small screens */
@media (max-width: 360px) {
    .pkg-card {
        padding: 12px 8px 10px;
    }
    .pkg-name {
        font-size: 0.72rem;
    }
    .pkg-price {
        font-size: 0.95rem;
    }
    .addon-pill-inner {
        padding: 6px 10px;
        gap: 4px;
    }
    .addon-pill-text {
        font-size: 0.68rem;
    }
}

/* Loading */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-200);
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 360px) {
    .pet-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    
    .pet-avatar {
        width: 44px;
        height: 44px;
    }
    
    .pet-name {
        font-size: 0.7rem;
    }
    
    .pet-card {
        padding: 8px 6px;
    }
    
    .session-types {
        grid-template-columns: 1fr;
    }
}

/* Safe area for bottom nav */
.content {
    padding-bottom: 100px;
}

/* Admin Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Booking List */
.booking-list {
    list-style: none;
}

.booking-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 10px;
}

.booking-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.booking-details {
    flex: 1;
}

.booking-pet {
    font-weight: 600;
    color: var(--gray-800);
}

.booking-info {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.booking-status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.booking-status.pending { background: #FEF3C7; color: #92400E; }
.booking-status.confirmed { background: #DBEAFE; color: #1E40AF; }
.booking-status.completed { background: #D1FAE5; color: #065F46; }
.booking-status.cancelled { background: #FEE2E2; color: #991B1B; }

/* =============================================================================
   Services Page Styles
============================================================================= */

/* ===== Home Hero (merged header + search + promo) ===== */
.home-hero {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 40%, #EC4899 100%);
    padding: 20px 20px 28px;
    margin: -16px -16px 16px;
    border-radius: 0 0 32px 32px;
    position: relative;
    overflow: visible;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.home-hero::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.home-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.home-hero-label {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.home-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.home-hero-avatar .avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Search Bar */
.home-search-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
}

.home-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: box-shadow 0.2s ease;
}

.home-search-bar:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.home-search-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.home-search-placeholder {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* Promo inside hero */
.home-promo {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 16px 18px;
    margin-bottom: -20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(124, 58, 237, 0.2);
}

.home-promo-content {
    flex: 1;
    z-index: 1;
}

.home-promo-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.home-promo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.home-promo-code {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.home-promo-code strong {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.home-promo-visual {
    position: relative;
    width: 80px;
    height: 70px;
    flex-shrink: 0;
}

.home-promo-emoji-1 {
    position: absolute;
    top: 0;
    left: 5px;
    font-size: 2.2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite;
}

.home-promo-emoji-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite 1s;
}

.home-promo-emoji-3 {
    position: absolute;
    bottom: 2px;
    left: 2px;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.15));
    animation: float 3s ease-in-out infinite 0.5s;
}

/* Legacy styles kept for compatibility */
.services-header { background: var(--white); padding: 25px 20px 15px; border-bottom: 1px solid var(--gray-100); }
.services-header-content { display: flex; justify-content: space-between; align-items: center; }
.greeting-title { font-size: 1.6rem; font-weight: 700; color: var(--gray-900); margin-bottom: 2px; }
.greeting-subtitle { font-size: 0.85rem; color: var(--gray-400); }
.services-avatar .avatar-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--primary-gradient); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.2rem; }

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

/* Services Section */
.services-section {
    margin-bottom: 20px;
}

.services-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.services-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-800);
}

.services-view-all {
    font-size: 0.85rem;
    color: var(--primary-purple);
    cursor: pointer;
    font-weight: 500;
}

/* Bento Services Grid */
.services-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
}

/* Base service card */
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-purple);
}

.service-card:active {
    transform: translateY(-1px);
}

/* Wide card - spans full width (rectangle) */
.bento-wide {
    grid-column: 1 / -1;
    text-align: left;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bento-wide .service-card-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bento-wide .service-icon-wrapper {
    margin: 0;
    flex-shrink: 0;
}

.bento-wide .service-text {
    flex: 1;
}

.bento-wide .service-name {
    font-size: 1rem;
    margin-bottom: 2px;
}

.bento-wide .service-desc {
    font-size: 0.8rem;
}

/* Featured card (Spotless Booking) */
.bento-featured {
    background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%);
    border: 1px solid #DDD6FE;
}

.bento-featured:hover {
    border-color: var(--primary-purple);
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
}

/* Featured card with background image */
.bento-featured-img {
    position: relative;
    overflow: hidden;
    min-height: 100px;
    background: #fff;
}

.bento-featured-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 85%;
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.bento-featured-img:hover .bento-featured-bg {
    transform: scale(1.03);
}

.bento-featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.1) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}

.bento-featured-img .service-card-inner {
    position: relative;
    z-index: 2;
}

.bento-featured-img .service-arrow {
    position: relative;
    z-index: 2;
}

.bento-featured-img .service-name {
    color: var(--gray-900, #1a1a2e);
    font-weight: 700;
}

.bento-featured-img .service-desc {
    color: var(--gray-600, #555);
}

.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bento-featured:hover .service-arrow {
    transform: translateX(4px);
}

/* AI card (PawPal AI) */
.bento-ai {
    background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
    border: 1px solid #99F6E4;
}

.bento-ai:hover {
    border-color: #14B8A6;
    background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%);
}

.bento-badge {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(139, 92, 246, 0); }
}

/* Square cards */
.bento-square {
    padding: 22px 15px;
}

/* GIF background card (BreedInfo) */
.bento-gif-card {
    padding: 0 !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 140px;
}

.bento-gif-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.bento-gif-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    border-radius: inherit;
    pointer-events: none;
}

.bento-gif-label {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px 10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

.bento-gif-card:hover .bento-gif-bg {
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.bento-gif-card .bento-gif-bg {
    transition: transform 0.4s ease;
}

/* Icon wrapper */
.service-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: scale(1.1);
}

/* Icon color variants */
.service-icon-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.service-icon-pink { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.service-icon-amber { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.service-icon-teal { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.service-icon-green { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.service-icon-blue { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }

.service-icon {
    font-size: 1.7rem;
}

.service-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.service-desc {
    font-size: 0.75rem;
    color: var(--gray-400);
    line-height: 1.4;
}

/* Coming Soon Modal */
.coming-soon-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.coming-soon-overlay.active {
    opacity: 1;
    visibility: visible;
}

.coming-soon-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    max-width: 320px;
    width: 90%;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-xl);
}

.coming-soon-overlay.active .coming-soon-modal {
    transform: scale(1) translateY(0);
}

.coming-soon-icon {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.coming-soon-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.coming-soon-text {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Services page responsive */
@media (max-width: 360px) {
    .services-bento {
        gap: 10px;
    }
    .bento-square {
        padding: 16px 10px;
    }
    .bento-wide {
        padding: 16px 18px;
    }
    .service-icon-wrapper {
        width: 48px;
        height: 48px;
    }
    .service-icon {
        font-size: 1.4rem;
    }
}

/* =============================================================================
   Search Command Palette
============================================================================= */
.search-palette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.search-palette-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-palette {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.search-palette-overlay.active .search-palette {
    transform: translateY(0);
}

/* Header / Input */
.search-palette-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--gray-100);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1;
}

.search-palette-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    opacity: 0.5;
}

.search-palette-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: var(--gray-800);
    background: transparent;
}

.search-palette-input::placeholder {
    color: var(--gray-400);
}

.search-palette-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.search-palette-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Body (scrollable) */
.search-palette-body {
    overflow-y: auto;
    flex: 1;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-200) transparent;
}

/* Section Label */
.search-section {
    padding: 0 4px;
}

.search-section-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-400);
    padding: 12px 18px 6px;
}

/* Search Item Row */
.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    cursor: pointer;
    border-radius: 0;
}

.search-item:hover,
.search-item:focus {
    background: var(--gray-50);
}

.search-item:active {
    background: var(--gray-100);
}

/* Icon circles */
.search-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.si-green  { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }
.si-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.si-pink   { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.si-blue   { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.si-teal   { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.si-amber  { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }

/* Text */
.search-item-text {
    flex: 1;
    min-width: 0;
}

.search-item-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
    line-height: 1.3;
}

.search-item-desc {
    font-size: 0.72rem;
    color: var(--gray-400);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side arrow / badge */
.search-item-arrow {
    font-size: 0.78rem;
    color: var(--gray-300);
    flex-shrink: 0;
    font-weight: 500;
    transition: color 0.2s ease;
}

.search-item:hover .search-item-arrow {
    color: var(--primary-purple);
}

.search-item-badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 10px;
    background: var(--gray-100);
    color: var(--gray-500);
    flex-shrink: 0;
}

/* Pet avatar (in search) */
.search-pet-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.search-pet-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-pet-placeholder {
    font-size: 1.2rem;
}

/* Pets loading/empty */
.search-pets-loading,
.search-pets-empty {
    padding: 16px 18px;
    font-size: 0.8rem;
    color: var(--gray-400);
    text-align: center;
}

.search-pets-empty a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

/* No results */
.search-no-results {
    text-align: center;
    padding: 40px 20px;
}

.search-no-results-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    opacity: 0.4;
}

.search-no-results-text {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.search-no-results-hint {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* Responsive */
@media (max-width: 360px) {
    .search-palette-header {
        padding: 14px 14px;
    }
    .search-item {
        padding: 10px 14px;
        gap: 10px;
    }
    .search-item-icon,
    .search-pet-avatar {
        width: 36px;
        height: 36px;
    }
    .search-item-name {
        font-size: 0.82rem;
    }
}

/* =============================================================================
   About Spotless Page
============================================================================= */

/* Hero */
.sl-hero {
    background: linear-gradient(135deg, #7C3AED 0%, #A855F7 35%, #EC4899 100%);
    margin: -20px -20px 0 -20px;
    padding: 36px 24px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
}

.sl-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
}

.sl-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.sl-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.sl-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.sl-hero-sub {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.5;
    max-width: 320px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Pod Graphic */
.sl-hero-visual {
    position: relative;
    z-index: 1;
    margin: 24px 0 20px;
}

.sl-pod-graphic {
    width: 110px;
    height: 110px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-pod-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.sl-pod-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    animation: sl-pulse 2.5s ease-in-out infinite;
}

.sl-pod-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    animation: sl-ring-spin 8s linear infinite;
}

.sl-pod-ring::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

@keyframes sl-pulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 1; }
}

@keyframes sl-ring-spin {
    to { transform: rotate(360deg); }
}

/* Hero Stats */
.sl-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 14px 8px;
    position: relative;
    z-index: 1;
}

.sl-hero-stat {
    flex: 1;
    text-align: center;
}

.sl-hero-stat-val {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1;
}

.sl-stat-unit {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.8;
}

.sl-hero-stat-label {
    font-size: 0.62rem;
    opacity: 0.7;
    margin-top: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sl-hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
    flex-shrink: 0;
}

/* Sections */
.sl-section {
    padding: 28px 0;
}

.sl-section-alt {
    background: var(--gray-50);
    margin: 0 -20px;
    padding: 28px 20px;
}

.sl-section-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-purple);
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
    padding: 4px 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sl-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.2;
}

.sl-section-text {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 10px;
}

.sl-section-text strong {
    color: var(--gray-700);
}

/* Feature Pills */
.sl-feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.sl-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray-600);
    box-shadow: var(--shadow-sm);
}

.sl-pill span {
    font-size: 0.85rem;
}

/* Steps */
.sl-steps {
    margin-top: 16px;
}

.sl-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.sl-step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 4px;
}

.sl-step-content {
    flex: 1;
    padding-bottom: 4px;
}

.sl-step-icon {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.sl-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.sl-step-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.sl-step-connector {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary-purple), rgba(139, 92, 246, 0.2));
    margin-left: 15px;
    border-radius: 2px;
}

/* Features Grid */
.sl-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.sl-feature-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 16px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.sl-feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 10px;
}

.sl-fi-purple { background: linear-gradient(135deg, #EDE9FE, #DDD6FE); }
.sl-fi-pink   { background: linear-gradient(135deg, #FCE7F3, #FBCFE8); }
.sl-fi-blue   { background: linear-gradient(135deg, #DBEAFE, #BFDBFE); }
.sl-fi-teal   { background: linear-gradient(135deg, #CCFBF1, #99F6E4); }
.sl-fi-amber  { background: linear-gradient(135deg, #FEF3C7, #FDE68A); }
.sl-fi-green  { background: linear-gradient(135deg, #D1FAE5, #A7F3D0); }

.sl-feature-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.sl-feature-desc {
    font-size: 0.7rem;
    color: var(--gray-400);
    line-height: 1.45;
}

/* Why Spotless List */
.sl-why-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.sl-why-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.sl-why-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sl-why-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.sl-why-desc {
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* India Banner */
.sl-india-banner {
    background: linear-gradient(135deg, #FFF7ED 0%, #FEF3C7 50%, #ECFDF5 100%);
    margin: 0 -20px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sl-india-banner::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(249, 115, 22, 0.06);
    border-radius: 50%;
}

.sl-india-flag {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sl-india-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.sl-india-text {
    font-size: 0.84rem;
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 340px;
    margin: 0 auto 18px;
}

.sl-india-highlights {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sl-india-hl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: white;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.sl-india-hl-icon {
    font-size: 0.9rem;
}

/* Advantages Cards (Customer) */
.sl-adv-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.sl-adv-card {
    border-radius: var(--radius);
    padding: 18px 14px;
    text-align: center;
}

.sl-adv-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sl-adv-card p {
    font-size: 0.7rem;
    line-height: 1.45;
    opacity: 0.85;
}

.sl-adv-emoji {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.sl-adv-purple { background: linear-gradient(135deg, #F5F3FF, #EDE9FE); color: #5B21B6; }
.sl-adv-pink   { background: linear-gradient(135deg, #FDF2F8, #FCE7F3); color: #9D174D; }
.sl-adv-blue   { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); color: #1E40AF; }
.sl-adv-green  { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); color: #065F46; }

/* Community Advantages */
.sl-comm-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.sl-comm-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
    box-shadow: var(--shadow-sm);
}

.sl-comm-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sl-comm-item h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.sl-comm-item p {
    font-size: 0.76rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* CTA Section */
.sl-cta {
    text-align: center;
    padding: 30px 10px 10px;
}

.sl-cta-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sl-cta-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.sl-cta-text {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 360px) {
    .sl-hero-title { font-size: 1.5rem; }
    .sl-features-grid { gap: 8px; }
    .sl-feature-card { padding: 14px 10px; }
    .sl-adv-cards { gap: 8px; }
    .sl-adv-card { padding: 14px 10px; }
    .sl-india-highlights { gap: 8px; }
}

/* =============================================================================
   Breed Listing Page Styles
============================================================================= */

.breed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.breed-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.breed-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
    border-color: var(--primary-purple);
}

.breed-card-image {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100);
}

.breed-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breed-img-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F3F0FF, #FCE7F3);
    font-size: 2rem;
}

.breed-card-info {
    flex: 1;
    min-width: 0;
}

.breed-card-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.breed-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.breed-meta-tag {
    background: linear-gradient(135deg, #EDE9FE, #DDD6FE);
    color: var(--primary-purple);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
}

.breed-meta-dot {
    color: var(--gray-300);
    font-size: 0.7rem;
}

.breed-meta-text {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.breed-card-temperament {
    font-size: 0.72rem;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breed-card-arrow {
    font-size: 1.4rem;
    color: var(--gray-300);
    flex-shrink: 0;
    font-weight: 300;
    transition: color 0.3s ease;
}

.breed-card:hover .breed-card-arrow {
    color: var(--primary-purple);
}

/* =============================================================================
   Breed Detail Page Styles
============================================================================= */

/* Hero Image */
.breed-hero {
    margin: -20px -20px 0 -20px;
    position: relative;
    background: linear-gradient(135deg, #F9F5FF 0%, #FDF2F8 100%);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.breed-hero-nav {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.breed-back-btn,
.breed-more-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    color: var(--gray-700);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.breed-back-btn:hover,
.breed-more-btn:hover {
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.breed-hero-image {
    width: 100%;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.breed-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title Section */
.breed-title-section {
    padding: 20px 0 5px;
}

.breed-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.breed-detail-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.breed-detail-origin {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.breed-fav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FDF2F8, #FCE7F3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--gray-400);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.breed-fav-btn:hover {
    transform: scale(1.1);
}

.breed-fav-btn.liked {
    color: #EC4899;
    background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
}

.breed-fav-btn.liked svg {
    fill: #EC4899;
}

/* Sections */
.breed-section {
    padding: 16px 0;
}

.breed-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.breed-about-text {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* Stats Grid */
.breed-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 16px 0;
}

.breed-stat {
    text-align: center;
    padding: 14px 6px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}

.breed-stat-icon {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.breed-stat-value {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 2px;
    line-height: 1.3;
}

.breed-stat-label {
    font-size: 0.62rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Characteristics */
.breed-char-list {
    background: var(--gray-50);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-100);
}

.breed-char-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.breed-char-row:last-child {
    border-bottom: none;
}

.breed-char-label {
    font-size: 0.82rem;
    color: var(--gray-500);
    font-weight: 500;
}

.breed-char-value {
    font-size: 0.82rem;
    color: var(--gray-800);
    font-weight: 600;
    text-align: right;
    max-width: 55%;
}

/* Care Tips */
.breed-care-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.breed-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-100);
}

.breed-tip-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.breed-tip-text {
    font-size: 0.84rem;
    color: var(--gray-600);
    line-height: 1.5;
}

/* Breed page responsive */
@media (max-width: 360px) {
    .breed-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .breed-hero {
        min-height: 220px;
    }
    .breed-hero-image {
        height: 220px;
    }
}

/* =============================================================================
   Photo Upload UI
============================================================================= */
.photo-upload-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.photo-upload-circle {
    width: 120px;
    height: 120px;
    background: var(--primary-gradient-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 3px solid transparent;
}

.photo-upload-wrapper:hover .photo-upload-circle {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    border-color: var(--primary-purple);
}

.photo-upload-placeholder {
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-upload-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.btn-text-small {
    background: none;
    border: none;
    color: var(--error);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
    font-family: 'Poppins', sans-serif;
    padding: 4px 8px;
}

.btn-text-small:hover {
    color: #DC2626;
}

/* =============================================================================
   Edit Pet Buttons
============================================================================= */
.header-edit-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    border-radius: 50%;
    transition: background 0.2s;
}

.header-edit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-edit-pet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--gray-100);
    color: var(--gray-700);
    border-radius: var(--radius-xl);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--gray-200);
}

.btn-edit-pet:hover {
    background: var(--gray-200);
    color: var(--primary-purple);
    border-color: var(--primary-purple);
}

/* Pet Card Edit Icon */
.pet-card {
    position: relative;
}

.pet-card-edit {
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.7rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.75rem;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.pet-card:hover .pet-card-edit,
.pet-card .pet-card-edit:focus {
    opacity: 1;
}

/* Always visible on touch devices */
@media (hover: none) {
    .pet-card-edit {
        opacity: 1;
    }
}

.pet-card-edit:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

/* =============================================================================
   Secondary Button
============================================================================= */
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--gray-600);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-secondary:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Delete Button */
.btn-danger-small {
    padding: 8px 16px;
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.btn-danger-small:hover {
    background: #EF4444;
    color: white;
    border-color: #EF4444;
}

/* =============================================================================
   Pet Calendar - Main Styles
============================================================================= */

/* Header Add Button */
.header-add-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    color: white;
    border-radius: 50%;
    transition: background 0.2s;
}

.header-add-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Summary Card */
.cal-summary-card {
    padding: 0;
    overflow: hidden;
}

.cal-summary-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.cal-summary-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cal-summary-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.cal-summary-sub {
    font-size: 0.8rem;
    opacity: 0.8;
}

.cal-summary-alert {
    background: linear-gradient(135deg, #FEF2F2, #FEE2E2);
    color: #991B1B;
}

.cal-summary-good {
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    color: #065F46;
}

.cal-summary-info {
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    color: #1E40AF;
}

.cal-summary-empty {
    background: linear-gradient(135deg, #F9FAFB, #F3F4F6);
    color: var(--gray-600);
}

/* Category Progress Pills */
.cal-category-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 20px 16px;
}

.cal-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.72rem;
    border-left: 3px solid var(--cat-color, var(--gray-400));
}

.cal-cat-pill-icon {
    font-size: 0.8rem;
}

.cal-cat-pill-label {
    font-weight: 500;
    color: var(--gray-700);
}

.cal-cat-pill-count {
    font-weight: 700;
    color: var(--cat-color, var(--gray-600));
    background: rgba(0,0,0,0.04);
    padding: 1px 6px;
    border-radius: 10px;
}

/* Pet Filter Chips */
.cal-pet-filter {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cal-pet-filter::-webkit-scrollbar { display: none; }

.cal-pet-chip {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    background: white;
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.cal-pet-chip.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

.cal-pet-chip:hover:not(.active) {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* Category Tabs */
.cal-cat-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 0 0 14px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cal-cat-tabs::-webkit-scrollbar { display: none; }

.cal-cat-tab {
    flex-shrink: 0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--gray-500);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cal-cat-tab.active {
    background: var(--primary-purple);
    color: white;
    border-color: var(--primary-purple);
}

.cal-cat-tab:hover:not(.active) {
    background: var(--gray-100);
    color: var(--gray-700);
}

/* Calendar Card */
.cal-card {
    padding: 16px;
}

.cal-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-month-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
}

.cal-nav-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    color: var(--gray-600);
    background: var(--gray-50);
    transition: all 0.2s ease;
}

.cal-nav-btn:hover {
    background: var(--primary-purple);
    color: white;
}

/* Calendar Grid */
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day-header {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-400);
    padding: 8px 0;
    text-transform: uppercase;
}

.cal-day {
    text-align: center;
    padding: 6px 2px;
    border-radius: 8px;
    cursor: default;
    min-height: 42px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    transition: background 0.15s ease;
}

.cal-day-empty {
    min-height: 42px;
}

.cal-day-num {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
}

.cal-day-today {
    background: var(--primary-gradient);
    border-radius: 10px;
}

.cal-day-today .cal-day-num {
    color: white;
    font-weight: 700;
}

.cal-day-has-activity {
    background: rgba(139, 92, 246, 0.08);
}

.cal-day-today.cal-day-has-activity {
    background: var(--primary-gradient);
}

.cal-day-dots {
    display: flex;
    gap: 2px;
    justify-content: center;
}

.cal-day-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cal-day-today .cal-day-dot {
    background: white !important;
    opacity: 0.8;
}

/* Calendar Legend */
.cal-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--gray-100);
}

.cal-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.68rem;
    color: var(--gray-500);
}

.cal-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Section Cards */
.cal-section-card {
    padding: 16px;
}

.cal-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary-gradient-soft);
    color: white;
}

.cal-count-red {
    background: linear-gradient(135deg, #EF4444, #F87171);
}

/* Activity List */
.cal-activity-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.cal-activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.cal-activity-item:hover {
    background: var(--gray-100);
}

.cal-activity-overdue {
    border-left-color: #EF4444;
    background: #FFF5F5;
}

.cal-activity-overdue:hover {
    background: #FEE2E2;
}

.cal-activity-done {
    opacity: 0.65;
}

.cal-activity-left {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.cal-activity-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
    margin-bottom: 3px;
}

.cal-title-done {
    text-decoration: line-through;
    color: var(--gray-400);
}

.cal-activity-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.72rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.cal-activity-cat {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 8px;
    background: white;
    border-radius: 10px;
    border: 1px solid var(--gray-200);
    font-weight: 500;
    border-left: 2px solid var(--cat-color, var(--gray-300));
}

.cal-activity-date {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.cal-date-overdue {
    color: #EF4444;
    font-weight: 600;
}

.cal-activity-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.cal-edit-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--gray-200);
    transition: all 0.2s;
}

.cal-edit-link:hover {
    border-color: var(--primary-purple);
    transform: scale(1.05);
}

/* Checkbox Button */
.cal-check-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--gray-300);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
    padding: 0;
}

.cal-check-btn:hover {
    border-color: var(--primary-purple);
}

.cal-check-btn.checked {
    background: var(--primary-gradient);
    border-color: var(--primary-purple);
    color: white;
}

/* FAB (Floating Action Button) */
.cal-fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 300;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.cal-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.5);
}

/* =============================================================================
   Activity Form Styles
============================================================================= */

/* Category Selection Grid */
.cal-category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cal-category-option {
    cursor: pointer;
}

.cal-category-option input[type="radio"] {
    display: none;
}

.cal-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--gray-200);
    background: var(--gray-50);
    transition: all 0.2s ease;
    text-align: center;
}

.cal-category-option input[type="radio"]:checked + .cal-category-card {
    border-color: var(--cat-color, var(--primary-purple));
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cal-category-icon {
    font-size: 1.5rem;
}

.cal-category-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--gray-600);
}

.cal-category-option input[type="radio"]:checked + .cal-category-card .cal-category-name {
    color: var(--cat-color, var(--primary-purple));
}

/* Toggle Switch */
.cal-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cal-toggle-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--gray-800);
}

.cal-toggle-sub {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 1px;
}

.cal-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

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

.cal-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-300);
    border-radius: 26px;
    transition: 0.3s;
}

.cal-switch-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: var(--shadow-sm);
}

.cal-switch input:checked + .cal-switch-slider {
    background: var(--primary-purple);
}

.cal-switch input:checked + .cal-switch-slider::before {
    transform: translateX(22px);
}

/* Collapsible section */
.cal-collapsible {
    animation: slideDown 0.2s ease;
}

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

/* Form select styling */
select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Responsive adjustments */
@media (max-width: 360px) {
    .cal-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cal-cat-tabs {
        gap: 4px;
    }
    
    .cal-cat-tab {
        padding: 5px 10px;
        font-size: 0.7rem;
    }
}

/* =============================================================================
   Spotless Prime Membership Styles
============================================================================= */

/* --- Hero --- */
.prime-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    margin: -20px -20px 20px -20px;
    padding: 40px 24px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 32px 32px;
}

/* Compact hero variant */
.prime-hero-compact {
    padding: 24px 20px 22px;
}

.prime-hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.prime-hero-content {
    position: relative;
    z-index: 2;
}

/* Inline crown + title row */
.prime-hero-top-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 4px;
}

.prime-hero-crown-sm {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.4));
    animation: float 3s ease-in-out infinite;
}

/* Old large crown (kept for compat) */
.prime-hero-crown {
    font-size: 3rem;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.4));
    animation: float 3s ease-in-out infinite;
}

.prime-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prime-hero-sub {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    max-width: 280px;
    margin: 0 auto 12px;
}

.prime-hero-highlights {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.prime-hl {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.prime-hl-icon {
    font-size: 0.8rem;
}

/* Valentine's Day Tag */
.prime-vday-tag {
    display: inline-block;
    margin-top: 2px;
    padding: 4px 14px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(244, 114, 182, 0.15));
    border: 1px solid rgba(236, 72, 153, 0.3);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #F9A8D4;
    letter-spacing: 0.3px;
    animation: vday-glow 2s ease-in-out infinite;
}

@keyframes vday-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(236, 72, 153, 0.2); }
    50% { box-shadow: 0 0 18px rgba(236, 72, 153, 0.4); }
}

/* --- Member Status Chip (inside hero) --- */
.prime-member-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 24px;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background 0.2s;
}

.prime-member-chip:active {
    background: rgba(255, 255, 255, 0.18);
}

.prime-member-chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    flex-shrink: 0;
}

.prime-member-chip-credits {
    padding-left: 8px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    color: #fbbf24;
    font-weight: 700;
}

/* --- Active Plan Button (disabled state) --- */
.prime-btn-active-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 12px;
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: default;
    pointer-events: none;
}

.prime-btn-active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.6);
}

/* Floating Hearts */
.prime-hearts {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.prime-heart {
    position: absolute;
    bottom: -30px;
    opacity: 0;
    animation: heart-float 5s ease-in-out infinite;
}

@keyframes heart-float {
    0% {
        opacity: 0;
        transform: translateY(0) rotate(0deg) scale(0.5);
    }
    10% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.6;
        transform: translateY(-120px) rotate(15deg) scale(1);
    }
    80% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-220px) rotate(-10deg) scale(0.6);
    }
}

/* --- Section Titles --- */
.prime-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.prime-section-sub {
    font-size: 0.82rem;
    color: var(--gray-400);
    margin-bottom: 18px;
    line-height: 1.4;
}

/* --- Plan Cards --- */
.prime-plans-section {
    margin-bottom: 28px;
}

.prime-plans-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.prime-plan-card {
    border-radius: var(--radius-lg);
    padding: 24px 20px 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--gray-200);
    background: var(--white);
    transition: all 0.3s ease;
}

.prime-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.prime-plan-lite {
    border-color: rgba(139, 92, 246, 0.3);
    background: linear-gradient(135deg, #FAFAFF 0%, #F5F3FF 100%);
}

.prime-plan-plus {
    border-color: rgba(236, 72, 153, 0.3);
    background: linear-gradient(135deg, #FFFAFD 0%, #FDF2F8 100%);
}

.prime-plan-popular {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #EC4899, #F472B6);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 0 var(--radius-lg) 0 12px;
    letter-spacing: 0.8px;
}

.prime-plan-header {
    text-align: center;
    margin-bottom: 18px;
}

.prime-plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.prime-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.prime-plan-rupee {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-600);
}

.prime-plan-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.prime-plan-duration {
    font-size: 0.78rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Features List */
.prime-plan-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.prime-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.prime-feature-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.prime-check-pink {
    background: linear-gradient(135deg, #EC4899, #F472B6);
}

.prime-feature-x {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--gray-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.prime-feature-disabled {
    color: var(--gray-400);
    text-decoration: line-through;
}

/* Plan Buttons */
.prime-plan-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.prime-btn-lite {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.prime-btn-lite:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.prime-btn-plus {
    background: linear-gradient(135deg, #EC4899, #F472B6);
    color: white;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.prime-btn-plus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* --- Prime Pricing Carousel (grouped by size) --- */
.prime-pricing-section {
    margin-bottom: 28px;
}

.prime-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.prime-carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 2px 8px;
}

.prime-carousel-track::-webkit-scrollbar {
    display: none;
}

.prime-size-card {
    flex: 0 0 calc(100% - 4px);
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.prime-size-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    color: white;
}

.prime-size-icon {
    font-size: 1.3rem;
}

.prime-size-label {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.prime-size-prices {
    padding: 4px 0;
}

.prime-size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 18px;
    border-bottom: 1px solid var(--gray-50);
}

.prime-size-row:last-child {
    border-bottom: none;
}

.prime-size-svc {
    display: flex;
    align-items: center;
    gap: 10px;
}

.prime-size-svc-icon {
    font-size: 1rem;
}

.prime-size-svc-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--gray-700);
}

.prime-size-price-col {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prime-size-old {
    font-size: 0.76rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.prime-size-new {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary-purple);
    background: linear-gradient(135deg, #EDE9FE, #FCE7F3);
    padding: 3px 12px;
    border-radius: 8px;
}

/* Carousel Arrows */
.prime-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gray-700);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, transform 0.15s;
    line-height: 1;
    padding: 0;
}

.prime-carousel-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.prime-carousel-prev {
    left: -6px;
}

.prime-carousel-next {
    right: -6px;
}

/* Carousel Dots */
.prime-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.prime-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.prime-carousel-dot.active {
    background: var(--primary-purple);
    transform: scale(1.25);
}

/* --- Add-ons --- */
.prime-addons-section {
    margin-bottom: 24px;
}

.prime-addon-list {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.prime-addon-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-50);
}

.prime-addon-row:last-child {
    border-bottom: none;
}

.prime-addon-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prime-addon-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.prime-addon-star {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 7px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    color: #92400E;
    border-radius: 6px;
}

.prime-addon-prices {
    display: flex;
    align-items: center;
    gap: 8px;
}

.prime-addon-old {
    font-size: 0.78rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.prime-addon-new {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-purple);
}

/* --- Active Membership Banner --- */
.prime-active-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: var(--radius);
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.prime-active-glow {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.prime-active-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.prime-active-info {
    flex: 1;
}

.prime-active-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #FFD700;
}

.prime-active-validity {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 2px;
}

.prime-active-badge {
    padding: 4px 10px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #10B981;
    letter-spacing: 0.5px;
}

/* Credits Card */
.prime-credits-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.prime-credits-row {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.prime-credits-item {
    text-align: center;
    flex: 1;
}

.prime-credits-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 2px;
}

.prime-credits-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    font-weight: 500;
}

.prime-credits-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* --- Fine Print --- */
.prime-fine-print {
    padding: 16px;
    text-align: center;
}

.prime-fine-print p {
    font-size: 0.7rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* --- Booking Page: Prime Upsell / Active --- */
.prime-booking-upsell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: var(--radius);
    margin-bottom: 16px;
    gap: 10px;
}

.prime-booking-upsell-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.prime-booking-upsell-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.prime-booking-upsell-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 2px;
}

.prime-booking-upsell-sub {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
}

.prime-booking-upsell-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.prime-booking-active {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
    border: 1px solid #A7F3D0;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.prime-booking-active-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.prime-booking-active-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #065F46;
}

.prime-booking-active-sub {
    font-size: 0.72rem;
    color: #059669;
}

/* --- Bento Prime Card Highlight --- */
.bento-prime {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
    border: 1px solid #FDE68A;
}

.bento-prime:hover {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

/* --- Prime Responsive --- */
@media (max-width: 360px) {
    .prime-hero-compact {
        padding: 20px 16px 18px;
    }
    .prime-hero-title {
        font-size: 1.4rem;
    }
    .prime-plan-amount {
        font-size: 2rem;
    }
    .prime-hl {
        font-size: 0.62rem;
        padding: 4px 8px;
    }
}

/* =====================================================================
   WALLET PAGE
   ===================================================================== */

.wallet-balance-card {
    position: relative;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 40%, #4c1d95 100%);
    border-radius: 16px;
    padding: 28px 22px;
    margin: 16px 16px 0;
    overflow: hidden;
}

.wallet-balance-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.wallet-balance-content {
    position: relative;
    z-index: 1;
}

.wallet-balance-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}

.wallet-balance-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
}

.wallet-balance-plan {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.wallet-plan-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.75rem;
    color: #fde68a;
    font-weight: 600;
}

.wallet-balance-expiry {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Quick Stats */
.wallet-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: var(--white);
    margin: 16px;
    border-radius: 14px;
    padding: 18px 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.wallet-stat-item {
    text-align: center;
    flex: 1;
}

.wallet-stat-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-800);
}

.wallet-stat-highlight {
    color: var(--primary-purple);
}

.wallet-stat-label {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wallet-stat-divider {
    width: 1px;
    height: 32px;
    background: var(--gray-200);
}

/* Use Credits CTA */
.wallet-use-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 16px 16px;
    padding: 14px 16px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-use-cta:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.12);
}

.wallet-use-cta-prime {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
    border-color: rgba(139, 92, 246, 0.2);
}

.wallet-use-icon {
    font-size: 1.4rem;
}

.wallet-use-text {
    flex: 1;
}

.wallet-use-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
}

.wallet-use-sub {
    font-size: 0.72rem;
    color: var(--gray-400);
    margin-top: 2px;
}

.wallet-use-arrow {
    font-size: 1.1rem;
    color: var(--primary-purple);
    font-weight: 600;
}

/* Transaction History */
.wallet-txn-section {
    padding: 0 16px 24px;
}

.wallet-txn-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-700);
    margin-bottom: 14px;
}

.wallet-txn-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wallet-txn-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

.wallet-txn-item:last-child {
    border-bottom: none;
}

.wallet-txn-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wallet-txn-credit {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.wallet-txn-debit {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.wallet-txn-info {
    flex: 1;
    min-width: 0;
}

.wallet-txn-desc {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wallet-txn-date {
    font-size: 0.68rem;
    color: var(--gray-400);
    margin-top: 3px;
}

.wallet-txn-amount {
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wallet-txn-credit-amt {
    color: #059669;
}

.wallet-txn-debit-amt {
    color: #dc2626;
}

.wallet-txn-empty {
    text-align: center;
    padding: 40px 20px;
}

.wallet-txn-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.wallet-txn-empty-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 4px;
}

.wallet-txn-empty-sub {
    font-size: 0.75rem;
    color: var(--gray-400);
}

/* Prime Page Wallet Card */
.prime-wallet-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 0 16px 16px;
}

.prime-wallet-balance-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.prime-wallet-balance-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.prime-wallet-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: #fde68a;
    white-space: nowrap;
}

/* Booking Credit Toggle */
.credit-toggle-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(5, 150, 105, 0.1));
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.credit-toggle-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.credit-toggle-icon {
    font-size: 1.4rem;
}

.credit-toggle-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-800);
}

.credit-toggle-balance {
    font-size: 0.72rem;
    color: #059669;
    margin-top: 1px;
}

/* Toggle switch */
.cal-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

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

.cal-switch-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--gray-200);
    border-radius: 24px;
    transition: 0.3s;
}

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

.cal-switch input:checked + .cal-switch-slider {
    background: linear-gradient(135deg, #059669, #10b981);
}

.cal-switch input:checked + .cal-switch-slider:before {
    transform: translateX(20px);
}

/* Dashboard wallet strip */
.dash-wallet-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 20px;
    color: white;
}

.dash-wallet-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-wallet-icon {
    font-size: 1.3rem;
}

.dash-wallet-label {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-wallet-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fde68a;
}

.dash-wallet-arrow {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

/* ===================== Spotless Prime Promo Ad (Home Page) ===================== */
.promo-ad-section {
    padding: 10px 20px 30px;
    margin-bottom: 60px;
}

.promo-ad-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.promo-ad-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: var(--gray-300);
}

.promo-ad-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--gray-500);
    text-transform: uppercase;
}

.promo-ad-card {
    display: block;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 260px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.promo-ad-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.promo-ad-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.promo-ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.2) 100%
    );
}

.promo-ad-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 260px;
    padding: 24px 22px;
    color: white;
}

.promo-ad-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fde68a;
    margin-bottom: 10px;
    width: fit-content;
}

.promo-ad-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.5px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.promo-ad-subtitle {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 16px;
    line-height: 1.4;
    max-width: 280px;
}

.promo-ad-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    width: fit-content;
}

.promo-ad-card:active .promo-ad-cta {
    transform: scale(0.97);
}

.promo-ad-terms {
    text-align: center;
    font-size: 0.65rem;
    color: var(--gray-400);
    margin-top: 10px;
}


/* =============================================================================
   App Footer - Legal Links
============================================================================= */

.app-footer {
    text-align: center;
    padding: 30px 20px 20px;
    margin-top: 10px;
    border-top: 1px solid var(--gray-100);
}

.app-footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.app-footer-logo {
    font-size: 1rem;
}

.app-footer-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    letter-spacing: 0.3px;
}

.app-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.app-footer-links a {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.app-footer-links a:hover {
    color: var(--primary-purple);
}

.app-footer-dot {
    color: var(--gray-300);
    font-size: 0.7rem;
}

.app-footer-copy {
    font-size: 0.65rem;
    color: var(--gray-300);
}

.app-footer-auth {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-100);
}


/* =============================================================================
   Legal Pages (Terms & Privacy)
============================================================================= */

.legal-page {
    padding-bottom: 20px;
}

.legal-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-purple);
}

.legal-meta-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.legal-meta-date {
    font-size: 0.75rem;
    color: var(--gray-700);
    font-weight: 600;
}

.legal-intro {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}

.legal-intro p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 28px;
}

.legal-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gray-100);
}

.legal-subheading {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 16px 0 8px;
}

.legal-content p {
    font-size: 0.83rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 10px;
}

.legal-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.legal-list li {
    position: relative;
    padding-left: 20px;
    font-size: 0.83rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--primary-purple);
    border-radius: 50%;
}

.legal-list li strong {
    color: var(--gray-700);
}

/* Purpose Grid (Privacy page) */
.legal-purpose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 14px 0;
}

.legal-purpose-item {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-100);
}

.legal-purpose-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.legal-purpose-item strong {
    display: block;
    font-size: 0.83rem;
    color: var(--gray-800);
    margin-bottom: 2px;
}

.legal-purpose-item p {
    font-size: 0.78rem !important;
    color: var(--gray-500) !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}

/* Contact Card */
.legal-contact-card {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--gray-100);
    margin-top: 12px;
}

.legal-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
}

.legal-contact-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
}

.legal-contact-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.legal-contact-row span:not(.legal-contact-icon):not(.legal-contact-sub) {
    font-size: 0.83rem;
    color: var(--gray-700);
    padding-top: 2px;
}

.legal-contact-row strong {
    font-size: 0.85rem;
    color: var(--gray-800);
}

.legal-contact-sub {
    display: block;
    font-size: 0.75rem !important;
    color: var(--gray-400) !important;
    margin-top: 2px;
}

/* Company Footer within legal pages */
.legal-company-footer {
    text-align: center;
    padding: 24px 0 10px;
    margin-top: 30px;
    border-top: 1px solid var(--gray-100);
}

.legal-company-footer p {
    font-size: 0.72rem;
    color: var(--gray-400);
}
