/* Utilidades usadas en Blade (sin depender de Tailwind) */

.hidden { display: none !important; }

.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.grid { display: grid; }

.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.self-start { align-self: flex-start; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-100 { z-index: 100; }

.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.w-16 { width: 4rem; }
.h-2 { height: 0.5rem; }
.h-16 { height: 4rem; }
.min-h-screen { min-height: 100vh; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-5 { padding-top: 1.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-7 { margin-top: 1.75rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.relative { position: relative; }
.z-10 { z-index: 10; }

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.05em; }
.tracking-tight { letter-spacing: -0.025em; }
.leading-6 { line-height: 1.5rem; }
.leading-relaxed { line-height: 1.625; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.break-words { overflow-wrap: break-word; word-break: break-word; }
.whitespace-nowrap { white-space: nowrap; }

.list-decimal { list-style-type: decimal; }
.list-inside { list-style-position: inside; }

.text-white { color: #fff; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-emerald-800 { color: #065f46; }

.bg-slate-50 { background-color: #f8fafc; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-orange-100 { background-color: #ffedd5; }
.text-orange-900 { color: #7c2d12; }
.bg-orange-500 { background-color: #f97316; }
.bg-slate-100 { background-color: #f1f5f9; }
.text-slate-700 { color: #334155; }
.border-orange-200 { border-color: #fed7aa; }
.bg-slate-400 { background-color: #94a3b8; }

.border { border: 1px solid #e2e8f0; }
.border-t { border-top: 1px solid #e2e8f0; }
.border-red-200 { border-color: #fecaca; }
.border-emerald-200 { border-color: #a7f3d0; }
.bg-red-50 { background-color: #fef2f2; }
.rounded-md { border-radius: 0.375rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.mb-3 { margin-bottom: 0.75rem; }
.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.inline { display: inline; }
.border-slate-200 { border-color: #e2e8f0; }
.border-dashed { border-style: dashed; }
.border-slate-300 { border-color: #cbd5e1; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }

.divide-y > * + * { border-top: 1px solid #e2e8f0; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }
.max-h-80 { max-height: 20rem; }

.object-contain { object-fit: contain; }

.px-2\.5 { padding-left: 0.625rem; padding-right: 0.625rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }

.mg-table-wide { min-width: 42rem; }

/* Imágenes controladas */
.mogunet-ui main img:not(.mg-img-logo-sm):not(.mg-img-logo-md):not(.mg-img-logo-hero):not(.mg-img-robot) {
    max-width: 100%;
    height: auto;
}

.mg-img-logo-sm { width: auto; height: 2.25rem; max-height: 2.25rem; }
.mg-img-logo-md { width: auto; height: 3rem; max-height: 3rem; margin-inline: auto; }
.mg-img-logo-hero { width: min(10rem, 42vw); height: auto; margin-inline: auto; display: block; }
.mg-img-robot { width: min(11rem, 50vw); height: auto; display: block; }

.mg-hero-robot-wrap { margin-top: 2rem; text-align: center; }
@media (min-width: 1024px) {
    .mg-hero-robot-wrap { text-align: left; }
}

.mg-ring img.mg-img-logo-hero { width: min(9rem, 38vw); }

@media (min-width: 640px) {
    .sm\:flex-row { flex-direction: row; }
    .sm\:items-end { align-items: flex-end; }
    .sm\:justify-between { justify-content: space-between; }
    .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sm\:p-7 { padding: 1.75rem; }
    .sm\:p-8 { padding: 2rem; }
    .sm\:w-auto { width: auto; }
    .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
    .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:flex-row { flex-direction: row; }
    .md\:p-8 { padding: 2rem; }
    .md\:p-10 { padding: 2.5rem; }
    .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
    .md\:w-auto { width: auto; }
    .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
}

@media (min-width: 1024px) {
    .lg\:col-span-1 { grid-column: span 1 / span 1; }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.mg-btn[disabled],
.btn-xmas[disabled] { opacity: 0.4; cursor: not-allowed; }

#rifa-overlay.rifa-overlay { display: none; }
#rifa-overlay.rifa-overlay.is-active { display: flex; }

.rifa-overlay {
    display: none;
    align-items: center;
    justify-content: center;
}

.z-\[100\] { z-index: 100; }

.text-slate-400 { color: #94a3b8; }
.text-red-300 { color: #fca5a5; }

button.disabled\:opacity-40:disabled,
.btn-xmas.disabled\:opacity-40:disabled { opacity: 0.4; }