/* ==========================================
   BeautyOS - Design System
   Colors: White, Pastel, Beige, Light Pink
   Modern, Dynamic, Clean
   ========================================== */

/* --- CSS Variables --- */
:root {
    --primary: #e8a0bf;
    --primary-dark: #d4809f;
    --primary-light: #f5d5e5;
    --primary-50: #fdf2f8;

    --secondary: #d4a574;
    --secondary-light: #f0dcc8;

    --accent: #b8a9c9;
    --accent-light: #e8e0f0;

    --beige: #f5f0eb;
    --beige-dark: #e8ddd4;

    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    --success: #66bb6a;
    --warning: #ffa726;
    --danger: #ef5350;
    --info: #42a5f5;

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.3px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm { max-width: 720px; }
.container-lg { max-width: 1440px; }

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0 24px;
    transition: var(--transition);
}

.navbar-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.navbar-logo span {
    color: var(--primary);
}

.navbar-logo .logo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: inline-block;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-menu a {
    font-size: 0.925rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 0;
    position: relative;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    color: var(--gray-900);
}

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

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.925rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

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

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

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

.btn-primary:hover {
    background: var(--primary-dark);
}

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

.btn-secondary:hover {
    background: var(--beige-dark);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-white {
    background: var(--white);
    color: var(--gray-800);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--gray-900);
    background: var(--gray-100);
    box-shadow: none;
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.card-body {
    padding: 20px;
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--white);
    color: var(--gray-800);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

.card-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    color: var(--gray-500);
}

.card-favorite:hover,
.card-favorite.active {
    color: var(--danger);
    background: var(--white);
}

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

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232, 160, 191, 0.15);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    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='%23757575' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 4px;
}

/* ==========================================
   SEARCH BAR
   ========================================== */
.search-bar {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    max-width: 700px;
    width: 100%;
    border: 1px solid var(--gray-200);
}

.search-bar-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
}

.search-bar-group i {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.search-bar-group input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.95rem;
    background: transparent;
}

.search-bar-divider {
    width: 1px;
    height: 28px;
    background: var(--gray-200);
}

.search-bar .btn {
    padding: 12px 28px;
    flex-shrink: 0;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-50), var(--beige), var(--accent-light));
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232,160,191,0.15), transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184,169,201,0.1), transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero h1 .highlight {
    color: var(--primary);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--primary-light);
    z-index: -1;
    border-radius: 4px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero .search-bar {
    margin: 0 auto;
}

/* ==========================================
   CATEGORY SECTION
   ========================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    background: var(--white);
    border: 1px solid var(--gray-200);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.category-card:hover {
    border-color: var(--primary);
    background: var(--primary-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.category-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-dark);
    transition: var(--transition);
}

.category-card:hover .category-icon {
    background: var(--primary-light);
}

.category-card span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

/* ==========================================
   SECTION STYLES
   ========================================== */
.section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.section-header h2 {
    margin-bottom: 8px;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1rem;
}

/* ==========================================
   BUSINESS CARD (Marketplace)
   ========================================== */
.business-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

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

.business-card .card-image {
    aspect-ratio: 16/10;
}

.business-card .card-body {
    padding: 20px;
}

.business-card .business-name {
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.business-card .business-location {
    font-size: 0.85rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.business-card .business-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.business-card .stars {
    color: var(--warning);
    font-size: 0.85rem;
}

.business-card .rating-text {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.business-card .business-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.tag {
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--beige);
    color: var(--gray-700);
}

.tag-primary {
    background: var(--primary-50);
    color: var(--primary-dark);
}

.business-card .business-price {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.business-card .business-price strong {
    color: var(--gray-900);
}

.featured-badge {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==========================================
   MARKETPLACE GRID
   ========================================== */
.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* ==========================================
   FILTERS SIDEBAR
   ========================================== */
.marketplace-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

.filters-sidebar {
    position: sticky;
    top: 96px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
}

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-100);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-group h4 {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--gray-800);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.filter-option input[type="checkbox"] {
    accent-color: var(--primary);
    width: 16px;
    height: 16px;
}

.filter-option:hover {
    color: var(--gray-900);
}

/* ==========================================
   MAP VIEW
   ========================================== */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 600px;
    border: 1px solid var(--gray-200);
    position: relative;
}

.map-container #map {
    width: 100%;
    height: 100%;
}

.view-toggle {
    display: flex;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    padding: 4px;
    gap: 4px;
}

.view-toggle button {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--gray-600);
    transition: var(--transition);
}

