/* ============================================================
   FOODSITE — Panel de administración
   Rebranding 2026: paleta roja #C62828 / terracota #EF6C4D
   Fuente de verdad: lib/theme/{light,dark}_theme.dart (user app)
   Este archivo se carga AL FINAL de todo CSS del panel.
   ============================================================ */

:root {
    /* Paleta de marca (light theme user app) */
    --theameColor: #C62828;
    --primary-clr: #C62828;
    --primary-clr-dark: #A51F1F;
    --primary-soft-bg: #F3DAD2;      /* secondaryContainer */
    --primary-soft-text: #8E1C1C;    /* secondary */
    --primary-tertiary: #B3541E;
    --primary-tertiary-bg: #F6E0CF;
    --primary-surface: #F7F5F3;

    --bs-primary: #C62828;
    --bs-primary-rgb: 198, 40, 40;
    --bs-primary-dark: #A51F1F;

    --panel-sidebar-primary: #C62828;
    --sidebar: #2A1111;

    --bs-body-bg: var(--primary-surface);
    --bs-body-bg2: var(--primary-surface);
    --bs-body-bg-rgb: 247, 245, 243;
    --section-bg: var(--primary-surface);
    --section-bg1: #F2EEEA;
    --section-bg2: #F9F7F5;

    /* Lenguaje visual moderno: radios y sombras suaves */
    --bs-border-radius: 0.75rem;
    --bs-box-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --bs-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
    --bs-box-shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.15);

    /* Variables heredadas de la plantilla que la plantilla dejó en naranja/azul */
    --primary: #C62828;
    --base-clr: #C62828;

    /* Variables del template LANDING (registro restaurante/repartidor) */
    --base-1: #C62828;
    --base-rgb: 198, 40, 40;
    --color-primary: #C62828;
    --button-hover: #A51F1F;
}

/* ------------------------------------------------------------------
   Registro (landing) — nada de naranja #FB5607/#ff7207 del template
------------------------------------------------------------------- */
*[fill="#FB5607"],
*[fill="#ff7207"] {
    fill: #C62828 !important;
}

*[stroke="#FB5607"],
*[stroke="#ff7207"] {
    stroke: #C62828 !important;
}

*[stop-color="#FB5607"],
*[stop-color="#ff7207"] {
    stop-color: #C62828 !important;
}

/* ------------------------------------------------------------------
   Navegación — nada de azul heredado de la plantilla
------------------------------------------------------------------- */
.nav-item.active .nav-link {
    color: #C62828 !important;
}

.nav-pills:not(.nav-segment) .nav-link.active {
    background-color: #C62828 !important;
    color: #fff !important;
    box-shadow: 0 3px 10px rgba(198, 40, 40, 0.3);
}

.nav-pills:not(.nav-segment) .nav-link:hover {
    color: #C62828;
}

.nav-tabs .nav-link.active {
    color: #C62828 !important;
    border-color: #C62828 #C62828 #fff !important;
}

/* ------------------------------------------------------------------
   Checkboxes y radios — rojo de marca al marcar (antes naranja)
------------------------------------------------------------------- */
.form-check-input:checked,
.modal .form--check .form-check-input[type="radio"]:checked,
input[type="radio"]:checked {
    background-color: #C62828 !important;
    border-color: #C62828 !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(198, 40, 40, 0.35) !important;
}

.form--check .form-check-input[type="checkbox"]:checked,
input[type="checkbox"]:checked {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") #C62828 no-repeat center center/12px !important;
    border-color: #C62828 !important;
    box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(198, 40, 40, 0.35) !important;
}

/* ------------------------------------------------------------------
   Badges de información — rojo suave en vez de azul
------------------------------------------------------------------- */
.badge-soft-info,
.navbar-vertical-aside .badge-soft-info,
aside .badge-soft-info {
    background-color: var(--primary-soft-bg) !important;
    color: var(--primary-soft-text) !important;
    border: 0 !important;
}

/* TODOS los badges del sidebar: uniformes rojo suave de marca
   (el blade usa badge-soft-info/success/warning/... por estado) */
