/* 
 * The Hosts - Design System inherited from Notion
 * Core variables and base styles
 */

:root {
    /* Colors - Gray Scale */
    --gray-100: #f9f9f8;
    --gray-200: #f6f5f4;
    --gray-300: #dfdcd9;
    --gray-400: #a39e98;
    --gray-500: #78736f;
    --gray-600: #615d59;
    --gray-700: #494744;
    --gray-800: #31302e;
    --gray-900: #191919;

    /* Colors - Brand */
    --blue-500: #097fe8;
    --blue-400: #62aef0;
    /* Focus */
    --red-500: #f64932;

    /* Base Colors */
    --white: #fff;
    --black: #191919;
    --transparent: rgba(255, 255, 255, 0);

    /* Spacing */
    --spacing-4: 0.25rem;
    --spacing-8: 0.5rem;
    --spacing-12: 0.75rem;
    --spacing-16: 1rem;
    --spacing-20: 1.25rem;
    --spacing-24: 1.5rem;
    --spacing-32: 2rem;
    --spacing-40: 2.5rem;
    --spacing-48: 3rem;
    --spacing-64: 4rem;

    /* Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-pill: 9999px;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --font-serif: "Playfair Display", "Lyon Text", Georgia, serif;
    --font-mono: "iA Writer Mono", Nitti, Menlo, Courier, monospace;

    /* Semantic Aliases */
    --bg-default: var(--white);
    --bg-surface: var(--gray-100);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-500);
    --text-muted: var(--gray-400);
    --border-default: var(--gray-200);
    --border-focus: var(--blue-400);

    /* Motion */
    --ease-out: cubic-bezier(0.45, 0, 0.55, 1);
    --duration-normal: 200ms;
    --duration-slow: 500ms;
}

/* Base Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    animation: fadeInUp var(--duration-slow) var(--ease-out) forwards;
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-default);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--spacing-16);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-16);
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity var(--duration-normal) var(--ease-out);
}

a:hover {
    opacity: 0.8;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Layout Utilities */
.container {
    max-width: 1080px;
    /* Desktop breakpoint */
    margin: 0 auto;
    padding: 0 var(--spacing-20);
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-16 {
    gap: var(--spacing-16);
}

.grid {
    display: grid;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-8) var(--spacing-16);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color var(--duration-normal) var(--ease-out), transform 0.1s;
    border: 1px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gray-900) 0%, #333 100%);
    color: var(--white);
    border-color: var(--gray-900);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #333 0%, var(--gray-900) 100%);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--text-primary);
    border-color: var(--gray-300);
}

.btn-secondary:hover {
    background-color: var(--gray-100);
}

.btn-icon {
    padding: var(--spacing-8);
    color: var(--text-secondary);
}

.btn-icon:hover {
    background-color: var(--gray-200);
    color: var(--text-primary);
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-default);
    height: 60px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
}

.nav-links {
    display: flex;
    gap: var(--spacing-24);
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-primary);
}

/* Hero Section (Collection Header) */
.hero-collection {
    padding: var(--spacing-64) 0 var(--spacing-40);
    text-align: center;
}

.hero-collection h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-12);
    font-weight: 400;
    /* Playfair default usually lighter */
}

.hero-collection p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Filters */
.filters-bar {
    display: flex;
    gap: var(--spacing-12);
    overflow-x: auto;
    padding-bottom: var(--spacing-16);
    margin-bottom: var(--spacing-32);
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.filters-bar::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-8);
    padding: var(--spacing-8) var(--spacing-16);
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-pill);
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--gray-900);
    background-color: var(--gray-100);
}

/* Property Grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-32) var(--spacing-24);
}

/* Property Card */
.property-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
    group: card;
    cursor: pointer;
}

.card-image-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background-color: var(--gray-200);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease-out);
}

.property-card:hover .card-image {
    transform: scale(1.03);
}

