/* ==========================================
   Claire Nails - Premium Luxury Editorial Theme
   Colors: Soft Ivory White, Polish Red & Gold
   ========================================== */

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

:root {
    --bg-dark: #FAF8F5; /* Warm luxury ivory white */
    --bg-card: #FFFFFF; /* Pure paper white */
    --bg-card-hover: #FFFFFF;
    --primary: #C81926; /* Deep, vibrant nail polish red */
    --primary-light: #E52E3D; /* Bright crimson/scarlet red */
    --primary-hover: #960F19; /* Deep ruby / Bordeaux */
    --primary-glow: rgba(200, 25, 38, 0.06);
    --secondary-sand: #E6D2C4; /* Soft sand / dusty rose accent */
    --text-main: #1A1919; /* Rich charcoal black */
    --text-muted: #736E6A; /* Warm slate grey */
    --border-color: rgba(200, 25, 38, 0.1); /* Very delicate red border */
    --border-glass: rgba(0, 0, 0, 0.04);
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --shadow-premium: 0 16px 40px -12px rgba(200, 25, 38, 0.06), 0 4px 16px rgba(0, 0, 0, 0.01);
    --shadow-hover: 0 24px 50px -10px rgba(200, 25, 38, 0.12), 0 8px 24px rgba(0, 0, 0, 0.02);
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 10% 20%, rgba(200, 25, 38, 0.02) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(230, 210, 196, 0.15) 0%, transparent 50%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1, h2, h3, .logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(200, 25, 38, 0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.01);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 2.1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
    flex-shrink: 0;
    white-space: nowrap;
    margin-right: 25px;
}

.brand-claire {
    color: var(--text-main);
    margin-right: -4px;
}

.brand-nails {
    color: var(--primary);
    position: relative;
}

.brand-mobile {
    font-size: 0.68rem;
    font-family: 'Outfit', sans-serif;
    background: rgba(200, 25, 38, 0.07);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 20px;
    margin-left: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.brand-mobile i {
    font-size: 0.75rem;
    margin-right: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.admin-btn {
    color: #b58900 !important;
}
.admin-btn.active::after {
    background: #b58900 !important;
}

/* Buttons */
.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px; /* Fully rounded buttons for premium organic feel */
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.9rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 8px 24px rgba(200, 25, 38, 0.15);
}
.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(200, 25, 38, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: rgba(200, 25, 38, 0.04);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
    padding: 14px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.98rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
    border-radius: 30px;
}

.btn-xs {
    padding: 5px 12px;
    font-size: 0.75rem;
    border-radius: 20px;
}

.btn-danger {
    background: var(--danger);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}
.btn-danger:hover {
    background: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.25);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* User Profile Info in Header */
.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}
.profile-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
}
.profile-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.user-profile-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 25px;
    transition: var(--transition-smooth);
}
.user-profile-trigger:hover {
    background: rgba(200, 25, 38, 0.06);
}
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    border-radius: 8px;
    margin: 2px 6px;
}
.user-dropdown-item:hover {
    background: rgba(200, 25, 38, 0.05);
    color: var(--primary);
}

/* Main Content & Page Transition */
.main-content {
    margin-top: 80px;
    padding: 60px 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 80px);
}

.page-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

/* HERO SECTION */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    padding: 20px 0 100px 0;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 400;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 25, 38, 0.05);
    border: 1px solid rgba(200, 25, 38, 0.1);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-container::before {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(200, 25, 38, 0.07) 0%, transparent 70%);
    z-index: 1;
    border-radius: 50%;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-color);
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 14px;
    font-weight: 400;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}

/* CATALOG GRID */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.catalog-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-hover);
}

.catalog-image-mock {
    height: 180px;
    background: radial-gradient(circle, #fdfbfa 0%, #f4eae4 100%);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.service-graphic-nail {
    width: 44px;
    height: 100px;
    border-radius: 22px 22px 5px 5px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.15), 0 4px 15px rgba(0,0,0,0.05);
}

