/* Define simplified color scheme using CSS variables from generic_table.css */
:root {
    --color-body-bg: #f2f6f7; /* Body background */
    --color-default-bg: #FFFFFF; /* Default background for divs with borders */
    --color-link: #022D6F; /* Link and primary button text color */
    --color-link-hover-bg: #E7F1FC; /* Link and primary button hover background */
    --color-secondary-text: #000000; /* Secondary button text color */
    --color-secondary-hover-bg: #F0F0F0; /* Secondary button hover background */
    --color-anchor: #908F8C; /* <a> tag text color */
    --color-anchor-hover: #0E4FB5; /* <a> tag hover text color */
    --color-status-inactive: #fee2e2; /* Red-100 for inactive status */
    --color-status-inactive-text: #991b1b; /* Red-800 for inactive text */
    --color-overlay: rgba(0, 0, 0, 0.5); /* Semi-transparent black for overlay */
    --color-row-alt: #F0F0F0; /* Use secondary hover color for alternate rows */
    --color-row-hover: #f3f6f9; /* Use link hover color for row hover */
    --color-filter-active: #022D6F; /* Use link color for active filters */
    --color-filter-inactive: #547792; /* Dark blue for inactive filters */
}
  
/* Body styles from generic_table.css (takes precedence) */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--color-body-bg);
}

/* Base container and navbar from base.css */
.base_container {
    display: flex;
    height: 100%;
    overflow-y: auto;
    min-height: 100vh;
}
.base_navbar {
    width: 20%;
    background-color: #213448;
    padding: 20px;
    border-right: 1px solid #ccc;
}
.base_navbar ul {
    list-style-type: none;
    padding: 0;
}
.base_navbar li {
    margin: 10px 0;
}
.base_navbar a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}
.base_navbar a:hover {
    color: #007bff;
}
.base_content {
    width: 80%;
    padding: 0px;
}
.base_submenu_vehicles {
    padding-left: 20px;
}
.base_toggle_vehicles {
    font-size: 12px;
    margin-right: 5px;
    cursor: pointer;
}
.base_active {
    background-color: #ababab;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    text-decoration: none;
}
.base_active:hover {
    color: black !important;
}

/* Zoom image modal */
.image-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 100; /* Increased z-index to ensure visibility */
    align-items: center;
    justify-content: center;
}

.image-zoom-modal-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.image_zoom_modal_close {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.5rem;
    color: #2563eb;
    cursor: pointer;
}

.image_zoom_modal_close:hover {
    color: #1e40af;
}

.zoomable-image:hover {
    cursor:pointer;
}


/* Issue media and document containers from base.css */
.issue-media-container {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f3f4f6;
    border-radius: 8px;
}
.issue-media-image {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}
.issue-document-container {
    height: 50px;
    justify-content: flex-start;
    padding: 8px;
}

/* Utility classes from generic_table.css */
.text-link {
    color: var(--color-link);
}
.text-link:hover {
    background-color: var(--color-link-hover-bg);
    border-radius: 3px;
}
.border-anchor {
    border-color: var(--color-anchor);
}
.bg-link-hover:hover {
    background-color: var(--color-link-hover-bg);
}
.row-default {
    background-color: var(--color-default-bg);
}

/* General button styles from generic_table.css */
button {
    border-radius: 0.5rem;
    box-sizing: border-box;
    display: flex;
    font-size: 16px;
    justify-content: center;
    padding: 1rem 1.75rem;
    text-decoration: none;
    background-color: transparent;
}

/* Primary button styles from generic_table.css */
.primary-button {
    background-color: white;
    color: black;
    padding: 10px;
}
.primary-button.active {
    background-color: var(--color-filter-active) !important;
    color: white !important;
}
.primary-button:not(.active):hover {
    background-color: var(--color-link-hover-bg) !important;
    color: var(--color-secondary-text) !important;
}
.button-fullwidth {
    width: 100%;
}

/* Other button styles from generic_table.css */
.button-primary {
    color: var(--color-link);
    background-color: transparent;
}
.button-primary:hover {
    background-color: var(--color-link-hover-bg);
}
.button-secondary {
    color: var(--color-secondary-text);
    background-color: var(--color-body-bg);
}
.button-secondary:hover {
    background-color: var(--color-secondary-hover-bg);
}
.button-success {
    color: var(--color-link);
    background-color: transparent;
}
.button-success:hover {
    background-color: var(--color-link-hover-bg);
}


