/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    box-shadow: 0 0.35rem 1.2rem rgba(15, 23, 42, 0.08);
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.5rem rgba(15, 23, 42, 0.12);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-right: 1.2rem;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: var(--secondary-color);
}

.stat-info p {
    margin: 0.3rem 0 0 0;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Alert */
.alert {
    border-left: 4px solid;
    border-radius: 8px;
}

.alert-warning {
    background: #fff3cd;
    border-left-color: var(--warning-color);
    color: #856404;
}

.alert i {
    margin-right: 0.5rem;
}

/* Table Styling */
.table {
    font-size: 0.85rem;
}

.table thead {
    background: var(--light-bg);
}

.table thead th {
    font-weight: 600;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding: 0.8rem;
    text-align: center;
}

.table tbody td {
    vertical-align: middle;
    padding: 0.8rem;
    text-align: center;
}

.table tbody td:first-child,
.table tbody td:nth-child(2) {
    text-align: left;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Status Rows */
.status-danger {
    background: rgba(220, 53, 69, 0.05);
    border-left: 4px solid var(--danger-color);
}

.status-warning {
    background: rgba(255, 193, 7, 0.05);
    border-left: 4px solid var(--warning-color);
}

.status-success {
    background: rgba(40, 167, 69, 0.02);
}

/* Vehicle Tag */
.vehicle-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, var(--primary-color), #e67e00);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.badge i {
    margin-right: 0.3rem;
}

/* Regulations Info */
.card-header.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) !important;
}

.card-body h6 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.card-body ul {
    list-style: none;
    padding-left: 0;
}

.card-body ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.card-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
    .table {
        font-size: 0.7rem;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.3rem;
    }
}
