/* Satelite Park POS - Professional Design */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --success: #10b981;
    --success-dark: #059669;
    --success-light: #34d399;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --danger: #ef4444;
    --danger-light: #f87171;
    --info: #06b6d4;
    --secondary: #64748b;
    --light: #f8fafc;
    --dark: #0f172a;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --border-radius-lg: 16px;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 50%, #fdf2f8 100%);
    min-height: 100vh;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gradient-dark);
    color: var(--white);
    padding: 0 24px;
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.navbar-brand a {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand a::before {
    content: '';
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: 8px;
}

/* Navbar brand layout */
.navbar-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

/* Navbar logo: LÍMITES ESTRICTOS - nunca más grande que la barra */
.navbar-brand a.has-logo::before {
    display: none;
}

.brand-logo {
    height: 32px;
    max-height: 32px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
}

.brand-text {
    display: inline-block;
    vertical-align: middle;
}

.navbar-menu {
    display: flex;
    gap: 4px;
}

.navbar-menu a {
    color: rgba(255,255,255,0.7);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s;
    font-weight: 500;
    font-size: 13px;
}

.navbar-menu a:hover,
.navbar-menu a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

/* Botón hamburguesa - oculto en desktop */
.navbar-toggle {
    display: none;
}

/* Menú móvil - oculto en desktop */
.mobile-menu {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    font-weight: 500;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 8px; /* Extiende el área de hover para cubrir el gap */
}

.dropdown-toggle {
    color: rgba(255,255,255,0.7);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    transition: all 0.2s;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
}

.dropdown-toggle:hover,
.dropdown-toggle.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* Pegado al dropdown (el gap lo da el padding-bottom del .dropdown) */
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    z-index: 1001;
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    font-size: 13px;
    transition: all 0.15s;
}

.dropdown-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.15s;
}

.dropdown-menu a:hover i {
    color: var(--primary);
}

/* Badge de actualización animado */
@keyframes pulse-update {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

#update-badge {
    animation: pulse-update 2s ease-in-out infinite;
}

#update-badge-menu {
    font-size: 9px;
    padding: 2px 6px;
}

/* Main Content */
.main-content {
    padding: 24px;
    min-height: calc(100vh - 64px);
}

/* Main content para POS - sin padding ni scroll */
.main-content:has(.pos-container) {
    padding: 0;
    min-height: 0;
    height: calc(100vh - 64px); /* Altura exacta sin scroll */
    overflow: hidden; /* Sin scroll en el main */
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    position: relative;
}