aside .badge,
.navbar-vertical-aside .badge {
    background-color: var(--primary-soft-bg) !important;
    color: var(--primary-soft-text) !important;
    border: 0 !important;
    font-weight: 600;
}

/* Logo del sidebar: chip blanco redondeado — el logo se ve nítido
   aunque el PNG traiga fondo blanco (sin oscurecerlo) */
aside .navbar-brand {
    background: #fff !important;
    border-radius: 12px !important;
    padding: 8px 14px !important;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 20px);
}

aside .navbar-brand-logo {
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

aside .navbar-brand-logo-mini {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.badge-soft-danger,
.badge-soft-success,
.badge-soft-warning {
    color: #fff !important;
}

/* ------------------------------------------------------------------
   Componentes residuales que la plantilla dejó en naranja
------------------------------------------------------------------- */
.slide-counter,
.review-rating-demo,
.nav-btn-prev,
.nav-btn-next,
.highlighted-keyword {
    background-color: #C62828 !important;
    color: #fff !important;
}

.generate-code {
    color: #C62828 !important;
}

/* Botones del date-range picker (drp) */
.drp-buttons .btn-primary {
    --bs-btn-bg: #C62828;
    --bs-btn-border-color: #C62828;
    --bs-btn-hover-bg: var(--primary-clr-dark);
    --bs-btn-hover-border-color: var(--primary-clr-dark);
    --bs-btn-active-bg: var(--primary-clr-dark);
    --bs-btn-active-border-color: var(--primary-clr-dark);
    --bs-btn-disabled-bg: rgba(198, 40, 40, 0.5);
    --bs-btn-disabled-border-color: transparent;
}

/* ------------------------------------------------------------------
   Pulido moderno — dropdowns, modales, transiciones
------------------------------------------------------------------- */
.btn,
.btn--primary {
    transition: all 0.2s ease !important;
}

.btn:active {
    transform: translateY(1px);
}

.dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.15);
    padding: 6px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: var(--primary-soft-bg) !important;
    color: var(--primary-soft-text) !important;
}

.modal-content {
    border-radius: 16px;
    border: 0;
    box-shadow: 0 24px 64px -16px rgba(0, 0, 0, 0.25);
}

.modal-header {
    border-bottom: 1px solid #F0ECEA;
}

.modal-footer {
    border-top: 1px solid #F0ECEA;
}

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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(198, 40, 40, 0.25);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(198, 40, 40, 0.45);
}

/* Enlaces del sidebar con indicador sutil de hover */
aside .nav-link {
    position: relative;
}

/* ------------------------------------------------------------------
   Sidebar — fondo oscuro cálido de marca + acentos rojos
------------------------------------------------------------------- */
.bg-334257,
.navbar-vertical-content,
.navbar-vertical-aside,
.navbar-vertical-container,
.navbar-brand-wrapper,
.sidebar--search-form,
.nav-sub {
    background: linear-gradient(180deg, #2A1111 0%, #381616 60%, #431A1A 100%) !important;
}

aside .nav-link,
aside .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.78) !important;
    border-radius: 10px;
    margin-inline: 8px;
    transition: all 0.2s ease;
}

aside .nav-link:hover {
    color: #fff !important;
    background: rgba(198, 40, 40, 0.25) !important;
}