/* Anchor tags from generic_table.css */
a {
    color: var(--color-anchor);
    background-color: transparent;
    text-decoration: none;
}
a:hover {
    color: var(--color-anchor-hover);
    text-decoration: underline;
}

/* Table styles from generic_table.css */
.table-header {
    background-color: var(--color-default-bg);
    border: 1px solid var(--color-anchor);
}
.row-alt {
    background-color: var(--color-row-alt);
}
tr.cursor-pointer:hover,
tr.row-hover:hover,
tr:hover {
    background-color: var(--color-row-hover) !important;
}
tr.cursor-pointer:hover td,
tr.row-hover:hover td,
tr:hover td {
    background-color: var(--color-row-hover) !important;
}
.status-inactive {
    background-color: var(--color-status-inactive) !important;
    color: var(--color-status-inactive-text) !important;
}
.tag {
    width: 100px;
    height: 30px;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 5px;
    color: white;
    background-color: var(--color-link);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filter modal and related styles from generic_table.css */
.filter_modal {
    overflow-y: auto;
    max-height: 100vh;
    border: 1px solid var(--color-anchor);
}
.modal_bg {
    background: var(--color-default-bg);
}
.bg-overlay {
    background-color: var(--color-overlay);
}
input:focus, select:focus {
    border-color: var(--color-link);
    outline: none;
    box-shadow: 0 0 0 2px rgba(2, 45, 111, 0.2);
}
.remove-selected-value {
    cursor: pointer;
    color: var(--color-anchor);
    margin-left: 4px;
}
.remove-selected-value:hover {
    color: var(--color-status-inactive-text);
}
.selected-value {
    background-color: var(--color-default-bg);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    border: 1px solid var(--color-anchor);
}
.column-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    border: 1px solid var(--color-anchor);
    border-radius: 4px;
    background-color: var(--color-default-bg);
}
.column-item:hover {
    background-color: var(--color-link-hover-bg);
}
.remove-column-btn {
    cursor: pointer;
    color: var(--color-anchor);
}
.remove-column-btn:hover {
    color: var(--color-status-inactive-text);
}
.context-menu {
    background-color: var(--color-default-bg);
}
.remove-filter-btn {
    position: absolute;
    top: 0.2rem;
    right: 0.2rem;
    cursor: pointer;
    color: var(--color-anchor);
    font-size: 0.875rem;
    line-height: 1;
    padding: 0.25rem;
    z-index: 10;
}
.remove-filter-btn:hover {
    color: var(--color-status-inactive-text);
}
.filter-row {
    background-color: var(--color-body-bg);
    border-radius: 20px;
}
.filter-group-dropdown {
    background-color: var(--color-default-bg);
}
.save_filter_modal {
    background-color: var(--color-default-bg);
}
.filter-group-active {
    background-color: var(--color-filter-inactive);
    color: white;
    padding: 10px;
}
.filter-group-inactive {
}

/* Styles for tab view from base.css, updated to align right column */
.vehicle-details-container {
    max-width: 100%;
    margin: 0 auto;
}
.tab-button-group {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-anchor);
    margin-bottom: 20px;
    gap: 8px;
}
.tab-button-group-issues {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--color-anchor);
    margin-bottom: 20px;
    gap: 8px;
    padding-top: 40px; /* Aligns with left column's two-row button group */
}
.tab-content-container {
    padding: 20px;
    border: 1px solid var(--color-anchor);
    border-radius: 4px;
    background-color: var(--color-default-bg);
}
.tab-content, .tab-content-issues {
    display: none;
}
.tab-content.active, .tab-content-issues.active {
    display: block;
}
.tab-content h2, .tab-content-issues h2 {
    margin-top: 0;
    color: #213448;
}
.tab-content p, .tab-content-issues p {
    margin: 10px 0;
}
.tab-content p strong, .tab-content-issues p strong {
    display: inline-block;
    width: 200px;
}

/* Stuff from 'vehicle' */
.section-container {
    background-color: var(--color-secondary-hover-bg);
    border-radius: 1rem;
    padding: 0.75rem;
    overflow: hidden;
    border:1px solid var(--color-overlay);
}

.section-large {
    min-height: 19rem;
    overflow-y: auto;
}

.section-medium {
    min-height: 14rem;
    overflow-y: auto;
    overflow-x: scroll;
}

.modal-table td {
    padding: 0.5rem;
}

