/******* Blazor + AdminLTE tweaks *******/
html, body, #app {
    height: 100%;
}

.main-header .nav-link {
    cursor: pointer;
}

/* Evita scroll lateral raro con sidebar */
.content-wrapper {
    min-height: calc(100vh - 57px - 57px);
}

/* Cards responsivas */
@media (max-width: 576px) {
    .content-header h1 {
        font-size: 1.25rem;
    }
}

/* Anclar botones inferiores en páginas móviles si lo necesitas */
.bottom-buttons-container {
    position: sticky;
    bottom: 0;
    z-index: 1030;
    display: flex;
    gap: .5rem;
    padding: .5rem;
    background: var(--bs-body-bg, #fff);
    border-top: 1px solid rgba(0,0,0,.1);
}

.bottom-button {
    flex: 1 1 auto;
    border: none;
    padding: .75rem 1rem;
    border-radius: .5rem;
    font-weight: 600;
}

/* Oscuro: AdminLTE ya define .dark-mode; aquí puedes afinar tipografías */
body.dark-mode {
    font-weight: 400;
}


.monitor-header .monitor-title {
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

    .monitor-header .monitor-title:hover {
        text-decoration: wavy;
    }

.monitor-actions {
    gap: 14px;
}

.gk-icon {
    line-height: 1;
    display: inline-block;
    text-align: left;
    width: 20px !important;
}

.gk-icon--car i {
    font-size: 2.5em;
    color: #000;
}

.gk-icon--user i {
    font-size: 1.2em;
    color: #0d6efd;
}

/* Cabecera compacta y consistente */
.gk-card-header {
    padding-top: .5rem;
    padding-bottom: .5rem;
}

    .gk-card-header .card-title {
        line-height: 1.2;
        margin-bottom: .25rem !important;
    }

/* Línea de badges bajo el título */
.gk-state-line .badge {
    vertical-align: middle;
    margin-right: .25rem;
}

/* Alineación de herramientas a la derecha */
.card-tools .badge {
    line-height: 1;
}
/* que no “crezca” en alto */
.card-tools .btn {
    margin-left: .25rem;
}



@media (max-width: 576px) {
    .gk-card-header {
        min-height: 30px;
    }

        .gk-card-header .gk-state-badges {
            left: 12px;
            bottom: 6px;
        }
}


.trip-card {
    background-color: transparent; /* tarjeta “transparente” */
    border: 1px solid rgba(0,0,0,.1); /* borde suave, sin color chillón */
    border-radius: .5rem;
}

.trip-meta span, .trip-stats span {
    font-size: .95rem;
}

.trip-meta i, .trip-stats i {
    opacity: .9;
}


.itr-map {
    height: 65vh;
    width: 100%;
}

@media (max-height: 700px) {
    .itr-map {
        height: 55vh;
    }
}

.dashboard-tile {
    min-height: auto; 
}

@media (max-width: 576px) {
    .dashboard-tile {
        min-height: 20vh; 
    }
}