.graphic-semi {
    background: linear-gradient(to bottom, #f37b7b, #c81926);
}
.graphic-pedi {
    background: linear-gradient(to bottom, #eae1dc, #e6c5be);
}
.graphic-acrylic {
    background: linear-gradient(to bottom, #e29578, #b80f1d);
}
.graphic-basic {
    background: linear-gradient(to bottom, #fbfbfb, #eaeaea);
}
.graphic-art {
    background: linear-gradient(to bottom, #d5a383, #8a4f3b);
}

.catalog-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.catalog-info h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--text-main);
}

.catalog-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    font-weight: 300;
}

.catalog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.catalog-duration {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.catalog-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Cormorant Garamond', serif;
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
    box-shadow: var(--shadow-hover);
}

.portfolio-img-container {
    height: 260px;
    background: #eae1dc;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    cursor: pointer;
}

.design-ombr-gold {
    background: radial-gradient(circle, #f9eae1 0%, #e6a89c 100%);
    width: 100%;
    height: 100%;
}
.design-red-flower {
    background: linear-gradient(135deg, #c81926 0%, #f9eae1 100%);
    width: 100%;
    height: 100%;
}

.design-nail-icon {
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.25);
}

.portfolio-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(250, 248, 245, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(200, 25, 38, 0.25);
    color: var(--primary);
    padding: 5px 14px 5px 24px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(200, 25, 38, 0.05);
    transition: all 0.3s ease;
    z-index: 5;
}

.portfolio-badge::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(200, 25, 38, 0.6);
}

.portfolio-info {
    padding: 24px;
}

.portfolio-info p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 48px;
    font-weight: 300;
}

.portfolio-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-glass);
    padding-top: 16px;
}

.portfolio-manicurist {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* BOOKING & FORMS */
.booking-container {
    max-width: 700px;
    margin: 0 auto;
}

.booking-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 32px;
    padding: 50px 40px;
    box-shadow: var(--shadow-premium);
}

.booking-card-header {
    text-align: center;
    margin-bottom: 40px;
}
.booking-card-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 400;
}
.booking-card-header p {
    color: var(--text-muted);
    font-weight: 300;
    font-size: 1.05rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--primary);
}

/* Global inputs overwrite */
input, select, textarea {
    background: #FFFFFF !important;
    color: var(--text-main) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: var(--transition-smooth) !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(200, 25, 38, 0.08) !important;
}

.btn-container {
    margin-top: 15px;
}

/* MY APPOINTMENTS LIST */
.appointments-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-data-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 50px 40px;
    text-align: center;
    border-radius: 24px;
    box-shadow: var(--shadow-premium);
    color: var(--text-muted);
}
.no-data-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}
.no-data-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.appointment-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
}
.appointment-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--shadow-hover);
}

.appointment-main-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.appointment-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.appointment-service-name {
    font-size: 1.4rem;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
}

.appointment-date {
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
}

.appointment-details {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 300;
}