/* Gridstack */
  .grid-stack-item {
    overflow: hidden;
  }
  .grid-stack-item-content {
    background: rgb(165, 8, 8);
    text-align: center;
    padding:20px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    align-items: stretch;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
  }
  .widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 5px;
    font-weight: bold;
    flex-shrink: 0;
    pointer-events: auto; /* Ensure header is draggable */
  }
  .widget-header * {
    pointer-events: none; /* Prevent child elements from blocking drag */
  }
  .widget-body {
    flex-grow: 1;
    overflow: auto;
  }

.widget-body img {
  display: block;
  width: 100%;
  height: auto;
  transform: scale(0.8);
  opacity: 0;
  animation: fadeGrow 0.5s ease forwards;
}

@keyframes fadeGrow {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Grid that appears as placeholder when resizing / dragging in gridstack */
.grid-stack-placeholder {
  background: rgba(0, 128, 255, 0.2); /* light blue overlay */
  border: 1px dashed #0080ff;
}

/* Searchable select for forms and wizards */
.searchable-select-wrapper {
    position: relative;
}
.searchable-select-input {
    box-sizing: border-box;
}
.searchable-select-container {
    max-height: 300px;
    overflow-y: auto;
}

/* Wizard and form styling in general*/
    /* ────────────────────────────────────────────────
       WIZARD GLOBAL VARIABLES – change here only
    ──────────────────────────────────────────────── */
    :root {
        /* Colors */
        --wizard-circle-bg-default: #ddd;
        --wizard-circle-text-default: #666;
        --wizard-circle-bg-completed: #4CAF50;
        --wizard-circle-text-completed: white;
        --wizard-circle-border-completed: #4CAF50;
        --wizard-circle-bg-current: #1976d2;
        --wizard-circle-text-current: white;
        --wizard-circle-border-current: #1976d2;
        --wizard-glow-current: rgba(25, 118, 210, 0.3);
        --wizard-label-text-default: #666;
        --wizard-label-text-completed: #333;
        --wizard-label-text-current: #0d47a1;
        --wizard-line-bg-default: #ddd;
        --wizard-line-bg-completed: #4CAF50;
        --wizard-input-bg: white;
        --wizard-input-border: black;
        --wizard-preview-bg: #f3f4f6;
        --wizard-preview-border: #d1d5db;
        --wizard-remove-bg: #ef4444;
        --wizard-remove-hover: #dc2626;
        --wizard-text-no-results: #6b7280;

        /* Sizes & spacing */
        --wizard-circle-size: 5px;
        --wizard-circle-font-size: .5rem;
        --wizard-circle-border-width: 3px;
        --wizard-label-font-size: 0.95rem;
        --wizard-label-margin-bottom: 0.5rem;
        --wizard-line-height: 4px;
        --wizard-line-width: 30px;
        --wizard-line-margin-x: 8px;
        --wizard-progress-margin: 2rem 0;
        --wizard-steps-gap: 0.5rem;
        --wizard-input-height: 60px;
        --wizard-input-padding: 0.5rem 0.75rem;
        --wizard-input-font-size: 1rem;
        --wizard-textarea-min-height: 80px;
        --wizard-preview-padding: 0.5rem;
        --wizard-preview-min-width: 150px;
        --wizard-preview-max-width: 280px;
        --wizard-preview-aspect-ratio: 1 / 1;
        --wizard-preview-border-radius: 0.5rem;
        --wizard-preview-border-width: 1px;
        --wizard-preview-shadow: 0 1px 3px rgba(0,0,0,0.1);
        --wizard-remove-size: 1.5rem;
        --wizard-remove-font-size: 0.875rem;
        --wizard-row-gap: 1rem;
        --wizard-row-margin-bottom: 1.25rem;
    }

    /* ────────────────────────────────────────────────
       PROGRESS BAR & STEPS
    ──────────────────────────────────────────────── */
    .wizard-progress {
        margin: var(--wizard-progress-margin);
        text-align: center;
    }

    .steps-container {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--wizard-steps-gap);
        max-width: 800px;
        margin: 0 auto;
    }

    .step-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
    }

    .step-circle {
        width: var(--wizard-circle-size);
        height: var(--wizard-circle-size);
        border-radius: 50%;
        background: var(--wizard-circle-bg-default);
        color: var(--wizard-circle-text-default);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        font-size: var(--wizard-circle-font-size);
        border: var(--wizard-circle-border-width) solid var(--wizard-circle-bg-default);
        transition: all 0.3s ease;
    }

    .step-item.completed .step-circle {
        background: var(--wizard-circle-bg-completed);
        color: var(--wizard-circle-text-completed);
        border-color: var(--wizard-circle-border-completed);
    }

    .step-item.current .step-circle {
        background: var(--wizard-circle-bg-current);
        color: var(--wizard-circle-text-current);
        border-color: var(--wizard-circle-border-current);
        box-shadow: 0 0 0 4px var(--wizard-glow-current);
        transform: scale(1.15);
    }

    .step-label {
        margin-top: 8px;
        font-size: var(--wizard-label-font-size);
        color: var(--wizard-label-text-default);
        white-space: nowrap;
    }

    .step-item.completed .step-label {
        color: var(--wizard-label-text-completed);
        font-weight: 500;
    }

    .step-item.current .step-label {
        color: var(--wizard-label-text-current);
        font-weight: 600;
        transform: scale(1.05);
    }

    .step-line {
        height: var(--wizard-line-height);
        width: var(--wizard-line-width);
        background: var(--wizard-line-bg-default);
        margin: 0 var(--wizard-line-margin-x);
        flex-shrink: 0;
    }

    .step-line.completed {
        background: var(--wizard-line-bg-completed);
    }

    /* ────────────────────────────────────────────────
       FORM FIELDS & LAYOUT – labels always above
    ──────────────────────────────────────────────── */
    .step input,
    .step select,
    .step textarea,
    .search-input {
        width: 100% !important;
        box-sizing: border-box;
        min-width: 0;
        height: var(--wizard-input-height);
        padding: var(--wizard-input-padding);
        font-size: var(--wizard-input-font-size);
        /* border: 2px solid var(--wizard-input-border);
        border-radius: 5px;
        background-color: var(--wizard-input-bg) !important; */
        align-items: center;
    }

    .step textarea {
        height: auto;
        min-height: var(--wizard-textarea-min-height);
    }

    .form-row {
        display: flex;
        flex-direction: column;
        gap: var(--wizard-row-gap);
        margin-bottom: var(--wizard-row-margin-bottom);
        border-radius:5px;   
    }

    @media (min-width: 768px) {
        .form-row {
            flex-direction: row;
            flex-wrap: wrap;
            gap: var(--wizard-row-gap);
        }

        .form-row > div {
            flex: 1 1 0%;
            min-width: 0;
        }
    }
    

    .form-row label {
        display: block;
        margin-bottom: var(--wizard-label-margin-bottom);
        font-weight: 500;
        color: #374151;
        white-space: normal;
    }

    /* ────────────────────────────────────────────────
       MODERN FILE INPUT – clean dashed box with icon hint
    ──────────────────────────────────────────────── */
    /* Restyle the default "Choose file" button – no text change, just look */