.alert::before {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Alertas flotantes */
.alert-floating {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    min-width: 320px;
    max-width: 500px;
    margin: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.4s ease-out;
    padding-right: 50px;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-floating.alert-hiding {
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: currentColor;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-success::before {
    background: var(--success);
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-error::before {
    background: var(--danger);
}

.alert-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-warning::before {
    background: var(--warning);
}

.alert-info {
    background: linear-gradient(135deg, #cffafe 0%, #a5f3fc 100%);
    color: #155e75;
    border: 1px solid #67e8f9;
}

.alert-info::before {
    background: var(--info);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

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

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    color: var(--white);
}

.btn-success:hover {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: var(--gray-900);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-icon {
    padding: 10px;
    border-radius: 50%;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 13px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 14px;
    transition: all 0.2s;
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 13px;
}

.form-text {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--gray-500);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
    justify-content: flex-end; /* Alinear botones a la derecha */
}

.form-actions button {
    white-space: nowrap; /* Evitar que el texto se corte */
    min-width: fit-content; /* Asegurar ancho suficiente */
}

.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group {
    display: flex;
    gap: 24px;
}

.form-fieldset {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    background: var(--gray-50);
}

.form-fieldset legend {
    font-weight: 700;
    padding: 0 12px;
    font-size: 13px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--gray-100);
}

.card h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.table th {
    background: var(--gray-50);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-600);
}

.table tbody tr {
    transition: background 0.15s;
}

.table tbody tr:hover {
    background: var(--gray-50);
}

.table .actions {
    white-space: nowrap;
}

.table .actions form {
    display: inline;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary { background: rgba(99, 102, 241, 0.1); color: var(--primary); }
.badge-success { background: rgba(16, 185, 129, 0.1); color: var(--success); }
.badge-warning { background: rgba(245, 158, 11, 0.1); color: #b45309; }
.badge-danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); }
.badge-info { background: rgba(6, 182, 212, 0.1); color: #0891b2; }
.badge-secondary { background: var(--gray-100); color: var(--gray-600); }
.badge-barquilla { background: rgba(233, 30, 99, 0.1); color: #e91e63; }
.badge-cotufa { background: rgba(255, 152, 0, 0.1); color: #f57c00; }
.badge-bebida { background: rgba(0, 188, 212, 0.1); color: #0097a7; }
.badge-otro { background: var(--gray-100); color: var(--gray-600); }

/* Page Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
}

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 600;
}

/* ===================================
   POS LAYOUT - PROFESSIONAL DESIGN
   =================================== */

.pos-container {
    height: 100%; /* Ocupa el 100% del main-content */
    padding: 24px; /* Padding interno */
    box-sizing: border-box;
}

.pos-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 24px;
    height: 100%; /* Ocupa el 100% del container */
}

/* POS Products Panel */
.pos-products {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
    height: 100%; /* Ocupa toda la altura del grid */
}

/* POS Tabs */
.pos-tabs {
    display: flex;
    background: var(--gray-100);
    padding: 8px;
    gap: 8px;
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: var(--border-radius-sm);
    color: var(--gray-600);
}

.tab-btn:hover {
    background: rgba(255,255,255,0.5);
    color: var(--gray-800);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.tab-content {
    display: none;
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.tab-content.active {
    display: block;
}

/* Customer Section */
.customer-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    border: 1px solid #bae6fd;
}

.customer-section h3 {
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.customer-section h3::before {
    content: '';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    border-radius: 6px;
}

.customer-search {
    display: flex;
    gap: 12px;
}

.customer-search select {
    width: 80px;
    font-weight: 600;
}

.customer-search .form-control {
    flex: 1;
}

.customer-info {
    margin-top: 16px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    border: 2px solid #7dd3fc;
}

.customer-data {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.customer-data strong {
    font-size: 16px;
    color: var(--gray-800);
}

.customer-data span {
    font-size: 13px;
    color: var(--gray-500);
}

/* Children Section */
.children-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #7dd3fc;
}

.children-section h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#children-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 12px;
}

.child-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
    font-size: 13px;
    border: 1px solid var(--gray-200);
    transition: all 0.15s;
}

.child-item:hover {
    border-color: var(--primary-light);
    background: #f8faff;
}

.child-seq {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
}

.child-name {
    flex: 1;
    font-weight: 600;
    color: var(--gray-800);
}

.child-age, .child-weight {
    color: var(--gray-500);
    font-size: 12px;
    background: var(--gray-100);
    padding: 4px 8px;
    border-radius: 4px;
}

/* Attractions Grid */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.attraction-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 2px solid var(--gray-200);
    transition: all 0.2s;
}

.attraction-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow);
}

.attraction-card h4 {
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

.attraction-card .badge {
    margin-bottom: 16px;
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.package-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.package-btn:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    transform: translateX(4px);
}

.pkg-name {
    font-weight: 600;
    color: var(--gray-700);
}

.pkg-price {
    font-weight: 800;
    font-size: 15px;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

/* Snacks Grid */
.snacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.snack-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.2s;
}

.snack-card:hover {
    border-color: var(--success-light);
    box-shadow: var(--shadow);
}

.snack-card h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.snack-price {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--success);
    margin: 12px 0;
}

/* Addons */
.addons-section {
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid #fde047;
}

.addons-section h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #a16207;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

/* Addon como tarjeta con botón para vender solo */
.addon-item-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    border: 2px solid var(--gray-200);
    transition: all 0.15s;
}

.addon-item-card:hover {
    border-color: var(--warning);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.addon-item-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.addon-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
}

.addon-checkbox-label input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.addon-checkbox-label input:checked + .addon-name {
    font-weight: 700;
}

.btn-add-addon-solo {
    margin-top: 4px;
}

/* Estilos antiguos para compatibilidad */
.addon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 13px;
    border: 2px solid transparent;
    transition: all 0.15s;
}

.addon-item:hover {
    border-color: var(--warning);
}

.addon-item input:checked + .addon-name {
    font-weight: 700;
}

.addon-name {
    flex: 1;
    font-weight: 500;
}

.addon-price {
    color: var(--warning);
    font-weight: 700;
}

/* ===================================
   POS CART - PROFESSIONAL DESIGN
   =================================== */

.pos-cart {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    padding: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gray-100);
    /* El carrito ocupa toda la altura del grid */
    height: 100%;
    overflow-y: auto; /* Scroll interno si el contenido es muy largo */
}