.appointment-status-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.status-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-scheduled {
    background: rgba(245, 158, 11, 0.08);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.15);
}
.status-en_route {
    background: rgba(229, 210, 196, 0.3);
    color: var(--primary);
    border: 1px solid rgba(200, 25, 38, 0.2);
}
.status-in_progress {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.status-completed {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.status-cancelled {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
}
.payment-paid {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.15);
}
.payment-unpaid {
    background: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.status-select {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 24px 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    outline: none;
    transition: all 0.2s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C81926' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-size: 10px;
    background-position: right 10px center;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.status-select.payment-paid {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.status-select.payment-unpaid {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

.status-select.state-scheduled {
    background-color: rgba(245, 158, 11, 0.08);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.state-en_route {
    background-color: rgba(229, 210, 196, 0.3);
    color: var(--primary);
    border-color: rgba(200, 25, 38, 0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c81926' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.state-in_progress {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border-color: rgba(245, 158, 11, 0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.state-completed {
    background-color: rgba(16, 185, 129, 0.08);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}
.status-select.state-cancelled {
    background-color: rgba(239, 68, 68, 0.08);
    color: var(--danger);
    border-color: rgba(239, 68, 68, 0.15);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* ADMIN PANEL */
.admin-dashboard-layout {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.admin-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    flex-wrap: wrap;
    gap: 15px;
}

.admin-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 0 auto 25px auto;
    background: rgba(255, 255, 255, 0.8);
    padding: 6px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.admin-tabs .tab-btn {
    padding: 8px 14px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: none;
    color: var(--text-main);
    transition: all 0.2s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-tabs .tab-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.admin-tabs .tab-btn.active {
    background: var(--primary);
    color: #ffffff;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stats-tab-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stats-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}


.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-premium);
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--primary);
    background: rgba(200, 25, 38, 0.04);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}
.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: 'Cormorant Garamond', serif;
}
.rating-star {
    font-size: 0.95rem;
    color: var(--warning);
}

.admin-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-premium);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 18px;
}

.admin-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Cormorant Garamond', serif;
}

/* Admin Search Bar */
.admin-search-bar-container {
    margin-bottom: 24px;
    width: 100%;
}

.admin-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.admin-search-input-wrapper i {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.admin-search-input-wrapper input {
    width: 100% !important;
    padding: 12px 16px 12px 45px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    font-size: 0.95rem !important;
    background: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02) !important;
    transition: var(--transition-smooth) !important;
}

.admin-search-input-wrapper input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(200, 25, 38, 0.08) !important;
}

.admin-search-input-wrapper input:focus ~ i {
    color: var(--primary);
}

/* Table */
.table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.admin-table th {
    color: var(--text-muted);
    font-weight: 600;
    padding: 14px;
    border-bottom: 2px solid var(--border-glass);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.admin-table td {
    padding: 14px;
    border-bottom: 1px solid var(--border-glass);
    vertical-align: middle;
}

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

.admin-table tr:hover {
    background: rgba(200, 25, 38, 0.01);
}

.admin-table tr.selected, tr.appointment-row.selected {
    background: rgba(200, 25, 38, 0.16) !important;
    border-left: 4px solid var(--primary) !important;
    font-weight: 600;
}

/* Actions in Table */
.admin-assign-select {
    background: #FFFFFF !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    color: var(--text-main) !important;
    padding: 6px 12px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    outline: none !important;
}

.admin-actions-menu {
    display: flex;
    gap: 8px;
}

/* Admin Reviews List */
.admin-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-item {
    background: rgba(200, 25, 38, 0.02);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 16px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-user {
    font-weight: 600;
    font-size: 0.95rem;
}

.review-manicurist-tag {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 500;
    margin-top: 4px;
    display: block;
}

.review-comment {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    background: rgba(26, 25, 25, 0.4);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 28px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 30px 70px rgba(200, 25, 38, 0.1);
    position: relative;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    color: var(--primary);
    background: rgba(200, 25, 38, 0.05);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}
.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 500;
}
.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.modal-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.modal-footer a:hover {
    text-decoration: underline;
}

.admin-hint {
    margin-top: 20px;
    padding: 10px 14px;
    background: rgba(245, 158, 11, 0.06);
    border: 1px dashed rgba(245, 158, 11, 0.25);
    color: var(--warning);
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Star rating selector */
.star-rating-selector {
    display: flex;
    gap: 8px;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
}
.star-rating-selector .star-select.selected {
    color: var(--warning);
}

/* Loading Spinners */
.loading-spinner {
    text-align: center;
    padding: 50px;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.loading-spinner i {
    font-size: 2.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-bottom: 60px;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
    .hero-actions {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .admin-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .admin-main-grid {
        grid-template-columns: 1fr;
    }
}

/* --- THEME RED ACCENTS --- */
.drip-header-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 4px; /* Minimalist top red border instead of jagged clip-path for cleaner luxury look */
    background: var(--primary);
    z-index: 999;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.drip-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 32px;
    border: 12px solid #FFFFFF;
    box-shadow: 0 24px 60px rgba(200, 25, 38, 0.1);
    animation: floatGently 6s ease-in-out infinite;
    z-index: 2;
}

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

/* --- CALENDAR VIEWS --- */
.admin-logistics-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 15px;
}

@media (max-width: 900px) {
    .admin-logistics-layout {
        grid-template-columns: 1fr;
    }
}

.calendar-widget {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-premium);
}

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

.calendar-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin: 0;
    font-weight: 600;
}

.calendar-header button {
    background: transparent;
    border: 1px solid rgba(200, 25, 38, 0.15);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.8rem;
}
.calendar-header button:hover {
    background: rgba(200, 25, 38, 0.05);
}

.calendar-grid-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calendar-grid-cells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.calendar-day {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #f2f0ed;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    background: #FFFFFF;
}

.calendar-day:hover {
    border-color: var(--primary);
    background: rgba(200, 25, 38, 0.03);
}

.calendar-day.empty {
    border: none;
    cursor: default;
    background: transparent;
}
.calendar-day.empty:hover {
    background: transparent;
}

.calendar-day.today {
    background: rgba(200, 25, 38, 0.06);
    border-color: var(--primary);
    font-weight: 700;
    color: var(--primary);
}

.calendar-day.selected {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.calendar-day-dots {
    display: flex;
    flex-direction: row;
    gap: 3px;
    position: absolute;
    bottom: 5px;
    justify-content: center;
    left: 2px;
    right: 2px;
}

.calendar-dot {
    height: 4px;
    width: 4px;
    border-radius: 50%;
}

.calendar-dot.scheduled {
    background: var(--success);
}

.calendar-dot.requested {
    background: var(--primary);
}

/* --- MANICURISTS VIEW --- */
.manicurist-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.manicurist-card {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition-smooth);
}
.manicurist-card:hover {
    border-color: var(--border-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.manicurist-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 600;
}

.manicurist-stat-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.manicurist-badge {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    align-self: flex-start;
    font-weight: 600;
}

/* Form and list controls */
.admin-card-section {
    background: #FFFFFF;
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-premium);
}

.admin-card-section h3 {
    margin-bottom: 24px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 12px;
}

/* Portfolio Like Button */
.portfolio-like-btn {
    background: #FFFFFF;
    border: 1px solid rgba(200, 25, 38, 0.15);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}
.portfolio-like-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(200, 25, 38, 0.02);
}
.portfolio-like-btn.liked {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(200, 25, 38, 0.06);
    font-weight: 600;
}

.portfolio-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
}