input[type="file"]::-webkit-file-upload-button,
input[type="file"]::file-selector-button {
    appearance: none;
    -webkit-appearance: none;
    background: #3b82f6;                /* blue background */
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-right: 1rem;
}

input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"]::file-selector-button:hover {
    background: #2563eb;                /* darker blue on hover */
}

/* Optional: slightly shrink wasted space around button & filename */
input[type="file"] {
    padding: 0.25rem 0;
    line-height: 1.5;
}

.file-input-container {
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

.file-input-container a {
  display: inline-block;           /* crucial for max-width + ellipsis to work */
  max-width: 20ch;                 /* ≈20 characters wide (ch = character width) */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

/* Optional: make it look nicer / clickable */
.file-input-container a:hover {
  text-decoration: underline;
  color: #2563eb;
}

.file-input-container .fileinput-remove,
.file-input-container input[type="checkbox"][name$="-clear"],
.file-input-container label[for$="-clear_id"] {
    display: none !important;
}



/* Optional: Hide chosen files name or "no file chosen" label */
/* input[type="file"] {
    color: transparent; 
} */

    /* ────────────────────────────────────────────────
       IMAGE PREVIEW & REMOVE BUTTON
    ──────────────────────────────────────────────── */
    .preview {
        padding: var(--wizard-preview-padding);
        width: 100%;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(var(--wizard-preview-min-width), 1fr));
        gap: 1rem;
    }

    .preview > div {
        position: relative;
        min-width: var(--wizard-preview-min-width);  /* 200px */
        max-width: var(--wizard-preview-max-width);  /* 280px */
        flex: 0 0 auto;  /* no grow, no shrink, auto basis */
        aspect-ratio: var(--wizard-preview-aspect-ratio);
        overflow: hidden;
        border-radius: var(--wizard-preview-border-radius);
        background: var(--wizard-preview-bg);
        border: var(--wizard-preview-border-width) solid var(--wizard-preview-border);
        box-shadow: var(--wizard-preview-shadow);
    }

    .preview img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .preview .remove {
        position: absolute;
        top: -0.375rem;
        right: -0.375rem;
        width: var(--wizard-remove-size);
        height: var(--wizard-remove-size);
        background: var(--wizard-remove-bg);
        color: white;
        border-radius: 9999px;
        font-size: var(--wizard-remove-font-size);
        line-height: 1;
        border: none;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        transition: background 0.2s;
        z-index: 20;
    }

    .preview .remove:hover {
        background: var(--wizard-remove-hover);
    }

    /* ────────────────────────────────────────────────
       UTILITIES & VISIBILITY
    ──────────────────────────────────────────────── */
    .hidden {
        display: none !important;
    }

    .step {
        display: none;
        padding: 2rem;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        border-radius: 8px;
    }

    .step.active,
    .step:not(.hidden) {
        display: block;
    }


    /* Background for each label + input + preview container */
.flex.flex-col.gap-2 {
    background-color: #f9fafb;          /* light gray – change to any color, e.g. #ffffff or #eff6ff */
    border-radius: 0.5rem;
    padding: 1.25rem;                   /* inner spacing – adjust as needed */
    border: 1px solid #e5e7eb;          /* subtle border – optional */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* light shadow – optional */
}

/* Optional: hover effect for better UX */
.flex.flex-col.gap-2:hover {
    background-color: #f1f5f9;
    border-color: #d1d5db;
}

/* Make sure previews inside don't break layout */
.flex.flex-col.gap-2 .preview {
    margin-top: 1rem;
    width: 100%;
}

/* Ensure inputs and selects fill the space */
.flex.flex-col.gap-2 input,
.flex.flex-col.gap-2 select,
.flex.flex-col.gap-2 .search-input {
    width: 100%;
}


.radio-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.75rem 0 1.25rem 0;
}