.favorite-btn {
    position: absolute;
    top: var(--spacing-12);
    right: var(--spacing-12);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    padding: 8px;
    color: var(--gray-800);
    transition: all 0.2s;
}

.favorite-btn:hover {
    background: var(--white);
    transform: scale(1.1);
}

.card-details h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-4);
    font-weight: 600;
}

.card-location {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
    margin-top: var(--spacing-8);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-price {
    margin-top: var(--spacing-8);
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.card-price span {
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Footer */
.site-footer {
    margin-top: var(--spacing-64);
    padding: var(--spacing-64) 0;
    border-top: 1px solid var(--border-default);
    background-color: var(--bg-surface);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-32);
}

.footer-brand h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-8);
}

.footer-links h5 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: var(--spacing-16);
}

.footer-links ul li {
    margin-bottom: var(--spacing-8);
}

.footer-links a {
    color: var(--text-secondary);
}

/* Property Page Specifics */

/* Gallery Collage */
.property-gallery {
    padding-top: var(--spacing-32);
    margin-bottom: var(--spacing-40);
}

.gallery-collage {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: var(--spacing-8);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.gallery-item {
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    /* Reset global img radius */
    transition: filter 0.2s;
}

.gallery-item:hover img {
    filter: brightness(0.9);
}

/* First item takes full height of left column */
.item-0 {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

@media (max-width: 768px) {
    .gallery-collage {
        grid-template-columns: 1fr;
        grid-template-rows: 300px;
        display: block;
        /* Show only main image or slider in future */
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 0;
    }

    .gallery-item {
        display: inline-block;
        width: 90%;
        height: 300px;
        margin-right: 10px;
    }

    .container.property-layout {
        flex-direction: column;
    }
}

/* Property Content Layout */
.property-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* Main content vs Sidebar */
    gap: var(--spacing-64);
    padding-bottom: var(--spacing-64);
}

.property-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-12);
}

.location-tag {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
    font-weight: 600;
}

.prop-stats {
    display: flex;
    gap: var(--spacing-24);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.divider {
    border: none;
    border-top: 1px solid var(--border-default);
    margin: var(--spacing-32) 0;
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
    margin-top: var(--spacing-16);
}

.amenities-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
    color: var(--text-secondary);
}

/* Sticky Booking Sidebar */
.property-sidebar {
    position: relative;
}

/* Property Detailed View */
.property-highlights {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-default);
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.highlight-item i {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.highlight-item span {
    font-size: 0.9rem;
}

.rules-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-default);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

/* Sleeping Arrangements */
.sleeping-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-default);
}

.bedroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.bedroom-card {
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
}

.bedroom-card i {
    font-size: 1.5rem;
    margin-bottom: 12px;
    display: block;
}

.bedroom-card .room-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.bedroom-card .room-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rule {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rule strong {
    color: var(--text-primary);
    margin-left: 5px;
}

.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* for navbar
background: var(--white);
border: 1px solid var(--border-default);
border-radius: var(--radius-xl);
padding: var(--spacing-24);
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); 
*/

.booking-card {
    position: sticky;
    top: 100px;
    /* Offset for navbar */
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: var(--spacing-24);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.booking-price {
    margin-bottom: var(--spacing-16);
}

.price-val {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.price-unit {
    color: var(--text-secondary);
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
    margin-bottom: var(--spacing-16);
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-8);
}

.input-group label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-family: inherit;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: var(--spacing-12);
}

/* Concierge Page Specifics */
.hero-page {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: var(--spacing-64);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    z-index: -1;
}

.hero-content-page h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: var(--spacing-16);
    color: var(--white);
}

.hero-content-page p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.services-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-48);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-32);
    margin-bottom: var(--spacing-64);
}

.service-card {
    background: var(--bg-surface);
    padding: var(--spacing-32);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-16);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-12);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.concierge-cta {
    text-align: center;
    background: var(--gray-900);
    color: var(--white);
    padding: var(--spacing-48);
    border-radius: var(--radius-xl);
}