.pos-cart h3 {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--gray-100);
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pos-cart h3::before {
    content: '';
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 8px;
}

/* Cart logo: LÍMITES ESTRICTOS - icono pequeño */
.pos-cart h3.has-logo::before {
    display: none;
}

.section-logo {
    height: 28px;
    width: 28px;
    max-height: 28px;
    max-width: 28px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    border-radius: 6px;
    margin-right: 4px;
}

/* Login logo: LÍMITES ESTRICTOS - nunca debe dominar la pantalla */
.login-logo {
    max-height: 96px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px;
}

/* Preview en Configuración: límites para preview */
.settings-logo-preview {
    max-height: 120px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    border: 2px solid var(--gray-200);
    background: var(--gray-50);
    padding: 8px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 8px;
}

.cart-empty {
    text-align: center;
    color: var(--gray-400);
    padding: 60px 20px;
    font-size: 14px;
}

.cart-empty::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gray-100);
    border-radius: 50%;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.15s;
}

.cart-item:hover {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border-color: var(--primary-light);
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-info strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.cart-item-info span {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-weight: 800;
    font-size: 15px;
    color: var(--success);
    white-space: nowrap;
}

.btn-remove-item {
    background: var(--danger);
    color: var(--white);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-item:hover {
    background: var(--danger-light);
    transform: scale(1.1);
}

/* Cart Total */
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--gradient-dark);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    color: var(--white);
}

.cart-total span:first-child {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
}

#cart-total-amount {
    font-size: 28px;
    font-weight: 800;
}

/* Payments Section */
.payments-section {
    margin-bottom: 20px;
}

.payments-section h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-info {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--gray-500);
    background: var(--gray-50);
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    border: 1px dashed var(--gray-300);
}

.payments-list {
    margin-bottom: 12px;
}

.payment-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.payment-row select {
    width: 90px;
    font-weight: 600;
}

.payment-row input {
    flex: 1;
}

#payment-summary {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

#payment-summary > div {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

#change-row {
    color: var(--success);
    font-size: 18px;
    border-top: 2px solid #86efac;
    margin-top: 8px;
    padding-top: 12px;
}

#pending-row {
    color: var(--danger);
    font-weight: 700;
}

/* Cart Actions */
.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-actions .btn-success {
    padding: 18px;
    font-size: 16px;
}

/* Cash Status Float Indicator */
.cash-status-float {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    animation: pulse-gentle 3s ease-in-out infinite;
}

@keyframes pulse-gentle {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cash-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.cash-status-icon svg {
    width: 28px;
    height: 28px;
}

/* Estado Abierta - Verde */
.status-open .cash-status-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: 3px solid #d1fae5;
}

.status-open .cash-status-icon svg {
    animation: box-open 0.6s ease-in-out;
}

@keyframes box-open {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Estado Cerrada - Rojo */
.status-closed .cash-status-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: 3px solid #fecaca;
}

.status-closed {
    animation: shake 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

/* Tooltip */
.cash-status-tooltip {
    position: absolute;
    top: 0;
    right: 70px;
    background: white;
    border-radius: 10px;
    padding: 16px;
    min-width: 250px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

/* Mostrar tooltip cuando hover sobre el float o sobre el tooltip mismo */
.cash-status-float:hover .cash-status-tooltip,
.cash-status-tooltip:hover,
.cash-status-float.active .cash-status-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: all;
}

/* Expandir el área de hover para evitar que desaparezca */
.cash-status-float::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: calc(100% + 80px);
    height: 100%;
    pointer-events: auto;
}

/* Efecto al activar (clic) */
.cash-status-float.active .cash-status-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.cash-status-tooltip::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

.cash-status-tooltip strong {
    display: block;
    font-size: 15px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f3f4f6;
}

.status-open .cash-status-tooltip strong {
    color: #059669;
}

.status-closed .cash-status-tooltip strong {
    color: #dc2626;
}

.cash-status-tooltip span {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
}

.btn-tooltip {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-tooltip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-tooltip-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .cash-status-float {
        top: 70px;
        right: 15px;
    }

    .cash-status-icon {
        width: 48px;
        height: 48px;
    }

    .cash-status-icon svg {
        width: 24px;
        height: 24px;
    }

    .cash-status-tooltip {
        right: auto;
        left: 50%;
        top: 65px;
        transform: translateX(-50%) translateY(-10px);
        min-width: calc(100vw - 30px);
        max-width: 300px;
    }

    .cash-status-float:hover .cash-status-tooltip {
        transform: translateX(-50%) translateY(0);
    }

    .cash-status-tooltip::after {
        top: -8px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid white;
        border-top: none;
    }
}

