/* Align Equipment cards UI to Vehicle cards UI */
.vehicle-card,
.equipment-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.vehicle-card-content,
.equipment-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vehicle-icon,
.equipment-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vehicle-icon img,
.equipment-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.vehicle-info,
.equipment-info {
    flex: 1;
    min-width: 0;
}

.vehicle-name,
.equipment-name {
    font-weight: 600;
    color: #212529;
    line-height: 1.1;
}

.vehicle-type,
.equipment-type {
    font-size: 0.875rem;
    color: #6c757d;
}

.vehicle-actions .btn,
.equipment-actions .btn {
    padding: 0.35rem 0.75rem;
}

/* Done cards parity */
.vehicle-card-done,
.equipment-card-done {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.vehicle-card-done-content,
.equipment-card-done-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vehicle-card-done-icon,
.equipment-card-done-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vehicle-card-done-icon img,
.equipment-card-done-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.vehicle-card-done-info,
.equipment-card-done-info {
    flex: 1;
    min-width: 0;
}

.vehicle-card-done-name,
.equipment-card-done-name {
    font-weight: 600;
    color: #212529;
}

.vehicle-card-done-type,
.equipment-card-done-type {
    font-size: 0.875rem;
    color: #6c757d;
}

.vehicle-card-done-emissions,
.equipment-card-done-emissions {
    font-weight: 700;
    color: #212529;
}

.vehicle-card-modal .vehicle-card-content,
.equipment-card-modal .equipment-card-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.vehicle-card-modal .vehicle-icon,
.equipment-card-modal .equipment-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card-modal .vehicle-icon img,
.equipment-card-modal .equipment-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}
body {
    font-family: Montserrat !important;
    font-weight: 600;
    overflow-x: hidden !important;
    overflow-y: auto;
}

html {
    overflow-x: hidden !important;
}

.content-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    padding-bottom: 100px;
}

label {
    color: #000 !important;
}

#label-text {
    font-size: 1.25rem;
}

.admin-header {
    font-size: 3.5rem;
    font-weight: 700;
}

/* Content Header */
.content-header {
    display: none;
}

/* Form Labels */
.form-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

/* Helper Text */
h6 {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Enhanced Form Controls */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.form-control:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
}

/* Enhanced Dropdowns */
.form-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #495057;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 300px;
    width: 100%;
}

.form-select:hover {
    border-color: #4f46e5;
    background-color: #f8fafc;
}

.form-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
    background-color: #fff;
}

.form-select option {
    padding: 8px 12px;
    background-color: #fff;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-select option:hover {
    background-color: #f5f5f5;
    color: #495057;
}

.form-select option:checked {
    background-color: #f5f5f5;
    color: #495057;
    font-weight: 500;
}

/* Custom Select Styling - matches form-select */
.custom-select {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #495057;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%236c757d' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    max-width: 300px;
    width: 100%;
}

.custom-select:hover {
    border-color: #4f46e5;
    background-color: #f8fafc;
}

.custom-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
    background-color: #fff;
}

.custom-select option {
    padding: 8px 12px;
    background-color: #fff;
    color: #495057;
    font-size: 0.9rem;
    line-height: 1.4;
}

.custom-select option:hover {
    background-color: #f5f5f5;
    color: #495057;
}

.custom-select option:checked {
    background-color: #f5f5f5;
    color: #495057;
    font-weight: 500;
}

/* Input Groups */
.input-group .form-control {
    border-right: none;
}

.input-group .form-select {
    border-left: 1px solid #e9ecef;
}

.input-group .form-control:focus + .form-select,
.input-group .form-select:focus {
    border-color: #4f46e5;
    z-index: 3;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.4);
}

.btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: #fff;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    color: #fff;
}

/* Toggle Button */
#toggle-btn {
    background: none;
    border: none;
    color: #4f46e5;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
}

#toggle-btn:hover {
    color: #3730a3;
}

/* Guidance Text */
#guidance-text {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #0369a1;
    line-height: 1.5;
}

/* Grey Section */
.row[style*="background: lightgrey"] {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin: 1.5rem 0;
}

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.checkbox-label:hover {
    background-color: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
    width: 25px;
    height: 25px;
    accent-color: #4f46e5;
    margin-right: 0.75rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.checkbox-label .text-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.checkbox-label #label-text {
    font-weight: 600;
    color: #374151;
}

.checkbox-label h6 {
    margin: 0;
}

/* Alert Styling */
.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    color: #1e40af;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    font-weight: 500;
}