.concierge-cta h3 {
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: var(--spacing-24);
}

/* Admin Dashboard Styles */
.admin-body {
    display: flex;
    height: 100vh;
    overflow: hidden;
    background-color: var(--bg-surface);
}

.sidebar {
    width: 250px;
    background-color: var(--gray-900);
    color: var(--white);
    display: flex;
    flex-direction: column;
    padding: var(--spacing-24);
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--spacing-48);
    letter-spacing: 0.05em;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
    padding: var(--spacing-12);
    border-radius: var(--radius-md);
    color: var(--gray-400);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    background-color: var(--gray-800);
    color: var(--white);
}

.logout {
    margin-top: auto;
    color: var(--red-500);
}

.logout:hover {
    background-color: rgba(246, 73, 50, 0.1);
    color: var(--red-500);
}

/* Admin Main */
.admin-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.admin-header {
    background: var(--white);
    border-bottom: 1px solid var(--border-default);
    padding: var(--spacing-16) var(--spacing-32);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
    font-size: 0.9rem;
    font-weight: 500;
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.content-area {
    padding: var(--spacing-32);
    max-width: 1200px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-24);
    margin-bottom: var(--spacing-40);
}

.stat-card {
    background: var(--white);
    padding: var(--spacing-24);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: var(--blue-200);
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
    font-weight: 500;
}

.stat-card .value {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-8);
    color: var(--gray-900);
}

.trend {
    font-size: 0.85rem;
}

.trend.positive {
    color: #27918d;
}

.trend.neutral {
    color: var(--text-muted);
}

/* Data Tables */
.data-table-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    overflow: hidden;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: var(--spacing-16);
    text-align: left;
    border-bottom: 1px solid var(--border-default);
}

.data-table th {
    background: var(--gray-100);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.data-table tbody tr:hover {
    background-color: var(--gray-100);
}

.prop-cell {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
}

.prop-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

/* Badges */
.badge {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-active,
.status-confirmed,
.status-approved {
    background: #ecfdf5;
    color: #059669;
}

.status-pending {
    background: #fffbeb;
    color: #d97706;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.badge-count {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.65rem;
    padding: 4px 8px;
    border: 1px solid var(--border-default);
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
}

.badge-whatsapp {
    background: #f0fdf4;
    color: #166534;
}

.badge-info {
    background: #eff6ff;
    color: #1e40af;
}

.badge-instant {
    background: #fffbeb;
    color: #92400e;
}

/* Calendar View */
.calendar-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-default);
    overflow: hidden;
}

.calendar-header {
    display: flex;
    border-bottom: 1px solid var(--border-default);
    background: var(--gray-100);
}

.calendar-spacer {
    width: 200px;
    padding: var(--spacing-16);
    font-weight: 600;
    border-right: 1px solid var(--border-default);
    flex-shrink: 0;
}

.calendar-days-track {
    display: grid;
    grid-template-columns: repeat(28, 40px);
    /* 28 days fixed width */
    flex: 1;
    overflow-x: auto;
}

.calendar-header-day {
    text-align: center;
    border-right: 1px solid var(--border-default);
    padding: var(--spacing-8) 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.calendar-body {
    overflow-x: auto;
}

.calendar-row {
    display: flex;
    border-bottom: 1px solid var(--border-default);
    height: 60px;
}

.calendar-row-label {
    width: 200px;
    padding: var(--spacing-16);
    border-right: 1px solid var(--border-default);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    background: var(--white);
    position: sticky;
    left: 0;
    z-index: 2;
}

.calendar-row-days {
    display: grid;
    grid-template-columns: repeat(28, 40px);
    flex: 1;
    position: relative;
    align-items: center;
}

/* Vertical grid lines trick */
.calendar-row-days::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: 40px 100%;
    background-image: linear-gradient(to right, transparent 39px, var(--border-default) 40px);
    pointer-events: none;
    z-index: 0;
}