/* Item activo del menú */
aside .navbar-vertical-aside-has-menu.active > .nav-link,
aside .navbar-vertical-aside-has-menu > .nav-link.active,
aside .navbar-nav .nav-link.active {
    background: linear-gradient(90deg, #C62828 0%, #D63A3A 100%) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.35) !important;
}

/* Submenús */
aside .navbar-vertical-aside-has-menu .nav-sub .nav-link {
    font-size: 0.8rem;
    padding-inline-start: 2.4rem !important;
}

aside .navbar-vertical-aside-has-menu .nav-sub .nav-link.active {
    background: rgba(198, 40, 40, 0.2) !important;
    color: #fff !important;
    font-weight: 600;
}

/* Iconos del sidebar */
aside .nav-icon {
    color: rgba(255, 255, 255, 0.6) !important;
}

aside .navbar-vertical-aside-has-menu.active .nav-icon,
aside .nav-link.active .nav-icon {
    color: #fff !important;
}

/* Subtítulos del sidebar */
aside .nav-subtitle {
    color: rgba(255, 255, 255, 0.4) !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding-inline-start: 16px;
}

/* ------------------------------------------------------------------
   Botones — rojo de marca
------------------------------------------------------------------- */
.btn-primary,
.btn--primary {
    background-color: #C62828 !important;
    border-color: #C62828 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.3) !important;
    border-radius: 10px;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:active {
    background-color: var(--primary-clr-dark) !important;
    border-color: var(--primary-clr-dark) !important;
    box-shadow: 0 6px 18px rgba(198, 40, 40, 0.4) !important;
}

.btn-primary:disabled,
.btn--primary[disabled] {
    background-color: rgba(198, 40, 40, 0.5) !important;
    border-color: transparent !important;
}

/* Login — vence al naranja heredado de .auth-wrapper .btn-primary:focus */
.auth-wrapper .btn-primary,
.auth-wrapper .btn-primary:hover,
.auth-wrapper .btn-primary:focus,
.auth-wrapper .btn-primary:active,
.auth-wrapper .btn-primary:not(:disabled):not(.disabled):active {
    background: #C62828 !important;
    border-color: #C62828 !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.3) !important;
    border-radius: 10px;
}

.auth-wrapper .sign-option-btn {
    color: #C62828 !important;
    border-color: #C62828 !important;
}

.btn-outline-primary,
.btn-outline--primary {
    color: #C62828 !important;
    border-color: #C62828 !important;
}

.btn-outline-primary:hover,
.btn-outline--primary:hover {
    background-color: #C62828 !important;
    color: #fff !important;
}

.btn--cancel {
    background: #E8EAED !important;
    color: #222324 !important;
}

.bg--primary {
    background-color: #C62828 !important;
}

/* ------------------------------------------------------------------
   Enlaces de marca y texto
------------------------------------------------------------------- */
.text--primary,
.text__primary,
.text-primary,
a.text-primary,
.text--primary-2 {
    color: #C62828 !important;
}

a:hover.text--primary,
a:hover.text__primary,
a:hover.text-primary {
    color: var(--primary-clr-dark) !important;
}

/* ------------------------------------------------------------------
   Tarjetas — radios y sombras modernos
------------------------------------------------------------------- */
.card {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.045);
    overflow: hidden;
}

.card-header {
    background: #fff;
    border-bottom: 1px solid #F0ECEA;
}

.card-header-title,
.card-title {
    font-weight: 600;
}

/* ------------------------------------------------------------------
   Tablas — cabeceras modernas
------------------------------------------------------------------- */
.table thead th {
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: #8E1C1C;
    background: #FBF9F8;
    border-bottom: 1px solid #F0ECEA !important;
    white-space: nowrap;
}

.table tbody tr:hover {
    background: #FBF9F8;
}

.table td,
.table th {
    border-top-color: #F4F1EF;
}

/* ------------------------------------------------------------------
   Formularios — inputs redondeados con foco de marca
------------------------------------------------------------------- */
.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    border-radius: 10px;
    border-color: #E3DEDA;
}

.form-control:focus {
    border-color: #C62828 !important;
    box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.15) !important;
}

/* ------------------------------------------------------------------
   Paginación
------------------------------------------------------------------- */
.page-item.active .page-link {
    background-color: #C62828 !important;
    border-color: #C62828 !important;
    box-shadow: 0 3px 10px rgba(198, 40, 40, 0.3);
}

.page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(198, 40, 40, 0.15);
}

/* ------------------------------------------------------------------
   Badges suaves de marca
------------------------------------------------------------------- */
.badge-soft-primary {
    background-color: var(--primary-soft-bg) !important;
    color: var(--primary-soft-text) !important;
}

/* ------------------------------------------------------------------
   Cabecera superior
------------------------------------------------------------------- */
.navbar-container {
    background: #fff;
    border-bottom: 1px solid #F0ECEA;
}