.view-toggle button.active {
    background: var(--white);
    color: var(--gray-900);
    box-shadow: var(--shadow-sm);
}

/* ==========================================
   BUSINESS PAGE
   ========================================== */
.business-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.business-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: white;
}

.business-info-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

.business-main {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.business-sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 96px;
}

/* ==========================================
   BOOKING WIDGET
   ========================================== */
.booking-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    padding: 24px;
}

.booking-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.service-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: var(--transition);
}

.service-list-item:hover {
    color: var(--primary-dark);
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-info h4 {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 500;
}

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

.service-meta {
    text-align: right;
}

.service-price {
    font-weight: 600;
    color: var(--gray-900);
}

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

/* ==========================================
   TIME SLOTS
   ========================================== */
.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
}

.time-slot {
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.time-slot:hover {
    border-color: var(--primary);
    background: var(--primary-50);
}

.time-slot.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.time-slot.unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ==========================================
   REVIEWS
   ========================================== */
.review-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-100);
}

.review-card:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.review-meta {
    flex: 1;
}

.review-meta strong {
    font-size: 0.9rem;
}

.review-meta span {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.review-text {
    font-size: 0.9rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ==========================================
   PRICING CARDS
   ========================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-card.popular::before {
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 20px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 16px 0;
}

.pricing-amount span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--success);
}

/* ==========================================
   DASHBOARD
   ========================================== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 72px);
}

.dashboard-sidebar {
    background: var(--gray-50);
    border-right: 1px solid var(--gray-200);
    padding: 24px 0;
}

.dashboard-nav {
    list-style: none;
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    color: var(--gray-600);
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.dashboard-nav a:hover {
    background: var(--gray-100);
    color: var(--gray-900);
}

.dashboard-nav a.active {
    background: var(--primary-50);
    color: var(--primary-dark);
    border-left-color: var(--primary);
    font-weight: 500;
}

.dashboard-content {
    padding: 32px;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 8px 0 4px;
}

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

.stat-card .stat-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.stat-card .stat-change.positive { color: var(--success); }
.stat-card .stat-change.negative { color: var(--danger); }

/* ==========================================
   TABLE
   ========================================== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.data-table th {
    background: var(--gray-50);
    padding: 14px 16px;
    text-align: left;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.data-table tr:hover td {
    background: var(--gray-50);
}

/* ==========================================
   STATUS BADGES
   ========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-success { background: #e8f5e9; color: #2e7d32; }
.badge-warning { background: #fff8e1; color: #ef6c00; }
.badge-danger { background: #fce4ec; color: #c62828; }
.badge-info { background: #e3f2fd; color: #1565c0; }
.badge-pending { background: var(--beige); color: var(--secondary); }

/* ==========================================
   AUTH PAGES
   ========================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-50), var(--beige));
    padding: 24px;
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-xl);
}

.auth-card h1 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--gray-400);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.auth-footer a {
    color: var(--primary-dark);
    font-weight: 500;
}

/* ==========================================
   FLASH MESSAGES
   ========================================== */
.flash {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success { background: #e8f5e9; color: #2e7d32; }
.flash-error { background: #fce4ec; color: #c62828; }
.flash-warning { background: #fff8e1; color: #ef6c00; }
.flash-info { background: #e3f2fd; color: #1565c0; }

/* ==========================================
   PAGINATION
   ========================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.pagination a:hover {
    background: var(--gray-100);
}

.pagination .active {
    background: var(--primary);
    color: white;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 16px;
    font-family: var(--font-main);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .marketplace-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
    }

    .business-info-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 2.2rem; }
    .hero { min-height: 500px; }

    .navbar-menu { display: none; }
    .menu-toggle { display: block; }

    .navbar-menu.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .search-bar {
        flex-direction: column;
        border-radius: var(--radius-lg);
        padding: 12px;
    }

    .search-bar-divider { display: none; }

    .search-bar-group {
        width: 100%;
        padding: 8px 12px;
    }

    .search-bar .btn {
        width: 100%;
    }

    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .container { padding: 0 16px; }
    .section { padding: 48px 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; }

    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

.animate-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* Stagger animations */
.stagger > * {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.2s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.3s; }
.stagger > *:nth-child(7) { animation-delay: 0.35s; }
.stagger > *:nth-child(8) { animation-delay: 0.4s; }

/* Utility classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-100 { width: 100%; }
