/* ARCA One Admin Design System & Theme Engine */

.tab-btn.active {
    background: linear-gradient(135deg, rgba(139, 197, 63, 0.15) 0%, rgba(139, 197, 63, 0.05) 100%);
    border: 1px solid rgba(139, 197, 63, 0.3);
    color: #8bc53f !important;
}

.tab-btn.active i {
    color: #8bc53f !important;
}

/* Custom transitions for form inputs */
input, textarea, select, button, div {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
    border-color: #8bc53f !important;
    box-shadow: 0 0 0 1px #8bc53f !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #08090a;
}
::-webkit-scrollbar-thumb {
    background: #262930;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3f4450;
}

/* ========================================================================= */
/* DÍA / NOCHE (LIGHT MODE ENGINE) */
/* ========================================================================= */
html.light body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

html.light header {
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-color: #e2e8f0 !important;
}

html.light .bg-\[\#08090a\],
html.light .bg-\[\#08090a\]\/95 {
    background-color: #f8fafc !important;
}

html.light .bg-\[\#121417\],
html.light .bg-\[\#121417\]\/95,
html.light .bg-\[\#121417\]\/60 {
    background-color: #ffffff !important;
}

html.light .bg-\[\#1a1d22\],
html.light .bg-\[\#1a1d22\]\/95,
html.light .bg-\[\#1a1d22\]\/90,
html.light .bg-\[\#1a1d22\]\/80,
html.light .bg-\[\#1a1d22\]\/60,
html.light .bg-\[\#1a1d22\]\/50,
html.light .bg-\[\#1a1d22\]\/40,
html.light .bg-\[\#1a1d22\]\/70,
html.light .bg-\[\#16191f\],
html.light .bg-\[\#16191f\]\/60,
html.light .bg-\[\#1a1d22\]\/20,
html.light .bg-\[\#1a1d22\]\/10 {
    background-color: #f8fafc !important;
}

html.light .bg-\[\#262930\],
html.light .bg-\[\#262930\]\/80,
html.light .bg-\[\#262930\]\/50 {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
}

html.light .hover\:bg-\[\#262930\]:hover,
html.light .hover\:bg-\[\#32363f\]:hover {
    background-color: #cbd5e1 !important;
}

/* Tarjetas y Acordeones Gastronómicos en Modo Claro */
html.light .gastro-module-card,
html.light .gastro-dish-card,
html.light .gastro-pricing-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important;
}

html.light .gastro-pricing-card input,
html.light .gastro-pricing-card select {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light .gastro-card-body {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

html.light .gastro-card-body input,
html.light .gastro-card-body textarea,
html.light .gastro-card-body select {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light .gastro-card-body input:focus,
html.light .gastro-card-body textarea:focus,
html.light .gastro-card-body select:focus {
    border-color: #8bc53f !important;
    box-shadow: 0 0 0 1px #8bc53f !important;
}

html.light .gastro-card-body label {
    color: #334155 !important;
}

html.light .gastro-upload-btn {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
}

html.light .gastro-upload-btn:hover {
    background-color: #cbd5e1 !important;
}

html.light .gastro-delete-btn {
    background-color: #fff1f2 !important;
    color: #e11d48 !important;
    border-color: #fecdd3 !important;
}

html.light .gastro-delete-btn:hover {
    background-color: #e11d48 !important;
    color: #ffffff !important;
}

html.light .bg-\[\#16191e\] {
    background-color: #f8fafc !important;
}

html.light .border-\[\#262930\] {
    border-color: #e2e8f0 !important;
}

html.light .divide-\[\#262930\] > :not([hidden]) ~ :not([hidden]) {
    border-color: #e2e8f0 !important;
}

html.light .text-white {
    color: #0f172a !important;
}

html.light .text-gray-200,
html.light .text-gray-300 {
    color: #334155 !important;
}

html.light .text-gray-400 {
    color: #64748b !important;
}

html.light .text-gray-500 {
    color: #94a3b8 !important;
}

html.light input,
html.light textarea,
html.light select {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light input::placeholder,
html.light textarea::placeholder {
    color: #94a3b8 !important;
}

html.light input[type="color"] {
    background-color: transparent !important;
}

html.light ::-webkit-scrollbar-track {
    background: #f1f5f9;
}
html.light ::-webkit-scrollbar-thumb {
    background: #cbd5e1;
}

/* Active Nav Button */
.module-nav-btn.active {
    background-color: #8bc53f !important;
    color: #08090a !important;
    font-weight: 700 !important;
}

/* Gastro Pricing Card Styles */
.gastro-pricing-card {
    transition: all 0.2s ease-in-out;
}

html.light .gastro-pricing-card {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
}

html.light .gastro-pricing-card input[type="text"],
html.light .gastro-pricing-card input[type="number"] {
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

html.light .gastro-pricing-card input[type="text"]:focus,
html.light .gastro-pricing-card input[type="number"]:focus {
    border-color: #8bc53f !important;
    background-color: #ffffff !important;
}

html.light .gastro-pricing-card .plan-module-item {
    color: #334155;
}

html.light .gastro-pricing-card .plan-module-item:hover {
    background-color: #f1f5f9;
}