/* Admin Tabs and Notification Bell */
.tab-btn {
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 30px; /* Fully rounded admin tabs */
    border: none;
    cursor: pointer;
    background: none;
    color: var(--text-muted);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: rgba(200, 25, 38, 0.04);
    color: var(--primary);
}

.tab-btn.active {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(200, 25, 38, 0.15);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active-tab {
    display: block !important;
}

.text-glow {
    text-shadow: 0 0 12px rgba(200, 25, 38, 0.2);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(200, 25, 38, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(200, 25, 38, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(200, 25, 38, 0);
    }
}

#admin-header-badge {
    animation: pulse 2s infinite;
}

.drip-shadow {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.notification-item {
    transition: var(--transition-smooth);
}

.notification-item:hover {
    transform: translateY(-2px);
    background-color: rgba(200, 25, 38, 0.02) !important;
    border-color: var(--primary) !important;
}

/* Custom Scrollbar for list */
#admin-notification-list::-webkit-scrollbar {
    width: 4px;
}
#admin-notification-list::-webkit-scrollbar-track {
    background: #FAF8F5;
    border-radius: 4px;
}
#admin-notification-list::-webkit-scrollbar-thumb {
    background: #E6D2C4;
    border-radius: 4px;
}
#admin-notification-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- LIGHTBOX GALLERY OVERLAY --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 25, 25, 0.95);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 3100;
}
.lightbox-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 1.8rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 3100;
}
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-prev:hover, .lightbox-next:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.lightbox-details {
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin-top: 24px;
    width: 100%;
    max-width: 600px;
    color: #FFFFFF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.lightbox-details .portfolio-badge {
    display: inline-block;
    background: var(--primary);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    top: 0;
    left: 0;
    border: none;
}