/* ------------------------------------------------------------------
   LOGIN — fondo degradado de marca (sin foto) + panel blanco moderno
------------------------------------------------------------------- */
.auth-bg {
    background:
        radial-gradient(1200px 600px at 85% -10%, rgba(198, 40, 40, 0.35), transparent 60%),
        radial-gradient(1000px 500px at -10% 110%, rgba(179, 84, 30, 0.25), transparent 55%),
        linear-gradient(135deg, #2A1111 0%, #4A1616 45%, #C62828 130%);
    background-attachment: fixed;
}

.auth-content {
    background: transparent !important;
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.auth-content .content .title {
    color: #fff;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.auth-content .content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.auth-wrapper {
    box-shadow: -30px 0 80px rgba(0, 0, 0, 0.35);
}

.auth-wrapper .auth-logo {
    height: 64px;
}

.signin-txt {
    font-weight: 700;
}

/* ============================================================
   FOODSITE — Registro restaurante / repartidor (landing)
   Solo estética: pulido senior sin tocar HTML/JS.
   Scoped a .landing-inline-1 para no afectar el admin.
   ============================================================ */

/* --- Lienzo: fondo cálido sutil en vez de blanco plano --- */
section.landing-inline-1.section-gap {
    background:
        radial-gradient(900px 320px at 50% -80px, rgba(198, 40, 40, 0.07), transparent 65%),
        linear-gradient(180deg, #FBF9F8 0%, #F7F5F3 100%);
    border-top: 1px solid #F0ECEA;
    border-bottom: 1px solid #F0ECEA;
    padding-top: 48px;
}

/* Reduce el aire gigante que deja el template (sin tocar el HTML) */
div.h-148px {
    height: 64px;
}

/* --- Cabecera + stepper moderno --- */
.landing-inline-1 .step__header {
    max-width: 760px;
    margin: 0 auto 30px;
}
.landing-inline-1 .step__header .title {
    font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1c1917;
    margin-bottom: 6px;
    text-transform: none;
}
/* Subtítulo de apoyo (usa el propio flujo sin HTML extra) */
.landing-inline-1 .step__header .title::after {
    content: "Completa la información de tu negocio. Revisamos tu solicitud en menos de 24 horas.";
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #78716c;
    margin-top: 8px;
}

.landing-inline-1 .step__wrapper {
    max-width: 620px;
    margin: 26px auto 0;
    background: #fff;
    border: 1px solid #F0ECEA;
    border-radius: 999px;
    padding: 8px 10px;
    box-shadow: 0 2px 12px rgba(28, 25, 23, 0.06);
    gap: 4px;
    justify-content: center;
    width: fit-content;
    min-width: min(620px, 100%);
}
.landing-inline-1 .step__wrapper .step__item {
    flex: 0 1 auto;
    width: auto !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #a8a29e;
    padding: 8px 12px;
    border-radius: 999px;
    white-space: nowrap;
}
.landing-inline-1 .step__wrapper .step__item::before {
    display: none !important;
}
.landing-inline-1 .step__wrapper .step__item .shapes {
    margin: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border: 2px solid #e7e5e4;
    background: #f5f5f4;
}
.landing-inline-1 .step__wrapper .step__item .shapes::before {
    width: 8px;
    height: 8px;
    background: #d6d3d1;
}
/* Paso actual: píldora de marca */
.landing-inline-1 .step__wrapper .step__item.current,
.landing-inline-1 .step__wrapper .step__item.active {
    background: #C62828;
    color: #fff;
    box-shadow: 0 4px 14px rgba(198, 40, 40, 0.35);
}
.landing-inline-1 .step__wrapper .step__item.current .shapes,
.landing-inline-1 .step__wrapper .step__item.active .shapes {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
}
.landing-inline-1 .step__wrapper .step__item.current .shapes::before,
.landing-inline-1 .step__wrapper .step__item.active .shapes::before {
    background: #fff;
}

/* --- Tarjetas de sección --- */
.landing-inline-1 #reg-form-div .card.__card {
    border: 1px solid #F0ECEA;
    border-radius: 20px;
    box-shadow: 0 12px 40px -12px rgba(28, 25, 23, 0.14);
    overflow: hidden;
}
.landing-inline-1 #reg-form-div .card.__card > .card-header {
    background: linear-gradient(180deg, #fff 0%, #FDFBFA 100%);
    border-bottom: 1px solid #F0ECEA;
    padding: 18px 28px;
}
.landing-inline-1 #reg-form-div .card.__card > .card-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #1c1917;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.landing-inline-1 #reg-form-div .card.__card > .card-header h3::before {
    content: "";
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, #C62828, #EF6C4D);
    display: inline-block;
}
.landing-inline-1 #reg-form-div .card.__card > .card-body {
    padding: 26px 28px 30px;
}

