/* ===========================================
   DISEÑO SIMPLE Y CÓMODO PARA SOPORTE
   =========================================== */

/* Contenedor Principal */
.contenedor-principal-empresa {
    padding: 20px;
    background-color: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    overflow-y: hidden;
    max-height: 90vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===========================================
   FILTROS SIMPLES
   =========================================== */

.filtros-simples {
    background: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    padding: 20px 24px;
    margin-bottom: 5px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* ===========================================
   LAYOUT PRINCIPAL
   =========================================== */

.seccion-inferior-empresa {
    display: flex;
    gap: 20px;
    background: transparent;
    height: calc(100vh - 0px);
}

.columnaempresa-40 {
    flex: 0 0 40%;
    background-color: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    border-radius: 8px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: none;
    box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    width: 100%;
    min-height: 400px;
    max-height: 87vh;
}

.columnaempresa-60 {
    flex: 60%;
    background: var(--neutral-layer-1);
    color: var(--neutral-foreground-rest);
    border-radius: 8px;
    padding: 16px;
    overflow-y: auto;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    min-height: 400px;
    max-height: 87vh;
}

.grillasForm {
    height: 400px;
    overflow-y: scroll;
}


/* ===========================================
   SCROLLBARS CON COLORES DEL SISTEMA
   =========================================== */
.grillasForm::-webkit-scrollbar,
.columnaempresa-40::-webkit-scrollbar,
.columnaempresa-60::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.grillasForm::-webkit-scrollbar-track,
.columnaempresa-40::-webkit-scrollbar-track,
.columnaempresa-60::-webkit-scrollbar-track {
    background: var(--neutral-layer-2);
    border-radius: 6px;
}

.grillasForm::-webkit-scrollbar-thumb,
.columnaempresa-40::-webkit-scrollbar-thumb,
.columnaempresa-60::-webkit-scrollbar-thumb {
    background: var(--accent-fill-rest);
    border-radius: 6px;
    transition: background 0.2s ease;
}

    .grillasForm::-webkit-scrollbar-thumb:hover,
    .columnaempresa-40::-webkit-scrollbar-thumb:hover,
    .columnaempresa-60::-webkit-scrollbar-thumb:hover {
        background: var(--accent-fill-hover);
    }


/* ==========================
   Estilos personalizados
   ========================== */

/* Contenedor centrado en pantalla */
.centered-container {
    min-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: hidden;
    overflow-x: hidden; /* Bootstrap's light background */
    background: var(--neutral-layer-2);
    background-image: linear-gradient( 135deg, color-mix(in srgb, var(--neutral-layer-2) 90%, var(--accent-fill-rest) 10%), color-mix(in srgb, var(--neutral-layer-2) 90%, var(--accent-fill-hover) 10%) );
}

.login-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 800px;
    height: 420px;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 15px -5px color-mix(in srgb, var(--accent-fill-rest) 30%, transparent), 0 4px 6px -4px color-mix(in srgb, var(--accent-fill-rest) 15%, transparent);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Sección izquierda: branding/logo */
.login-card-left {
    width: 40%;
    background: var(--accent-fill-rest);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    color: white;
    background-image: url('/images/login-bg.jpg'); /* opcional: imagen de fondo */
    background-size: cover;
    background-position: center;
}

    /* Logo opcional */
    .login-card-left img {
        max-width: 150px;
        margin-bottom: 1rem;
    }

/* Sección derecha: formulario */
.login-card-right {
    width: 60%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
}

    /* Inputs, botones */
    .login-card-right .form-group {
        margin-bottom: 1rem;
    }

    .login-card-right button {
        width: 100%;
        padding: 0.6rem;
        font-weight: 600;
    }

/* Botón principal */
.btn-primary-full {
    width: 100%;
    padding: 0.6rem;
    font-weight: 500;
}

/* Botón secundario (link o alternativo) */
.btn-secondary-outline {
    width: 100%;
    padding: 0.6rem;
    background-color: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

    .btn-secondary-outline:hover {
        background-color: #6c757d;
        color: white;
    }

/* Espaciado entre campos */
.form-group {
    margin-bottom: 1rem;
}


.brand-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--neutral-layer-3);
    margin-bottom: 0.5rem;
}

/* Tipografía para el subtítulo */
.brand-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--neutral-layer-2);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.left {
    font-weight: bold;
    font-size: 1.2rem;
}

.right {
    display: flex;
    align-items: center;
}

.contenedorgrilla
{
    padding: 20px;
}