/* Table Enhancements */
.table-container {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    overflow-x: scroll !important;
    overflow-y: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    max-height: 300px !important;
    border: 1px solid #dee2e6 !important;
    contain: layout style paint !important;
    isolation: isolate !important;
    display: block !important;
}

/* Ensure only the specific table is scrollable */
.table-container .table-bordered.table-sm.mb-0 {
    min-width: 1600px !important;
    width: 1600px !important;
    margin-bottom: 0 !important;
    white-space: nowrap !important;
    table-layout: fixed !important;
}

.table-container .table-bordered.table-sm.mb-0 th,
.table-container .table-bordered.table-sm.mb-0 td {
    min-width: 160px !important;
    white-space: nowrap !important;
}

.table-container::-webkit-scrollbar {
    height: 12px !important;
    width: 12px !important;
}

.table-container::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
    border-radius: 6px !important;
}

.table-container::-webkit-scrollbar-thumb {
    background: #888 !important;
    border-radius: 6px !important;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: #555 !important;
}

.table-container::-webkit-scrollbar-corner {
    background: #f1f1f1 !important;
}

/* Remove general table constraints to avoid conflicts */

.table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
    padding: 1rem 0.75rem;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 10;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}

/* Scroll indicator */
.table-container::after {
    content: "← Scroll to see more columns →";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
    pointer-events: none;
}

.form-control-sm, .form-select-sm {
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    min-width: 120px;
    white-space: normal;
}

.form-control-sm:focus, .form-select-sm:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.table td input.form-control-sm {
    white-space: normal;
}

.table td select.form-select-sm {
    white-space: normal;
}

/* Table Checkbox Styling */
.table-checkbox {
    width: 20px !important;
    height: 20px !important;
    accent-color: #4f46e5 !important;
    cursor: pointer !important;
    margin: 0 auto !important;
}

.table td.text-center {
    vertical-align: middle !important;
    padding: 0.75rem !important;
}

/* Footer Section */
.bg-light {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%) !important;
    border: 1px solid #e5e7eb;
}

/* Autocomplete Suggestions */
.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: none;
}

.autocomplete-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #6b46c1;
    color: #fff;
}

.suggestion-item .city-name {
    font-weight: 500;
    color: #374151;
}

.suggestion-item:hover .city-name,
.suggestion-item.active .city-name {
    color: #fff;
}

.suggestion-item .state-info {
    font-size: 0.85rem;
    color: #6b7280;
}

.suggestion-item:hover .state-info,
.suggestion-item.active .state-info {
    color: #e5e7eb;
}

/* Sticky Continue Footer */
.sticky-continue-footer {
    position: fixed;
    bottom: 0;
    left: 350px;
    right: 0;
    background: #fff;
    border-top: 1px solid #e9ecef;
    padding: 1rem 2rem;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    z-index: 1000;
}

.sticky-continue-footer .btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Responsive sticky footer */
@media (max-width: 768px) {
    .sticky-continue-footer {
        left: 0;
        padding: 1rem;
    }
}

/* Custom Dropdown Styling */
.custom-dropdown {
    position: relative;
    width: 100%;
}

.custom-dropdown-toggle {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #495057;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-dropdown-toggle:hover {
    border-color: #4f46e5;
    background-color: #f8fafc;
}

.custom-dropdown-toggle:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
    outline: none;
    background-color: #fff;
}