/* Old styles - deprecated but kept for backwards compatibility */
.cash-info {
    display: none;
}

.cash-badge {
    display: none;
}

.cash-warning {
    display: none;
}

/* Products Disabled */
.products-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.products-disabled .package-btn {
    cursor: not-allowed;
}

/* Control Page */
.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.ticket-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    transition: all 0.2s;
}

.ticket-card:hover {
    box-shadow: var(--shadow-md);
}

.ticket-card.started {
    border-color: var(--warning);
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

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

.ticket-code {
    font-weight: 700;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: var(--gray-100);
    padding: 6px 12px;
    border-radius: 6px;
}

.ticket-body {
    margin-bottom: 20px;
}

.participant-info strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-800);
}

.ticket-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    font-size: 13px;
}

.remaining {
    color: var(--danger);
    font-weight: 700;
}

.ticket-times {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 8px;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 2px solid var(--gray-100);
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-800);
}

.modal-close {
    background: var(--gray-100);
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--gray-500);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-700);
}

.modal-content form {
    padding: 24px;
}

/* Utilities */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-muted {
    color: var(--gray-500);
}

.text-success {
    color: var(--success);
}

.text-warning {
    color: var(--warning);
}

.text-danger {
    color: var(--danger);
}

.text-primary {
    color: var(--primary);
}

.mt-3 {
    margin-top: 20px;
}

.mt-4 {
    margin-top: 30px;
}

.mb-3 {
    margin-bottom: 20px;
}

.inline {
    display: inline;
}

.inline-form {
    display: inline;
}

/* Row & Col */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.col-md-4 {
    flex: 0 0 calc(33.333% - 16px);
}

