/*
 * KMConciergerie.fr - Redesign Styles
 * Version: 2.0
 * Design: Warm, refined concierge service aesthetic
 * Fonts: Darker Grotesque (display) + Figtree (body)
 */

/* ============================================
   VARIABLES & FOUNDATIONS
   ============================================ */

:root {
    /* Colors - Warm, refined palette */
    --color-cream: #FAFAF8;
    --color-warm-white: #FFFFFF;
    --color-teal: #0A4D4E;
    --color-teal-dark: #083A3B;
    --color-teal-light: #0F6A6C;
    --color-terracotta: #E07856;
    --color-terracotta-light: #F09577;
    --color-sage: #7CA982;
    --color-sage-light: #A3C9A8;
    --color-sand: #C9B8A8;
    --color-sand-light: #E5DDD4;
    --color-gray-50: #F8F7F5;
    --color-gray-100: #EAE8E3;
    --color-gray-200: #D6D2C8;
    --color-gray-300: #B8B3A7;
    --color-gray-400: #9A9488;
    --color-gray-600: #5C5750;
    --color-gray-800: #2E2B27;

    /* Typography */
    --font-display: 'Darker Grotesque', sans-serif;
    --font-body: 'Figtree', sans-serif;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(10, 77, 78, 0.04), 0 1px 2px rgba(10, 77, 78, 0.03);
    --shadow-md: 0 4px 6px rgba(10, 77, 78, 0.05), 0 2px 4px rgba(10, 77, 78, 0.03);
    --shadow-lg: 0 10px 15px rgba(10, 77, 78, 0.08), 0 4px 6px rgba(10, 77, 78, 0.04);
}

/* Base styles */
body {
    font-family: var(--font-body);
    background: var(--color-cream);
    color: var(--color-gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   MOBILE MENU BUTTON
   ============================================ */

.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    width: 44px;
    height: 44px;
    background: var(--color-teal);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   SIDEBAR OVERLAY
   ============================================ */

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
}

/* ============================================
   SIDEBAR
   ============================================ */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 260px;
    background: var(--color-teal);
    padding: 32px 0;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    margin-bottom: 40px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--color-teal);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-warm-white);
    letter-spacing: -0.02em;
}

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

.nav-item {
    margin-bottom: 2px;
}

.nav-link {
    display: block;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
    letter-spacing: -0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--color-terracotta);
    border-radius: 0 4px 4px 0;
    transition: height 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-warm-white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link.active::before {
    height: 24px;
}

.sidebar-footer {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--color-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    font-size: 14px;
    flex-shrink: 0;
}

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

.user-name {
    font-weight: 600;
    font-size: 13px;
    color: white;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    margin-left: 260px;
    padding: 32px 40px;
    min-height: 100vh;
}

/* ============================================
   PAGE HEADER
   ============================================ */

.page-header {
    margin-bottom: 32px;
}

.page-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: var(--color-teal);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 6px;
}

.page-subtitle {
    font-size: 15px;
    color: var(--color-gray-600);
    font-weight: 400;
}

/* ============================================
   BADGES & STATS
   ============================================ */

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    background: white;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all 0.2s ease;
}

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

.stat-badge-icon {
    font-size: 20px;
}

.stat-badge-value {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-gray-800);
}

.stat-badge-label {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-body);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-teal-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:focus-visible {
    background: var(--color-teal-dark) !important;
    border-color: var(--color-teal-dark) !important;
    box-shadow: 0 0 0 3px rgba(10, 77, 78, 0.2) !important;
    color: white !important;
}

.btn-secondary {
    background: white;
    color: var(--color-teal);
    border: 2px solid var(--color-gray-200);
}

.btn-secondary:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:focus-visible {
    border-color: var(--color-teal) !important;
    box-shadow: 0 0 0 3px rgba(10, 77, 78, 0.1) !important;
    color: var(--color-teal) !important;
    background: white !important;
}

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

.btn-success:hover {
    background: #6b9571;
    transform: translateY(-1px);
}