.timeline-bar {
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--gray-900);
    color: var(--white);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1;
    margin: 0 1px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.timeline-bar:hover {
    transform: scaleY(1.1);
    z-index: 10;
}

.timeline-bar.status-confirmed {
    background: #276749;
}

.timeline-bar.status-pending {
    background: #dd6b20;
}

/* Kanban Board */
.kanban-board {
    display: flex;
    gap: var(--spacing-24);
    height: calc(100vh - 140px);
    overflow-x: auto;
}

.kanban-column {
    flex: 1;
    min-width: 300px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: var(--spacing-16);
    display: flex;
    flex-direction: column;
}

.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-16);
    padding-bottom: var(--spacing-12);
    border-bottom: 1px solid var(--border-default);
}

.kanban-header h4 {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kanban-header .count {
    background: var(--gray-300);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.kanban-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-12);
    overflow-y: auto;
    padding-right: 4px;
}

.kanban-card {
    background: var(--white);
    padding: var(--spacing-16);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid transparent;
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: var(--gray-300);
}

.task-title {
    font-weight: 600;
    margin-bottom: var(--spacing-8);
    font-size: 0.9rem;
}

.task-prop {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-ghost {
    background: transparent;
    border: 1px dashed var(--gray-400);
    color: var(--text-secondary);
    margin-top: var(--spacing-12);
}

.btn-ghost:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Drag & Drop Feedback */
.kanban-column {
    transition: background-color 0.2s, box-shadow 0.2s;
}

.kanban-column.drag-over {
    background-color: var(--gray-200);
    box-shadow: inset 0 0 0 2px var(--blue-400);
}

.kanban-card.dragging {
    opacity: 0.5;
    background: var(--white);
    transform: scale(0.98);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
}

.toast {
    background: var(--gray-900);
    color: var(--white);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 0.2s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal {
    background: var(--white);
    width: 90%;
    max-width: 500px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal-overlay.hidden .modal {
    transform: translateY(20px);
}

.modal-header {
    padding: var(--spacing-24);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.modal-body {
    padding: var(--spacing-24);
}

.form-group {
    margin-bottom: var(--spacing-16);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
}

.form-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
}

.modal-footer {
    padding: var(--spacing-16) var(--spacing-24);
    border-top: 1px solid var(--border-default);
    background: var(--bg-surface);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-12);
}

/* File Upload Styles */
.file-upload-wrapper {
    cursor: pointer;
}

.image-preview-box {
    width: 100%;
    height: 180px;
    border: 2px dashed var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.image-preview-box:hover {
    border-color: var(--border-focus);
    background: var(--white);
    color: var(--blue-500);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.upload-placeholder i {
    font-size: 2rem;
    margin-bottom: 4px;
}

.upload-placeholder small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

#image-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#image-preview.hidden {
    display: none;
}

/* Modal Tabs */
.modal-lg {
    max-width: 900px;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-default);
    background: var(--bg-surface);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
    color: var(--blue-500);
    border-bottom-color: var(--blue-500);
}

.tab-content {
    display: none;
    padding-top: 10px;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s;
}

/* Amenity Groups */
.amenity-group {
    margin-bottom: 16px;
}

.amenity-group h5 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.amenity-group label {
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.1s;
}

.amenity-group label:hover {
    background: var(--bg-surface);
}

.amenity-group input {
    width: auto;
    margin-right: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-success i {
    color: #48bb78;
}

.toast-info i {
    color: #4299e1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.lightbox-close:hover {
    color: #bbb;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    user-select: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: -80px;
}

.lightbox-next {
    right: -80px;
}

@media screen and (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        background-color: rgba(0, 0, 0, 0.5);
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    #lightbox-img {
        max-width: 100%;
    }
}

/* Timeline Calendar View */
.timeline-container {
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 70vh;
    /* Fixed height for scroll */
}

.timeline-header {
    display: flex;
    border-bottom: 1px solid var(--border-default);
    background: var(--bg-surface);
    z-index: 10;
}

.timeline-corner {
    min-width: 200px;
    width: 200px;
    padding: var(--spacing-16);
    font-weight: 600;
    border-right: 1px solid var(--border-default);
    background: var(--bg-surface);
    position: sticky;
    left: 0;
    z-index: 20;
    display: flex;
    align-items: center;
}

.timeline-days-track {
    display: grid;
    grid-template-columns: repeat(var(--days), 1fr);
    flex: 1;
}

.timeline-day-header {
    width: 100%;
    padding: var(--spacing-8) 0;
    text-align: center;
    border-right: 1px solid var(--border-default);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
    /* Increased height */
}

.timeline-day-header.weekend {
    background-color: var(--gray-200);
}

.timeline-day-header.today {
    background-color: var(--blue-50);
    color: var(--blue-600);
    font-weight: 700;
}

/* Concierge Form Styles */
/* Concierge Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

.form-input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
}

.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-card {
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s;
    user-select: none;
    background: white;
}

.checkbox-card:hover {
    background-color: var(--gray-100);
}

.checkbox-card.selected {
    background-color: var(--blue-500);
    color: white;
    border-color: var(--blue-600);
}

.checkbox-card input {
    display: none;
}

.preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.preview-item.main {
    border-color: var(--blue-500);
}

.shift-toggle {
    font-size: 0.8rem;
    padding: 4px 8px;
    background: #f3f4f6;
    border-radius: 4px;
    cursor: pointer;
    user-select: none;
    transition: var(--duration-normal);
}

.shift-toggle:hover {
    background: #e5e7eb;
}


.timeline-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--gray-400) var(--gray-100);
}

.timeline-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.timeline-body::-webkit-scrollbar-thumb {
    background-color: var(--gray-400);
    border-radius: 4px;
}

.timeline-row {
    display: flex;
    border-bottom: 1px solid var(--border-default);
    position: relative;
    height: 60px;
    /* Fixed height for rows */
}

.timeline-prop-col {
    min-width: 200px;
    width: 200px;
    position: sticky;
    left: 0;
    background: var(--white);
    border-right: 1px solid var(--border-default);
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-16);
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.02);
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(var(--days), 1fr);
    flex: 1;
    position: relative;
}

