﻿
/* ---- stats.js ---- */


.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13E8E9;
    font-size: .8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.js-count-particles {
    font-size: 1.1em;
}

#stats,
.count-particles {
    -webkit-user-select: none;
    user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}

#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
}

.count-particles {
    border-radius: 0 0 3px 3px;
}


/* ---- particles.js container ---- */

#particles-js {
    width: 100%;
    height: 100%;
    background: transparent;
    background-size: 400% 400%;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: fixed;
    z-index: 0;
}

/* Canvas para partículas del mouse */
#mouse-particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Contenedor del login con efecto glassmorphism */
.contenedor {
    position: relative;
    z-index: 99;
    opacity: 1;
}

/* Estilos modernos para la card del login */
.login-box {
    width: 400px !important;
}

.login-box .card {
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.login-box .card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.login-card-body {
    padding: 2.5rem 2rem !important;
}

/* Logo oculto o pequeño */
.login-logo {
    margin-bottom: 1rem;
}

.login-logo img {
    display: none; /* Ocultar logo grande */
}

/* Título del login */
.login-box-msg {
    color: #37474f !important;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem !important;
    text-align: center;
}

/* Inputs modernos */
.login-card-body .form-control {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    color: #374151 !important;
}

.login-card-body .form-control:focus {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
    outline: none;
}

.login-card-body .form-control::placeholder {
    color: #9ca3af !important;
}

/* Input group */
.input-group-text {
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    color: #6b7280 !important;
    transition: all 0.2s ease;
}

.login-card-body .input-group .form-control {
    border-left: none !important;
    border-radius: 0 4px 4px 0 !important;
}

.login-card-body .input-group:focus-within .input-group-text {
    background: #ffffff !important;
    border-color: #3b82f6 !important;
    color: #3b82f6 !important;
}

/* Botón moderno */
.login-card-body .btn-primary {
    background: #1e293b !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    box-shadow: none;
    transition: all 0.2s ease;
    width: 100%;
}

.login-card-body .btn-primary:hover {
    background: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.login-card-body .btn-primary:active {
    transform: scale(0.98);
}

/* Checkbox personalizado */
.icheck-primary label {
    color: #374151 !important;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Links */
.login-card-body a {
    color: #3b82f6 !important;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    font-size: 0.9rem;
}

.login-card-body a:hover {
    color: #2563eb !important;
    text-decoration: underline;
}

/* Alerta de navegador */
.login-card-body > p:last-child > div {
    background: #fef3c7 !important;
    border-radius: 4px !important;
    padding: 12px !important;
    border: 1px solid #fbbf24;
    box-shadow: none;
    color: #92400e !important;
    font-weight: 400;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 576px) {
    .login-box {
        width: 90% !important;
        margin: 2rem auto !important;
    }
    
    .login-logo img {
        height: 200px !important;
        width: 200px !important;
    }
    
    .login-box-msg {
        font-size: 1.1rem;
    }
}

.modal-lg {
    max-width: 50%; /* ajusta el ancho máximo según tus necesidades */
}
.modalSolo {
    max-width: 30%; /* ajusta el ancho máximo según tus necesidades */
}


.colorYellow{
    color: orange;
}
.colorRed{
    color: red;
}
.colorBlue{
    color: blue;
}

.colorGreen{
    color: green;
}
/* css del gif loader */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-image {
    width: 100px; /* Ajusta el tamaño según necesites */
    height: 100px; /* Ajusta el tamaño según necesites */
}



/****************************************************************************************



/* Contenedor principal */
.progress-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    position: relative;
}

/* Contenedor de pasos y flechas */
.step-wrapper {
    display: flex;
    align-items: center;
    flex-direction: column; /* Ícono arriba, descripción abajo */
    position: relative;
    width: 100px; /* Espacio uniforme para cada paso */
}

/* Ícono del paso */
.step {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.step i {
    font-size: 24px; /* Tamaño uniforme del ícono */
    z-index: 2; /* Asegurar que el ícono esté por encima de las flechas */
}

/* Íconos completados y pendientes */
.step.completed i {
    color: green;
}

.step.pending i {
    color: rgba(0, 0, 0, 0.3); /* Negro desvanecido */
}

/* Flechas entre pasos */
.arrow {
    position: absolute;
    top: 20%; /* Centrar con el ícono */
    left: calc(100%); /* Salir desde el borde derecho del ícono */
    width: calc(100% - 24px); /* Ajustar longitud de la flecha */
    height: 2px; /* Grosor de la flecha */
    background: rgba(0, 0, 0, 0.3); /* Gris claro por defecto */
    z-index: 0;
    transform: translateY(-50%); /* Centrar verticalmente */
}

/* Flechas completadas */
.arrow-completed {
    background: green; /* Verde para pasos completados */
}

/* Descripción debajo de cada paso */
.step-wrapper p {
    margin-top: 5px; /* Separar el texto del ícono */
    font-size: 12px; /* Tamaño más pequeño */
    text-align: center;
    white-space: nowrap; /* Mantener el texto en una sola línea */
}

/* Responsive para pantallas pequeñas */
@media (max-width: 768px) {
    .progress-container {
        flex-direction: column; /* Cambiar la dirección a columna */
        align-items: flex-start; /* Alinear al inicio */
        gap: 20px; /* Espacio entre las filas */
    }

    .step-wrapper {
        width: 100%; /* Tomar todo el ancho disponible */
        flex-direction: row; /* Mostrar ícono y texto en fila */
        justify-content: flex-start; /* Alinear íconos a la izquierda */
        gap: 10px; /* Espaciado entre ícono y texto */
    }

    .arrow {
        display: none; /* Ocultar flechas en pantallas pequeñas */
    }

    .step-wrapper p {
        white-space: normal; /* Permitir texto en varias líneas */
        text-align: left; /* Alinear texto a la izquierda */
    }
}

/* Responsive para pantallas muy pequeñas */
@media (max-width: 480px) {
    .step-wrapper p {
        font-size: 10px; /* Reducir tamaño del texto */
    }

    .step i {
        font-size: 20px; /* Reducir tamaño del ícono */
    }
}

/* Media query para pantallas pequeñas (notebooks de 14 pulgadas y resoluciones similares) */
@media (max-width: 1366px) {
    .progress-container {
        flex-wrap: wrap; /* Permitir que los pasos se ajusten en varias filas */
        justify-content: center; /* Centrar los pasos */
        gap: 20px; /* Separar filas y pasos */
    }

    .step-wrapper {
        width: 80px; /* Reducir el tamaño de cada paso */
    }

    .step i {
        font-size: 20px; /* Reducir el tamaño del ícono */
    }

    .arrow {
        width: 30%; /* Ajustar la longitud de las flechas */
    }

    .step-wrapper p {
        font-size: 10px; /* Reducir tamaño de texto para evitar desbordes */
    }
}

/* Media query para pantallas más pequeñas (notebooks de 12 pulgadas) */
@media (max-width: 1280px) {
    .progress-container {
        flex-direction: column; /* Cambiar la dirección a columnas para mayor claridad */
        align-items: flex-start; /* Alinear los pasos al inicio */
        gap: 15px; /* Espaciado uniforme entre filas */
    }

    .step-wrapper {
        width: 100%; /* Tomar todo el ancho disponible */
        flex-direction: row; /* Ícono y texto en fila */
        align-items: center; /* Centrar ícono y texto verticalmente */
        justify-content: flex-start; /* Alinear los pasos al inicio */
        gap: 10px; /* Separar ícono y texto */
    }

    .arrow {
        display: none; /* Ocultar las flechas en resoluciones pequeñas */
    }

    .step-wrapper p {
        font-size: 9px; /* Reducir el tamaño del texto aún más */
    }

    .step i {
        font-size: 18px; /* Reducir el tamaño del ícono */
    }
}

/* Para pantallas de 1367px en adelante */
@media (min-width: 1367px) {
    .progress-container {
        justify-content: space-evenly; /* Distribuir uniformemente los pasos */
        gap: 0; /* Eliminar cualquier espacio adicional entre los pasos */
    }

    .step-wrapper {
        width: 120px; /* Asegurar un ancho uniforme para cada paso */
    }

    .step-wrapper p {
        margin-top: 10px; /* Separar texto del ícono */
        font-size: 10px; /* Incrementar ligeramente el tamaño del texto */
        white-space: normal; /* Permitir que el texto se ajuste */
    }

    .arrow {
        position: absolute;
        top: 20%; /* Centrar verticalmente respecto al contenedor */
        left: 80%; /* Iniciar desde el borde derecho del ícono */
        width: 50%; /* Ajustar la longitud de la flecha */
        height: 2px; /* Grosor de la línea */
        background: rgba(0, 0, 0, 0.3); /* Color gris claro */
        z-index: 0; /* Asegurar que esté detrás del ícono */
        transform: translateY(-50%); /* Centrar verticalmente con precisión */

    }

    .step i {
        font-size: 20px; /* Tamaño del ícono ligeramente mayor */
    }
}

/* Alinea el buscador completamente a la izquierda */
#prueba_wrapper .dataTables_filter {
    text-align: left;
    float: left;
}

/* Restablece los floats cuando existe selector de registros */
#prueba_wrapper.dt-has-length .dataTables_filter,
#prueba_wrapper.dt-has-length .dt-buttons {
    float: none;
}

#prueba_wrapper.dt-has-length .dataTables_length select {
    min-width: 90px;
    color: #495057;
}

#prueba_wrapper.dt-has-length .dataTables_length select option {
    color: #212529;
}

/* Alinea los botones completamente a la derecha */
#prueba_wrapper .dt-buttons {
    text-align: right;
    float: right;
}

/* Asegura que la segunda columna alinee su contenido a la derecha */
#prueba_wrapper .col-md-6.text-right {
    text-align: right;
}