.btn-success:active,
.btn-success:focus,
.btn-success:focus-visible {
    background: #6b9571 !important;
    border-color: #6b9571 !important;
    box-shadow: 0 0 0 3px rgba(124, 169, 130, 0.3) !important;
    color: white !important;
}

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

.btn-warning:hover {
    background: #c96647;
    transform: translateY(-1px);
}

.btn-warning:active,
.btn-warning:focus,
.btn-warning:focus-visible {
    background: #c96647 !important;
    border-color: #c96647 !important;
    box-shadow: 0 0 0 3px rgba(224, 120, 86, 0.3) !important;
    color: white !important;
}

.btn-danger {
    background: #dc3545;
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-danger:hover {
    background: #bb2d3b;
    transform: translateY(-1px);
}

.btn-danger:active,
.btn-danger:focus,
.btn-danger:focus-visible {
    background: #bb2d3b !important;
    border-color: #bb2d3b !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3) !important;
    color: white !important;
}

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

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

.btn-outline-primary:active,
.btn-outline-primary:focus,
.btn-outline-primary:focus-visible {
    background: var(--color-teal) !important;
    border-color: var(--color-teal) !important;
    box-shadow: 0 0 0 3px rgba(10, 77, 78, 0.2) !important;
    color: white !important;
}

.btn-outline-secondary {
    background: transparent !important;
    color: var(--color-gray-600) !important;
    border: 2px solid var(--color-gray-300) !important;
}

.btn-outline-secondary:hover {
    background: var(--color-gray-100) !important;
    color: var(--color-gray-600) !important;
}

.btn-outline-secondary:active,
.btn-outline-secondary:focus,
.btn-outline-secondary:focus-visible {
    background: var(--color-gray-100) !important;
    border-color: var(--color-gray-400) !important;
    box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.15) !important;
    color: var(--color-gray-700) !important;
}

.btn-outline-danger {
    background: transparent;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-outline-danger:active,
.btn-outline-danger:focus,
.btn-outline-danger:focus-visible {
    background: #dc3545 !important;
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.3) !important;
    color: white !important;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: white;
}

.btn-sm {
    padding: 8px 14px;
    font-size: 12px;
}

/* ============================================
   CARDS
   ============================================ */

.card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: 20px 24px;
    border-bottom: 2px solid var(--color-gray-100);
    background: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.card-body {
    padding: 24px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gray-800);
    letter-spacing: -0.02em;
    margin: 0;
}

/* ============================================
   ALERTS
   ============================================ */

.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
}

.alert-info {
    background: rgba(10, 77, 78, 0.08);
    color: var(--color-teal);
    border-left: 4px solid var(--color-teal);
}

.alert-warning {
    background: rgba(224, 120, 86, 0.08);
    color: #c96647;
    border-left: 4px solid var(--color-terracotta);
}

.alert-success {
    background: rgba(124, 169, 130, 0.08);
    color: #6b9571;
    border-left: 4px solid var(--color-sage);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.08);
    color: #bb2d3b;
    border-left: 4px solid #dc3545;
}

.alert-secondary {
    background: rgba(108, 117, 125, 0.06);
    color: var(--color-gray-700);
    border-left: 4px solid var(--color-gray-400);
}

/* Styles pour les sections de commentaires dans les hero-cards */
.comments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-details .alert {
    margin-bottom: 0;
    padding: 14px 16px;
}

.hero-details .alert strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: currentColor;
}

.hero-details .alert strong i {
    font-size: 14px;
    margin-right: 6px;
}

.hero-details .alert > div[style*="white-space"] {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-gray-700);
}

/* ============================================
   BADGES (STATUS)
   ============================================ */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.badge-success {
    background: rgba(124, 169, 130, 0.15);
    color: var(--color-sage);
}

.badge-warning {
    background: rgba(224, 120, 86, 0.15);
    color: var(--color-terracotta);
}

.badge-info {
    background: rgba(10, 77, 78, 0.15);
    color: var(--color-teal);
}

.badge-secondary {
    background: var(--color-gray-200);
    color: var(--color-gray-600);
}

/* ============================================
   PROPERTY SLOTS
   ============================================ */

