/* Turno Libre — Glassmorphism Theme */

/* ===== Custom Properties ===== */
:root {
    --teal: #008080;
    --teal-dark: #006e6e;
    --teal-light: #0d9e9e;
    --teal-glow: rgba(0, 128, 128, 0.35);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-bg-strong: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --blur: 16px;
    --blur-heavy: 24px;
    --radius: 14px;
    --radius-sm: 10px;
    --gradient-bg: linear-gradient(135deg, #e0f7f5 0%, #f0f4ff 40%, #fef6f0 100%);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--gradient-bg);
    color: #1a1a2e;
    line-height: 1.5;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.page-title, .sidebar-title, .auth-title,
.modal-title, .section-title, .stat-value,
.public-section-title, .location-title,
.confirmation-title {
    font-family: 'Inter', 'Roboto', sans-serif;
    letter-spacing: -0.01em;
}

/* ===== Utility: Glass Panel ===== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ===== Hide Alpine x-cloak elements until ready ===== */
[x-cloak] { display: none !important; }

/* ===== HTMX Loading Indicator Bar ===== */
.htmx-indicator-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: transparent;
    pointer-events: none;
}

.htmx-indicator-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--teal), var(--teal-light), var(--teal));
    border-radius: 0 2px 2px 0;
    transition: width 0.3s ease;
}

.htmx-request .htmx-indicator-bar::after,
body.htmx-request .htmx-indicator-bar::after {
    width: 85%;
    animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { opacity: 1; }
    50%  { opacity: 0.6; }
    100% { opacity: 1; }
}

/* ===== Admin Layout ===== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 240px;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border-right: 1px solid var(--glass-border);
    padding: 1.5rem 1rem;
    flex-shrink: 0;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 0.5rem;
    margin-bottom: 2rem;
}

.sidebar-logo {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--teal-glow);
}

.sidebar-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a1a2e;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.sidebar-link:hover {
    background: rgba(0, 128, 128, 0.08);
    color: var(--teal);
}

.sidebar-link.active {
    background: rgba(0, 128, 128, 0.12);
    color: var(--teal);
    box-shadow: inset 3px 0 0 var(--teal);
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.sidebar-user {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.sidebar-logout {
    width: 100%;
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
}

.sidebar-logout:hover {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.06);
}

/* ===== Main Content ===== */
.main-content {
    flex: 1;
    margin-left: 240px;
    padding: 2rem 2.5rem;
}

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

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    line-height: 1.5;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    box-shadow: 0 2px 8px var(--teal-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
    box-shadow: 0 4px 16px var(--teal-glow);
}

.btn-secondary {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #333;
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== Locations Grid ===== */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* ===== Location Card ===== */
.location-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    transition: box-shadow 0.25s, transform 0.25s;
}

.location-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.card-image-placeholder {
    width: 100%;
    height: 160px;
    background: rgba(0, 128, 128, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #1a1a2e;
}

.card-address {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.75rem;
}

.card-badge {
    display: inline-block;
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== Modal ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-container {
    position: relative;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
    z-index: 51;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-wide {
    max-width: 600px;
}

/* ===== Form sections ===== */
.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0.5rem;
}

.form-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-group-grow {
    flex: 1;
}

.form-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: -0.5rem;
}

/* ===== Geo button ===== */
.geo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn-geo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: auto;
    white-space: nowrap;
}

.btn-geo:disabled {
    opacity: 0.6;
    cursor: wait;
}

.geo-hint {
    font-size: 0.8rem;
    color: #b91c1c;
}

.intersection-bar {
    background: rgba(0, 128, 128, 0.08);
    border: 1px solid rgba(0, 128, 128, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.intersection-bar span {
    color: #666;
}

.btn-link {
    background: none;
    border: none;
    color: var(--teal);
    font-weight: 500;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

/* ===== Photo upload ===== */
.photo-upload-area {
    margin-bottom: 0.5rem;
}

.file-input {
    display: none;
}

.photo-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 2px dashed rgba(0, 128, 128, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: #999;
    font-size: 0.85rem;
    transition: border-color 0.2s, background 0.2s;
}

.photo-upload-label:hover {
    border-color: var(--teal);
    background: rgba(0, 128, 128, 0.03);
}

.photo-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.photo-tag {
    background: rgba(0, 128, 128, 0.08);
    border-radius: 6px;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    color: #555;
}

/* ===== Form ===== */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
    color: #333;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.7);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

/* ===== Auth Pages ===== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-bg);
    padding: 1rem;
}

.auth-card {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.auth-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 12px var(--teal-glow);
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
}

.auth-error {
    background: rgba(185, 28, 28, 0.06);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.auth-card .form-group {
    text-align: left;
}

.auth-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem;
}

/* ===== Stats Cards ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: var(--glass-shadow);
    border-left: 4px solid var(--teal);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ===== Activity Stream ===== */
.activity-section {
    margin-top: 2.5rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.activity-list {
    list-style: none;
    padding: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: background 0.15s;
}

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

.activity-item:hover {
    background: rgba(0, 128, 128, 0.03);
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
    box-shadow: 0 0 6px var(--teal-glow);
}

.activity-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
}

.activity-action {
    font-weight: 600;
    color: #1a1a2e;
}

.activity-entity {
    color: var(--teal);
    font-weight: 500;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
    margin-left: auto;
}

.activity-empty {
    color: #999;
    font-size: 0.9rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

/* ===== Data Table ===== */
.table-container {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
}

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

.data-table th {
    text-align: left;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.data-table td {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    color: #333;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background: rgba(0, 128, 128, 0.03);
}

/* ===== Badges ===== */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-active {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
}

.status-inactive {
    background: rgba(185, 28, 28, 0.06);
    color: #b91c1c;
}

.role-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.role-owner {
    background: rgba(146, 64, 14, 0.08);
    color: #92400e;
}

.role-admin {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
}

/* ===== Small / Action Buttons ===== */
.btn-sm {
    padding: 0.3rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-danger {
    background: rgba(185, 28, 28, 0.06);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.15);
}

.btn-danger:hover {
    background: rgba(185, 28, 28, 0.1);
}

.btn-success {
    background: rgba(0, 128, 128, 0.08);
    color: var(--teal);
    border: 1px solid rgba(0, 128, 128, 0.2);
}

.btn-success:hover {
    background: rgba(0, 128, 128, 0.14);
}

/* ===== Language Switcher ===== */
.lang-switcher,
.auth-lang-switcher {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin: 0.75rem 0;
}

.lang-btn {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    color: #999;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.lang-btn:hover {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
}

.lang-btn-active {
    background: var(--teal);
    color: #fff;
}

.lang-btn-active:hover {
    background: var(--teal-dark);
    color: #fff;
}

.auth-lang-switcher {
    margin-top: 1.5rem;
}

/* ===== Toast Notifications ===== */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    font-size: 0.875rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: toastIn 0.3s ease;
}

.toast-success {
    border-left: 3px solid var(--teal);
}

.toast-error {
    border-left: 3px solid #b91c1c;
}

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

/* ===== Public Page ===== */
.public-page {
    min-height: 100vh;
    background: var(--gradient-bg);
}

.public-header {
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 1.5rem;
}

.public-header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.public-logo {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px var(--teal-glow);
}

.public-brand {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a2e;
}

/* Location Hero */
.location-hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.location-hero-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
    box-shadow: var(--glass-shadow);
}

.location-hero-placeholder {
    width: 100%;
    height: 220px;
    background: rgba(0, 128, 128, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-info {
    padding: 1rem 0;
}

.location-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #666;
    font-size: 0.9rem;
}

/* Public Sections */
.public-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
}

.public-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

/* Office Cards */
.office-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.office-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 2px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.office-card:hover {
    border-color: rgba(0, 128, 128, 0.3);
    transform: translateY(-1px);
}

.office-card-selected {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.15);
}

.office-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.office-card-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a1a2e;
}

.office-card-badge {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 500;
}

.office-card-prices {
    display: flex;
    gap: 1.25rem;
}

.office-price {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
}

.price-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--teal);
}

.price-unit {
    font-size: 0.8rem;
    color: #999;
}

.office-price-secondary .price-value {
    font-size: 0.95rem;
    color: #666;
}

/* Date Picker */
.date-picker-row {
    margin-bottom: 1.25rem;
}

.date-input {
    max-width: 220px;
}

/* Time Grid */
.time-grid-container {
    min-height: 60px;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.625rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s;
    text-align: center;
}

.time-slot-available {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    color: var(--teal);
    border-color: rgba(0, 128, 128, 0.3);
}

.time-slot-available:hover {
    background: rgba(0, 128, 128, 0.08);
    border-color: var(--teal);
}

.time-slot-selected {
    background: linear-gradient(135deg, var(--teal), var(--teal-light)) !important;
    color: #fff !important;
    border-color: var(--teal) !important;
    box-shadow: 0 2px 8px var(--teal-glow);
}

