@import '_content/EmausResort.Cliente.Compartido/EmausResort.Cliente.Compartido.hamxsozn2g.bundle.scp.css';

/* /Pages/Inicio.razor.rz.scp.css */
/*
   Estilos que en Views/Home/Index.cshtml y home.js estaban inline.
   El resto de la página usa css/paginas/home.css (copia sin cambios de Web.Gestion).
*/

/* style="max-width:280px;" del selector de negocio */
.selector-negocio[b-irk38amsa0] {
    max-width: 280px;
}

/* style="background-color: @mesa.ColorEstadoHex" (color de config.Estado_Mesa) */
.mesa-badge[b-irk38amsa0] {
    background-color: var(--color-estado);
}

/* style="background-color: est.ColorHex" que armaba home.js en las opciones de estado */
.estado-color-dot[b-irk38amsa0] {
    background-color: var(--color-estado);
}
/* /Pages/Login.razor.rz.scp.css */
/* Portado sin cambios del bloque <style> de EmausResort.Web.Gestion/Views/Auth/Login.cshtml. */
/* ──────────── Variables ──────────── */
/* En el MVC eran :root y body; en CSS aislado de Blazor :root no aplica, así
   que las variables y los estilos de body van en el contenedor de la página. */
.login-pagina[b-p4dkk2hol3] {
    --primary:   #1a3a7a;
    --accent:    #2b5ece;
    --bg-left:   #0d1b3e;
    --radius:    12px;
    font-family: 'DM Sans', sans-serif;
    background: #f0f4fb;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

/* ──────────── Layout dos paneles ──────────── */
.login-wrapper[b-p4dkk2hol3] {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Panel izquierdo — Branding */
.panel-left[b-p4dkk2hol3] {
    flex: 0 0 42%;
    background: var(--bg-left);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Círculo decorativo de fondo */
.panel-left[b-p4dkk2hol3]::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(43, 94, 206, 0.12);
    top: -80px;
    right: -100px;
}
.panel-left[b-p4dkk2hol3]::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(43, 94, 206, 0.08);
    bottom: -60px;
    left: -60px;
}

/* Contenedor blanco que enmarca el logo sobre el fondo oscuro */
.panel-left .brand-logo-container[b-p4dkk2hol3] {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
}

.panel-left .brand-logo[b-p4dkk2hol3] {
    width: 80px;
    height: auto;
    display: block;
}

.panel-left .brand-title[b-p4dkk2hol3] {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.panel-left .brand-subtitle[b-p4dkk2hol3] {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.panel-left .badge-interno[b-p4dkk2hol3] {
    background: rgba(43, 94, 206, 0.25);
    border: 1px solid rgba(43, 94, 206, 0.5);
    color: #a8c4ff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

/* Panel derecho — Formulario */
.panel-right[b-p4dkk2hol3] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.login-card[b-p4dkk2hol3] {
    width: 100%;
    max-width: 420px;
}

/* Badge "Acceso interno" sobre el título */
.badge-acceso[b-p4dkk2hol3] {
    background: #eaf0fd;
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.login-title[b-p4dkk2hol3] {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.login-desc[b-p4dkk2hol3] {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

/* Inputs con ícono */
.input-icon-wrapper[b-p4dkk2hol3] {
    position: relative;
    margin-bottom: 1rem;
}

.input-icon-wrapper .bi-prefix[b-p4dkk2hol3] {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

.input-icon-wrapper[b-p4dkk2hol3]  .form-control {
    padding-left: 2.4rem;
    border-radius: var(--radius);
    border: 1.5px solid #d1d5db;
    font-size: 0.9rem;
    height: 48px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-icon-wrapper[b-p4dkk2hol3]  .form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(43, 94, 206, 0.12);
    outline: none;
}

/* Toggle mostrar/ocultar clave */
.toggle-pwd[b-p4dkk2hol3] {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9ca3af;
    font-size: 1rem;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}
.toggle-pwd:hover[b-p4dkk2hol3] { color: var(--accent); }

/* Botón principal */
.btn-login[b-p4dkk2hol3] {
    width: 100%;
    height: 48px;
    border-radius: var(--radius);
    border: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s, transform 0.15s;
    cursor: pointer;
    margin-top: 0.5rem;
}

.btn-login:hover:not(:disabled)[b-p4dkk2hol3] { opacity: 0.92; transform: translateY(-1px); }
.btn-login:disabled[b-p4dkk2hol3]             { opacity: 0.7; cursor: not-allowed; }

/* Alerta de error con animación shake */
.alert-error[b-p4dkk2hol3] {
    border-radius: var(--radius);
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

@keyframes shake-b-p4dkk2hol3 {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-6px); }
    40%       { transform: translateX(6px); }
    60%       { transform: translateX(-4px); }
    80%       { transform: translateX(4px); }
}
.shake[b-p4dkk2hol3] { animation: shake-b-p4dkk2hol3 0.4s ease; }

/* Logo móvil (solo visible en pantallas pequeñas) */
.logo-mobile[b-p4dkk2hol3] {
    display: none;
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-mobile img[b-p4dkk2hol3] {
    width: 72px;
    margin-bottom: 0.5rem;
}

.logo-mobile .brand-name[b-p4dkk2hol3] {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* ──────────── Responsive ──────────── */
@media (max-width: 768px) {
    .panel-left[b-p4dkk2hol3]  { display: none; }
    .panel-right[b-p4dkk2hol3] { padding: 2rem 1.25rem; align-items: flex-start; padding-top: 3rem; }
    .logo-mobile[b-p4dkk2hol3] { display: block; }
}

/* Antes style="padding-right: 2.8rem;" en el input de clave. */
.input-icon-wrapper[b-p4dkk2hol3]  .input-clave {
    padding-right: 2.8rem;
}

/* Antes style="font-size:0.75rem;" y style="color:var(--accent);" en el pie. */
.login-ayuda[b-p4dkk2hol3] {
    font-size: 0.75rem;
}

.login-ayuda a[b-p4dkk2hol3] {
    color: var(--accent);
}
/* /Pages/Mantenimiento.razor.rz.scp.css */
/* Misma estructura y paleta que Login.razor.css (dos paneles), para que la página de
   mantenimiento se vea parte del portal. En CSS aislado :root no aplica, así que las
   variables van en el contenedor de la página. */
.mantenimiento-pagina[b-8cvzmsy43a] {
    --primary:   #1a3a7a;
    --accent:    #2b5ece;
    --bg-left:   #0d1b3e;
    --radius:    12px;
    font-family: 'DM Sans', sans-serif;
    background: #f0f4fb;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
}

.mantenimiento-wrapper[b-8cvzmsy43a] {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Panel izquierdo — Branding */
.panel-left[b-8cvzmsy43a] {
    flex: 0 0 42%;
    background: var(--bg-left);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
}

.panel-left[b-8cvzmsy43a]::before {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(43, 94, 206, 0.12);
    top: -80px;
    right: -100px;
}

.panel-left[b-8cvzmsy43a]::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(43, 94, 206, 0.08);
    bottom: -60px;
    left: -60px;
}

.panel-left .brand-logo-container[b-8cvzmsy43a] {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.20);
}

.panel-left .brand-logo[b-8cvzmsy43a] {
    width: 80px;
    height: auto;
    display: block;
}

.panel-left .brand-title[b-8cvzmsy43a] {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    line-height: 1.2;
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.panel-left .brand-subtitle[b-8cvzmsy43a] {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.panel-left .badge-interno[b-8cvzmsy43a] {
    background: rgba(43, 94, 206, 0.25);
    border: 1px solid rgba(43, 94, 206, 0.5);
    color: #a8c4ff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
}

/* Panel derecho — Aviso */
.panel-right[b-8cvzmsy43a] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.mantenimiento-card[b-8cvzmsy43a] {
    width: 100%;
    max-width: 440px;
}

.mantenimiento-icono[b-8cvzmsy43a] {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eaf0fd;
    color: var(--accent);
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* Etiqueta con punto pulsante (texto de Mantenimiento__Gestion__Etiqueta) */
.badge-estado[b-8cvzmsy43a] {
    background: #fff7e6;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 0.3rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.pulso[b-8cvzmsy43a] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f59e0b;
    animation: pulso-b-8cvzmsy43a 1.6s ease-in-out infinite;
}

@keyframes pulso-b-8cvzmsy43a {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.75); }
}

.mantenimiento-titulo[b-8cvzmsy43a] {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.mantenimiento-desc[b-8cvzmsy43a] {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Botón principal (mismo estilo que .btn-login) */
.btn-reintentar[b-8cvzmsy43a] {
    width: 100%;
    height: 48px;
    border-radius: var(--radius);
    border: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: opacity 0.2s, transform 0.15s;
    cursor: pointer;
}

.btn-reintentar:hover:not(:disabled)[b-8cvzmsy43a] { opacity: 0.92; transform: translateY(-1px); }
.btn-reintentar:disabled[b-8cvzmsy43a]             { opacity: 0.7; cursor: not-allowed; }

.mantenimiento-ayuda[b-8cvzmsy43a] {
    font-size: 0.75rem;
}

.mantenimiento-ayuda a[b-8cvzmsy43a] {
    color: var(--accent);
}

/* Logo móvil (solo visible en pantallas pequeñas) */
.logo-mobile[b-8cvzmsy43a] {
    display: none;
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo-mobile img[b-8cvzmsy43a] {
    width: 72px;
    margin-bottom: 0.5rem;
}

.logo-mobile .brand-name[b-8cvzmsy43a] {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .panel-left[b-8cvzmsy43a]  { display: none; }
    .panel-right[b-8cvzmsy43a] { padding: 2rem 1.25rem; align-items: flex-start; padding-top: 3rem; }
    .logo-mobile[b-8cvzmsy43a] { display: block; }
    .mantenimiento-icono[b-8cvzmsy43a] { margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .pulso[b-8cvzmsy43a] { animation: none; }
}
/* /Pages/Personas/Personas.razor.rz.scp.css */
/*
   Estilos que en Views/Persona/Index.cshtml estaban inline.
   El resto de la página usa css/paginas/negocios.css (copia sin cambios de Web.Gestion),
   igual que el MVC.
*/

/* style="cursor:pointer; font-size:.8rem" de los badges de la columna Usuarios */
.badge-usuarios[b-km9v37zz2l] {
    cursor: pointer;
    font-size: .8rem;
}