.radio-pill-group .pill-option {
    display: contents;  /* removes wrapper from layout */
}

.radio-pill-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.radio-pill-group label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;                    /* space between icon & text */
    min-width: 120px;               /* adjust based on your longest label */
    padding: 0.6rem 1.4rem;
    border: 2px solid #d1d5db;
    border-radius: 9999px;
    background: white;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    white-space: nowrap;
    user-select: none;
}

.radio-pill-group input[type="radio"]:checked + label {
    background: #1976d2;
    color: white;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.25);
}

.radio-pill-group input[type="radio"]:focus + label {
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.4);
}

.pill-icon {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    object-fit: contain;
}


/* ================================================
   ONBOARDING PAGE STYLES
   ================================================ */

.onboarding-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1.5rem;
}

.navbar-dark {
    background-color: #213448;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 20%;
    z-index: 1000;
    border-right: 1px solid #2d3f5a;
}

.navbar-dark img {
    max-width: 100%;
    height: auto;
    display: block;
}

.main-content {
    margin-left: 20%;
    padding: 4rem 2rem 2rem;
}

/* Card for the form */
.card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Tenant banner at top */
.tenant-banner {
    background: linear-gradient(to right, #eff6ff, #dbeafe);
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #bfdbfe;
}

/* Section styling */
.section {
    padding: 2rem;
}

/* Field group (matches wizard style) */
.field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.field-group label {
    font-weight: 500;
    color: #374151;
    font-size: 0.95rem;
}

.field-group input,
.field-group select {
    height: var(--wizard-input-height);
    padding: var(--wizard-input-padding);
    font-size: var(--wizard-input-font-size);
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    background: white;
    transition: all 0.2s ease;
}

.field-group input:focus,
.field-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Responsive grid for driver fields */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Submit button (matches wizard primary style) */
.submit-btn {
    background: #2563eb;
    color: white;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.submit-btn:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Error messages */
.errorlist {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}
 
/* Add modal: For adding protocols, drivers, vehicles, issues, ... */
.add-modal {
    @apply fixed inset-0 flex items-start justify-center z-50 hidden;
}