/* Sub-tarjetas internas */
.landing-inline-1 #reg-form-div .card.card-body {
    border: 1px solid #F0ECEA;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
}
.landing-inline-1 #reg-form-div .card.card-body h4 {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #292524;
    text-transform: none !important;
    padding-bottom: 12px;
    margin-bottom: 18px !important;
    border-bottom: 1px dashed #E7E5E4;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Pestañas de idioma: pills reales --- */
.landing-inline-1 .nav-tabs {
    border: 0;
    gap: 8px;
    background: #F5F5F4;
    border-radius: 12px;
    padding: 5px;
    display: inline-flex;
    flex-wrap: wrap;
}
.landing-inline-1 .nav-tabs .nav-item {
    margin: 0;
}
.landing-inline-1 .nav-tabs .nav-link.lang_link {
    border: 0 !important;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #78716c;
    padding: 7px 14px;
}
.landing-inline-1 .nav-tabs .nav-link.lang_link:hover {
    color: #44403c;
}
.landing-inline-1 .nav-tabs .nav-link.lang_link.active {
    background: #fff !important;
    color: #C62828 !important;
    border-color: transparent !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* --- Formularios --- */
.landing-inline-1 .form-label,
.landing-inline-1 .input-label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #44403c;
    text-transform: none;
    margin-bottom: 7px;
}
.landing-inline-1 .form-label small.text-danger,
.landing-inline-1 .input-label small.text-danger {
    font-weight: 700;
}
.landing-inline-1 input.form-control,
.landing-inline-1 select.form-control,
.landing-inline-1 textarea.form-control {
    min-height: 44px;
    border: 1.5px solid #E7E5E4;
    border-radius: 12px;
    font-size: 14px;
    padding: 10px 14px;
    background: #fff;
    color: #1c1917;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.landing-inline-1 select.form-control {
    height: 44px;
}
.landing-inline-1 input.form-control::placeholder,
.landing-inline-1 textarea.form-control::placeholder {
    color: #a8a29e;
}
.landing-inline-1 input.form-control:hover,
.landing-inline-1 select.form-control:hover,
.landing-inline-1 textarea.form-control:hover {
    border-color: #d6d3d1;
}
.landing-inline-1 input.form-control:focus,
.landing-inline-1 select.form-control:focus,
.landing-inline-1 textarea.form-control:focus {
    border-color: #C62828 !important;
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
    outline: none;
}
.landing-inline-1 .form-group {
    margin-bottom: 4px;
}

