:root {
    /* Paleta de colores gastronómica premium */
    --primary: #e67e22;
    --primary-dark: #d35400;
    --primary-light: #f39c12;
    --secondary: #1a1a2e;
    --secondary-light: #16213e;
    --accent: #c0392b;
    --accent-light: #e74c3c;

    /* Colores de estado */
    --success: #27ae60;
    --warning: #f1c40f;
    --danger: #e74c3c;
    --info: #3498db;

    /* Tonos dorados/ámbar */
    --gold: #d4af37;
    --gold-light: #f7dc6f;
    --gold-dark: #b8860b;

    /* Grises elegantes */
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Fondos */
    --bg-primary: #ffffff;
    --bg-secondary: #fafbfc;
    --bg-dark: #1a1a2e;
    --bg-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);

    /* Texto */
    --text-primary: #1a1a2e;
    --text-secondary: #5a5a6e;
    --text-muted: #8a8a9e;
    --text-light: #ffffff;

    /* Bordes */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Sombras premium */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(230, 126, 34, 0.3);
    --shadow-dark: 0 20px 60px rgba(26, 26, 46, 0.4);

    /* Transiciones suaves */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2.5rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Tipografía */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Outfit', var(--font-sans);
}

/* Reset y base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-secondary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Selección de texto personalizada */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

/* Contenedores */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-3xl) 0;
}

/* Cards Premium */
.card {
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: var(--spacing-xl);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--gold), var(--primary));
    transform: scaleX(0);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}

.card-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
}

.card-body {
    padding: var(--spacing-lg) 0;
}

