/* Hotelier Dashboard Styles */
:root {
    --bg-color: #fdfaf5;
    --card-bg: #ffffff;
    --primary-green: #143b23;
    --primary-green-hover: #0e2a18;
    --text-main: #1c1c1c;
    --text-muted: #6b6b6b;
    --border-color: #eae9e5;
    --accent-color: #d05d29;
    --star-color: #d19a2e;
    --sidebar-width: 260px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 4px 15px rgba(0,0,0,0.02);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.05);
}

/* ── OTP DIGIT INPUT BOXES ── */
.otp-digit-input {
    width: 46px;
    height: 54px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    color: var(--primary-green);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    caret-color: transparent;
}
.otp-digit-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(20, 59, 35, 0.12);
    transform: translateY(-2px);
}
.otp-digit-input.filled {
    border-color: var(--primary-green);
    background: rgba(20,59,35,0.04);
}
.otp-digit-input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
    animation: otpShake 0.4s ease;
}
@keyframes otpShake {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}


* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }

/* Layout */
.dashboard-layout {
    display: none;
    min-height: 100vh;
}
.dashboard-layout.show {
    display: flex;
}

/* Auth Cards */
/* Auth Split Layout */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: radial-gradient(circle at top left, #fdfaf5 0%, #e2ece6 100%);
}
.auth-container.hide {
    display: none;
}

.auth-split-wrapper {
    display: flex;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(20,59,37,0.12);
    width: 100%;
    max-width: 1100px;
    min-height: 720px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    animation: fadeIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Left side: Premium Branding Panel */
.auth-branding-panel {
    flex: 1.1;
    position: relative;
    background-image: url('../assets/auth_hotel_lobby.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px;
    color: white;
    overflow: hidden;
}

.auth-branding-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 59, 35, 0.95) 0%, rgba(14, 42, 24, 0.8) 100%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.auth-branding-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
}

.auth-branding-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    filter: brightness(0) invert(1);
}

.auth-branding-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
    color: #fff;
    font-family: 'Playfair Display', serif;
}

.auth-branding-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Inter', sans-serif;
}

.auth-branding-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: transform 0.2s ease;
}
.feature-item:hover {
    transform: translateX(4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: #fff;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.feature-text span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Right side: Interactive Forms Panel */
.auth-form-panel {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
}

.auth-form-header {
    padding: 48px 48px 24px;
}

.auth-form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 6px;
}

.auth-form-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin: 0 48px 24px;
}

.auth-tab {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s;
    border-bottom: 3px solid transparent;
}

.auth-tab:hover {
    color: var(--primary-green);
}

.auth-tab.active {
    color: var(--primary-green);
    border-bottom: 3px solid var(--primary-green);
    margin-bottom: -2px;
}