.timeline-cell {
    width: 100%;
    height: 100%;
    border-right: 1px solid var(--gray-100);
}

.timeline-cell.weekend {
    background-color: var(--gray-100);
}

/* Reservation Bars */
.reservation-bar {
    position: absolute;
    top: 15px;
    /* (60 - 30) / 2 */
    height: 30px;
    background-color: var(--text-primary);
    /* Default */
    border-radius: var(--radius-sm);
    color: var(--white);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    padding: 0 var(--spacing-8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 5;
}

.reservation-bar:hover {
    transform: translateY(-2px);
    z-index: 6;
}

.reservation-bar.status-confirmado {
    background-color: #10b981;
}

/* Green */
.reservation-bar.status-pendente {
    background-color: #f59e0b;
}

/* Amber */
.reservation-bar.status-cancelado {
    background-color: #ef4444;
    opacity: 0.6;
}

/* Red */

/* --- USER AUTH & PROFILE --- */
.user-profile {
    display: flex;
    align-items: center;
    gap: var(--spacing-12);
}

.user-dropdown {
    position: relative;
    cursor: pointer;
}

.header-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border: 1px solid var(--border-default);
    border-radius: 30px;
    background: white;
    transition: all 0.2s;
}

.header-user-info:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.header-user-info span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.avatar {
    width: 32px;
    height: 32px;
    background: var(--blue-600);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border: 1px solid var(--border-default);
    padding: 8px 0;
    z-index: 1000;
    animation: fadeInScale 0.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.user-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.user-menu a:hover {
    background: var(--bg-hover);
    color: var(--blue-600);
}

.user-menu a i {
    width: 16px;
    text-align: center;
}

.bg-gray {
    background-color: #f8fafc;
}

/* --- FIXES 2026-02-05 --- */

/* Utility: Force hidden */
.hidden {
    display: none !important;
}

/* Fix User Menu Dropdown */
.user-menu {
    display: none;
}

.user-dropdown:hover .user-menu,
.user-menu.active {
    display: block;
}

/* Fix Ghost Modal */
.modal-overlay.hidden {
    display: none !important;
}

/* Fix Main Layout Overflow */
.admin-main {
    min-height: 0;
}

/* Ensure Chart Containers don't explode */
.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Unified Inbox Styles */
.inbox-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    height: calc(100vh - 140px);
    background: var(--white);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.conversation-list {
    border-right: 1px solid var(--border-default);
    display: flex;
    flex-direction: column;
    background: var(--gray-100);
}

.search-bar-container {
    padding: var(--spacing-16);
    border-bottom: 1px solid var(--border-default);
    background: var(--white);
}

.search-bar-container input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    background: var(--gray-100);
}