.custom-dropdown-toggle i {
    color: #6c757d;
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.custom-dropdown-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.custom-dropdown .dropdown-menu {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    margin-top: 0.25rem;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    z-index: 1050;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    min-width: 200px;
}

.custom-dropdown .dropdown-menu.show {
    display: block;
}

.custom-dropdown .dropdown-item {
    padding: 0.5rem 1rem;
    color: #495057;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #f5f5f5;
    color: #495057;
}

.custom-dropdown .dropdown-item:focus {
    background-color: #f5f5f5;
    color: #495057;
    outline: none;
}

/* Dropdown Headers */
.custom-dropdown .dropdown-header {
    padding: 0.5rem 1rem 0.25rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 0.25rem;
    background-color: #f8f9fa;
}

.custom-dropdown .dropdown-header:first-child {
    margin-top: 0;
}

.custom-dropdown .dropdown-header + .dropdown-item {
    margin-top: 0.25rem;
}

/* Vehicle Cards */
.vehicle-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    height: 140px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.vehicle-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.vehicle-card-content {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.vehicle-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.vehicle-icon i {
    font-size: 1.5rem;
    color: #6c757d;
}

.vehicle-info {
    flex: 1;
    min-width: 0;
}

.vehicle-name {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vehicle-type {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.vehicle-plate {
    font-size: 0.75rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}

.vehicle-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

.vehicle-actions .dropdown-toggle {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0.25rem;
}

.vehicle-actions .dropdown-toggle:hover {
    color: #495057;
    background: #f8f9fa;
}

/* Add Vehicle Card */
.add-vehicle-card {
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-vehicle-card:hover {
    border-color: #007bff;
    background: #e3f2fd;
}

.add-vehicle-link {
    text-decoration: none;
    color: #6c757d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.add-vehicle-link:hover {
    color: #007bff;
    text-decoration: none;
}

.add-vehicle-content {
    text-align: center;
}

.add-vehicle-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.add-vehicle-content span {
    font-weight: 500;
    font-size: 0.875rem;
}

/* Location Cards for Natural Gas */
.location-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.location-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.location-card.completed {
    background: #f8f9fa;
    border-color: #d4edda;
}

.location-card-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon i {
    font-size: 1.25rem;
    color: #6c757d;
}

.location-info {
    flex: 1;
    min-width: 0;
}

.location-name {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.location-address {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.location-action .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* Sub-category radio buttons */
.sub-category {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.radio-group {
    margin-top: 0.5rem;
}

.radio-group .form-check {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
}

.radio-group .form-check-input {
    margin-left: -1.5rem;
    margin-top: 0.25rem;
}

.radio-group .form-check-label {
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
}

.radio-group .form-check-input:checked + .form-check-label {
    color: #212529;
    font-weight: 500;
}

.radio-group .form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

/* Location Cards Container (Outside Content Body) */
.location-cards-container {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 2rem 0;
    margin-top: 2rem;
}

.location-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    /* margin: 0 auto; */
}

.location-cards-container .location-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
}

.location-cards-container .location-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.location-cards-container .location-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.location-cards-container .location-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.location-cards-container .location-name:hover {
    color: #0d6efd;
}

.location-cards-container .location-address {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.location-cards-container .location-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.location-cards-container .location-actions .btn {
    border: none;
    background: transparent;
    color: #6c757d;
    padding: 0.25rem 0.5rem;
}

.location-cards-container .location-actions .btn:hover {
    background: #f8f9fa;
    color: #495057;
}

.location-cards-container .dropdown-menu {
    min-width: 160px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border: 1px solid #e9ecef;
}

.location-cards-container .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.location-cards-container .dropdown-item i {
    width: 16px;
    margin-right: 0.5rem;
}

/* Vehicle Icon Selection */
.vehicle-icon-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 1rem;
}

.vehicle-icon-selected {
    flex: 0 0 auto;
}

.selected-icon {
    width: 150px;
    height: 150px;
    background: #f8f9fa;
    border: 2px solid #0d6efd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
    overflow: hidden;
}

.selected-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.vehicle-icon-choices {
    flex: 1;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: 420px;
}

/* Adjust grid for 7 truck icons */
.icon-grid:has(.icon-choice:nth-child(7):last-child) {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
}

.icon-choice {
    width: 100px;
    height: 100px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-choice img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.icon-choice:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.15);
}

.icon-choice.active {
    border-color: #0d6efd;
    background: #e7f3ff;
    color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.icon-choice.active::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background: #0d6efd;
    border-radius: 50%;
    border: 2px solid #fff;
}

/* Equipment Icon Selection Styles */
.equipment-icon-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.equipment-icon-selected {
    flex: 0 0 150px;
}

.equipment-icon-selected .selected-icon {
    width: 150px;
    height: 150px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.equipment-icon-selected .selected-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.equipment-icon-choices {
    flex: 1;
}

.equipment-icon-choices .icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 420px;
    grid-auto-rows: 1fr;
}

.equipment-icon-choices .icon-choice {
    width: 100px;
    height: 100px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.equipment-icon-choices .icon-choice img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.equipment-icon-choices .icon-choice:hover {
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.equipment-icon-choices .icon-choice.active {
    border-color: #007bff;
    background: #f8f9ff;
}

.equipment-icon-choices .icon-choice.active::after {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 5px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Vehicle Card Styles */
.vehicle-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.vehicle-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.vehicle-card.completed {
    background: #f8f9fa;
    border-color: #28a745;
}

.vehicle-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vehicle-card .vehicle-icon {
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card .vehicle-icon img, .equipment-card .equipment-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.vehicle-card .vehicle-icon i {
    color: #6c757d;
    font-size: 20px;
}

.vehicle-card .vehicle-info {
    flex: 1;
}

.vehicle-card .vehicle-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vehicle-card .vehicle-details {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.3;
}

.vehicle-card .vehicle-action {
    flex: 0 0 auto;
}

/* Vehicle Card Modal Styles */
.vehicle-card-modal {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

.vehicle-card-modal .vehicle-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vehicle-card-modal .vehicle-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-card-modal .vehicle-icon i {
    color: #6c757d;
    font-size: 16px;
}

.vehicle-card-modal .vehicle-info {
    flex: 1;
}

.vehicle-card-modal .vehicle-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.vehicle-card-modal .vehicle-details {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.3;
}

/* Modal Height Customization */
#vehicleFuelModal .modal-dialog {
    min-height: 70vh;
}

#vehicleFuelModal .modal-content {
    min-height: 60vh;
}

#vehicleFuelModal .modal-body {
    padding: 2rem;
    min-height: 40vh;
}

/* Natural Gas Modal Styles */
.location-card-modal {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
}

/* Modal Height Customization */
#naturalGasModal .modal-dialog {
    min-height: 70vh;
}

#naturalGasModal .modal-content {
    min-height: 60vh;
}

#naturalGasModal .modal-body {
    padding: 2rem;
    min-height: 40vh;
}

.location-card-modal .location-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.location-card-modal .location-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-modal .location-icon i {
    color: #6c757d;
    font-size: 16px;
}

.location-card-modal .location-info {
    flex: 1;
}

.location-card-modal .location-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.location-card-modal .location-address {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.3;
}

/* Toast Notification Styles */
.toast {
    min-width: 300px;
}

/* Vehicle Mini Cards Styles */
.vehicle-mini-cards-container {
    margin-bottom: 2rem;
}

.vehicle-mini-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.2s ease;
    height: 100%;
}

.vehicle-mini-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.vehicle-mini-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.vehicle-mini-icon {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    color: #6c757d;
}

.vehicle-mini-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vehicle-mini-info {
    flex: 1;
    min-width: 0;
}

.vehicle-mini-name {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.vehicle-mini-type {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.vehicle-mini-details {
    font-size: 0.75rem;
    color: #6c757d;
}

.vehicle-mini-actions {
    flex: 0 0 auto;
}

.vehicle-mini-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .vehicle-icon-container {
        flex-direction: column;
        gap: 1rem;
    }

    .selected-icon {
        width: 60px;
        height: 60px;
    }

    .icon-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 200px;
    }

    .icon-choice {
        width: 45px;
        height: 45px;
    }

    .vehicle-mini-card-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .vehicle-mini-icon {
        flex: 0 0 32px;
        height: 32px;
    }
}

/* Vehicle Usage Distance Modal */
#vehicleDistanceModal .modal-dialog {
    min-height: 60vh;
}

#vehicleDistanceModal .modal-content {
    min-height: 60vh;
}

#vehicleDistanceModal .modal-body {
    min-height: 40vh;
}