.time-slot-booked {
    background: rgba(0, 0, 0, 0.03);
    color: #bbb;
    border-color: rgba(0, 0, 0, 0.06);
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.time-slot-closed {
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 4px,
        rgba(0, 0, 0, 0.03) 4px,
        rgba(0, 0, 0, 0.03) 8px
    );
    color: #ccc;
    border-color: rgba(0, 0, 0, 0.04);
    cursor: not-allowed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.time-slot-closed .time-slot-label {
    text-decoration: line-through;
}

.time-slot-tag {
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    opacity: 0.7;
    font-weight: 600;
}

/* Skeleton loader for time grid */
.time-grid-skeleton {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.time-grid-skeleton-slot {
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, rgba(0,0,0,0.04) 25%, rgba(0,0,0,0.08) 50%, rgba(0,0,0,0.04) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.time-grid-placeholder,
.time-grid-empty {
    color: #999;
    font-size: 0.9rem;
    padding: 1rem 0;
}

.time-grid-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(185, 28, 28, 0.06);
    color: #b91c1c;
    border: 1px solid rgba(185, 28, 28, 0.15);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* Booking Form */
.booking-form {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.booking-summary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 128, 128, 0.06);
    border: 1px solid rgba(0, 128, 128, 0.12);
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.booking-summary-label {
    color: #666;
}

.booking-summary-value {
    font-weight: 600;
    color: var(--teal);
}

.booking-submit {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem;
}

/* Confirmation Card */
.confirmation-card {
    max-width: 500px;
    margin: 1.5rem auto;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--blur-heavy));
    -webkit-backdrop-filter: blur(var(--blur-heavy));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.confirmation-icon {
    margin-bottom: 1rem;
}

.confirmation-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.confirmation-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.confirmation-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: var(--radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: 0.9rem;
}

.confirmation-row + .confirmation-row {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.confirmation-label {
    color: #666;
}

.confirmation-value {
    font-weight: 500;
    color: #1a1a2e;
}

.confirmation-cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

/* Public Footer */
.public-footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #999;
    font-size: 0.8rem;
}

/* ===== Promotion Badges ===== */
.promo-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.promo-badge-boost {
    background: rgba(0, 128, 128, 0.85);
    color: #fff;
    box-shadow: 0 2px 12px var(--teal-glow);
}

.promo-badge-premium {
    background: linear-gradient(135deg, #e6a817, #f0c040);
    color: #fff;
    box-shadow: 0 2px 12px rgba(230, 168, 23, 0.4);
}

/* ===== Promoted Listing Styles ===== */
.promoted-boost {
    border: 2px solid rgba(0, 128, 128, 0.35);
    box-shadow: 0 0 20px rgba(0, 128, 128, 0.1), var(--glass-shadow);
}

.promoted-boost:hover {
    box-shadow: 0 0 28px rgba(0, 128, 128, 0.18), 0 12px 40px rgba(0, 0, 0, 0.12);
}

.promoted-premium {
    border: 2px solid rgba(230, 168, 23, 0.35);
    box-shadow: 0 0 20px rgba(230, 168, 23, 0.1), var(--glass-shadow);
    animation: premiumPulse 3s ease-in-out infinite;
}

.promoted-premium:hover {
    box-shadow: 0 0 28px rgba(230, 168, 23, 0.2), 0 12px 40px rgba(0, 0, 0, 0.12);
}

@keyframes premiumPulse {
    0%, 100% { border-color: rgba(230, 168, 23, 0.35); }
    50% { border-color: rgba(230, 168, 23, 0.6); }
}

/* ===== Card Image Placeholder (enhanced) ===== */
.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--teal);
    opacity: 0.4;
    font-size: 0.8rem;
    font-weight: 500;
}

/* ===== Promo Actions (in modal) ===== */
.promo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* ===== Location Card Link ===== */
.location-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ===== Search Bar ===== */
.content-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
}

.search-input {
    border: none;
    background: transparent;
    font-size: 0.875rem;
    font-family: inherit;
    color: #333;
    outline: none;
    width: 220px;
}

.search-input::placeholder {
    color: #aaa;
}

/* ===== Occupancy Bar ===== */
.occupancy-bar {
    margin-top: 0.5rem;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.occupancy-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* ===== Top Locations ===== */
.top-locations {
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
}

.top-locations-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.top-locations-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.top-location-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.top-location-rank {
    font-weight: 700;
    color: var(--teal);
    width: 28px;
    text-align: center;
}

.top-location-name {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    font-weight: 500;
}

.top-location-bar-wrap {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
    overflow: hidden;
}

.top-location-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--teal-light));
    border-radius: 4px;
    min-width: 4px;
}

.top-location-count {
    font-weight: 600;
    color: var(--teal);
    width: 32px;
    text-align: right;
}

/* ===== Detail Pages ===== */
.detail-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.detail-actions {
    display: flex;
    gap: 0.5rem;
}

.detail-hero {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--glass-shadow);
}

.detail-hero-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.detail-hero-placeholder {
    width: 100%;
    height: 260px;
    background: rgba(0, 128, 128, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
}

.detail-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.25rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.detail-hero-address {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

/* ===== Glass Tabs ===== */
.glass-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--blur));
    -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 0.35rem;
}

.glass-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: #666;
    transition: background 0.2s, color 0.2s;
}

.glass-tab:hover {
    background: rgba(0, 128, 128, 0.06);
    color: var(--teal);
}

.glass-tab-active {
    background: var(--teal) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px var(--teal-glow);
}

.glass-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.4rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.08);
}

.glass-tab-active .glass-tab-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* ===== Detail Panel ===== */
.detail-panel {
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

.detail-panel-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1.25rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.detail-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.detail-value {
    font-size: 0.95rem;
    color: #1a1a2e;
    font-weight: 500;
}

/* ===== Detail Offices ===== */
.detail-offices-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.detail-offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-office-card {
    padding: 1.25rem;
    border-radius: var(--radius);
    transition: transform 0.2s;
}

.detail-office-card:hover {
    transform: translateY(-2px);
}

.detail-office-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.detail-office-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.detail-office-actions {
    display: flex;
    gap: 0.35rem;
}

.detail-office-prices {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 0.75rem;
}

.detail-office-price {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.detail-office-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== Amenity Tag ===== */
.amenity-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: rgba(0, 128, 128, 0.07);
    color: var(--teal);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ===== Amenity Checkboxes ===== */
.amenity-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.5rem;
}

.amenity-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.amenity-checkbox:hover {
    background: rgba(0, 128, 128, 0.04);
    border-color: rgba(0, 128, 128, 0.2);
}

.amenity-checkbox input[type="checkbox"] {
    accent-color: var(--teal);
}

/* ===== Amenity Cards (office detail) ===== */
.detail-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}

.amenity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

.amenity-card-active {
    background: rgba(0, 128, 128, 0.08);
    color: var(--teal);
    border: 1px solid rgba(0, 128, 128, 0.15);
}

.amenity-card-inactive {
    background: rgba(0, 0, 0, 0.02);
    color: #bbb;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== Detail Empty State ===== */
.detail-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    text-align: center;
    color: #999;
    font-size: 0.95rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* ===== Gallery ===== */
.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.gallery-thumb {
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    aspect-ratio: 4/3;
}

.gallery-thumb:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Lightbox ===== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 201;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== Delete Confirmation ===== */
.delete-confirm-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

/* ===== Admin Mobile Header & Drawer ===== */
.admin-mobile-header {
    display: none; /* shown via media query */
    position: fixed; top: 0; left: 0; right: 0; z-index: 110;
    align-items: center; gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.admin-burger {
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08); background: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #444;
}
.admin-mobile-title {
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 1rem; color: #1a1a2e;
}

.admin-drawer-overlay {
    display: none; /* shown via media query */
    position: fixed; inset: 0; z-index: 199;
    background: rgba(0,0,0,0.35);
}
.admin-drawer {
    display: none; /* shown via media query */
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 200;
    width: 280px; background: #fff;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0,0,0,0.12);
    overflow-y: auto;
}
.admin-drawer-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.admin-drawer-close {
    width: 32px; height: 32px; border-radius: 8px;
    border: none; background: none; cursor: pointer; color: #666;
    display: flex; align-items: center; justify-content: center;
}
.admin-drawer .sidebar-nav { padding: 0.5rem 0; flex: 1; }
.admin-drawer .sidebar-link {
    margin: 0.1rem 0.5rem; border-radius: 10px;
    padding: 0.7rem 1rem;
}
.admin-drawer .sidebar-footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 0.75rem 1rem;
}

/* ===== Responsive — Admin ===== */
@media (max-width: 768px) {
    .sidebar {
        display: none;
    }
    .admin-mobile-header {
        display: flex;
    }
    .admin-drawer-overlay {
        display: block;
    }
    .admin-drawer {
        display: flex;
    }
    .main-content {
        margin-left: 0;
        padding: 3.75rem 1rem 1rem;
    }
    .time-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .office-cards {
        grid-template-columns: 1fr;
    }
    .location-hero-img,
    .location-hero-placeholder {
        height: 160px;
    }
    .glass-tabs {
        flex-wrap: wrap;
    }
    .detail-grid {
        grid-template-columns: 1fr;
    }
    .detail-offices-grid {
        grid-template-columns: 1fr;
    }
    .detail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .search-input {
        width: 140px;
    }
    .content-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    .content-header-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .top-location-name {
        width: 120px;
    }
    .detail-hero-img,
    .detail-hero-placeholder {
        height: 180px;
    }
}


/* ═══════════════════════════════════════════════════════════
   PUBLIC LANDING PAGE v2
   ═══════════════════════════════════════════════════════════ */

.lp { min-height: 100vh; background: var(--gradient-bg); }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }

/* ── Glass Nav ── */
.lp-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.4);
    transition: box-shadow 0.2s;
}
.lp-nav-scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.lp-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0.6rem 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.lp-logo-link { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.lp-logo {
    width: 36px; height: 36px; background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.85rem; flex-shrink: 0; box-shadow: 0 2px 8px var(--teal-glow);
}
.lp-logo-sm { width: 28px; height: 28px; font-size: 0.7rem; border-radius: 7px; }
.lp-brand { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 1.1rem; color: #1a1a2e; letter-spacing: -0.02em; }
.lp-nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.lp-nav-btn {
    display: flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem;
    border: 1px solid rgba(0,128,128,0.2); border-radius: 20px;
    background: rgba(0,128,128,0.04); color: var(--teal-dark); font-size: 0.8rem; font-weight: 500;
    cursor: pointer; transition: all 0.15s; text-decoration: none;
}
.lp-nav-btn:hover { background: rgba(0,128,128,0.1); }
.lp-hide-mobile {}

/* ── Language dropdown (mobile) ── */
.lang-mobile { display: none; position: relative; }
.lang-mobile-btn {
    display: flex; align-items: center; gap: 0.3rem;
    padding: 0.35rem 0.6rem; border-radius: 20px;
    border: 1px solid rgba(0,128,128,0.2); background: rgba(0,128,128,0.04);
    color: var(--teal-dark); font-size: 0.78rem; font-weight: 600;
    cursor: pointer; transition: background 0.15s;
    font-family: inherit;
}
.lang-mobile-btn:active { background: rgba(0,128,128,0.1); }
.lang-mobile-drop {
    position: absolute; top: calc(100% + 0.35rem); right: 0; z-index: 120;
    background: #fff; border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    overflow: hidden; min-width: 80px;
}
.lang-mobile-opt {
    display: block; padding: 0.55rem 0.85rem;
    font-size: 0.82rem; font-weight: 500; color: #555;
    text-decoration: none; transition: background 0.1s;
    text-align: center;
}
.lang-mobile-opt:active, .lang-mobile-opt:hover { background: rgba(0,128,128,0.06); }
.lang-mobile-opt-active { color: var(--teal); font-weight: 700; }

/* ── Hero (Promo Landing) ── */
.lp-hero { padding: 5.5rem 1.25rem 2rem; text-align: center; position: relative; overflow: hidden; }
.lp-hero-glow {
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(0,128,128,0.10) 0%, rgba(0,128,128,0.04) 40%, transparent 65%);
    pointer-events: none;
}
.lp-hero-content { position: relative; max-width: 700px; margin: 0 auto; }
.lp-hero-badge {
    display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem;
    border-radius: 20px; background: rgba(0,128,128,0.08); border: 1px solid rgba(0,128,128,0.15);
    color: var(--teal-dark); font-size: 0.78rem; font-weight: 600; margin-bottom: 1.25rem;
}
.lp-hero-title {
    font-family: 'Inter', sans-serif; font-size: 2.8rem; font-weight: 800;
    color: #1a1a2e; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 0.65rem;
}
.lp-hero-sub { font-size: 1.05rem; color: #666; margin-bottom: 2rem; line-height: 1.6; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Floating Search Bar (Airbnb style) ── */
.lp-search-float {
    border-radius: 50px; padding: 0; max-width: 640px; margin: 0 auto;
    display: flex; align-items: center; cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s; overflow: hidden;
}
.lp-search-float:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.12); transform: translateY(-1px); }
.lp-sf-section { flex: 1; padding: 0.75rem 1.2rem; text-align: left; }
.lp-sf-label { display: block; font-size: 0.68rem; font-weight: 700; color: #1a1a2e; text-transform: uppercase; letter-spacing: 0.04em; }
.lp-sf-value { display: block; font-size: 0.82rem; color: #999; margin-top: 0.1rem; }
.lp-sf-divider { width: 1px; height: 28px; background: rgba(0,0,0,0.08); flex-shrink: 0; }
.lp-sf-btn {
    width: 44px; height: 44px; margin: 0.35rem; flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: opacity 0.15s;
}
.lp-sf-btn:hover { opacity: 0.9; }

/* ── Features Row ── */
.lp-features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
    max-width: 800px; margin: 3rem auto 0; padding: 0 1rem;
}
.lp-feature { border-radius: 16px; padding: 1.5rem; text-align: center; transition: transform 0.2s; }
.lp-feature:hover { transform: translateY(-2px); }
.lp-feature-icon { color: var(--teal); margin-bottom: 0.75rem; display: flex; justify-content: center; }
.lp-feature h3 { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.35rem; }
.lp-feature p { font-size: 0.8rem; color: #777; line-height: 1.45; }

/* ── Featured Scroll ── */
.lp-featured { max-width: 1200px; margin: 3rem auto 0; padding: 0 1.25rem; }
.lp-featured-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.lp-featured-header h2 { font-family: 'Inter', sans-serif; font-size: 1.3rem; font-weight: 700; color: #1a1a2e; }
.lp-featured-seeall {
    display: flex; align-items: center; gap: 0.3rem; color: var(--teal); font-weight: 600;
    font-size: 0.85rem; background: none; border: none; cursor: pointer;
}
.lp-featured-seeall:hover { text-decoration: underline; }
.lp-featured-scroll {
    display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem;
    scrollbar-width: none; -ms-overflow-style: none;
}
.lp-featured-scroll::-webkit-scrollbar { display: none; }
.lp-fcard-link { text-decoration: none; color: inherit; flex-shrink: 0; width: 220px; }
.lp-fcard {
    border-radius: 14px; overflow: hidden; background: var(--glass-bg);
    backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border); transition: transform 0.2s, box-shadow 0.2s;
    display: flex; flex-direction: column; height: 100%;
}
.lp-fcard:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lp-fcard-boost { border-color: rgba(0,128,128,0.3); }
.lp-fcard-premium { border-color: rgba(212,160,23,0.35); animation: premiumPulse 3s ease-in-out infinite; }
.lp-fcard-img-wrap { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; background: rgba(0,128,128,0.04); flex-shrink: 0; }
.lp-fcard-img { width: 100%; height: 100%; object-fit: cover; }
.lp-fcard-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #ccc; }
.lp-fcard-badge {
    position: absolute; top: 0.5rem; left: 0.5rem; display: flex; align-items: center; gap: 0.2rem;
    padding: 0.2rem 0.5rem; border-radius: 6px; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-fcard-badge-vip { background: linear-gradient(135deg, rgba(212,160,23,0.9), rgba(240,192,64,0.9)); color: #fff; }
.lp-fcard-badge-boost { background: rgba(0,128,128,0.85); color: #fff; }
.lp-fcard-body { padding: 0.65rem 0.75rem; display: flex; flex-direction: column; flex: 1; }
.lp-fcard-body strong {
    font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; color: #1a1a2e;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden; line-height: 1.3; min-height: 2.6em;
}
.lp-fcard-city { display: flex; align-items: center; gap: 0.2rem; font-size: 0.72rem; color: #999; margin-top: 0.15rem; }
.lp-fcard-price { display: block; margin-top: auto; padding-top: 0.3rem; font-size: 1rem; font-weight: 700; color: var(--teal-dark); }
.lp-fcard-price small { font-weight: 500; font-size: 0.75rem; color: #888; }

/* ── CTA Section ── */
.lp-cta { max-width: 800px; margin: 3rem auto; padding: 0 1.25rem; }
.lp-cta-inner {
    border-radius: 20px; padding: 2rem 2.5rem; display: flex; align-items: center;
    justify-content: space-between; gap: 1.5rem;
    background: linear-gradient(135deg, rgba(0,128,128,0.06), rgba(0,128,128,0.12));
    border: 1px solid rgba(0,128,128,0.15);
}
.lp-cta-text h2 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 700; color: #1a1a2e; margin-bottom: 0.3rem; }
.lp-cta-text p { font-size: 0.88rem; color: #666; }
.lp-cta-btn {
    display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 1.4rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-light)); color: #fff;
    border: none; border-radius: 12px; font-weight: 600; font-size: 0.88rem;
    cursor: pointer; transition: opacity 0.15s, transform 0.15s; white-space: nowrap; text-decoration: none;
}
.lp-cta-btn:hover { opacity: 0.9; transform: scale(1.02); }

/* ── Search Mode ── */
.lp-search-mode { padding-top: 54px; }
.lp-search-expanded {
    position: sticky; top: 54px; z-index: 90;
    background: rgba(255,255,255,0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.35); padding: 0.5rem 1.25rem;
}
.lp-search-expanded-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 0.6rem; }
.lp-search-back {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.08);
    background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #444; transition: all 0.15s; flex-shrink: 0;
}
.lp-search-back:hover { background: rgba(255,255,255,0.9); border-color: rgba(0,128,128,0.3); }
.lp-search-inputs { flex: 1; display: flex; gap: 0.4rem; }
.lp-si-field {
    flex: 1; display: flex; align-items: center; gap: 0.4rem; padding: 0 0.7rem;
    background: rgba(255,255,255,0.6); border-radius: 10px; border: 1px solid transparent;
    color: #888; transition: border-color 0.15s;
}
.lp-si-field:focus-within { border-color: rgba(0,128,128,0.3); }
.lp-si-input { border: none; outline: none; background: transparent; width: 100%; padding: 0.55rem 0; font-size: 0.88rem; color: #1a1a2e; }
.lp-si-input::placeholder { color: #aaa; }
.lp-si-city { max-width: 180px; }
.lp-si-select { border: none; outline: none; background: transparent; width: 100%; padding: 0.55rem 0; font-size: 0.88rem; color: #1a1a2e; cursor: pointer; -webkit-appearance: none; appearance: none; }

/* ── Categories Bar ── */
.lp-categories {
    position: sticky; top: 100px; z-index: 85;
    background: rgba(255,255,255,0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    max-width: 1200px; margin: 0 auto; padding: 0.5rem 1.25rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.lp-cat-scroll {
    display: flex; gap: 0.25rem; overflow-x: auto; flex: 1;
    scrollbar-width: none; -ms-overflow-style: none; padding: 0.1rem 0;
}
.lp-cat-scroll::-webkit-scrollbar { display: none; }
.lp-cat {
    display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
    padding: 0.5rem 0.85rem; border: none; background: none; color: #777; font-size: 0.7rem;
    font-weight: 500; cursor: pointer; white-space: nowrap; border-bottom: 2px solid transparent;
    transition: all 0.15s; border-radius: 0;
}
.lp-cat:hover { color: #333; }
.lp-cat-active { color: var(--teal-dark); border-bottom-color: var(--teal); font-weight: 600; }
.lp-filters-btn {
    display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.85rem;
    border: 1px solid rgba(0,0,0,0.1); border-radius: 8px; background: rgba(255,255,255,0.5);
    color: #555; font-size: 0.78rem; font-weight: 500; cursor: pointer; white-space: nowrap;
    transition: all 0.15s; flex-shrink: 0;
}
.lp-filters-btn:hover { border-color: rgba(0,128,128,0.3); }
.lp-filters-btn-active { border-color: var(--teal); color: var(--teal-dark); background: rgba(0,128,128,0.06); }

/* ── Filters Panel ── */
.lp-filters-panel { max-width: 1200px; margin: 0 auto; padding: 1rem 1.25rem; border-radius: 0 0 14px 14px; }
.lp-fp-grid { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-end; }
.lp-fp-group { display: flex; flex-direction: column; gap: 0.25rem; min-width: 110px; }
.lp-fp-group label { font-size: 0.72rem; font-weight: 600; color: #666; text-transform: uppercase; letter-spacing: 0.03em; }
.lp-fp-input {
    padding: 0.45rem 0.65rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 8px;
    background: rgba(255,255,255,0.7); font-size: 0.85rem; outline: none; transition: border-color 0.15s;
}
.lp-fp-input:focus { border-color: var(--teal); }
.lp-fp-wide { flex: 1; min-width: 260px; }
.lp-amenity-grid { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.lp-amenity {
    display: flex; align-items: center; gap: 0.25rem; padding: 0.3rem 0.6rem;
    border: 1px solid rgba(0,0,0,0.08); border-radius: 14px; background: rgba(255,255,255,0.5);
    font-size: 0.73rem; color: #666; cursor: pointer; transition: all 0.15s; user-select: none;
}
.lp-amenity:hover { border-color: rgba(0,128,128,0.3); }
.lp-amenity-on { background: rgba(0,128,128,0.1); border-color: var(--teal); color: var(--teal-dark); }
.lp-fp-clear { display: flex; align-items: center; gap: 0.3rem; margin-top: 0.6rem; padding: 0.35rem 0.6rem; border: none; background: none; color: #999; font-size: 0.78rem; cursor: pointer; }
.lp-fp-clear:hover { color: #d33; }

/* ── Map ── */
.lp-map-wrap { max-width: 1200px; margin: 0 auto; padding: 0.5rem 1.25rem; }
.lp-map { width: 100%; height: 360px; border-radius: 16px; border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow); overflow: hidden; }

/* Map markers & popups (shared) */
.map-marker-custom { background: none !important; border: none !important; }
.map-marker-pin {
    width: 30px; height: 40px; background: var(--teal); border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg); box-shadow: 0 2px 8px rgba(0,128,128,0.4); position: relative;
}
.map-marker-pin::after { content:''; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:12px; height:12px; background:#fff; border-radius:50%; }
.map-marker-pin-premium { background: linear-gradient(135deg, #d4a017, #f0c040); box-shadow: 0 2px 12px rgba(212,160,23,0.5); width: 34px; height: 44px; }
.map-popup-container .leaflet-popup-content-wrapper { background:rgba(255,255,255,0.85); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border:1px solid rgba(255,255,255,0.4); border-radius:14px; box-shadow:0 8px 32px rgba(0,0,0,0.12); padding:0; overflow:hidden; }
.map-popup-container .leaflet-popup-content { margin: 0; width: 240px !important; }
.map-popup-container .leaflet-popup-tip { background:rgba(255,255,255,0.85); border:1px solid rgba(255,255,255,0.4); }
.map-popup-glass { display: flex; flex-direction: column; }
.map-popup-img { width:100%; height:120px; object-fit:cover; }
.map-popup-img-placeholder { width:100%; height:80px; display:flex; align-items:center; justify-content:center; background:rgba(0,128,128,0.05); color:#bbb; }
.map-popup-body { padding: 0.65rem 0.75rem; }
.map-popup-title { display:block; font-size:0.85rem; font-weight:600; color:#1a1a2e; margin-bottom:0.15rem; }
.map-popup-address { display:block; font-size:0.72rem; color:#888; margin-bottom:0.5rem; }
.map-popup-footer { display:flex; justify-content:space-between; align-items:center; }
.map-popup-price { font-weight:700; font-size:0.9rem; color:var(--teal-dark); }
.map-popup-link { font-size:0.78rem; color:var(--teal); text-decoration:none; font-weight:600; }
.map-popup-link:hover { text-decoration: underline; }

/* ── Floating Map FAB ── */
.lp-map-fab {
    position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 95;
    display: flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.25rem;
    background: #1a1a2e; color: #fff; border: none; border-radius: 24px;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25); transition: transform 0.15s;
}
.lp-map-fab:hover { transform: translateX(-50%) scale(1.04); }

/* ── Results Grid ── */
.lp-results { max-width: 1200px; margin: 0 auto; padding: 1.25rem 1.25rem 5rem; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }

/* ── Location Card v2 ── */
.lp-card {
    border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 36px rgba(0,0,0,0.09); }
.lp-card-boost { border-color: rgba(0,128,128,0.3); }
.lp-card-premium { border-color: rgba(212,160,23,0.35); animation: premiumPulse 3s ease-in-out infinite; }

.lp-card-visual { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg,#f0f0f0 25%,#e8e8e8 50%,#f0f0f0 75%); background-size: 200% 100%; animation: skeletonShimmer 1.5s ease-in-out infinite; }
@keyframes skeletonShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

.lp-card-img-link { display: block; width: 100%; height: 100%; }
.lp-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.lp-card:hover .lp-card-img { transform: scale(1.03); }
.lp-card-placeholder { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0.4rem; color:#bbb; font-size:0.8rem; background: linear-gradient(135deg, rgba(0,128,128,0.03), rgba(0,128,128,0.08)); }

/* Card arrows (carousel) */
.lp-card-arrows { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 0.4rem; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.lp-card:hover .lp-card-arrows { opacity: 1; }
.lp-card-arrow {
    pointer-events: all; width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,0.85); border: none; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #333; box-shadow: 0 1px 4px rgba(0,0,0,0.15); transition: transform 0.1s;
}
.lp-card-arrow:hover { transform: scale(1.1); }

/* Card dots */
.lp-card-dots { position: absolute; bottom: 0.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; }
.lp-card-dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.5); transition: background 0.15s; }
.lp-card-dot-on { background: #fff; }

/* Heart wishlist */
.lp-card-heart {
    position: absolute; top: 0.6rem; right: 0.6rem; width: 32px; height: 32px;
    border-radius: 50%; background: rgba(0,0,0,0.15); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    border: none; display: flex; align-items: center; justify-content: center; color: #fff;
    cursor: pointer; transition: all 0.15s;
}
.lp-card-heart:hover { background: rgba(0,0,0,0.3); transform: scale(1.1); }
.lp-card-heart-on { color: #ff385c; background: rgba(255,255,255,0.9); }

/* Card badges */
.lp-card-badge {
    position: absolute; top: 0.6rem; left: 0.6rem; display: flex; align-items: center; gap: 0.2rem;
    padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-card-badge-vip { background: linear-gradient(135deg, rgba(212,160,23,0.9), rgba(240,192,64,0.9)); color: #fff; box-shadow: 0 2px 6px rgba(212,160,23,0.3); }
.lp-card-badge-boost { background: rgba(0,128,128,0.85); color: #fff; }

/* Card body */
.lp-card-body { display: block; text-decoration: none; color: inherit; padding: 0.75rem 0.85rem; }
.lp-card-row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; }
.lp-card-title { font-family:'Inter',sans-serif; font-size:0.9rem; font-weight:600; color:#1a1a2e; line-height:1.3; flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.lp-card-price { white-space: nowrap; text-align: right; }
.lp-card-price strong { font-size: 1rem; font-weight: 700; color: #1a1a2e; }
.lp-card-price small { font-size: 0.78rem; color: #888; font-weight: 400; }
.lp-card-address { display:flex; align-items:center; gap:0.2rem; font-size:0.78rem; color:#999; margin-top:0.2rem; }
.lp-card-meta { display:flex; align-items:center; gap:0.5rem; margin-top:0.4rem; }
.lp-card-offices { font-size:0.72rem; color:#999; }
.lp-card-amenity { color: var(--teal); display: flex; align-items: center; }

/* ── Empty State ── */
.lp-empty { text-align:center; padding:4rem 2rem; }
.lp-empty-icon { color:#ccc; margin-bottom:1rem; }
.lp-empty h3 { font-family:'Inter',sans-serif; font-size:1.1rem; font-weight:600; color:#555; margin-bottom:0.35rem; }
.lp-empty p { font-size:0.88rem; color:#999; }

/* ── Footer ── */
.lp-footer { background:rgba(255,255,255,0.5); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-top:1px solid var(--glass-border); padding:1.5rem; text-align:center; }
.lp-footer-inner { max-width:1200px; margin:0 auto; display:flex; flex-direction:column; align-items:center; gap:0.4rem; }
.lp-footer-brand { display:flex; align-items:center; gap:0.5rem; font-weight:700; font-size:0.9rem; color:#1a1a2e; }
.lp-footer-text { font-size:0.78rem; color:#999; }

/* ═══════════════════════════════════════════════════════════
   MOBILE FULLSCREEN SEARCH OVERLAY
   ═══════════════════════════════════════════════════════════ */

.m-search-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: #fff;
    display: flex; flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.m-search-header {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}
.m-search-close {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.08); background: none;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #444; flex-shrink: 0;
    transition: background 0.15s;
}
.m-search-close:hover { background: rgba(0,0,0,0.04); }
.m-search-header-title {
    font-family: 'Inter', sans-serif; font-size: 1.05rem;
    font-weight: 700; color: #1a1a2e;
}

.m-search-body {
    flex: 1; padding: 1rem;
    display: flex; flex-direction: column; gap: 1.25rem;
}

.m-search-section {
    background: rgba(0,128,128,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px; padding: 0.85rem 1rem;
    transition: border-color 0.15s;
}
.m-search-section:focus-within {
    border-color: rgba(0,128,128,0.3);
}
.m-search-label {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700; color: var(--teal-dark);
    text-transform: uppercase; letter-spacing: 0.04em;
    margin-bottom: 0.5rem;
}
.m-search-select,
.m-search-date,
.m-search-input {
    width: 100%; border: none; outline: none;
    background: rgba(255,255,255,0.8); border-radius: 10px;
    padding: 0.65rem 0.75rem; font-size: 0.95rem; color: #1a1a2e;
    -webkit-appearance: none; appearance: none;
}
.m-search-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center;
    padding-right: 2.25rem;
}

/* Category chips in overlay */
.m-search-cats {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.m-search-cat {
    display: flex; align-items: center; gap: 0.35rem;
    padding: 0.5rem 0.85rem; border-radius: 20px;
    border: 1.5px solid rgba(0,0,0,0.08); background: #fff;
    font-size: 0.82rem; font-weight: 500; color: #555;
    cursor: pointer; transition: all 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.m-search-cat:active { transform: scale(0.97); }
.m-search-cat-active {
    background: rgba(0,128,128,0.1); border-color: var(--teal);
    color: var(--teal-dark); font-weight: 600;
}

/* Amenity chips in overlay */
.m-search-amenities {
    display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem;
}
.m-search-amenity {
    display: flex; align-items: center; gap: 0.25rem;
    padding: 0.4rem 0.7rem; border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08); background: #fff;
    font-size: 0.75rem; color: #666; cursor: pointer;
    transition: all 0.15s;
}
.m-search-amenity-on {
    background: rgba(0,128,128,0.08); border-color: var(--teal);
    color: var(--teal-dark);
}

/* Price range row */
.m-search-price-row {
    display: flex; gap: 0.75rem;
}
.m-search-price-row .m-search-input {
    flex: 1;
}

.m-search-footer {
    padding: 0.85rem 1rem; flex-shrink: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.m-search-clear {
    background: none; border: none; color: #888;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    text-decoration: underline; padding: 0.5rem;
}
.m-search-clear:hover { color: #333; }
.m-search-submit {
    flex: 1; max-width: 280px;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border: none; border-radius: 12px;
    font-size: 0.95rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    cursor: pointer; transition: opacity 0.15s;
    box-shadow: 0 4px 16px var(--teal-glow);
}
.m-search-submit:active { opacity: 0.85; transform: scale(0.98); }

/* ═══════════════════════════════════════════════════════════
   MOBILE SEARCH BAR TRIGGER (hero)
   ═══════════════════════════════════════════════════════════ */

.m-search-trigger {
    display: none; /* shown only on mobile via media query */
    align-items: center; gap: 0.75rem;
    width: 100%; max-width: 400px; margin: 0 auto;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    background: var(--glass-bg); border: 1px solid var(--glass-border);
    border-radius: 28px; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer; transition: box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.m-search-trigger:active { box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.m-search-trigger-text {
    flex: 1; text-align: left;
}
.m-search-trigger-title {
    display: block; font-size: 0.88rem; font-weight: 600; color: #1a1a2e;
}
.m-search-trigger-hint {
    display: block; font-size: 0.75rem; color: #999; margin-top: 0.1rem;
}
.m-search-trigger-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px var(--teal-glow);
}

/* ═══════════════════════════════════════════════════════════
   MOBILE BOTTOM BAR
   ═══════════════════════════════════════════════════════════ */

.m-bottom-bar {
    display: none; /* shown via media query */
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.06);
    padding: 0.35rem 0 calc(0.35rem + env(safe-area-inset-bottom, 0px));
    justify-content: space-around; align-items: center;
}

.m-bb-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.15rem;
    padding: 0.25rem 0.5rem;
    background: none; border: none;
    color: #999; font-size: 0.62rem; font-weight: 500;
    text-decoration: none; cursor: pointer;
    transition: color 0.15s;
    -webkit-tap-highlight-color: transparent;
    font-family: inherit;
}
.m-bb-item:active { transform: scale(0.93); }
.m-bb-active { color: var(--teal); font-weight: 600; }

/* ═══ Responsive — Landing v2 ═══ */
@media (max-width: 768px) {
    /* Hero simplified */
    .lp-hero { padding: 4.75rem 1rem 1.25rem; }
    .lp-hero-title { font-size: 1.75rem; }
    .lp-hero-sub { font-size: 0.88rem; margin-bottom: 1.25rem; }
    .lp-hero-badge { font-size: 0.72rem; padding: 0.25rem 0.7rem; margin-bottom: 1rem; }

    /* Hide desktop search bar, show mobile trigger */
    .lp-search-float { display: none !important; }
    .m-search-trigger { display: flex; }

    /* Hide features & CTA on mobile */
    .lp-features { display: none; }
    .lp-cta { display: none; }

    /* Featured cards tighter */
    .lp-featured { margin-top: 2rem; }
    .lp-fcard-link { width: 165px; }
    .lp-fcard-body strong { font-size: 0.8rem; min-height: 2.6em; }
    .lp-fcard-price { font-size: 0.9rem; }

    /* Results */
    .lp-grid { grid-template-columns: 1fr; gap: 1rem; }

    /* Nav */
    .lp-hide-mobile { display: none; }
    .lang-desktop { display: none !important; }
    .lang-mobile { display: block; }
    .lp-brand { font-size: 1rem; }

    /* Search mode tweaks */
    .lp-si-city { max-width: none; }
    .lp-search-inputs { flex-direction: column; }
    .lp-categories { top: 94px; flex-wrap: nowrap; padding: 0.35rem 0.75rem; }
    .lp-cat { padding: 0.3rem 0.6rem; font-size: 0.65rem; }
    .lp-cat i, .lp-cat svg { width: 16px !important; height: 16px !important; }
    .lp-filters-btn { padding: 0.35rem 0.65rem; font-size: 0.72rem; }
    .lp-map { height: 260px; }
    .lp-fp-grid { flex-direction: column; }
    .lp-fp-wide { min-width: unset; }
    .lp-map-fab { bottom: 1rem; }

    /* Bottom bar visible */
    .m-bottom-bar { display: flex; }

    /* Content padding for bottom bar */
    .lp { padding-bottom: 4rem; }
    .loc-page { padding-bottom: 4rem; }
    .acc-page { padding-bottom: 4rem; }

    /* Footer compact */
    .lp-footer { padding: 1rem; margin-bottom: 0; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1025px) {
    .lp-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ═══════════════════════════════════════════════════════════
   PUBLIC LOCATION DETAIL — BOOKING WIDGET
   ═══════════════════════════════════════════════════════════ */

.loc-page { min-height: 100vh; background: var(--gradient-bg); padding-top: 54px; }

/* Hero */
.loc-hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.loc-hero-img { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; display: block; box-shadow: var(--glass-shadow); }
.loc-hero-placeholder { width:100%; height:280px; border-radius:16px; background:rgba(0,128,128,0.04); border:1px solid var(--glass-border); display:flex; align-items:center; justify-content:center; }

/* Layout: main + sidebar */
.loc-layout { max-width: 1200px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; display: flex; gap: 2rem; align-items: flex-start; }
.loc-main { flex: 1; min-width: 0; }
.loc-sidebar { width: 340px; flex-shrink: 0; position: sticky; top: 70px; }

/* Header */
.loc-header { margin-bottom: 1.5rem; }
.loc-title { font-family:'Inter',sans-serif; font-size:1.6rem; font-weight:700; color:#1a1a2e; line-height:1.2; margin-bottom:0.35rem; }
.loc-address { display:flex; align-items:center; gap:0.3rem; color:#888; font-size:0.9rem; }

/* Sections */
.loc-section { margin-bottom: 2rem; }
.loc-section-title { font-family:'Inter',sans-serif; font-size:1.1rem; font-weight:600; color:#1a1a2e; display:flex; align-items:center; gap:0.4rem; margin-bottom:1rem; }

/* Office list */
.loc-office-list { display: flex; flex-direction: column; gap: 0.75rem; }
.loc-office {
    background: var(--glass-bg); backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
    border: 2px solid var(--glass-border); border-radius: 14px; padding: 1rem; cursor: pointer;
    transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.loc-office:hover { border-color: rgba(0,128,128,0.25); transform: translateY(-1px); }
.loc-office-selected { border-color: var(--teal) !important; box-shadow: 0 0 0 3px var(--teal-glow); }
.loc-office-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.loc-office-name { font-weight: 600; font-size: 0.9rem; color: #1a1a2e; display: flex; align-items: center; gap: 0.35rem; }
.loc-office-equip { font-size: 0.75rem; color: var(--teal); display: flex; align-items: center; gap: 0.2rem; }
.loc-office-prices { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 0.5rem; }
.loc-office-price-main { font-size: 0.95rem; }
.loc-office-price-main strong { font-size: 1.15rem; font-weight: 700; color: #1a1a2e; }
.loc-office-price-main small { color: #888; font-weight: 400; }
.loc-office-price-alt { font-size: 0.8rem; color: #aaa; }
.loc-office-amenities { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.loc-office-amenity-tag { display:flex; align-items:center; gap:0.2rem; padding:0.2rem 0.5rem; border-radius:12px; background:rgba(0,128,128,0.06); color:var(--teal-dark); font-size:0.7rem; font-weight:500; }

/* Date input */
.loc-date-row { margin-bottom: 1rem; }
.loc-date-input { padding:0.6rem 0.85rem; border:1px solid rgba(0,0,0,0.1); border-radius:10px; background:rgba(255,255,255,0.7); font-size:0.9rem; outline:none; width:100%; max-width:220px; transition:border-color 0.15s; }
.loc-date-input:focus { border-color: var(--teal); }

/* Time grid */
.loc-timegrid { min-height: 60px; }
.loc-timegrid-hint { display:flex; align-items:center; gap:0.4rem; color:#999; font-size:0.85rem; padding:1rem 0; }

/* ── Booking Widget ── */
.loc-widget { border-radius: 16px; padding: 1.5rem; }
.loc-widget-price { margin-bottom: 1rem; }
.loc-widget-price strong { font-family:'Inter',sans-serif; font-size:1.5rem; font-weight:700; color:#1a1a2e; }
.loc-widget-price span { font-size:0.9rem; color:#888; }
.loc-widget-price-muted span { font-size:0.88rem; color:#aaa; }

.loc-breakdown { border-top:1px solid rgba(0,0,0,0.06); padding-top:0.75rem; margin-bottom:0.75rem; }
.loc-breakdown-row { display:flex; justify-content:space-between; font-size:0.85rem; color:#555; padding:0.2rem 0; }
.loc-breakdown-fee { color:#999; }
.loc-breakdown-total { display:flex; justify-content:space-between; border-top:1px solid rgba(0,0,0,0.08); padding-top:0.5rem; margin-top:0.35rem; font-size:0.95rem; font-weight:600; color:#1a1a2e; }

.loc-widget-slot { display:flex; align-items:center; gap:0.4rem; padding:0.5rem 0.7rem; background:rgba(0,128,128,0.06); border-radius:8px; font-size:0.8rem; color:var(--teal-dark); margin-bottom:0.75rem; }

.loc-widget-btn {
    width:100%; padding:0.75rem; border:none; border-radius:12px; font-size:0.95rem; font-weight:600;
    display:flex; align-items:center; justify-content:center; gap:0.4rem; cursor:pointer;
    background:rgba(0,128,128,0.15); color:rgba(0,128,128,0.4); transition: all 0.15s;
}
.loc-widget-btn:disabled { cursor: not-allowed; }
.loc-widget-btn-active { background:linear-gradient(135deg, var(--teal), var(--teal-light)); color:#fff; box-shadow:0 4px 16px var(--teal-glow); }
.loc-widget-btn-active:hover { opacity:0.9; transform:scale(1.01); }

.loc-widget-wa {
    display:flex; align-items:center; justify-content:center; gap:0.4rem; margin-top:0.75rem;
    padding:0.6rem; border:1px solid rgba(0,0,0,0.08); border-radius:10px; background:rgba(37,211,102,0.06);
    color:#128c7e; font-size:0.82rem; font-weight:500; text-decoration:none; transition:all 0.15s;
}
.loc-widget-wa:hover { background:rgba(37,211,102,0.12); border-color:rgba(37,211,102,0.3); }

/* ── Mobile Booking Bar (location detail) ── */
.loc-mobile-bar {
    display: none; position:fixed; left:0; right:0; z-index:160;
    bottom: calc(3.25rem + env(safe-area-inset-bottom, 0px));
    background:rgba(255,255,255,0.95); backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px);
    border-top:1px solid rgba(0,0,0,0.06); padding:0.65rem 1rem;
    box-shadow:0 -2px 12px rgba(0,0,0,0.08);
    align-items:center; justify-content:space-between;
}
.loc-mobile-bar-price strong { font-size:1.1rem; font-weight:700; color:#1a1a2e; }
.loc-mobile-bar-price span { font-size:0.82rem; color:#888; }
.loc-mobile-bar-btn {
    padding:0.6rem 1.5rem; background:linear-gradient(135deg, var(--teal), var(--teal-light)); color:#fff;
    border:none; border-radius:10px; font-weight:600; font-size:0.88rem; cursor:pointer;
}
.loc-mobile-bar-btn:disabled { opacity:0.4; cursor:not-allowed; }

/* ── Checkout Modal ── */
.loc-modal-overlay {
    position:fixed; top:0; left:0; right:0; bottom:0; z-index:200;
    background:rgba(0,0,0,0.4); backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
    display:flex; align-items:center; justify-content:center; padding:1rem;
}
.loc-modal { width:100%; max-width:440px; border-radius:20px; padding:1.5rem; max-height:90vh; overflow-y:auto; }
.loc-modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.loc-modal-header h3 { font-family:'Inter',sans-serif; font-size:1.1rem; font-weight:700; color:#1a1a2e; }
.loc-modal-close { width:32px; height:32px; border-radius:50%; border:1px solid rgba(0,0,0,0.08); background:rgba(255,255,255,0.6); display:flex; align-items:center; justify-content:center; cursor:pointer; color:#666; }
.loc-modal-close:hover { background:rgba(255,255,255,0.9); }

.loc-checkout-summary { background:rgba(0,128,128,0.04); border-radius:12px; padding:0.85rem; margin-bottom:1rem; }
.loc-checkout-row { display:flex; align-items:center; gap:0.4rem; font-size:0.85rem; color:#555; padding:0.15rem 0; }
.loc-checkout-total { font-size:1rem; font-weight:600; color:#1a1a2e; margin-top:0.5rem; padding-top:0.5rem; border-top:1px solid rgba(0,0,0,0.06); }

.loc-checkout-fields { display:flex; flex-direction:column; gap:0.75rem; margin-bottom:1rem; }

.loc-checkout-submit {
    width:100%; padding:0.75rem; background:linear-gradient(135deg, var(--teal), var(--teal-light));
    color:#fff; border:none; border-radius:12px; font-size:0.95rem; font-weight:600;
    display:flex; align-items:center; justify-content:center; gap:0.4rem; cursor:pointer;
    transition:opacity 0.15s;
}
.loc-checkout-submit:hover { opacity:0.9; }

/* ═══ Responsive — Location Detail ═══ */
@media (max-width: 900px) {
    .loc-sidebar { display: none; }
    .loc-mobile-bar { display: flex !important; }
    .loc-layout { flex-direction: column; padding: 1rem 0.75rem 2rem; }
    .loc-main { width: 100%; }
    .loc-hero { padding: 0 0.5rem; }
    .loc-hero-img { height: 220px; border-radius: 12px; }
    .loc-title { font-size: 1.3rem; }
    .loc-office { padding: 0.85rem; }
    .loc-date-input { max-width: 100%; }
}

@media (min-width: 901px) {
    .loc-mobile-bar { display: none !important; }
}

/* ═══════════════════════════════════════════════════════
   OTP Verification Form
   ═══════════════════════════════════════════════════════ */
.otp-container {
    text-align: center;
    padding: 0.5rem 0;
}
.otp-header { margin-bottom: 1.5rem; }
.otp-icon { margin-bottom: 0.75rem; }
.otp-title {
    font-size: 1.2rem; font-weight: 700; color: #1a1a1a; margin: 0 0 0.5rem;
}
.otp-subtitle {
    font-size: 0.88rem; color: #666; margin: 0; line-height: 1.5;
}
.otp-subtitle strong { color: var(--teal); }

.otp-error {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: #fff0f0; color: #c00; border: 1px solid #fdd; border-radius: 10px;
    padding: 0.6rem 1rem; font-size: 0.82rem; margin-bottom: 1rem;
}
.otp-success-msg {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    background: #f0faf7; color: var(--teal); border: 1px solid #d0ede7; border-radius: 10px;
    padding: 0.6rem 1rem; font-size: 0.82rem; margin-bottom: 1rem;
}

.otp-form { margin-bottom: 1rem; }
.otp-input-group {
    display: flex; justify-content: center; margin-bottom: 1rem;
}
.otp-input {
    width: 200px; text-align: center; font-size: 1.8rem; font-weight: 700;
    letter-spacing: 8px; padding: 0.75rem 1rem; border: 2px solid #ddd;
    border-radius: 14px; outline: none; color: var(--teal);
    transition: border-color 0.2s;
    background: #fafafa;
}
.otp-input:focus {
    border-color: var(--teal); background: #fff;
    box-shadow: 0 0 0 3px var(--teal-glow);
}
.otp-input::placeholder { color: #ccc; letter-spacing: 6px; }

.otp-submit {
    width: 100%; padding: 0.75rem; background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border: none; border-radius: 12px; font-size: 0.95rem; font-weight: 600;
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    cursor: pointer; transition: opacity 0.15s;
}
.otp-submit:hover { opacity: 0.9; }

.otp-resend {
    font-size: 0.82rem; color: #888; display: flex; align-items: center;
    justify-content: center; gap: 0.3rem;
}
.otp-resend-btn {
    background: none; border: none; color: var(--teal); font-weight: 600;
    cursor: pointer; text-decoration: underline; font-size: 0.82rem; padding: 0;
}
.otp-resend-btn:hover { color: var(--teal-dark); }

/* Verified badge on confirmation */
.confirmation-badge {
    display: inline-flex; align-items: center; gap: 0.3rem;
    background: #f0faf7; color: var(--teal); border: 1px solid #d0ede7;
    border-radius: 20px; padding: 0.35rem 0.9rem; font-size: 0.78rem;
    font-weight: 600; margin-bottom: 1rem;
}

/* Amount display in confirmation */
.confirmation-amount {
    display: flex; align-items: center; justify-content: space-between;
    background: #f9f9f9; border-radius: 12px; padding: 0.75rem 1rem;
    margin-bottom: 1rem; font-size: 0.95rem;
}
.confirmation-amount strong { font-size: 1.2rem; color: var(--teal); }

/* Pay Now button */
.confirmation-pay-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: 100%; padding: 0.85rem; background: linear-gradient(135deg, #009ee3, #0070c9);
    color: #fff; border: none; border-radius: 12px; font-size: 1rem; font-weight: 700;
    text-decoration: none; cursor: pointer; margin-bottom: 0.75rem;
    transition: opacity 0.15s; box-shadow: 0 4px 12px rgba(0, 112, 201, 0.3);
}
.confirmation-pay-btn:hover { opacity: 0.9; }

/* ═══════════════════════════════════════════════════════
   Payment Result Page
   ═══════════════════════════════════════════════════════ */
.pay-result-page {
    min-height: 100vh; background: var(--gradient-bg);
    display: flex; flex-direction: column; align-items: center;
}
.pay-result-container {
    max-width: 480px; width: calc(100% - 2rem); margin: 6rem auto 2rem;
    padding: 2.5rem 2rem; text-align: center; border-radius: 20px;
}
.pay-result-icon { margin-bottom: 1.5rem; }
.pay-result-success { color: var(--teal); }
.pay-result-pending { color: #e6a23c; }
.pay-result-failure { color: #e74c3c; }
.pay-result-title {
    font-size: 1.5rem; font-weight: 800; color: #1a1a1a; margin: 0 0 0.5rem;
}
.pay-result-subtitle {
    font-size: 0.95rem; color: #666; margin: 0 0 1.5rem; line-height: 1.5;
}
.pay-result-details {
    background: #f9f9f9; border-radius: 14px; padding: 1rem;
    margin-bottom: 1.5rem; text-align: left;
}
.pay-result-row {
    display: flex; justify-content: space-between; padding: 0.5rem 0;
    font-size: 0.9rem; color: #555;
    border-bottom: 1px solid #eee;
}
.pay-result-row:last-child { border-bottom: none; }
.pay-result-row strong { color: #1a1a1a; }
.pay-result-actions {
    display: flex; flex-direction: column; gap: 0.6rem;
}
.pay-result-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.75rem; background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border-radius: 12px; font-weight: 600; text-decoration: none;
    font-size: 0.95rem;
}
.pay-result-btn:hover { opacity: 0.9; }
.pay-result-btn-secondary {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.75rem; background: transparent; border: 1.5px solid var(--teal);
    color: var(--teal); border-radius: 12px; font-weight: 600; text-decoration: none;
    font-size: 0.95rem;
}
.pay-result-btn-secondary:hover { background: rgba(0,128,128,0.05); }

/* ═══════════════════════════════════════════════════════
   Account Pages (Professional LC)
   ═══════════════════════════════════════════════════════ */
.acc-page {
    min-height: 100vh; background: var(--gradient-bg);
}
.acc-container {
    max-width: 800px; margin: 0 auto; padding: 1.5rem 1rem;
}
.acc-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.5rem;
}
.acc-title {
    font-size: 1.4rem; font-weight: 800; color: #1a1a1a;
}
.acc-nav {
    display: flex; gap: 0.5rem;
}
.acc-nav-btn {
    display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 1rem;
    border-radius: 10px; font-size: 0.85rem; font-weight: 600;
    text-decoration: none; color: #666; background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.08); transition: all 0.15s;
}
.acc-nav-btn:hover { background: rgba(255,255,255,0.8); }
.acc-nav-btn.active {
    background: var(--teal); color: #fff; border-color: var(--teal);
}

/* Booking cards */
.acc-booking-card {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border); border-radius: var(--radius);
    padding: 1.25rem; margin-bottom: 1rem;
    box-shadow: var(--glass-shadow); transition: transform 0.15s;
}
.acc-booking-card:hover { transform: translateY(-2px); }
.acc-booking-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 0.75rem;
}
.acc-booking-title { font-weight: 700; font-size: 1rem; color: #1a1a1a; }
.acc-booking-status {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem 0.7rem; border-radius: 20px; font-size: 0.72rem;
    font-weight: 600;
}
.acc-status-paid { background: #e8f5e9; color: #2e7d32; }
.acc-status-confirmed { background: #f0faf7; color: var(--teal); }
.acc-status-pending { background: #fff8e1; color: #f57f17; }
.acc-status-cancelled { background: #fce4ec; color: #c62828; }
.acc-booking-meta {
    display: flex; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: #666;
    margin-bottom: 0.75rem;
}
.acc-booking-meta-item {
    display: flex; align-items: center; gap: 0.3rem;
}
.acc-booking-actions {
    display: flex; gap: 0.5rem;
}
.acc-booking-btn {
    display: flex; align-items: center; gap: 0.3rem; padding: 0.45rem 0.9rem;
    border-radius: 10px; font-size: 0.82rem; font-weight: 600;
    text-decoration: none; border: 1.5px solid var(--teal); color: var(--teal);
    background: transparent; cursor: pointer; transition: all 0.15s;
}
.acc-booking-btn:hover { background: rgba(0,128,128,0.05); }
.acc-booking-btn-primary {
    background: var(--teal); color: #fff; border-color: var(--teal);
}
.acc-booking-btn-primary:hover { opacity: 0.9; background: var(--teal); }

/* Profile form */
.acc-profile-card {
    background: rgba(255,255,255,0.7); backdrop-filter: blur(var(--blur));
    border: 1px solid var(--glass-border); border-radius: var(--radius);
    padding: 1.5rem; box-shadow: var(--glass-shadow);
}
.acc-profile-avatar {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--teal-light));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.5rem; font-weight: 800;
    margin-bottom: 1rem;
}
.acc-form-group { margin-bottom: 1rem; }
.acc-form-label {
    display: block; font-size: 0.82rem; font-weight: 600;
    color: #555; margin-bottom: 0.3rem;
}
.acc-form-input {
    width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid #ddd;
    border-radius: 10px; font-size: 0.9rem; outline: none;
    transition: border-color 0.2s; background: #fafafa;
}
.acc-form-input:focus { border-color: var(--teal); background: #fff; }
.acc-form-textarea {
    width: 100%; padding: 0.65rem 0.9rem; border: 1.5px solid #ddd;
    border-radius: 10px; font-size: 0.9rem; outline: none;
    min-height: 80px; resize: vertical; font-family: inherit;
    transition: border-color 0.2s; background: #fafafa;
}
.acc-form-textarea:focus { border-color: var(--teal); background: #fff; }
.acc-form-submit {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem;
    width: 100%; padding: 0.75rem; background: linear-gradient(135deg, var(--teal), var(--teal-light));
    color: #fff; border: none; border-radius: 12px; font-size: 0.95rem;
    font-weight: 600; cursor: pointer;
}
.acc-form-submit:hover { opacity: 0.9; }

/* Login via OTP page */
.acc-login-container {
    max-width: 420px; margin: 6rem auto 2rem; padding: 2rem;
    text-align: center;
}
.acc-empty {
    text-align: center; padding: 3rem 1rem; color: #999;
}
.acc-empty-icon { margin-bottom: 1rem; color: #ccc; }

/* ===== Schedule Widget (Admin) ===== */
.sched-week {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sched-day {
    background: var(--glass-bg);
    border: 1px solid rgba(0, 128, 128, 0.1);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.8rem;
}

.sched-day-weekend {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}

.sched-day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.3rem;
}

.sched-day-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
}

.sched-day-status {
    font-size: 0.75rem;
    color: #999;
}

.sched-day-closed {
    font-style: italic;
}

.sched-window {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 128, 128, 0.08);
    border: 1px solid rgba(0, 128, 128, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.25rem 0.6rem;
    margin: 0.2rem 0.25rem 0.2rem 0;
    font-size: 0.8rem;
}

.sched-time {
    font-weight: 500;
    color: var(--teal);
}

.sched-remove-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    transition: color 0.15s, background 0.15s;
}

.sched-remove-btn:hover {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.08);
}

.sched-add-form {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.3rem;
}

.sched-time-input {
    width: 110px;
    padding: 0.25rem 0.4rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: inherit;
    background: #fff;
}

.sched-time-input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 2px var(--teal-glow);
}

.sched-sep {
    color: #999;
    font-size: 0.85rem;
}

.sched-add-btn {
    background: rgba(0, 128, 128, 0.08);
    border: 1px solid rgba(0, 128, 128, 0.2);
    border-radius: var(--radius-sm);
    color: var(--teal);
    cursor: pointer;
    padding: 0.25rem 0.4rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.15s;
}

.sched-add-btn:hover {
    background: var(--teal);
    color: #fff;
}

/* Exceptions */
.sched-exc-section {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 1rem;
}

.sched-exc-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
}

.sched-exc-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.sched-exc-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: rgba(185, 28, 28, 0.04);
    border: 1px solid rgba(185, 28, 28, 0.12);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.sched-exc-date {
    font-weight: 600;
    color: #333;
}

.sched-exc-badge {
    background: rgba(185, 28, 28, 0.1);
    color: #b91c1c;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.sched-exc-reason {
    color: #666;
    font-size: 0.8rem;
    flex: 1;
}

.sched-exc-empty {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.sched-exc-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sched-exc-form-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sched-exc-date-input {
    width: 160px;
}

.sched-exc-reason-input {
    width: 180px;
    font-size: 0.85rem;
}

.sched-exc-check {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.sched-exc-times {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Schedule toggle in office card */
.detail-office-schedule-wrap {
    margin-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 0.6rem;
}

.sched-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.3rem 0;
    font-family: inherit;
    transition: opacity 0.15s;
}

.sched-toggle-btn:hover {
    opacity: 0.8;
}

.sched-inline-panel {
    margin-top: 0.6rem;
}

/* Schedule summary (static line in office card) */
.detail-office-schedule-summary {
    display: flex; align-items: center; gap: 0.4rem;
    margin-top: 0.75rem; padding-top: 0.65rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.78rem; color: #555;
}
.sched-summary-text {
    font-weight: 500;
}

@media (max-width: 640px) {
    .sched-add-form {
        flex-wrap: wrap;
    }
    .sched-exc-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .sched-exc-date-input,
    .sched-exc-reason-input {
        width: 100%;
    }
}

/* ===== Calendar View ===== */
.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.cal-month-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: capitalize;
}
.cal-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
}
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.cal-dow-row {
    margin-bottom: 4px;
}
.cal-dow {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #666;
    padding: 6px 0;
    text-transform: uppercase;
}
.cal-dow-weekend {
    color: #999;
}
.cal-cell {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: background 0.15s, box-shadow 0.15s;
    min-height: 56px;
}
.cal-cell-empty {
    background: transparent;
    border-color: transparent;
}
.cal-cell-has-bookings:hover {
    background: var(--glass-bg-strong);
    box-shadow: 0 2px 12px rgba(0,128,128,0.12);
}
.cal-cell-today {
    border-color: var(--teal);
    box-shadow: inset 0 0 0 2px var(--teal);
}
.cal-day-num {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}
.cal-cell-today .cal-day-num {
    color: var(--teal-dark);
    font-weight: 700;
}
.cal-day-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--teal);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 2px;
}

/* Hover tooltip (desktop only) */
.cal-tooltip {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 200;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    padding: 10px 12px;
    min-width: 220px;
    max-width: 300px;
    pointer-events: none;
}
.cal-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #fff;
}
/* For cells in first rows, show tooltip below */
.cal-cell-tooltip-below .cal-tooltip {
    bottom: auto;
    top: calc(100% + 8px);
}
.cal-cell-tooltip-below .cal-tooltip::after {
    top: auto;
    bottom: 100%;
    border-top-color: transparent;
    border-bottom-color: #fff;
}
@media (min-width: 769px) {
    .cal-cell-has-bookings:hover .cal-tooltip {
        display: block;
    }
}
.cal-tooltip-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.78rem;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.cal-tooltip-row:last-child {
    border-bottom: none;
}
.cal-tooltip-time {
    font-weight: 600;
    color: var(--teal-dark);
    white-space: nowrap;
    min-width: 85px;
}
.cal-tooltip-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 110px;
}
.cal-tooltip-loc {
    font-size: 0.7rem;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    margin-left: auto;
}

/* Day detail panel */
.cal-day-detail {
    margin-top: 1.5rem;
}
.cal-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cal-detail-title {
    font-size: 1.1rem;
    font-weight: 600;
}
.cal-detail-count {
    font-size: 0.85rem;
    color: #666;
}
.cal-detail-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cal-detail-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
}
.cal-detail-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-dark);
    min-width: 110px;
}
.cal-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cal-detail-client {
    font-weight: 500;
    font-size: 0.9rem;
}
.cal-detail-loc {
    font-size: 0.78rem;
    color: #777;
}
.cal-detail-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: capitalize;
}
.cal-status-paid { background: #d1fae5; color: #065f46; }
.cal-status-confirmed { background: #dbeafe; color: #1e40af; }
.cal-status-pending { background: #fef3c7; color: #92400e; }
.cal-status-completed { background: #f3f4f6; color: #374151; }
.cal-status-noshow { background: #ede9fe; color: #5b21b6; }
.cal-status-cancelled { background: #fee2e2; color: #991b1b; }
.cal-detail-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    font-size: 0.9rem;
}

/* ===== Day Timeline ===== */
.cal-timeline {
    display: flex;
    position: relative;
    min-height: 720px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.cal-tl-hours {
    position: relative;
    width: 56px;
    flex-shrink: 0;
    border-right: 1px solid rgba(0,0,0,0.06);
}
.cal-tl-hour {
    position: absolute;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.cal-tl-hour-label {
    display: block;
    padding: 2px 8px 0;
    font-size: 0.7rem;
    color: #999;
    font-weight: 500;
}
.cal-tl-body {
    flex: 1;
    position: relative;
}
.cal-tl-gridline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0,0,0,0.06);
    pointer-events: none;
}
.cal-tl-block {
    position: absolute;
    min-height: 26px;
    overflow: visible;
    cursor: default;
    box-sizing: border-box;
    padding: 0 4px;
}
.cal-tl-block-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 26px;
    padding: 0 10px;
    border-radius: 6px;
    border-left: 3px solid;
    white-space: nowrap;
    overflow: hidden;
    transition: box-shadow 0.15s;
}
.cal-tl-block-inner:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 10;
    position: relative;
}
/* Status-based block colors */
.cal-status-paid .cal-tl-block-inner {
    background: rgba(209,250,229,0.95);
    border-left-color: #059669;
    color: #065f46;
}
.cal-status-confirmed .cal-tl-block-inner {
    background: rgba(219,234,254,0.95);
    border-left-color: #3b82f6;
    color: #1e40af;
}
.cal-status-pending .cal-tl-block-inner {
    background: rgba(254,243,199,0.95);
    border-left-color: #f59e0b;
    color: #92400e;
}
.cal-status-completed .cal-tl-block-inner {
    background: rgba(243,244,246,0.95);
    border-left-color: #9ca3af;
    color: #374151;
}
.cal-status-noshow .cal-tl-block-inner {
    background: rgba(237,233,254,0.95);
    border-left-color: #8b5cf6;
    color: #5b21b6;
}
.cal-tl-block-time {
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}
.cal-tl-block-name {
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cal-tl-block-loc {
    font-size: 0.65rem;
    opacity: 0.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .cal-cell {
        min-height: 42px;
        aspect-ratio: auto;
    }
    .cal-day-num {
        font-size: 0.78rem;
    }
    .cal-day-count {
        font-size: 0.6rem;
        min-width: 16px;
        height: 15px;
    }
    .cal-timeline {
        min-height: 540px;
    }
    .cal-tl-hours {
        width: 44px;
    }
    .cal-tl-hour-label {
        font-size: 0.62rem;
        padding: 2px 4px 0;
    }
    .cal-tl-block-inner {
        gap: 6px;
        padding: 0 6px;
    }
    .cal-tl-block-time {
        font-size: 0.62rem;
    }
    .cal-tl-block-name {
        font-size: 0.68rem;
    }
    .cal-tl-block-loc {
        display: none;
    }
}