.property-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--color-gray-100);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

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

.property-card.occupied {
    border-left: 6px solid var(--color-sage);
    background: linear-gradient(135deg, rgba(124, 169, 130, 0.03) 0%, white 100%);
}

.property-card.pending {
    border-left: 6px solid var(--color-terracotta);
    background: linear-gradient(135deg, rgba(224, 120, 86, 0.03) 0%, white 100%);
}

.property-card.empty {
    border-left: 6px solid var(--color-gray-300);
    background: linear-gradient(135deg, var(--color-gray-50) 0%, white 100%);
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: white;
    padding: 24px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 4px rgba(10, 77, 78, 0.05);
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-overlay.active {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 20px 20px;
    }

    .page-title {
        font-size: 32px;
    }

    .hero-content {
        grid-template-columns: 1fr !important;
    }

    .hero-image {
        height: 200px !important;
    }

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

    .comments-grid {
        grid-template-columns: 1fr !important;
    }

    .timeline {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .timeline-item {
        justify-content: flex-start !important;
    }

    .timeline-arrow {
        display: none !important;
    }

    .services-section {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .services-list {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .hero-actions {
        flex-direction: column !important;
    }
}

/* ============================================
   HERO CARD - COMPACT PROPERTY STATUS
   ============================================ */

.hero-section {
    margin-bottom: 32px;
}

.hero-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all 0.3s ease;
}

.hero-card:hover {
    box-shadow: var(--shadow-lg);
}

.hero-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
}

.hero-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.status-dot.active {
    background: var(--color-sage);
}

.status-dot.pending {
    background: var(--color-terracotta);
}

.status-dot.empty {
    background: var(--color-gray-400);
}

.hero-details {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.hero-title-group {
    flex: 1;
    min-width: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-teal);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 13px;
    color: var(--color-gray-600);
}

.hero-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--color-teal);
    white-space: nowrap;
}

/* Compact Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    padding: 14px 16px;
    background: var(--color-gray-50);
    border-radius: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-800);
}

/* Compact Timeline */
.timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    align-items: center;
    padding: 14px 16px;
    background: var(--color-gray-50);
    border-radius: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-item:last-child {
    justify-content: flex-end;
}

.timeline-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.timeline-item.active .timeline-icon {
    background: rgba(124, 169, 130, 0.15);
    color: var(--color-sage);
}

.timeline-item.pending .timeline-icon {
    background: rgba(224, 120, 86, 0.15);
    color: var(--color-terracotta);
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.timeline-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    font-weight: 600;
}

.timeline-date {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gray-800);
}

.timeline-arrow {
    color: var(--color-gray-300);
    font-size: 20px;
}

.timeline-actual {
    font-size: 12px;
    color: var(--color-sage);
    margin-top: 4px;
    font-weight: 500;
}

/* Services Inline */
.services-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    background: var(--color-sand-light);
    border-radius: 12px;
}

.services-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex: 1;
}

.service-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.service-name {
    font-weight: 600;
    color: var(--color-gray-800);
    font-size: 13px;
}

.service-type {
    font-size: 11px;
    color: var(--color-gray-600);
}

.services-total {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--color-teal);
    white-space: nowrap;
}

/* Actions */
.hero-actions {
    display: flex;
    gap: 10px;
}

.btn-large {
    flex: 1;
    padding: 12px 20px;
    font-size: 14px;
    justify-content: center;
}

/* ============================================
   PROPERTY CARD GRID
   ============================================ */

.property-card-grid {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-card-grid .property-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.property-card-grid .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card-grid:hover .property-image img {
    transform: scale(1.1);
}

.property-card-grid .card-body {
    flex: 1;
    padding: 24px;
}

.property-card-grid .property-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.property-card-grid .property-meta {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--color-gray-600);
}

.property-card-grid .property-meta i {
    color: var(--color-teal);
    margin-top: 2px;
}

.property-card-grid .property-description {
    font-size: 14px;
    color: var(--color-gray-600);
    margin-bottom: 12px;
    line-height: 1.6;
}