.vehicle-card-modal {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.vehicle-card-modal .vehicle-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vehicle-card-modal .vehicle-icon {
    flex: 0 0 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    color: #6c757d;
}

.vehicle-card-modal .vehicle-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.vehicle-card-modal .vehicle-info {
    flex: 1;
}

.vehicle-card-modal .vehicle-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.vehicle-card-modal .vehicle-type {
    font-size: 0.9rem;
    color: #6c757d;
}

.vehicle-distance {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: 500;
}

/* Fuel Consumption Equipment Modal */
#fuelConsumptionModal .modal-dialog {
    min-height: 60vh;
}

#fuelConsumptionModal .modal-content {
    min-height: 60vh;
}

#fuelConsumptionModal .modal-body {
    min-height: 40vh;
}

.equipment-card-modal {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid #e9ecef;
}

.equipment-card-modal .equipment-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.equipment-card-modal .equipment-icon {
    flex: 0 0 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    color: #6c757d;
}

.equipment-card-modal .equipment-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.equipment-card-modal .equipment-info {
    flex: 1;
}

.equipment-card-modal .equipment-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.equipment-card-modal .equipment-type {
    font-size: 0.9rem;
    color: #6c757d;
}

.equipment-fuel {
    font-size: 0.875rem;
    color: #28a745;
    font-weight: 500;
}

