﻿.conteoAsistencias {
    width: fit-content;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0%;
    margin-right: 1rem;
    background-color: #FFF;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    padding: .375rem .75rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.asistencia-insertada {
    background: linear-gradient(0deg, rgba(165, 94, 234, 0.5) 95%, rgba(255,255,255,1) 100%);
}

.asistencia-en-gestion {
    background: linear-gradient(0deg, rgba(255, 215, 0, 0.5) 95%, rgba(255,255,255,1) 100%);
}

.asistencia-gestionado {
    background: linear-gradient(0deg, rgb(11, 217, 4, 0.5) 95%, rgba(255,255,255,1) 100%);
}

.asistencia-reportado {
    background: linear-gradient(0deg, rgba(30, 144, 255, 0.5) 95%, rgba(255,255,255,1) 100%);
}
.fila-retraso {
    background: linear-gradient(0deg, rgba(255, 102, 102, 0.6) 95%, rgba(255,255,255,1) 100%);
}

.custom-dropdown-grid {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    z-index: 999;
    width: auto;
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
}

.grid-body {
    max-height: 80px;
    overflow-y: auto;
}

.grid-row {
    display: flex;
    padding: 6px 10px;
    cursor: pointer;
    outline: none;
}

    .grid-row:hover,
    .grid-row:focus {
        background-color: #e6f7ff;
        border-left: 3px solid #1890ff;
    }

.grid-cell {
    flex: 1;
}

.dropdown-container {
    position: relative;
    display: inline-block;
}

/*/////////////// ESTILOS PARA UTILIDAD DE HORAS (10 MIN) ///////////////*/

.hora-container {
    width: 100%;
    transition: opacity 0.3s ease;
}

/* Grid responsivo para los minutos */
.hora-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(65px, 1fr));
    gap: 6px;
    padding: 12px;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Botones de minuto (estilo Chip) */
.btn-minuto {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #212529;
    padding: 6px 0;
    font-size: 0.85rem;
    border-radius: 5px;
    transition: all 0.15s ease;
    cursor: pointer;
    font-weight: 500;
}

    .btn-minuto:hover:not(:disabled) {
        background-color: #b6c6d6;
        border-color: #adb5bd;
        transform: translateY(-1px);
    }

    .btn-minuto.seleccionado {
        background-color: #212529;
        color: #fff;
        border-color: #212529;
        box-shadow: 0 2px 4px rgba(13, 110, 253, 0.3);
    }


.is-disabled {
    opacity: 0.65;
    pointer-events: none;
}

    .is-disabled .hora-grid {
        background-color: #e9ecef;
        border-color: #dee2e6;
    }

.btn-minuto:disabled {
    cursor: not-allowed;
    color: #6c757d;
}

/*/////////////// ESTILOS PARA UTILIDAD DE CONFIRMACIÓN ///////////////*/

.utilidad-backdrop {
    z-index: 2000 !important;
}

.utilidad-modal {
    z-index: 2010 !important;
}

tr.bg-orange-light td {
    background-color: #ffb86c !important;
    color: #000000 !important;
}

    tr.bg-orange-light td * {
        color: #000000 !important;
    }