/* ============================================
   CABAÑAS TITISEE - SISTEMA DE RESERVACIONES
   La Colonia Tovar, Venezuela
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colores principales - Inspirados en la arquitectura alemana */
    --color-madera: #8B4513;
    --color-madera-claro: #A0522D;
    --color-madera-oscuro: #5D3A1A;
    --color-bosque: #2D5016;
    --color-bosque-claro: #4A7C23;
    --color-piedra: #6B7280;
    --color-crema: #FDF8F3;
    --color-nieve: #F8FAFC;
    --color-dorado: #D4A574;

    /* Colores de estado */
    --color-success: #10B981;
    --color-warning: #F59E0B;
    --color-error: #EF4444;
    --color-info: #3B82F6;

    /* Tipografía */
    --font-principal: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Sombras */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);

    /* Transiciones */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;

    /* Bordes */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-principal);
    background: var(--color-crema);
    color: #1F2937;
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-madera-oscuro);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-madera), var(--color-bosque));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-madera-oscuro);
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-piedra);
    font-family: var(--font-principal);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-piedra);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-bosque);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-bosque);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-bosque), var(--color-bosque-claro));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-madera);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ===== HERO ===== */
.hero {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.9), rgba(139, 69, 19, 0.8)),
        url('img/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    height: 150px;
    background: var(--color-crema);
    clip-path: ellipse(60% 100% at 50% 100%);
}

.hero-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--color-bosque);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1.125rem;
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ===== AMENIDADES ===== */
.amenidades {
    background: white;
    padding: 4rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.amenidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.amenidad-item {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: var(--radius-lg);
    background: var(--color-crema);
    transition: var(--transition-normal);
}

.amenidad-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.amenidad-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.amenidad-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-piedra);
}

/* ===== CABAÑAS ===== */
.cabanas-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--color-piedra);
    max-width: 600px;
    margin: 0 auto;
}

.cabanas-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    background: white;
    color: var(--color-piedra);
    border: 2px solid #E5E7EB;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-bosque);
    color: white;
    border-color: var(--color-bosque);
}

.cabanas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.cabana-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.cabana-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.cabana-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.cabana-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.cabana-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-bosque);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.cabana-capacidad {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.cabana-content {
    padding: 1.5rem;
}

.cabana-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cabana-description {
    color: var(--color-piedra);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.cabana-precios {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--color-crema);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
}

.precio-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.precio-label {
    color: var(--color-piedra);
}

.precio-value {
    font-weight: 700;
    color: var(--color-bosque);
}

.precio-value.alta {
    color: var(--color-madera);
}

.cabana-actions {
    display: flex;
    gap: 0.75rem;
}

.btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-align: center;
    transition: var(--transition-fast);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-bosque), var(--color-bosque-claro));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--color-madera);
    color: white;
}

/* ===== MODAL DE RESERVACIÓN ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: var(--radius-xl);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition-normal);
}

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

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-title {
    font-size: 1.25rem;
}

.modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-crema);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-piedra);
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: var(--color-error);
    color: white;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #E5E7EB;
    display: flex;
    gap: 1rem;
}

/* ===== FORMULARIOS ===== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-madera-oscuro);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-bosque);
    box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-bosque);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--color-piedra);
    margin-top: 0.25rem;
}

/* ===== CALENDARIO ===== */
.calendar {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-bosque);
    color: white;
}

.calendar-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.calendar-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.calendar-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: var(--color-crema);
    padding: 0.5rem 0;
    text-align: center;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--color-piedra);
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.occupied) {
    background: var(--color-bosque);
    color: white;
}

.calendar-day.today {
    font-weight: 700;
    border: 2px solid var(--color-bosque);
}

.calendar-day.selected {
    background: var(--color-bosque);
    color: white;
}

.calendar-day.in-range {
    background: rgba(45, 80, 22, 0.2);
}

.calendar-day.disabled {
    color: #D1D5DB;
    cursor: not-allowed;
}

.calendar-day.occupied {
    background: #FEE2E2;
    color: #991B1B;
    cursor: not-allowed;
}

.calendar-day.other-month {
    color: #9CA3AF;
}

/* ===== RESUMEN DE RESERVA ===== */
.booking-summary {
    background: var(--color-crema);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.booking-summary h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #D1D5DB;
}

.summary-row:last-child {
    border-bottom: none;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-bosque);
    padding-top: 1rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--color-bosque);
}

/* ===== INFO SECTION ===== */
.info-section {
    background: linear-gradient(135deg, var(--color-madera-oscuro), var(--color-madera));
    color: white;
    padding: 5rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h3 {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card p {
    opacity: 0.9;
    line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--color-madera-oscuro);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--color-dorado);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    opacity: 0.8;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--color-dorado);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ===== ALERTAS Y NOTIFICACIONES ===== */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-error {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background: #DBEAFE;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    max-width: 350px;
}

.toast.success {
    border-left: 4px solid var(--color-success);
}

.toast.error {
    border-left: 4px solid var(--color-error);
}