.property-card-grid .card-footer {
    background: var(--color-gray-50);
    border-top: 1px solid var(--color-gray-100);
    padding: 16px 24px;
}

/* ============================================
   CONCIERGE CARDS
   ============================================ */

.concierge-card {
    border-radius: 16px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.concierge-card .card-header {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border: none;
    padding: 24px;
}

.concierge-avatar {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--color-terracotta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: white;
}

.concierge-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.concierge-table {
    margin-bottom: 0;
}

.concierge-table thead th {
    background: var(--color-gray-50);
    color: var(--color-gray-800);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-gray-200);
    padding: 12px 16px;
}

.concierge-table tbody tr {
    border-bottom: 1px solid var(--color-gray-100);
}

.concierge-table tbody td {
    padding: 16px;
    vertical-align: middle;
}

.concierge-table tbody tr:hover {
    background: var(--color-gray-50);
}

.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(10, 77, 78, 0.1);
    color: var(--color-teal);
    font-size: 12px;
    font-weight: 600;
}

.fw-600 {
    font-weight: 600;
}

/* ============================================
   BILLING
   ============================================ */

.billing-controls {
    border-radius: 14px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
}

.billing-card {
    border-radius: 16px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.billing-card .card-header {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border: none;
    padding: 24px;
}

.billing-concierge-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.01em;
}

.billing-concierge-contact {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.billing-total-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.billing-total-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.billing-total-amount {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: white;
    margin-top: 2px;
}

.billing-property-section {
    padding-bottom: 16px;
}

.billing-property-section:not(:last-child) {
    border-bottom: 2px solid var(--color-gray-100);
}

.billing-property-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.billing-table {
    margin-bottom: 0;
}

.billing-table thead th {
    background: var(--color-gray-50);
    color: var(--color-gray-800);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--color-gray-200);
    padding: 12px 16px;
}

.billing-table tbody tr {
    border-bottom: 1px solid var(--color-gray-100);
}

.billing-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
}

.billing-table tbody tr:hover {
    background: var(--color-gray-50);
}

/* ============================================
   FORMS
   ============================================ */

.form-card {
    border-radius: 16px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--color-gray-100);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    font-size: 24px;
}

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

.form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-gray-800);
    margin-bottom: 8px;
    display: block;
}

.form-control, .form-select {
    border: 1.5px solid var(--color-gray-200);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(10, 77, 78, 0.1);
    outline: none;
}

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

.form-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 6px;
}

.form-help {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-top: 6px;
}

.form-help a {
    color: var(--color-teal);
    text-decoration: none;
    font-weight: 600;
}

.form-help a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    border-top: 2px solid var(--color-gray-100);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* Help Card */
.help-card {
    border-radius: 16px;
    border: 1px solid var(--color-gray-100);
    box-shadow: var(--shadow-sm);
    background: var(--color-gray-50);
}

.help-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-item {
    margin-bottom: 20px;
}

.help-item-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--color-gray-800);
    margin-bottom: 6px;
}

.help-item-text {
    font-size: 13px;
    color: var(--color-gray-600);
    margin: 0;
    line-height: 1.5;
}

/* Photo Preview */
.photo-preview {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-gray-200);
    background: var(--color-gray-50);
}

.photo-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.photo-preview-actions {
    padding: 16px;
    background: white;
}

/* ============================================
   BOOKING DETAILS PAGE
   ============================================ */

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    background: var(--color-gray-50);
    border-radius: 12px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    font-weight: 600;
}

.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-gray-800);
}

.detail-sub {
    font-size: 13px;
    color: var(--color-gray-600);
}

/* Comments Section */
.comments-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comments-section .alert {
    margin-bottom: 0;
}

/* Service Cards */
.service-section-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.service-card {
    background: white;
    border: 1px solid var(--color-gray-200);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--color-teal);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 12px;
}

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

.service-description {
    font-size: 13px;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

.service-card-body {
    font-size: 13px;
    color: var(--color-gray-700);
}

.service-pricing {
    margin-bottom: 8px;
}

.service-notes {
    font-size: 12px;
    color: var(--color-gray-600);
    font-style: italic;
    padding: 8px 12px;
    background: var(--color-gray-50);
    border-radius: 8px;
    border-left: 3px solid var(--color-teal);
}

.service-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--color-gray-100);
}