.conv-items {
    flex: 1;
    overflow-y: auto;
}

.conv-item {
    display: flex;
    gap: 12px;
    padding: var(--spacing-16);
    border-bottom: 1px solid var(--border-default);
    cursor: pointer;
    transition: background 0.2s;
    background: var(--white);
}

.conv-item:hover,
.conv-item.active {
    background: #f0f9ff;
    border-left: 3px solid var(--blue-500);
}

.conv-avatar {
    position: relative;
    width: 48px;
    height: 48px;
}

.conv-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.channel-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: white;
    border: 2px solid var(--white);
}

.channel-airbnb {
    background: #ff385c;
}

.channel-booking {
    background: #003b95;
}

.channel-whatsapp {
    background: #25d366;
}

.conv-info {
    flex: 1;
    min-width: 0;
}

.conv-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.conv-name {
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.conv-preview {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-item.unread .conv-preview {
    font-weight: 600;
    color: var(--text-primary);
}

/* Chat Window */
.chat-window {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.chat-header {
    padding: var(--spacing-16);
    border-bottom: 1px solid var(--border-default);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-messages {
    flex: 1;
    padding: var(--spacing-24);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}

.message-bubble {
    max-width: 70%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.4;
    position: relative;
}

.message-bubble.received {
    align-self: flex-start;
    background: var(--white);
    border: 1px solid var(--border-default);
    border-bottom-left-radius: 2px;
}

.message-bubble.sent {
    align-self: flex-end;
    background: #dbeafe;
    color: #1e40af;
    border-bottom-right-radius: 2px;
}

.msg-meta {
    font-size: 0.7rem;
    margin-top: 4px;
    opacity: 0.7;
    text-align: right;
}

.chat-input-area {
    padding: var(--spacing-16);
    border-top: 1px solid var(--border-default);
    background: var(--white);
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

resize: none;
height: 45px;
font-family: inherit;
}

/* --- Import Modal --- */
.import-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.import-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-default);
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.import-item:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.import-item.selected {
    background: #eff6ff;
    border-color: #3b82f6;
}

.import-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    background: #e5e7eb;
}

.import-info {
    flex: 1;
}

.import-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.import-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Automation Rules --- */
.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.rule-card {
    background: white;
    border: 1px solid var(--border-default);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rule-name {
    font-weight: 600;
    color: var(--text-primary);
}

.rule-flow {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
}

.flow-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-secondary);
}

.flow-step i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.flow-arrow {
    color: #d1d5db;
}

.rule-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-default);
    padding-top: 15px;
    margin-top: auto;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.btn-icon-sm {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-sm:hover {
    background: #f3f4f6;
    color: var(--primary-color);
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--success-color);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--success-color);
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}