.toast.warning {
    border-left: 4px solid var(--color-warning);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== LOADING ===== */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

.loading.dark {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-bosque);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .hero {
        min-height: 80vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cabanas-grid {
        grid-template-columns: 1fr;
    }

    .modal {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
}

/* ============================================
   PANEL DE ADMINISTRACIÓN
   ============================================ */

/* ===== ADMIN LAYOUT ===== */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--color-madera-oscuro), var(--color-madera));
    color: white;
    padding: 1.5rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-logo {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-logo h2 {
    color: white;
    font-size: 1.25rem;
}

.admin-logo span {
    font-size: 0.75rem;
    opacity: 0.7;
    font-weight: normal;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    opacity: 0.85;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    opacity: 1;
}

.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.2);
}

.admin-nav-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--color-crema);
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.admin-header-title {
    font-size: 1.5rem;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    background: var(--color-bosque);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.admin-content {
    padding: 2rem;
}

/* ===== DASHBOARD STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-icon.arrivals {
    background: #D1FAE5;
    color: #065F46;
}

.stat-icon.departures {
    background: #FEE2E2;
    color: #991B1B;
}

.stat-icon.pending {
    background: #FEF3C7;
    color: #92400E;
}

.stat-icon.revenue {
    background: #DBEAFE;
    color: #1E40AF;
}

.stat-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.stat-info p {
    color: var(--color-piedra);
    font-size: 0.875rem;
}

/* ===== ADMIN TABLES ===== */
.data-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.data-card-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.data-card-title {
    font-size: 1.1rem;
}

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

.data-table th,
.data-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.data-table th {
    background: var(--color-crema);
    font-weight: 600;
    color: var(--color-piedra);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover td {
    background: #F9FAFB;
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.pendiente {
    background: #FEF3C7;
    color: #92400E;
}

.status-badge.confirmada {
    background: #D1FAE5;
    color: #065F46;
}

.status-badge.cancelada {
    background: #FEE2E2;
    color: #991B1B;
}

.status-badge.completada {
    background: #DBEAFE;
    color: #1E40AF;
}

/* ===== ACTION BUTTONS ===== */
.action-btn {
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.action-btn:hover {
    background: var(--color-crema);
}

.action-btn.edit {
    color: var(--color-info);
}

.action-btn.delete {
    color: var(--color-error);
}

.action-btn.confirm {
    color: var(--color-success);
}

/* ===== LOGIN FORM ===== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bosque), var(--color-madera));
    padding: 1rem;
}

.login-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--color-piedra);
}

/* ===== CABIN STATUS GRID ===== */
.cabanas-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
}

.cabana-status-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    border: 2px solid #E5E7EB;
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cabana-status-card:hover {
    border-color: var(--color-bosque);
    box-shadow: var(--shadow-md);
}

.cabana-status-card.libre {
    border-color: #10B981;
    background: linear-gradient(135deg, #ECFDF5, white);
}

.cabana-status-card.ocupada {
    border-color: #EF4444;
    background: linear-gradient(135deg, #FEF2F2, white);
}

.cabana-status-card.proxima {
    border-color: #F59E0B;
    background: linear-gradient(135deg, #FFFBEB, white);
}

.cabana-status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.cabana-status-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-madera-oscuro);
    line-height: 1;
}

.cabana-status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cabana-status-badge.libre {
    background: #D1FAE5;
    color: #065F46;
}

.cabana-status-badge.ocupada {
    background: #FEE2E2;
    color: #991B1B;
}

.cabana-status-badge.proxima {
    background: #FEF3C7;
    color: #92400E;
}

.cabana-status-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cabana-status-name {
    font-weight: 600;
    color: var(--color-madera-oscuro);
    font-size: 0.95rem;
}

.cabana-status-type {
    font-size: 0.8rem;
    color: var(--color-piedra);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cabana-status-reserva {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #E5E7EB;
    font-size: 0.8rem;
}

.cabana-status-reserva-row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    color: var(--color-piedra);
}

.cabana-status-reserva-row span:last-child {
    font-weight: 500;
    color: #1F2937;
}

.cabana-status-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0.15;
}

.cabana-status-card.libre .cabana-status-icon {
    background: #10B981;
}

.cabana-status-card.ocupada .cabana-status-icon {
    background: #EF4444;
}

.cabana-status-card.proxima .cabana-status-icon {
    background: #F59E0B;
}

/* ===== RESPONSIVE ADMIN ===== */
@media (max-width: 992px) {
    .admin-sidebar {
        width: 80px;
        padding: 1rem;
    }

    .admin-logo h2,
    .admin-nav-link span {
        display: none;
    }

    .admin-main {
        margin-left: 80px;
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        position: fixed !important;
        left: -280px;
        width: 260px !important;
        padding: 1.5rem !important;
        z-index: 1000;
        transition: left 0.3s ease;
        height: 100vh;
        top: 0;
    }

    .admin-sidebar.active {
        left: 0;
    }

    /* Restaurar texto del menú en móvil */
    .admin-logo h2,
    .admin-nav-link span {
        display: inline !important;
    }

    .admin-main {
        margin-left: 0 !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        display: block;
        overflow-x: auto;
    }

    .admin-mobile-toggle {
        display: flex !important;
    }

    .admin-mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .admin-mobile-overlay.active {
        display: block;
    }

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

/* Mobile menu toggle button */
.admin-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: var(--color-bosque);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
}

.admin-mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.admin-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.admin-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}