.auth-body {
    padding: 0 48px 48px;
    overflow-y: auto;
    max-height: 600px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.auth-body::-webkit-scrollbar {
    width: 6px;
}

.auth-body::-webkit-scrollbar-thumb {
    background-color: var(--border-color);
    border-radius: 3px;
}

/* Responsive adjustment for Mobile split screen */
@media (max-width: 900px) {
    .auth-split-wrapper {
        flex-direction: column;
        max-width: 550px;
        min-height: auto;
    }
    
    .auth-branding-panel {
        padding: 32px;
        min-height: 300px;
    }
    
    .auth-branding-content {
        gap: 20px;
    }
    
    .auth-branding-features {
        display: none; /* Hide features list on mobile split to save vertical space */
    }
    
    .auth-form-header {
        padding: 32px 32px 16px;
    }
    
    .auth-tabs {
        margin: 0 32px 20px;
    }
    
    .auth-body {
        padding: 0 32px 32px;
        max-height: none;
    }
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header h2 {
    color: var(--primary-green);
    font-size: 20px;
    font-weight: 700;
}

.sidebar-header .sub {
    font-size: 11px;
    color: var(--accent-color);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.nav-item i { font-size: 20px; }
.nav-item:hover { background: #f5f5f5; color: var(--text-main); }
.nav-item.active { background: var(--primary-green); color: white; }

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.sidebar-footer a, .sidebar-footer button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.sidebar-footer a:hover, .sidebar-footer button:hover { background: #f5f5f5; color: var(--accent-color); }

.hotel-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 16px;
    background: #f9f8f5;
    border-radius: var(--radius-sm);
}

.hotel-profile .avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.hotel-profile .info strong {
    font-size: 13px;
    display: block;
    color: var(--text-main);
}

.hotel-profile .info span {
    font-size: 11px;
    color: var(--primary-green);
    font-weight: 600;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-header {
    height: 70px;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 90;
}

.top-header h1 {
    font-size: 22px;
    color: var(--primary-green);
}

.content-area {
    padding: 32px;
}

/* Tab Panes */
.tab-pane { display: none; animation: fadeIn 0.35s ease; }
.tab-pane.active { display: block; }

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

/* Stepper Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
    overflow-x: auto;
}

.progress-track {
    position: absolute;
    top: 50%;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--border-color);
    z-index: 1;
    transform: translateY(-50%);
}

.progress-track-fill {
    height: 100%;
    background: var(--primary-green);
    width: 0%;
    transition: width 0.3s ease;
}

.wizard-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: var(--card-bg);
    padding: 0 8px;
    position: relative;
    text-align: center;
    min-width: 90px;
}

.wizard-step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.3s;
}

.wizard-step-node.active .wizard-step-circle {
    border-color: var(--primary-green);
    background: var(--primary-green);
    color: white;
    box-shadow: 0 0 0 4px rgba(20,59,37,0.15);
}

.wizard-step-node.completed .wizard-step-circle {
    border-color: var(--primary-green);
    background: #e8f0eb;
    color: var(--primary-green);
}

.wizard-step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
    white-space: nowrap;
}

.wizard-step-node.active .wizard-step-label {
    color: var(--primary-green);
}

/* Stepper Panes */
.wizard-step-pane {
    display: none;
    animation: slideIn 0.3s ease;
}

.wizard-step-pane.active {
    display: block;
}

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

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-main);
}

.form-group label span {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 11px;
}

.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    background: white;
}

.form-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(20, 59, 35, 0.08);
}

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

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

/* Map Pin Simulator */
.map-picker-container {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #fafaf7;
    margin-top: 10px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.02);
}

.map-picker-header {
    background: #eae9e5;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
}

.map-picker-grid {
    height: 320px; /* Slightly taller for better visualization */
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}

/* ── PHOTO UPLOAD COMPONENT ── */
.photo-upload-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.photo-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-color);
    background: transparent;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}
.photo-tab:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}
.photo-tab.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #fff;
}
.photo-panel { display: none; }
.photo-panel.active { display: block; }

/* Drag & Drop Zone */
.photo-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: var(--input-bg, #f9f9f9);
}
.photo-dropzone:hover, .photo-dropzone.drag-over {
    border-color: var(--primary-green);
    background: rgba(20, 59, 35, 0.04);
}
.dropzone-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

/* Preview Box */
.photo-preview-box {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1.5px solid var(--primary-green);
    border-radius: var(--radius-md);
    background: rgba(20, 59, 35, 0.04);
    position: relative;
}
.photo-preview-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}
.photo-preview-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}
.photo-upload-status {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.photo-progress-bar {
    height: 5px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
    width: 180px;
}
.photo-progress-fill {
    height: 100%;
    background: var(--primary-green);
    border-radius: 99px;
    width: 0%;
    transition: width 0.3s ease;
}
.photo-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
    font-size: 13px;
}
.photo-remove-btn:hover { background: #fce8e8; color: #c0392b; border-color: #c0392b; }

/* Preset Photo Grid */
.preset-photos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.preset-photo-card {
    border: 2.5px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.preset-photo-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}
.preset-photo-card span {
    display: block;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    padding: 5px 4px 4px;
    color: var(--text-muted);
    background: var(--card-bg, #fff);
}
.preset-photo-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20,59,35,0.15);
}
.preset-photo-card.active {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(20,59,35,0.15);
}
.preset-photo-card.active::after {
    content: '\2713';
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: var(--primary-green);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 20px;
    text-align: center;
}

/* Category selector cards */
.category-selection-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 10px;
}

.category-selection-card {
    border: 2px solid var(--border-color);
    background: white;
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.category-selection-card i {
    font-size: 36px;
    color: var(--text-muted);
    transition: color 0.2s;
}

.category-selection-card strong {
    font-size: 15px;
    color: var(--text-main);
}

.category-selection-card p {
    font-size: 11px;
    color: var(--text-muted);
}

.category-selection-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

.category-selection-card.active {
    border-color: var(--primary-green);
    background: #e8f0eb;
}

.category-selection-card.active i {
    color: var(--primary-green);
}

/* Meal Plan Card Group */
.meal-plans-container {
    background: #fafaf7;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 12px;
}

.meal-plan-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}
.meal-plan-item:last-child { border-bottom: none; }

