/* Dashboard styles for the Vehicle Stats Dashboard plugin */

body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 20px;
}

.dashboard-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.dashboard-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.statistic {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.statistic:last-child {
    border-bottom: none;
}

.statistic-title {
    font-size: 18px;
    color: #555;
}

.statistic-value {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}

.statistic-value.critical {
    color: #d9534f; /* Red for critical stats */
}

.statistic-value.warning {
    color: #f0ad4e; /* Yellow for warning stats */
}

.button {
    background-color: #0073aa;
    color: #ffffff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background-color: #005177;
}

.vehicle-stats-dashboard {
    max-width: 100%;
    margin: 0 auto;
}
.vsd-dashboard-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 20px;
}
.vsd-dashboard-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 260px;
    height: 180px;
    border-radius: 16px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.1s, box-shadow 0.1s;
    font-size: 1.25em;
    text-align: center;
    overflow: hidden;
    word-break: break-word;
}
.vsd-dashboard-btn:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 6px 18px rgba(0,0,0,0.13);
    color: #080808;
}
.vsd-btn-value {
    font-size: 3em;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
    line-height: 1.1;
}
.vsd-btn-label {
    font-size: 1.25em;
    opacity: 0.95;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    font-weight: 500;
    word-break: break-word;
}
.vsd-btn-blue { background: #2176bd; }
.vsd-btn-green { background: #2ecc40; }
.vsd-btn-orange { background: #ff9800; }
.vsd-btn-red { background: #e74c3c; }
.vsd-btn-purple { background: #8e44ad; }

.vehicle-list-table {
    margin: 30px 0;
}
.vehicle-list-table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
}
.vehicle-list-table th, .vehicle-list-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: left;
}
.vehicle-list-table th {
    background: #f5f5f5;
    font-weight: bold;
}
.vehicle-list-table tr:nth-child(even) {
    background: #f9f9f9;
}
.vehicle-list-table tr:hover {
    background: #e6f7ff;
}