/* =========================================
   ESTILO CORPORATIVO (Oscuro/Naranja)
   Para Login, Inicio y Finalizar
========================================= */

:root {
    /* Define el color gris aquí */
    color-fondo: #f4f7f6; 
    /* ... otras variables ... */
}
/* ESTILO DEL FOOTER */
.custom-footer {
    background-color: #000000;
    color: #888888;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    width: 100%;
    border-top: 1px solid #222;
}

        body { 
            background-color: #ffffff; 
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
            margin: 0; 
            min-height: 100vh; 
            display: flex; 
            flex-direction: column; 
        }

        .custom-header {
            background-color: #222222;
            color: white;
            padding: 15px 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 3px solid #D90429;
        }

        .logo-header-luz {
            filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
            height: 50px;
        }

        .header-info { display: flex; gap: 30px; align-items: center; }
        .info-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; }
        .info-item i { font-size: 1.5rem; }

        .custom-footer {
            background-color: #000000;
            color: #ffffff;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            width: 100%;
        }

        .main-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 40px 20px;
        }

        .card-oscura {
            width: 90%;
            max-width: 400px;
            background-color: #031b33;
            border-radius: 12px;
        }

        .logo-card-luz {
            filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
            width: 200px; 
            max-width: 100%;
        }



/* Ajuste para que el contenido se adapte entre header y footer */
.main-content {
    height: calc(100vh - 130px); /* 80px header + 50px footer */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.body { background-color: #AEBDB8; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
        .form-container { max-width: 1000px; margin: 30px auto; background: white; border: 1px solid #ccc; }
        .header-box { border-bottom: 2px solid #333; }
        .section-title { background-color: #e9ecef; font-weight: bold; text-align: center; padding: 8px; border: 1px solid #dee2e6; margin-top: 20px; text-transform: uppercase; font-size: 0.9rem; }
        label { font-weight: 600; font-size: 0.75rem; color: #444; margin-bottom: 2px; }
        .form-control-sm, .form-select-sm { border-radius: 0px; border: 1px solid #aaa; }
        .table-accionistas th { font-size: 0.75rem; background-color: #f8f9fa; }
        .modal-body { font-size: 0.85rem; text-align: justify; max-height: 450px; overflow-y: auto; }
        .mirror-data { color: blue; font-weight: bold; text-decoration: underline; }

/* Contenedor que empuja la tarjeta al centro */
.main-content {
    min-height: calc(100vh - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Margen de seguridad */
}

.card-oscura {
    background-color: #2C3438 !important; 
    color: white !important;              
    border: none !important;
    border-top: none !important;          
    border-bottom: 6px solid #ff5e00 !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}

.swal-montejo-popup {
    border-top: 5px solid #D90429 !important;
    background-color: #031b33 !important;
    color: #ffffff !important;
    border-radius: 15px !important;
}
.swal-montejo-title { color: #ffffff !important; }
.swal-montejo-content { color: #cccccc !important; }

    .card-oscura h1, 
    .card-oscura h2, 
    .card-oscura h3, 
    .card-oscura p,
    .card-oscura label,
    .card-oscura .text-muted {
        color: white !important;
}

.logo-box img { max-width: 150px; height: auto; filter: drop-shadow(0px 10px 15px rgba(255, 255, 255, 0.5)); }

.mirror-data { 
    color: var(--color-azul) !important; 
    font-weight: bold; 
    text-decoration: underline; 
}

/* Scroll para los t??rminos y condiciones (Modal) */
.modal-body { 
    font-size: 0.9rem; 
    text-align: justify; 
    max-height: 450px; 
    overflow-y: auto; 
}

/* Ajuste para tablas internas */
.table-accionistas th { 
    font-size: 0.8rem; 
    background-color: #f8f9fa; 
    color: var(--color-texto);
}

/* Agrega bordes tabla
.table-tenue th, 
.table-tenue td {
    border: 1px solid rgba(0, 0, 0, 0.08) !important; /* Un gris apenas visible */
}

/* Inputs peque?0?9os m??s limpios */
.form-control-sm, .form-select-sm { 
    border-radius: 4px; 
    border: 1px solid #ced4da; 
}

/* Esto selecciona cualquier input que tenga exactamente ese placeholder */
input[placeholder="escriba el codigo...."]::placeholder {
    font-size: 14px !important; /* Ajusta el tamaño a tu gusto (ej. 12px, 0.8rem) */
}

.logo-con-luz {
    width: 280px !important;    
    max-width: 100% !important; 
    height: auto !important;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1)) !important;
    transition: transform 0.3s ease;
}

.logo-con-luz:hover {
    transform: scale(1.05); 
}

/* Boton Naranja */
.btn-naranja {
    background-color: #e40f1b !important;
    border-color: #ff5e00 !important;
    color: white !important;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
}
.btn-naranja:hover {
    background-color: #0BA33C !important;
}