.card-footer {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-sans);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(26, 26, 46, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(26, 26, 46, 0.4);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-gold:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #219653 100%);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #c0392b 100%);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-light:hover:not(:disabled) {
    background: white;
    color: var(--secondary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* Icon Button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* Formularios */
.form-group {
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    font-size: 0.9rem;
    letter-spacing: 0.025em;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1rem;
    font-family: var(--font-sans);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239e9e9e' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-text {
    display: block;
    margin-top: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Badges Premium */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 9999px;
    letter-spacing: 0.025em;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, #2ecc71, var(--success));
    color: white;
}

.badge-warning {
    background: linear-gradient(135deg, #f7dc6f, var(--warning));
    color: var(--gray-800);
}

.badge-danger {
    background: linear-gradient(135deg, #ec7063, var(--danger));
    color: white;
}

.badge-info {
    background: linear-gradient(135deg, #5dade2, var(--info));
    color: white;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--gray-800);
}

.badge-gray {
    background: var(--gray-200);
    color: var(--gray-700);
}

/* Alertas Premium */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.alert::before {
    font-size: 1.25rem;
}

.alert-success {
    background: linear-gradient(to right, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    border-color: var(--success);
    color: #1e7e34;
}

.alert-success::before {
    content: '✓';
}

.alert-warning {
    background: linear-gradient(to right, rgba(241, 196, 15, 0.15), rgba(241, 196, 15, 0.05));
    border-color: var(--warning);
    color: #856404;
}

.alert-warning::before {
    content: '⚠';
}

.alert-danger {
    background: linear-gradient(to right, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05));
    border-color: var(--danger);
    color: #c62828;
}

.alert-danger::before {
    content: '✕';
}

.alert-info {
    background: linear-gradient(to right, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05));
    border-color: var(--info);
    color: #0d47a1;
}

.alert-info::before {
    content: 'ℹ';
}

/* Grid */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Flex utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.gap-xs {
    gap: var(--spacing-xs);
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

.gap-lg {
    gap: var(--spacing-lg);
}

.gap-xl {
    gap: var(--spacing-xl);
}

/* Spacing utilities */
.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mt-5 {
    margin-top: var(--spacing-2xl);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.mb-4 {
    margin-bottom: var(--spacing-xl);
}

.mb-5 {
    margin-bottom: var(--spacing-2xl);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--spacing-sm);
}

.p-2 {
    padding: var(--spacing-md);
}

.p-3 {
    padding: var(--spacing-lg);
}

.p-4 {
    padding: var(--spacing-xl);
}

.p-5 {
    padding: var(--spacing-2xl);
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-muted {
    color: var(--text-muted);
}

.text-success {
    color: var(--success);
}

.text-danger {
    color: var(--danger);
}

.text-warning {
    color: var(--warning);
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: white;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* Gradient Text */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 50%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-dark {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-out;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out;
}

.animate-slideIn {
    animation: slideIn 0.4s ease-out;
}

.animate-scaleIn {
    animation: scaleIn 0.5s ease-out;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Delay classes for staggered animations */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Loading spinner */
.spinner {
    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 0.8s linear infinite;
}

.spinner-dark {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton loader */
.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--border-radius-sm);
}

/* Dividers */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: var(--spacing-xl) 0;
}

.divider-vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--border-color), transparent);
    margin: 0 var(--spacing-lg);
}

/* ========== DASHBOARD LAYOUT & SIDEBAR ========== */
.dashboard-layout,
.dashboard-container,
.admin-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    transition: grid-template-columns 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dashboard-layout.sidebar-collapsed,
.dashboard-container.sidebar-collapsed,
.admin-layout.sidebar-collapsed {
    grid-template-columns: 80px 1fr;
}

.sidebar {
    background: white;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    height: 100vh;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    z-index: 100;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar-dark {
    background: #1e293b;
    color: white;
    border-right: none;
}

.sidebar-dark .nav-link {
    color: #94a3b8;
}

.sidebar-dark .nav-link:hover,
.sidebar-dark .nav-link.active {
    background: #334155;
    color: white;
}

.sidebar-dark .brand {
    color: white;
}

.sidebar-dark .sidebar-toggle {
    background: #334155;
    border-color: #475569;
    color: #94a3b8;
}

.sidebar.collapsed {
    padding: var(--spacing-lg) var(--spacing-md);
}

.sidebar-header {
    margin-bottom: 3rem;
}

.brand {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar.collapsed .brand span:not(:first-child),
.sidebar.collapsed .brand-text {
    display: none;
}

.sidebar.collapsed .brand {
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.sidebar.collapsed .nav-text {
    display: none;
}

.sidebar.collapsed .nav-link {
    justify-content: center;
    padding: 0.875rem 0;
}

.sidebar.collapsed .nav-link span:first-child {
    font-size: 1.25rem;
}

/* Toggle Button */
.sidebar-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
    align-self: flex-end;
}

.sidebar.collapsed .sidebar-toggle {
    align-self: center;
    transform: rotate(180deg);
}

.sidebar-toggle:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.nav-link:hover,
.nav-link.active {
    background: var(--bg-secondary);
    color: var(--primary);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    border-left: 3px solid var(--primary);
}

.main-content {
    padding: 2rem;
    flex: 1;
}

/* Notificaciones Premium */
.notifications-container {
    position: relative;
    display: flex;
    align-items: center;
}

.notifications-bell {
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.notifications-bell:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.notifications-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--danger);
    color: white;
    font-size: 0.7rem;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid white;
}

.notifications-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-top: 1rem;
    display: none;
    z-index: 1000;
    overflow: hidden;
    animation: fadeInDown 0.3s ease-out;
}

.notifications-dropdown.active {
    display: block;
}

.notifications-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notifications-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.notifications-list {
    max-height: 400px;
    overflow-y: auto;
}

.notification-item {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 1rem;
    transition: var(--transition-fast);
}

.notification-item:hover {
    background: var(--bg-secondary);
}

.notification-item.unread {
    background: rgba(230, 126, 34, 0.03);
    border-left: 3px solid var(--primary);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.notification-message {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.notification-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.notifications-footer {
    padding: 1rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.notifications-footer a {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Icon containers */
.icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-size: 1.75rem;
    transition: var(--transition);
}

.icon-box-primary {
    background: linear-gradient(135deg, rgba(230, 126, 34, 0.1), rgba(230, 126, 34, 0.05));
    color: var(--primary);
}

.icon-box-success {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    color: var(--success);
}

.icon-box-gold {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(212, 175, 55, 0.05));
    color: var(--gold-dark);
}

.icon-box-lg {
    width: 80px;
    height: 80px;
    font-size: 2.25rem;
}

/* Avatars */
.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.avatar-sm {
    width: 36px;
    height: 36px;
}

.avatar-lg {
    width: 64px;
    height: 64px;
}

.avatar-xl {
    width: 96px;
    height: 96px;
}

.avatar-group {
    display: flex;
}

.avatar-group .avatar {
    margin-left: -12px;
}

.avatar-group .avatar:first-child {
    margin-left: 0;
}

/* Tooltip */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: white;
    font-size: 0.875rem;
    border-radius: var(--border-radius-sm);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    pointer-events: none;
    margin-bottom: 8px;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tables */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
}

th,
td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--gray-50);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

tr:hover {
    background: var(--gray-50);
}

tr:last-child td {
    border-bottom: none;
}

/* Responsive */
@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .dashboard-layout,
    .dashboard-container,
    .admin-layout {
        grid-template-columns: 80px 1fr !important;
    }

    .sidebar .nav-text,
    .sidebar .brand-text {
        display: none;
    }

    .sidebar {
        padding: var(--spacing-md) !important;
    }

    .sidebar .nav-link {
        justify-content: center;
        padding: 0.875rem 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .btn {
        padding: 0.85rem 1.5rem;
    }

    /* Mobile Sidebar & Dashboard */
    .dashboard-layout,
    .dashboard-container,
    .admin-layout {
        display: block !important;
        position: relative;
    }

    .sidebar {
        position: fixed !important;
        left: -280px;
        top: 0;
        bottom: 0;
        width: 280px !important;
        grid-template-columns: none !important;
        z-index: 2000;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0 !important;
    }

    .sidebar .nav-text,
    .sidebar .brand-text {
        display: inline !important;
    }

    .sidebar .nav-link {
        justify-content: flex-start !important;
        padding: 0.875rem 1rem !important;
    }

    .sidebar-toggle {
        display: none !important;
    }

    .main-content {
        padding: 1rem !important;
        padding-top: 80px !important;
        /* Space for mobile dashboard header */
    }

    /* Mobile Dash Header */
    .mobile-dash-header {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: white;
        border-bottom: 1px solid var(--border-color);
        align-items: center;
        padding: 0 1.25rem;
        z-index: 1500;
        justify-content: space-between;
        box-shadow: var(--shadow-sm);
    }

    /* Grids & Sections */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .action-cards {
        grid-template-columns: 1fr !important;
    }

    .welcome-section {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .hero-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        padding: 0 20px !important;
    }

    .hero-content {
        text-align: center !important;
        margin: 0 auto !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }

    .hero-visual {
        display: none !important;
    }

    .steps-grid,
    .new-features-grid,
    .featured-lite-grid,
    .content-container,
    .profile-header-content,
    .action-cards,
    .form-grid,
    .filters-row,
    .stats-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .form-group.full-width {
        grid-column: span 1 !important;
    }

    .radio-group {
        flex-direction: column;
    }

    .profile-header-content {
        justify-items: center;
        padding-top: 4rem !important;
    }

    .profile-avatar {
        width: 140px !important;
        height: 140px !important;
    }

    .header-actions {
        width: 100%;
        justify-content: center;
        display: flex;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
    }

    .hero-title {
        font-size: 2.25rem !important;
    }

    .nav-logo-mobile {
        font-size: 1.5rem !important;
    }
}

/* Base Mobile Dash Header (hidden by default) */
.mobile-dash-header {
    display: none;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1800;
    display: none;
    backdrop-filter: blur(3px);
}

.mobile-menu-overlay.active {
    display: block;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* ========== FLOATING BOOKING BUTTON ========== */
.btn-floating-booking {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 99999 !important;
    background: linear-gradient(135deg, var(--primary), var(--gold));
    color: white !important;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 1.15rem;
    letter-spacing: 0.5px;
}

.btn-floating-booking:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 40px rgba(230, 126, 34, 0.6);
}

.btn-floating-booking .pulse-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    position: relative;
}

.btn-floating-booking .pulse-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .btn-floating-booking {
        bottom: 20px !important;
        right: 20px !important;
        left: 20px !important;
        justify-content: center;
        padding: 1.25rem;
    }
}

/* ========== SEABUD INSPIRED HEADER ========== */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding-top: 10px;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto 10px;
    padding: 5px 20px;
    color: white;
    font-size: 0.85rem;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.navbar-seabud {
    background: white;
    border-radius: 100px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.navbar-seabud.scrolled {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    padding: 15px 40px;
}

.navbar-seabud .navbar-brand {
    color: var(--text-primary);
}

.navbar-seabud .navbar-logo {
    box-shadow: none;
}

.navbar-seabud .navbar-name {
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: initial;
}

.navbar-seabud .navbar-link {
    color: var(--text-secondary);
}

.navbar-seabud .navbar-link:hover {
    color: var(--primary);
    background: none;
}

.navbar-seabud .navbar-link::before {
    display: none;
}

.navbar-seabud .btn-reserve {
    background: var(--primary);
    color: white;
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.navbar-seabud .btn-reserve:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.navbar-seabud .btn-reserve-icon {
    width: 24px;
    height: 24px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}


@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

.field-missing {
    border-color: var(--danger) !important;
    background-color: rgba(231, 76, 60, 0.05) !important;
    animation: pulse-red 2s infinite;
}

.field-missing-text {
    color: var(--danger);
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 4px;
}