/* assets/style.css - All Styles for DMS */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: #2c3e50;
}

/* Container Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    margin-bottom: 0;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.login-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    text-align: center;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Card Styles */
.card {
    background: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    flex-wrap: wrap;
    gap: 15px;
}

.card-title {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-control:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-primary:hover {
    box-shadow: 0 8px 15px rgba(52, 152, 219, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.btn-success:hover {
    box-shadow: 0 8px 15px rgba(39, 174, 96, 0.3);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-danger:hover {
    box-shadow: 0 8px 15px rgba(231, 76, 60, 0.3);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}

.btn-warning:hover {
    box-shadow: 0 8px 15px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.btn-secondary:hover {
    box-shadow: 0 8px 15px rgba(149, 165, 166, 0.3);
}

.btn-sm {
    padding: 8px 15px;
    font-size: 12px;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* Search Section */
.search-section {
    padding: 40px;
}

.search-box {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Delivery Details */
.delivery-details {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    display: none;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.detail-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.detail-value {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-in_progress {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.status-delivered {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.data-table th,
.data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: #f8f9fa;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.action-btn:hover {
    transform: translateY(-1px);
}

/* Photo Section */
.photo-section {
    margin: 25px 0;
}

.photo-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.photo-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #ecf0f1;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #bdc3c7;
    transition: all 0.3s ease;
}

.photo-item:hover {
    border-color: #3498db;
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(231, 76, 60, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Grid Layouts */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Stat Cards */
.stat-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card.success {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.stat-card.warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.stat-card.danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Chart Cards */
.chart-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.chart-card:hover {
    transform: translateY(-5px);
}

.chart-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Demo Credentials */
.demo-credentials {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    border-left: 4px solid #3498db;
}

.demo-credentials h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 16px;
}

.demo-credentials p {
    color: #7f8c8d;
    margin: 5px 0;
}

/* Logout Button */
.logout-btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.hidden { display: none; }
.visible { display: block; }

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .action-buttons {
        justify-content: flex-start;
    }
    
    .container, .admin-container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .login-container {
        margin: 10px;
    }
    
    .search-section {
        padding: 20px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .btn {
        display: none;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ==================== NEW FEATURES STYLES ==================== */

/* Vehicle Type Badges */
.vehicle-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
    border: 1px solid transparent;
}

.vehicle-van {
    background: #e8f5e9;
    color: #2e7d32;
    border-color: #c8e6c9;
}

.vehicle-truck {
    background: #fff3e0;
    color: #ef6c00;
    border-color: #ffe0b2;
}

.vehicle-car {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}

.vehicle-motorcycle {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #e1bee7;
}

.vehicle-bicycle {
    background: #e8f5e9;
    color: #388e3c;
    border-color: #c8e6c9;
}

.vehicle-other {
    background: #f5f5f5;
    color: #616161;
    border-color: #e0e0e0;
}

/* Cost Badges */
.cost-badge {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    min-width: 60px;
    text-align: center;
    display: inline-block;
}

.cost-zero {
    background: #f5f5f5;
    color: #757575;
    border: 1px solid #e0e0e0;
}

/* Status Badges - Updated for pending_delivery */
.status-pending_delivery {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border: none;
}

/* Stat Cards - Additional color for pending delivery */
.stat-card.orange {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Currency Input Styling */
.currency-input {
    position: relative;
}

.currency-input::before {
    content: "₹";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-weight: 600;
}

.currency-input input {
    padding-left: 25px !important;
}

/* Vehicle Type Select Styling */
.vehicle-select {
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
}

.vehicle-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    background: white;
}

/* Filter Badges for Status */
.filter-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    margin: 2px;
}

/* Cost Summary Cards */
.cost-summary-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    border-left: 4px solid #4caf50;
}

.cost-summary-number {
    font-size: 2rem;
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 5px;
}

.cost-summary-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Delivery Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.summary-item {
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e1e8ed;
}

.summary-item-label {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.summary-item-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

/* Modal Form Updates */
.modal-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
}

/* Table Row Hover Effects with New Columns */
.data-table tr:hover .cost-badge {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.data-table tr:hover .vehicle-badge {
    transform: translateY(-1px);
    transition: transform 0.2s ease;
}

/* Responsive Adjustments for New Columns */
@media (max-width: 1200px) {
    .data-table th:nth-child(5),
    .data-table td:nth-child(5),
    .data-table th:nth-child(6),
    .data-table td:nth-child(6) {
        display: none;
    }
}

@media (max-width: 992px) {
    .data-table th:nth-child(7),
    .data-table td:nth-child(7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .data-table th:nth-child(8),
    .data-table td:nth-child(8),
    .data-table th:nth-child(9),
    .data-table td:nth-child(9) {
        display: none;
    }
    
    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .data-table th:nth-child(10),
    .data-table td:nth-child(10) {
        display: none;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
}

/* Animation for New Elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-badge,
.cost-badge,
.status-pending_delivery {
    animation: fadeInUp 0.3s ease forwards;
}

/* Print Styles for New Features */
@media print {
    .cost-badge {
        background: #f5f5f5 !important;
        color: #333 !important;
        border: 1px solid #ddd !important;
    }
    
    .vehicle-badge {
        background: #f9f9f9 !important;
        color: #333 !important;
        border: 1px solid #ddd !important;
    }
}

/* Vehicle Icon Styling */
.vehicle-icon {
    font-size: 14px;
    margin-right: 5px;
}

/* Tooltip for Cost Details */
.cost-tooltip {
    position: relative;
    display: inline-block;
}

.cost-tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
}

/* Form Validation for Cost Input */
input[name="cost_per_delivery"]:invalid,
input[name="edit_cost_per_delivery"]:invalid {
    border-color: #e74c3c !important;
}

input[name="cost_per_delivery"]:valid,
input[name="edit_cost_per_delivery"]:valid {
    border-color: #2ecc71 !important;
}

/* Loading State for Cost Calculation */
.cost-loading {
    position: relative;
}

.cost-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Quick Actions for New Features */
.quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f8f9fa;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #2c3e50;
}

.quick-action-btn:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

/* Vehicle Type Filter */
.vehicle-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.vehicle-filter-btn {
    padding: 6px 12px;
    background: white;
    border: 2px solid #e1e8ed;
    border-radius: 20px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s ease;
}

.vehicle-filter-btn.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.vehicle-filter-btn:hover:not(.active) {
    background: #f8f9fa;
    border-color: #3498db;
}

/* Cost Range Filter */
.cost-range-filter {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.cost-range-slider {
    width: 100%;
    margin: 10px 0;
}

.cost-range-values {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #7f8c8d;
}

/* Empty State for New Features */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #7f8c8d;
}

.empty-state-icon {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.empty-state-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.empty-state-description {
    font-size: 14px;
    max-width: 400px;
    margin: 0 auto;
}

/* Export Options for New Data */
.export-options {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: #229954;
    transform: translateY(-2px);
}

.export-btn.csv {
    background: #3498db;
}

.export-btn.csv:hover {
    background: #2980b9;
}

/* Chart Colors for Vehicle Types */
.chart-color-van {
    color: #2e7d32;
}

.chart-color-truck {
    color: #ef6c00;
}

.chart-color-car {
    color: #1565c0;
}

.chart-color-motorcycle {
    color: #7b1fa2;
}

.chart-color-bicycle {
    color: #388e3c;
}

.chart-color-other {
    color: #616161;
}

/* Help Text for New Features */
.help-text {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Required Field Indicator for New Fields */
.required-field::after {
    content: " *";
    color: #e74c3c;
}

/* Mobile-First Enhancements for New Features */
@media (max-width: 480px) {
    .quick-actions {
        justify-content: center;
    }
    
    .quick-action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
    
    .export-options {
        flex-direction: column;
    }
    
    .export-btn {
        justify-content: center;
    }
    
    .vehicle-filter {
        justify-content: center;
    }
}

/* Accessibility Improvements */
.vehicle-badge:focus,
.cost-badge:focus,
.status-pending_delivery:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .vehicle-badge,
    .cost-badge,
    .status-badge {
        border: 2px solid currentColor;
    }
}

/* Additional Utility Classes for New Features */
.text-cost {
    color: #2e7d32;
    font-weight: 600;
}

.text-vehicle {
    font-weight: 600;
}

.vehicle-type-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 5px;
    font-size: 12px;
}

.vehicle-type-icon.van {
    background: #e8f5e9;
    color: #2e7d32;
}

.vehicle-type-icon.truck {
    background: #fff3e0;
    color: #ef6c00;
}

.vehicle-type-icon.car {
    background: #e3f2fd;
    color: #1565c0;
}

.vehicle-type-icon.motorcycle {
    background: #f3e5f5;
    color: #7b1fa2;
}

.vehicle-type-icon.bicycle {
    background: #e8f5e9;
    color: #388e3c;
}

.vehicle-type-icon.other {
    background: #f5f5f5;
    color: #616161;
}

/* Data Visualization Colors */
.visualization-van {
    background-color: #2e7d32;
}

.visualization-truck {
    background-color: #ef6c00;
}

.visualization-car {
    background-color: #1565c0;
}

.visualization-motorcycle {
    background-color: #7b1fa2;
}

.visualization-bicycle {
    background-color: #388e3c;
}

.visualization-other {
    background-color: #616161;
}

/* Form Group Specific Styles for New Fields */
.form-group.vehicle-type {
    position: relative;
}

.form-group.cost-input {
    position: relative;
}

/* Status Legend for New Status */
.status-legend {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.status-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
}

.status-legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-legend-color.pending_delivery {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

/* Hover Effects for Interactive Elements */
.interactive-cost:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
    cursor: pointer;
}

.interactive-vehicle:hover {
    transform: translateY(-2px);
    transition: transform 0.2s ease;
    cursor: pointer;
}

/* Loading States */
.loading-new-features {
    opacity: 0.7;
    pointer-events: none;
}

/* Success States */
.success-cost {
    animation: pulseSuccess 1s ease;
}

@keyframes pulseSuccess {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
}

/* Error States */
.error-cost {
    animation: pulseError 1s ease;
}

@keyframes pulseError {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
}