.lightbox-details .portfolio-badge::before {
    display: none;
}

.lightbox-details p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

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

.lightbox-footer #lightbox-manicurist {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.lightbox-footer #lightbox-likes {
    color: #ff4757;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments for lightbox */
@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    .lightbox-details {
        padding: 16px;
        margin-top: 15px;
    }
}

/* --- MANUAL BOOKING COMPACT GRID ROW --- */
.manual-booking-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.manual-booking-row-3 {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .manual-booking-row, .manual-booking-row-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================
   Responsive Navbar Mobile Styles
   ========================================== */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    transition: var(--transition-smooth);
}

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

@media (max-width: 992px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        opacity: 0;
        transform: translateY(-20px);
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav-links.active {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 14px 20px;
        width: 100%;
    }

    .nav-link.active::after {
        display: none;
    }
    
    .nav-link.active {
        background: rgba(200, 25, 38, 0.05);
        color: var(--primary);
    }

    .auth-btn-text {
        display: none;
    }

    .auth-buttons .btn-outline {
        padding: 8px 12px;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .auth-buttons .btn-outline i {
        margin: 0;
    }

    .profile-name {
        display: none !important;
    }

    .user-profile-badge {
        padding: 4px 8px;
        gap: 8px !important;
    }

    .nav-container {
        padding: 0 16px;
    }

    .logo {
        font-size: 1.7rem;
    }

    .brand-mobile {
        font-size: 0.65rem;
        padding: 2px 6px;
        margin-left: 4px;
    }
}

/* Custom Autocomplete Suggestions Dropdown */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-height: 250px;
    overflow-y: auto;
    z-index: 9999;
    margin-top: 4px;
    padding: 6px 0;
    list-style: none;
}

.autocomplete-suggestion-item {
    padding: 10px 15px;
    font-size: 0.88rem;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    gap: 10px;
}

.autocomplete-suggestion-item:last-child {
    border-bottom: none;
}

.autocomplete-suggestion-item:hover {
    background: rgba(219, 39, 119, 0.06);
    color: var(--primary);
    padding-left: 20px;
}