/* Equipment Card Done Styles - Matching Persefoni Design */
.equipment-card-done {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.equipment-card-done:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.equipment-card-done-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.equipment-card-done-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.equipment-card-done-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.equipment-card-done-info {
    flex: 1;
    min-width: 0;
}

.equipment-card-done-name {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.equipment-card-done-name i {
    font-size: 0.8rem;
}

.equipment-card-done-type {
    color: #495057;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.equipment-card-done-description {
    color: #6c757d;
    font-size: 0.8rem;
}

.equipment-card-done-emissions {
    flex-shrink: 0;
    text-align: right;
}

.emissions-amount {
    font-weight: 600;
    color: #28a745;
    font-size: 0.9rem;
}

.equipment-card-done-actions {
    flex-shrink: 0;
}

.equipment-card-done-actions .btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

.equipment-card-done-actions .btn i {
    font-size: 0.7rem;
}

/* Vehicle Card Done Styles - Matching Persefoni Design */
.vehicle-card-done {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.vehicle-card-done:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.vehicle-card-done-content {
    display: flex;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
}

.vehicle-card-done-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vehicle-card-done-icon img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.vehicle-card-done-info {
    flex: 1;
    min-width: 0;
}

.vehicle-card-done-name {
    font-weight: 600;
    color: #212529;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
}

.vehicle-card-done-name i {
    font-size: 0.8rem;
}

.vehicle-card-done-type {
    color: #495057;
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
}

.vehicle-card-done-description {
    color: #6c757d;
    font-size: 0.8rem;
}

.vehicle-card-done-emissions {
    flex-shrink: 0;
    text-align: right;
}

.vehicle-card-done-emissions .emissions-amount {
    font-weight: 600;
    color: #28a745;
    font-size: 0.9rem;
}

.vehicle-card-done-actions {
    flex-shrink: 0;
}

.vehicle-card-done-actions .btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
}

.vehicle-card-done-actions .btn i {
    font-size: 0.7rem;
}

/* Equipment Mini Cards */
.equipment-mini-cards-container {
    margin-bottom: 2rem;
}

.equipment-mini-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    height: 100%;
    transition: all 0.3s ease;
}

.equipment-mini-card:hover {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.equipment-mini-card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
}

.equipment-mini-icon {
    flex: 0 0 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    color: #6c757d;
}

.equipment-mini-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.equipment-mini-info {
    flex: 1;
    min-width: 0;
}

.equipment-mini-name {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
    margin-bottom: 0.25rem;
}

.equipment-mini-type {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.equipment-mini-actions {
    flex: 0 0 auto;
}

.equipment-mini-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Electricity Modal Styles */
#electricityModal .modal-dialog {
    max-width: 800px;
    min-height: 70vh;
}

#electricityModal .modal-content {
    min-height: 70vh;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#electricityModal .modal-body {
    min-height: 50vh;
    padding: 2rem;
}

/* Heat & Steam Modal Styles */
#heatSteamModal .modal-dialog {
    max-width: 800px;
    min-height: 70vh;
}

#heatSteamModal .modal-content {
    min-height: 70vh;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#heatSteamModal .modal-body {
    min-height: 50vh;
    padding: 2rem;
}

/* Purchased Cooling Modal Styles */
#purchasedCoolingModal .modal-dialog {
    max-width: 800px;
    min-height: 70vh;
}

#purchasedCoolingModal .modal-content {
    min-height: 70vh;
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#purchasedCoolingModal .modal-body {
    min-height: 50vh;
    padding: 2rem;
}

/* Location Card Done Styles - Enhanced Design */
.location-card-done {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    overflow: hidden;
}

.location-card-done:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    border-color: #007bff;
}

.location-card-done-content {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    gap: 1rem;
    position: relative;
}

.location-card-done-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #28a745, #20c997);
}

.location-card-done-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.location-card-done-icon i {
    font-size: 1.25rem;
    color: #28a745;
}

.location-card-done-info {
    flex: 1;
    min-width: 0;
}

.location-card-done-name {
    font-weight: 600;
    color: #212529;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card-done-name i {
    font-size: 0.875rem;
    color: #28a745;
}

.location-card-done-type {
    color: #495057;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.location-card-done-description {
    color: #6c757d;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-card-done-description .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.location-card-done-emissions {
    flex-shrink: 0;
    text-align: right;
    padding-left: 1rem;
}

.location-card-done-emissions .emissions-amount {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.location-card-done-actions {
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.location-card-done-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    background: #ffffff;
    color: #495057;
    transition: all 0.2s ease;
}

.location-card-done-actions .btn:hover {
    background: #f8f9fa;
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-1px);
}
