/* EW360 Vehicle Dashboard styles moved from WPCode snippet. */
.ew360-vehicle-dashboard {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #333;
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.ew360-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.ew360-dashboard-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}
.ew360-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.ew360-search {
    position: relative;
    flex: 1;
    min-width: 250px;
}
.ew360-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 3rem;
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
    background: #f9fafb;
}
.ew360-search input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
    background: #fff;
}
.ew360-search button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #6c757d;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.ew360-search button:hover {
    background: rgba(0,0,0,0.05);
    color: #3498db;
}
.ew360-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ew360-filter-group span {
    font-size: 0.9rem;
    color: #6c757d;
}
.ew360-filter-group select {
    /* padding: 0.65rem 1rem; */
    border: 1px solid #e1e5eb;
    border-radius: 6px;
    background: #f9fafb;
    font-size: 0.95rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
}
.ew360-filter-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.15);
}
.ew360-table-container {
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #edf2f7;
}
.ew360-vehicles-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.ew360-vehicles-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border-bottom: 1px solid #edf2f7;
    position: sticky;
    top: 0;
    z-index: 10;
}
.ew360-vehicles-table tr { transition: all 0.2s; }
.ew360-vehicles-table tr:hover { background-color: #f8fafc; }
.ew360-vehicles-table td {
    padding: 1rem;
    font-size: 0.95rem;
    vertical-align: middle;
    border-bottom: 1px solid #edf2f7;
    color: #475569;
}
.ew360-vehicles-table tr:last-child td { border-bottom: none; }
.ew360-vehicle-info {
    display: flex;
    flex-direction: column;
}
.ew360-vehicle-name {
    font-weight: 600;
    color: #1e293b;
}
.ew360-vin {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}
.ew360-price {
    font-weight: 600;
    color: #0f766e;
}
.ew360-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 50rem;
    background: #e5e7eb;
    color: #4b5563;
}
.ew360-badge-success { background: #d1fae5; color: #065f46; }
.ew360-badge-warning { background: #fef3c7; color: #92400e; }
.ew360-badge-danger { background: #fee2e2; color: #b91c1c; }
.ew360-badge-secondary { background: #e5e7eb; color: #4b5563; }
.ew360-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    transition: all 0.2s;
    text-decoration: none;
    /* width: 100%; */
}
.ew360-btn-primary { background-color: #3498db; color: #fff; }
.ew360-btn-primary:hover { background-color: #2980b9; color: #fff; }
.ew360-btn-icon {
    padding: 0.5rem;
    color: #64748b;
    background: transparent;
    border: 1px solid #e2e8f0;
}
.ew360-btn-icon:hover { background: #f1f5f9; color: #334155; }
.ew360-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-start;
}
.ew360-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
    color: #64748b;
}
.ew360-empty-state svg {
    stroke: #cbd5e1;
    margin-bottom: 1rem;
}
.ew360-empty-state h3 {
    margin: 0 0 0.5rem;
    color: #334155;
}
.ew360-empty-state p {
    margin: 0;
    max-width: 400px;
}
.ew360-alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.375rem;
    font-size: 0.95rem;
}
.ew360-alert-danger { background-color: #fee2e2; color: #b91c1c; }
.ew360-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.ew360-pagination-btn {
    padding: 0.5rem 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
}
.ew360-pagination-btn:not([disabled]):hover {
    background: #f8fafc;
    color: #0f172a;
}
.ew360-pagination-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}
.ew360-pagination-info {
    font-size: 0.875rem;
    color: #64748b;
}
@media screen and (max-width: 768px) {
    .ew360-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .ew360-filter-group { justify-content: space-between; }
    .ew360-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