.autocomplete-suggestion-item i {
    color: var(--primary);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding: 0 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-brand .logo {
    font-size: 2.3rem;
    gap: 10px;
}

.footer-brand .brand-claire {
    color: #ffffff;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-socials a {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.footer-links h4, .footer-contact h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary);
    font-size: 1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 24px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .footer-brand, .footer-contact {
        align-items: center;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-links h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-links ul a:hover {
        padding-left: 0;
    }
}

/* Responsive adjustments for reviews and booking pages */
.reviews-page-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

@media (max-width: 768px) {
    .reviews-page-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }
    
    .booking-card {
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .booking-card-header h2 {
        font-size: 1.8rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .col-full {
        grid-column: span 1;
    }

    /* Guard rails to prevent horizontal scrolling on mobile */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    .main-content {
        padding: 15px 10px !important;
        margin-top: 75px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    /* Admin Panel Responsive Styling */
    .admin-dashboard-layout {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        gap: 20px !important;
    }

    .admin-header-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 6px;
        margin-bottom: 12px;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .admin-header-bar h2 {
        font-size: 1.25rem !important;
    }

    /* 2-column Grid for Tabs on mobile to fit the screen beautifully without scrolling */
    .admin-tabs {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 8px !important;
        padding: 6px !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        overflow-x: visible !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    .admin-tabs .tab-btn {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 10px 12px !important;
        font-size: 0.75rem !important;
        text-align: left !important;
        border-radius: 8px !important;
        white-space: nowrap !important;
        height: auto !important;
        min-width: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-tabs .tab-btn i {
        font-size: 0.95rem !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    /* Make the calendar layout completely responsive and fit the screen */
    .admin-logistics-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-logistics-left, 
    .admin-logistics-right {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    .calendar-widget {
        max-width: 310px !important;
        margin: 0 auto 10px auto !important;
        padding: 10px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }

    .calendar-header {
        margin-bottom: 10px !important;
    }

    .calendar-header h3 {
        font-size: 0.95rem !important;
    }

    .calendar-header button {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.75rem !important;
    }

    .calendar-grid-days {
        font-size: 0.65rem !important;
        margin-bottom: 6px !important;
    }

    .calendar-grid-cells {
        gap: 4px !important;
    }

    .calendar-day {
        font-size: 0.75rem !important;
        border-radius: 6px !important;
    }

    .calendar-day-dots {
        margin-top: 1px !important;
        gap: 1px !important;
    }

    .calendar-dot {
        width: 4px !important;
        height: 4px !important;
    }

    /* Compact lists, statistics, and cards on mobile */
    .admin-card {
        padding: 12px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-card-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        padding-bottom: 8px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-card-header h3 {
        font-size: 1.15rem !important;
    }

    .admin-card-header div {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .admin-card-header div button {
        flex: 1 !important;
    }

    /* Search inputs fit width */
    .admin-search-bar-container,
    .admin-search-input-wrapper {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .admin-search-input-wrapper input {
        padding: 10px 12px 10px 38px !important;
        font-size: 0.85rem !important;
    }

    .admin-search-input-wrapper i {
        left: 12px !important;
        font-size: 0.85rem !important;
    }

    /* Tables scroll without stretching */
    .table-container {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin-top: 10px !important;
    }

    .admin-table {
        font-size: 0.75rem !important;
        width: 100% !important;
    }

    .admin-table th, .admin-table td {
        padding: 8px 6px !important;
        white-space: nowrap !important;
    }

    /* Quick dispatch control panel on mobile */
    #logistics-control-panel,
    #m-logistics-control-panel {
        padding: 12px !important;
        margin-top: 15px !important;
        border-radius: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #logistics-control-panel h4,
    #m-logistics-control-panel h4 {
        font-size: 0.95rem !important;
        margin-bottom: 5px !important;
    }

    #logistics-control-panel p,
    #m-logistics-control-panel p {
        font-size: 0.75rem !important;
        margin-bottom: 8px !important;
    }

    #logistics-action-buttons button,
    #m-logistics-action-buttons button {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
        width: 100% !important;
    }

    /* Stats Grid taking 100% width and centered */
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .stat-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 16px !important;
        gap: 12px !important;
        border-radius: 12px !important;
    }

    .stats-tab-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .stats-sections-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        width: 100% !important;
    }
}

/* ============================================================
   TOAST NOTIFICATIONS — Web Admin Panel (Light, Polished)
   ============================================================ */

.toast-container-unified {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 10005;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: 370px;
    width: calc(100% - 56px);
    pointer-events: none;
}

@media (max-width: 700px) {
    .toast-container-unified {
        bottom: auto;
        top: 16px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        flex-direction: column;
    }
}

.toast-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 13px 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.toast-card.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Left accent bar by type */
.toast-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 14px 0 0 14px;
}
.toast-card.success::before { background: #10B981; }
.toast-card.error::before   { background: #EF4444; }
.toast-card.warning::before { background: #F59E0B; }
.toast-card.info::before    { background: var(--primary, #c81926); }

/* Progress bar */
.toast-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2.5px;
    width: 100%;
    opacity: 0.6;
    background: #10B981;
}