/* Sidebar */
.sidebar-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-teal);
}

.sidebar-item {
    padding-bottom: 12px;
}

.sidebar-item:not(:last-child) {
    border-bottom: 1px solid var(--color-gray-100);
}

.sidebar-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    font-weight: 600;
    margin-bottom: 4px;
}

.sidebar-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-800);
}

.sidebar-sub {
    font-size: 12px;
    color: var(--color-gray-600);
    margin-top: 2px;
}

/* Section Title */
.section-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-teal);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   MONTHLY CALENDAR
   ============================================ */

/* Calendar Controls */
.calendar-controls {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calendar-month {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gray-800);
    min-width: 220px;
    text-align: center;
}

.btn-nav {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: white;
    border: 2px solid var(--color-gray-200);
    color: var(--color-teal);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-nav:hover {
    border-color: var(--color-teal);
    background: var(--color-teal);
    color: white;
}

/* Monthly Calendar */
.monthly-calendar {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    padding: 32px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.weekday {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
}

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

.calendar-day {
    aspect-ratio: 1;
    border-radius: 12px;
    padding: 12px;
    border: 2px solid var(--color-gray-100);
    background: white;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.calendar-day:hover {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.calendar-day.other-month {
    opacity: 0.3;
}

.calendar-day.today {
    border-color: var(--color-teal);
    background: rgba(10, 77, 78, 0.05);
}

.calendar-day.weekend {
    background: var(--color-sand-light);
}

.day-number {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 6px;
}

.calendar-day.today .day-number {
    color: var(--color-teal);
}

.day-bookings {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.day-booking {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    border-left: 3px solid;
    cursor: pointer;
    transition: all 0.2s ease;
}

.day-booking:hover {
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
}

.day-booking.confirmed {
    background: rgba(124, 169, 130, 0.15);
    border-left-color: var(--color-sage);
    color: var(--color-gray-800);
}

.day-booking.pending {
    background: rgba(224, 120, 86, 0.15);
    border-left-color: var(--color-terracotta);
    color: var(--color-gray-800);
}

.day-booking.active {
    background: rgba(10, 77, 78, 0.15);
    border-left-color: var(--color-teal);
    color: var(--color-gray-800);
}

.day-booking.arrival::before {
    content: '→ ';
}

.day-booking.departure::before {
    content: '← ';
}

.day-more {
    font-size: 9px;
    color: var(--color-gray-600);
    margin-top: 2px;
    font-weight: 600;
}

/* Legend */
.calendar-legend {
    background: white;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    margin-top: 24px;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
}

.legend-title {
    font-weight: 700;
    font-size: 13px;
    color: var(--color-gray-800);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.legend-items {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border-left: 4px solid;
}

.legend-color.confirmed {
    background: rgba(124, 169, 130, 0.15);
    border-left-color: var(--color-sage);
}

.legend-color.pending {
    background: rgba(224, 120, 86, 0.15);
    border-left-color: var(--color-terracotta);
}

.legend-color.active {
    background: rgba(10, 77, 78, 0.15);
    border-left-color: var(--color-teal);
}

/* Mobile Responsive for Calendar */
@media (max-width: 768px) {
    .calendar-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .calendar-nav {
        justify-content: center;
    }

    .monthly-calendar {
        padding: 20px;
    }

    .calendar-days {
        gap: 4px;
    }

    .calendar-day {
        padding: 8px;
    }

    .day-number {
        font-size: 14px;
    }

    .day-booking {
        font-size: 8px;
        padding: 2px 4px;
    }

    .calendar-legend {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

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

/* ============================================
   IMPERSONATE BANNER
   ============================================ */

.impersonate-banner {
    background: #dc3545;
    color: white;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.impersonate-banner .btn {
    background: white;
    color: #dc3545;
}

.impersonate-banner .btn:hover {
    background: var(--color-gray-100);
}
