/* ===============================================
   ESTILOS BOTÓN FAVORITOS (OT CARD)
   =============================================== */

.ot-card {
    position: relative;
    /* Contexto para el posicionamiento absoluto */
}

.favorite-star-btn {
    position: absolute;
    top: 5px;
    /* Subido para no chocar con el contenido */
    right: 8px;
    /* Ajustado a la derecha */
    background: transparent;
    border: none;
    font-size: 1.2rem;
    /* Tamaño reducido ligeramente */
    color: #cbd5e1;
    /* Gris suave */
    padding: 0;
    line-height: 1;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorite-star-btn:hover {
    transform: scale(1.15);
    color: #94a3b8;
}

.favorite-star-btn.is-favorite {
    color: #f59e0b;
    /* Dorado/Naranja */
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.favorite-star-btn:focus {
    outline: none;
}

/* ===============================================
   ESTILOS MICROFONO (VOICE DICTATION)
   =============================================== */
@keyframes pulse-red {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.pulse-animation {
    animation: pulse-red 1.5s infinite;
}

/* ===============================================
   ESTILOS PREMIUM DASHBOARD (FLEET)
   =============================================== */
.gradient-card {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.gradient-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Specific Gradients to mix with Bootstrap utilities */
.bg-primary.gradient-card {
    background-image: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.bg-success.gradient-card {
    background-image: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.bg-info.gradient-card {
    background-image: linear-gradient(135deg, #0dcaf0 0%, #0aa2c0 100%);
}

.bg-warning.gradient-card {
    background-image: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #000 !important;
}

.table-hover tbody tr:hover {
    background-color: rgba(13, 110, 253, 0.05);
    /* very light blue hover */
}

/* ===============================================
   FLEET VIEW EXTRA UTILITIES
   =============================================== */
.cursor-pointer {
    cursor: pointer !important;
}

.hover-scale {
    transition: transform 0.2s ease-in-out;
}

.hover-scale:hover {
    transform: scale(1.02);
}

.hover-bg-secondary:hover {
    background-color: #495057 !important;
    /* Bootstrap Dark Secondary equivalent */
    transition: background-color 0.2s ease;
}

/* Custom Scrollbar for Client List */
#fleet-client-list::-webkit-scrollbar {
    width: 6px;
}

#fleet-client-list::-webkit-scrollbar-track {
    background: #212529;
}

#fleet-client-list::-webkit-scrollbar-thumb {
    background: #6c757d;
    border-radius: 3px;
}

#fleet-client-list::-webkit-scrollbar-thumb:hover {
    background: #495057;
}