.col-md-8 {
    flex: 0 0 calc(66.666% - 16px);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expected-amount {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid #7dd3fc;
}

.active-row {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
}

.logout-form button {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-form button:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    /* En móvil, restaurar scroll normal de página */
    .main-content:has(.pos-container) {
        padding: 24px;
        height: auto;
        overflow: visible;
        min-height: calc(100vh - 64px);
    }

    .pos-container {
        height: auto;
    }

    .pos-layout {
        grid-template-columns: 1fr;
        height: auto;
    }

    .pos-products {
        min-height: 500px;
        height: auto;
    }

    .pos-cart {
        min-height: 400px;
        height: auto;
    }

    .col-md-4,
    .col-md-8 {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    /* ========== NAVBAR MOBILE ========== */
    body.menu-open {
        overflow: hidden;
    }

    .navbar {
        height: 60px;
        padding: 0 16px;
    }

    .navbar-brand {
        flex: 1;
    }

    .navbar-brand a {
        font-size: 16px;
    }

    .brand-logo {
        height: 28px;
        max-height: 28px;
    }

    .brand-text {
        font-size: 14px;
    }

    /* Ocultar menú desktop y usuario en móvil */
    .navbar-menu,
    .navbar-user {
        display: none !important;
    }

    /* ========== BOTÓN HAMBURGUESA ========== */
    .navbar-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .hamburger-line {
        width: 24px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .navbar-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .navbar-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ========== MENÚ MÓVIL (SIDEBAR) ========== */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.open {
        right: 0;
    }

    .mobile-menu-header {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 20px;
        background: var(--gradient-dark);
        color: white;
    }

    .mobile-user-avatar {
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    .mobile-user-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-user-name {
        font-weight: 600;
        font-size: 15px;
    }

    .mobile-user-role {
        font-size: 11px;
        opacity: 0.8;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-menu-close {
        background: rgba(255,255,255,0.2);
        border: none;
        color: white;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
    }

    /* Items del menú móvil */
    .mobile-menu-items {
        padding: 12px 0;
    }

    .mobile-menu-items > a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 20px;
        color: var(--gray-700);
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s;
    }

    .mobile-menu-items > a i {
        width: 24px;
        font-size: 18px;
        color: var(--gray-400);
        text-align: center;
    }

    .mobile-menu-items > a:hover,
    .mobile-menu-items > a.active {
        background: var(--gray-50);
        color: var(--primary);
    }

    .mobile-menu-items > a.active {
        border-left: 4px solid var(--primary);
        padding-left: 16px;
    }

    .mobile-menu-items > a:hover i,
    .mobile-menu-items > a.active i {
        color: var(--primary);
    }

    /* Dropdown en menú móvil */
    .mobile-dropdown {
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 20px;
        color: var(--gray-700);
        font-size: 15px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s;
    }

    .mobile-dropdown-toggle i:first-child {
        width: 24px;
        font-size: 18px;
        color: var(--gray-400);
        text-align: center;
    }

    .mobile-dropdown-toggle span {
        flex: 1;
    }

    .mobile-dropdown-toggle .arrow {
        font-size: 12px;
        color: var(--gray-400);
        transition: transform 0.3s;
    }

    .mobile-dropdown.open .mobile-dropdown-toggle .arrow {
        transform: rotate(180deg);
    }

    .mobile-dropdown-toggle:hover,
    .mobile-dropdown-toggle.active {
        background: var(--gray-50);
        color: var(--primary);
    }

    .mobile-dropdown-menu {
        display: none;
        background: var(--gray-50);
        padding: 8px 0;
    }

    .mobile-dropdown.open .mobile-dropdown-menu {
        display: block;
    }

    .mobile-dropdown-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 20px 12px 58px;
        font-size: 14px;
        color: var(--gray-600);
        transition: all 0.2s;
    }

    .mobile-dropdown-menu a i {
        width: 18px;
        font-size: 14px;
        color: var(--gray-400);
    }

    .mobile-dropdown-menu a:hover {
        background: var(--gray-100);
        color: var(--primary);
    }

    .mobile-dropdown-menu a:hover i {
        color: var(--primary);
    }

    /* Footer del menú móvil */
    .mobile-menu-footer {
        padding: 16px 20px;
        border-top: 1px solid var(--gray-200);
        margin-top: auto;
    }

    .btn-logout-mobile {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 14px 20px;
        background: var(--danger);
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s;
    }

    .btn-logout-mobile:hover {
        background: var(--danger-light);
    }

    /* Overlay */
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
    }

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

    /* ========== OTROS ESTILOS MOBILE ========== */
    .form-row {
        grid-template-columns: 1fr;
    }

    .attractions-grid,
    .snacks-grid {
        grid-template-columns: 1fr;
    }

    .customer-search {
        flex-wrap: wrap;
    }

    .customer-search .form-control {
        flex: 1 1 100%;
    }

    .payment-row {
        flex-wrap: wrap;
    }

    .payment-row select,
    .payment-row input {
        flex: 1 1 auto;
    }

    /* ========== TABLAS RESPONSIVE ========== */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        min-width: 600px;
    }

    .table th,
    .table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .table th {
        font-size: 11px;
    }

    /* ========== FORMULARIOS MOBILE ========== */
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .form-inline .form-group {
        width: 100%;
    }

    .form-inline .form-control {
        width: 100%;
    }

    .form-inline .btn {
        width: 100%;
        margin-top: 8px;
    }

    /* ========== PAGE HEADER MOBILE ========== */
    .page-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start !important;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .header-actions {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .header-actions .btn {
        flex: 1;
        min-width: 100px;
    }

    /* ========== STATS MOBILE ========== */
    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 10px;
    }

    /* ========== CARDS MOBILE ========== */
    .card {
        padding: 16px;
        border-radius: 12px;
    }

    .card h3 {
        font-size: 18px;
    }

    /* ========== TICKETS GRID MOBILE ========== */
    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ticket-card {
        padding: 16px;
    }

    /* ========== CONTAINER MOBILE ========== */
    .container {
        padding: 16px;
    }

    .main-content {
        padding: 16px;
    }

    /* ========== BOTONES MOBILE ========== */
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }

    .btn-sm {
        padding: 8px 12px;
        font-size: 12px;
    }

    .btn-block {
        width: 100%;
    }

    /* ========== MODAL MOBILE ========== */
    .modal-content {
        width: 95%;
        max-width: 95vw;
        margin: 20px auto;
        max-height: 90vh;
        overflow-y: auto;
    }

    /* ========== ALERTS MOBILE ========== */
    .alert {
        padding: 12px 16px;
        font-size: 14px;
    }

    .alert-floating {
        left: 16px;
        right: 16px;
        max-width: calc(100% - 32px);
    }

    /* ========== CURRENT TIME EN CONTROL ========== */
    .current-time {
        font-size: 14px;
    }

    /* ========== ADMIN TABLES ========== */
    .admin-table-actions {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .admin-table-actions .btn {
        width: 100%;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cart-actions,
    .pos-cart {
        display: none !important;
    }

    body {
        background: white;
    }

    .pos-layout {
        grid-template-columns: 1fr;
    }
}
