﻿table {
    border-collapse: collapse;
    width: 100%;
    font-family: sans-serif;
    font-size: 0.8em;
    border: 5px solid #aaa;
    box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    overflow: hidden;
    table-layout: auto;
}

th, td {
    border: 1px solid #ddd;
    padding: 0.5px 1px;
    text-align: left;
    vertical-align: top;
    line-height: 1;
}

tr td {
    width: 1%;
    white-space: nowrap;
}

tr th {
    background-color: blue;
}

th {
    font-weight: bold;
    color: #333;
    position: sticky;
    background: blue;
    top: 0;
    z-index: 1;
    white-space: nowrap;
}

thead > tr {
    background-color: lightblue;
}

.filter-input-cell {
    background-color: white !important;
    font-weight: normal !important;
    white-space: normal !important;
    padding: 1px 3px !important;
    vertical-align: middle !important;
}

.show-more-button {
    margin-top: 15px;
    padding: 8px 15px;
    cursor: pointer;
    margin: 0 auto;
    display: block;
}

.content-wrapper {
    padding-bottom: 100px;
}

.fleet-card-mobile {
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
    background-color: #fff;
}

    .fleet-card-mobile.is-expanded {
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        border-color: #0d6efd;
    }

.fleet-card-header {
    padding: 1rem;
    cursor: pointer;
}

    .fleet-card-header:hover {
        background-color: #f8f9fa;
    }

.mobile-card-top {
    display: flex;
    align-items: center;
    gap: 1rem; 
    margin-bottom: 0.75rem;
}

.serial-container {
    display: flex;
    flex-direction: column;
}

.mobile-card-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: #0d6efd;
}

.mobile-card-subtitle {
    font-size: 0.9rem;
    font-weight: 400;
    color: #6c757d;
    line-height: 1;
}

.mobile-date-info {
    margin-left: auto; 
    text-align: right;
    font-size: 0.8rem;
    line-height: 1.3;
    color: #6c757d;
    flex-shrink: 0;
}

    .mobile-date-info small {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
    }

    .mobile-date-info strong {
        display: block;
        color: #212529;
        font-weight: 600;
    }

.fleet-toggle {
    font-size: 1.5rem;
    color: #6c757d;
}