.meal-plan-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meal-plan-left input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-green);
    cursor: pointer;
}

.meal-plan-left label {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 0;
    cursor: pointer;
}

.meal-plan-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meal-plan-right input[type="number"] {
    width: 100px;
    text-align: right;
}

/* Facilities Amenity Badges */
.amenities-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.amenity-toggle-badge {
    border: 1px solid var(--border-color);
    background: white;
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    color: var(--text-muted);
}

.amenity-toggle-badge i { font-size: 18px; }

.amenity-toggle-badge:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.amenity-toggle-badge.active {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 10px rgba(20,59,37,0.12);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.green { background: #e8f0eb; color: var(--primary-green); }
.stat-icon.orange { background: #fff4e5; color: var(--accent-color); }
.stat-icon.blue { background: #e8f0fa; color: #2563eb; }
.stat-icon.gold { background: #fef7e0; color: var(--star-color); }

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-value {
    font-size: 26px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

/* Cards */
.card {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    padding: 24px;
    border: 1px solid var(--border-color);
}

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

.card-header h3 {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Tables */
.table-responsive { overflow-x: auto; }

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #fafaf7;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 14px;
}

.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover { background: #fafaf7; }

/* Status Pills */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.pill-pending { background: #fff4e5; color: #b77b21; }
.pill-approved { background: #e8f0eb; color: var(--primary-green); }
.pill-confirmed { background: #e8f0fa; color: #2563eb; }
.pill-cancelled { background: #fee; color: #c00; }

.pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* Buttons */
.btn {
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-primary { background: var(--primary-green); color: white; }
.btn-primary:hover { background: var(--primary-green-hover); }
.btn-accent { background: var(--accent-color); color: white; }
.btn-accent:hover { background: #b84d1f; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary-green); color: var(--primary-green); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-ghost { background: none; border: none; color: var(--text-muted); font-size: 13px; cursor: pointer; padding: 6px 10px; }
.btn-ghost:hover { color: var(--primary-green); }

/* Property Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.property-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.property-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

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

.property-card-body h4 {
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.property-card-loc {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.property-card-specs {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 14px;
}

.property-card-specs .spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.property-card-specs .spec strong {
    font-size: 14px;
    color: var(--text-main);
}

.property-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
}

.property-card-price span {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Edit Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal-card {
    background: var(--card-bg);
    width: 640px;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}

.modal-overlay.show .modal-card { transform: translateY(0); }

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h3 { font-size: 18px; }

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #fafaf7;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    flex-shrink: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

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

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    display: none;
}

.alert-success { background: #e8f0eb; color: var(--primary-green); }
.alert-error { background: #fee; color: #c00; }

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i { font-size: 48px; margin-bottom: 16px; display: block; opacity: 0.4; }
.empty-state h4 { font-size: 18px; margin-bottom: 8px; color: var(--text-main); font-family: 'Inter', sans-serif; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }

/* Spin */
.spin {
    animation: rotating 1s linear infinite;
}
@keyframes rotating {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Mobile toggle, close button & overlay defaults */
.mobile-toggle-btn, .mobile-close-btn {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--primary-green);
    font-size: 24px;
    border: 1px solid var(--border-color);
}

.mobile-toggle-btn:hover {
    background: rgba(20, 59, 35, 0.05);
}

.mobile-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 20px;
}

.mobile-close-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 42, 24, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .category-selection-cards { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .dashboard-double-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle-btn {
        display: inline-flex;
    }
    
    .mobile-close-btn {
        display: inline-flex;
    }
    
    .sidebar {
        transform: translateX(-100%);
        box-shadow: none;
    }
    
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .top-header {
        padding: 0 16px;
    }
    
    .modal-card {
        width: 95%;
        max-height: 90vh;
        margin: 0 10px;
        border-radius: var(--radius-md);
    }
    
    .modal-body {
        padding: 16px;
    }
    
    .modal-header, .modal-footer {
        padding: 12px 16px;
    }
    
    .preset-photos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .top-header .btn-text {
        display: none;
    }
    
    .top-header h1 {
        font-size: 18px;
    }
    
    .preset-photos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .otp-digit-input {
        width: 38px;
        height: 46px;
        font-size: 18px;
    }
}