/* Zona de mapa */
.landing-inline-1 #map {
    border: 1.5px solid #E7E5E4;
    border-radius: 14px !important;
    min-height: 240px;
}
.landing-inline-1 #pac-input {
    border: 1.5px solid #E7E5E4;
    border-radius: 12px !important;
    min-height: 42px;
    padding: 8px 14px;
    font-size: 13.5px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.landing-inline-1 .laglng-controller {
    border: 1px solid #F0ECEA;
    border-radius: 12px;
    padding: 8px 14px;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Previews portada / logo */
.landing-inline-1 img.landing-initial-1 {
    border: 1.5px solid #E7E5E4;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.landing-inline-1 img.landing-initial-1.ratio-2-1 {
    aspect-ratio: 2 / 1;
    width: 100%;
}
.landing-inline-1 img.landing-initial-1.ratio-1 {
    aspect-ratio: 1 / 1;
    width: auto;
    max-width: 240px;
    margin: 0 auto;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

/* Input file premium */
.landing-inline-1 .landing-input-file-grp .custom-file {
    height: 46px;
    border: 1.5px dashed #d6d3d1;
    border-radius: 12px;
    background: #FAFAF9;
    transition: border-color 0.18s ease, background 0.18s ease;
}
.landing-inline-1 .landing-input-file-grp .custom-file:hover {
    border-color: #C62828;
    background: #FFF7F6;
}
.landing-inline-1 .landing-input-file-grp .custom-file::before {
    background: #C62828 !important;
    color: #fff !important;
    font-weight: 600;
    border: 0;
    border-radius: 10px 0 0 10px;
}

/* Bloques de ayuda / alertas */
.landing-inline-1 .alert,
.landing-inline-1 .bg-light.rounded {
    border-radius: 14px !important;
}
.landing-inline-1 .bg-light {
    background: #FAFAF9 !important;
    border: 1px solid #F0ECEA;
}

/* --- Botones: jerarquía real --- */
.landing-inline-1 .btn--primary,
.landing-inline-1 .btn--reset,
.landing-inline-1 #back-to-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.25;
    min-height: 48px;
}
.landing-inline-1 #reg-form-div > .card > .card-body > .text-end:last-child,
.landing-inline-1 #business-plan-div .text-end {
    gap: 12px !important;
}
.landing-inline-1 .btn--primary {
    background: linear-gradient(180deg, #D63A3A 0%, #C62828 100%) !important;
    border: 1px solid #A51F1F !important;
    border-radius: 12px !important;
    padding: 12px 34px !important;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.35) !important;
}
.landing-inline-1 .btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(198, 40, 40, 0.42) !important;
}
.landing-inline-1 .btn--primary:active {
    transform: translateY(0);
}
.landing-inline-1 .btn--reset,
.landing-inline-1 #back-to-form {
    background: #fff !important;
    border: 1.5px solid #E7E5E4 !important;
    color: #57534e !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-size: 14px;
    font-weight: 600;
}
.landing-inline-1 .btn--reset:hover,
.landing-inline-1 #back-to-form:hover {
    border-color: #d6d3d1 !important;
    background: #F5F5F4 !important;
}

/* Barra de acciones final: pegada y elevada */
.landing-inline-1 #reg-form-div > .card > .card-body > .text-end:last-child {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-top: 1px solid #F0ECEA;
    margin: 26px -28px -30px;
    padding: 16px 28px !important;
    border-radius: 0 0 20px 20px;
}

/* Planes de negocio */
.landing-inline-1 .plan-check-item-inner {
    border-radius: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.landing-inline-1 .plan-check-item input:checked + .plan-check-item-inner {
    box-shadow: 0 10px 30px -8px rgba(198, 40, 40, 0.4);
}

/* --- Responsive --- */
@media (max-width: 767px) {
    div.h-148px {
        height: 28px;
    }
    section.landing-inline-1.section-gap {
        padding-top: 32px;
    }
    .landing-inline-1 .step__wrapper {
        border-radius: 18px;
        flex-wrap: wrap;
    }
    .landing-inline-1 .step__wrapper .step__item {
        font-size: 11.5px;
        padding: 7px 10px;
    }
    .landing-inline-1 #reg-form-div .card.__card > .card-body {
        padding: 20px 16px 24px;
    }
    .landing-inline-1 #reg-form-div .card.__card > .card-header {
        padding: 16px;
    }
    .landing-inline-1 #reg-form-div > .card > .card-body > .text-end:last-child {
        margin: 20px -16px -24px;
        padding: 14px 16px !important;
    }
    .landing-inline-1 #reg-form-div > .card > .card-body > .text-end:last-child .btn {
        flex: 1;
    }
}

/* ------------------------------------------------------------------
   Responsive — retoques en móvil
------------------------------------------------------------------- */
@media (max-width: 575px) {
    .auth-wrapper {
        width: 100%;
        max-width: 100%;
        box-shadow: 0 -24px 60px rgba(0, 0, 0, 0.22);
    }
}
