/* Fonts */
@font-face {
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Regular.woff2') format('woff2'),
        url('/fonts/OpenSans-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Medium.woff2') format('woff2'),
        url('/fonts/OpenSans-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/fonts/OpenSans-Bold.woff2') format('woff2'),
        url('/fonts/OpenSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Global */
body {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 0.9vw, 15px);
    background-color: var(--body-color);
}

h1 {
    font-size: clamp(17px, 1.2vw, 20px);
    font-weight: 700;
}

h2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 120%;
}

h3 {
    font-size: 15px;
    font-weight: 500;
}

h4 {
    font-size: 14px;
    font-weight: 400;
    color: #444;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

img {
    max-width: 100%;
}

button {
    border: 0;
    cursor: pointer;
}

.ql-editor {
    font-size: 16px;
}

.highlight-text {
    background-color: var(--highlight-text-bck);
    color: var(--highlight-text-color);
    padding: 4px 8px;
    width: fit-content;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* Header, nav and layout */
header {
    background-color: white;
}

.header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    margin-left: 2rem;
    margin-right: 2rem;

}

nav {
    font-weight: 500;
    text-align: center;
}

nav ul,
.nav-2 {
    display: flex;
    gap: 10px;
}

nav ul {
    flex-direction: column;
    text-align: left;
}

nav li {
    list-style: none;
}

nav li>a {
    color: #0e1216;
    text-decoration: none;
    display: flex;
    gap: .5rem;
    align-items: center;
    padding: 8px;
    border-radius: 8px;
}

nav li>a:hover {
    background-color: #E5E9ED;
}

nav li>a:hover svg path {
    fill: var(--menu-hover);
}

nav img {
    display: none;
}

.nav-2 {
    position: relative;
}

.nav-2 img:hover {
    filter: opacity(0.7);
    cursor: pointer;
}

.sub-menu {
    display: none;
    padding-top: .5rem;
    padding-left: 30px;
    font-weight: 400;
}

.sub-menu ul {
    display: flex;
    flex-direction: column;
}

.mobile-menu {
    display: none;
}

.main {
    display: flex;
}

.main-content {
    padding: 2rem;
    width: 100%;
}

.main-content--margin {
    max-width: 1300px;
    margin: auto;
}

.sidebar {
    background-color: var(--sidebar);
    width: 300px;
    padding: 2rem 1rem 1rem 1.5rem;
    min-height: calc(100vh - 100px);
}

.mobile-sidebar {
    box-shadow: 0px 0px 24px -5px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
}

.filter-bar {
    display: flex;
    align-items: end;
    gap: 12px;
    margin-bottom: 6px;
}

.filter-bar-end {
    justify-content: end;
}

.filter-bar svg {
    fill: #878a99;
    transition: fill 0.2s ease;
    cursor: pointer;
}

.filter-bar svg:hover {
    fill: #000;
}

.action-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.action-bar__button {
    display: flex;
    gap: 0.5rem;
    width: fit-content;
}

.user-menu-container {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    position: absolute;
    width: 220px;
    background-color: white;
    box-shadow: 0px 0px 24px -5px rgba(0, 0, 0, 0.16), 0px 0px 4px 0px rgba(0, 0, 0, 0.08);
    top: 35px;
    right: 10px;
    border: 1px solid #F5F5F5;
    border-radius: 8px;
    padding: 1.5rem;
    font-weight: 500;
    z-index: 999;
}

.user-menu-container li:hover a {
    color: var(--menu-hover);
}

.user-info {
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--input-border);
    font-weight: 400;
}

.badge {
    font-size: .8rem;
    padding: 0 6px;
    border-radius: 4px;
    color: white;
}

.badge-success {
    background-color: var(--flash-success-color);
}

.badge-error {
    background-color: var(--flash-error-color);
}

.badge-waiting {
    background-color: orange;
}

.badge-action {
    background-color: var(--input-border)
}

.gridjs-tr {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.clickable-row:hover td {
    background-color: #F6F8FA !important;
}

.dashboard-clickable-row {
    cursor: pointer;
}

.gridjs-tr {
    user-select: none;
}


/* Auth pages */
.auth-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 600px;
    margin: 25px auto;
}

.auth-signup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 25px auto;
}

.auth-signup-login {
    padding-top: 2rem;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .5rem;
}

.auth-container-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    background-color: white;
    padding: 2em 2em;
    border-radius: 8px;
    margin-top: 5vh;
}

.auth-container-content h1 {
    text-align: center;
}

.auth-container-content li {
    list-style: disc;
    list-style-position: inside;
}


/* Dashboard pages */
.dashboard-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 2rem;
}

.dashboard-title {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.dashboard-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.dashboard-content-item {
    flex: 1;
    text-align: left;
}

.box {
    background-color: white;
    padding: 1.2rem;
    border-radius: 8px;
}

.box h2 {
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 500;
    color: #878a99;
    text-transform: uppercase;
}

.col-3 {
    width: calc(25% - 20px);
}


.col-6 {
    width: calc(50% - 20px);
}

.col-12 {
    width: calc(100%);
}

/* Grid JS */
.btn-action {
    background-color: var(--input-border);
    padding: .2rem .5rem;
    border-radius: 5px;
    font-size: .8rem;
}

.btn-action:hover {
    background-color: var(--input-border-focus);
}

/* Tables */

.table-card {
    padding-top: 1rem;
    overflow: auto;
}

table {
    width: 100%;
}

thead {
    background-color: #F1F4F6;
    padding: .5rem;
}

th {
    padding: .8rem;
    text-align: left;
}

td {
    padding: .8rem .8rem;
    text-align: left;
}

tr:last-child {
    padding-bottom: 0;
}




.container-toggle {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.container-toggle::after {
    content: "＋";
    font-weight: 900;
    color: black;
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #F6F8FA;
    border: 1px solid rgba(255, 255, 255, 0.10);
    flex: 0 0 auto;
    transition: 0.2s ease;
}

/* Quand l'accordéon est ouvert */
.container-toggle.is-open::after {
    content: "−";
}

/* Forms & fields */
.form-container {
    background-color: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.form-container-row {
    display: flex;
    gap: 4rem;
}

.form-container-row:not(:last-child) {
    margin-bottom: 1rem;
}

.form-container-col {
    flex: 1;
}

.form-container-col h2 {
    margin-bottom: 1em;
}


.field {
    width: 100%;
    margin-bottom: 0.75em;
}

.field-filter {
    max-width: 300px;
    margin-bottom: 0;
}

.field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.25em;
    font-size: 13px;
}

.field-score {
    width: 100px;
}

input,
textarea {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 0.9vw, 15px);
    width: 100%;
    border-radius: 4px;
    line-height: 1.5;
    border: 1px solid var(--input-border);
    padding: .5em .9em;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-border-focus)
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

/* Edge & IE */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}

.radio-container {
    display: flex;
    margin-bottom: 1rem;
    height: 50px;
    align-items: center;
    gap: 5px;
}

.radio-item input {
    appearance: none;
    display: none;
}

.radio-item label {
    border: 1px solid var(--button-primary);
    padding: .5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.radio-item-selected {
    background-color: var(--button-primary);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
}

.form-select {
    width: 100%;
    border-radius: 4px;
    line-height: 1.5;
    border: 1px solid var(--input-border);
    padding: .5em .9em;
    background-image: url('/images/ui/select.svg');
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 16px 12px;
    background-color: white;
    color: #757575;
    font-size: clamp(14px, 0.9vw, 15px);
}

.txtarea {
    height: 100px;
    width: 100%;
    resize: none;
}

#hide-pwd {
    display: none;
}

.required {
    display: none;
    color: var(--field-required-color);
    font-size: 14px;
}

.field.has-error .required {
    display: block;
}

/* checkbox toggle */
input[type='checkbox'].toggle {
    display: none;
    cursor: pointer;
}

input[type='checkbox'].toggle+label {
    display: flex;
    position: relative;
    align-items: center;
    cursor: pointer;
}

input[type='checkbox'].toggle+label::before {
    content: "";
    width: 3em;
    height: 1.5em;
    background-color: hsl(0, 80%, 90%);
    border-radius: 1em;
    margin-right: .5em;
    transition: background-color 200ms ease-in-out;
}

input[type='checkbox'].toggle+label::after {
    position: absolute;
    left: .3em;
    content: "";
    width: 1.2em;
    height: 1.2em;
    background-color: hsl(0, 80%, 60%);
    border-radius: 1em;
    transition: background-color 200ms ease-in-out, transform 200ms ease-in-out;
}

input[type='checkbox'].toggle:checked+label::before {
    background-color: hsl(100, 70%, 90%);
}

input[type='checkbox'].toggle:checked+label::after {
    transform: translateX(100%);
    background-color: hsl(100, 70%, 60%);
}

input[type='checkbox'].toggle:focus+label::before {
    border: 1px solid black;
}



input[type='checkbox'].toggle:disabled+label {
    color: #777;
}

input[type='checkbox'].toggle:disabled+label::before {
    background-color: #ccc;
}

input[type='checkbox'].toggle:disabled+label::after {
    background-color: #777;
}

/* Buttons */
.button {
    display: block;
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 500;
    border-radius: 8px;
    padding: .5em 1.5em;
    margin: auto;
    width: fit-content;
    text-decoration: none;
    line-height: 150%;
    cursor: pointer;
}

.primary-button {
    background-color: var(--button-primary);
    color: white;
    border: 1px solid var(--button-primary);
}

.primary-button:hover,
.primary-button:focus {
    background-color: white;
    color: var(--button-primary);
}

.secondary-button {
    background-color: white;
    color: var(--button-primary);
    border: 1px solid var(--button-primary);
}

.secondary-button:hover,
.secondary-button:focus {
    background-color: var(--button-primary);
    color: white;
}

.delete-button {
    background-color: white;
    color: var(--flash-error-color);
    border: 1px solid var(--flash-error-color);
}

.delete-button:hover,
.delete-button:focus {
    background-color: var(--flash-error-color);
    color: white;
}

.left-button {
    margin: 0;
}

.cross-button {
    position: relative;
    padding-right: 28px;
}

.cross-button::after {
    content: "✕";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    transition: opacity 0.2s ease;
}


.button__margin {
    margin-top: 2rem;
}

.icon-button {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.icon-button:hover>svg path {
    fill: var(--button-primary)
}

.icon-button-big {
    border: 1px solid #0e1216;
    padding: 20px 12px;
    background: #f6f8fa;
    border-radius: 8px;
    gap: 12px;
}

.icon-button-big:hover {
    background: #fff;
}

.icon-button-big span {
    font-weight: 700;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #333;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.6s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 6px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload .form-label {
    background-color: var(--input-border);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    display: inline-flex;
}

.file-upload .form-label:hover {
    background-color: var(--input-border-focus);
}

.file-upload label::before {
    content: url('/images/ui/upload.svg');
    display: inline-block;
    width: 30px;
}

.file-name {
    font-size: 14px;
    color: #333;
}

.file-send {
    padding-top: 50px;
}

.lottie-container {
    display: block;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    top: 10px;
}

.list-container {
    margin: 1rem 0;
}

.list-container ul {
    display: flex;
    flex-direction: column;
}

.list-container li {
    display: flex;
    gap: 15px;
    line-height: 2;
    align-items: center;
}

li span {
    display: inline;
}

.list-container li::before {
    content: url('/images/ui/check-circle.svg');
    display: inline-block;
    width: 20px;
    height: 20px;
}

.link {
    text-decoration: underline;
    cursor: pointer;
}

.link-color {
    color: var(--button-primary);
}

.link-container {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 500;
}


.flash-message {
    display: flex;
    gap: .5rem;
    position: fixed;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flash-icon {
    min-width: 30px;
}

.flash-error {
    background-color: var(--flash-error-bg);
    color: var(--flash-error-color);
    border: 1px solid var(--flash-error-color);
}

.flash-success {
    background-color: var(--flash-success-bg);
    color: var(--flash-success-color);
    border: 1px solid var(--flash-success-color);
}

.logo {
    width: 240px;
}

.text-muted {
    font-size: 13px;
    color: #626c76;
}

.text-big {
    font-size: clamp(22px, 1.8vw, 28px);
    font-weight: 700;
}

.text-unread {
    color: red;
}

.nocontent-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding-top: 2rem;
    justify-content: center;
    align-items: center;
}

.link-icon {
    display: flex;
    align-items: center;
    gap: 5px;
    color: dimgrey;
    fill: dimgrey;
    font-size: 14px;
    cursor: pointer;
}

.link-icon:hover {
    color: var(--button-primary);
    fill: var(--button-primary);
}

.mb {
    margin-bottom: 1em;
}

.mt {
    margin-top: 1em;
}

.hide {
    display: none;
}


/* Modal */
.modal-container {
    position: relative;
    padding: 2rem;
}

.close::after {
    content: "\d7";
    position: absolute;
    top: 15px;
    right: 30px;
    font-size: 2.5rem;
    cursor: pointer;
}

.close:hover {
    color: var(--button-primary);
}

.modal-container__title {
    margin-bottom: 1rem;
}

.modal-container__box-items {
    display: flex;
    align-items: stretch;
    text-align: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-container__box-item {
    flex-basis: 250px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1em;
    justify-content: flex-start;
    align-items: center;
    border: 1px solid #d1d1d1;
    border-radius: 0.25rem;
    padding: 1rem;
}

.modal-container__box-item:hover {
    color: var(--button-primary);
}

.open-modal {
    cursor: pointer;
}

.modal {
    margin: auto;
    min-width: 40%;
    max-width: 60%;
    border: 0;
    border-radius: 0.25rem;
}

.modal::backdrop {
    background: rgb(0 0 0 / .5)
}

.trash-icon {
    cursor: pointer;
}


.uploader {
    margin-top: 12px;
}

.uploader button {
    font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(14px, 0.9vw, 15px);
    font-weight: 500;
    border-radius: 8px;
    padding: .5em 1.5em;
    padding: 10px 12px;
    margin-right: 8px;
}

.fileList {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.fileItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.thumb {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
}

.pdfIcon {
    width: 54px;
    height: 54px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
}

.fileMeta {
    flex: 1;
    overflow: hidden;
}

.fileMeta div:first-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.muted {
    opacity: .7;
}

.removeBtn {
    padding: 6px 10px;
}

.att-item {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin: 8px 0
}

.att-thumb {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px
}

.att-icon {
    width: 54px;
    height: 54px;
    border: 1px solid #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.att-remove {
    margin-left: auto;
    background: white;
    font-size: 16px;
    opacity: 0.7;
}


.veh-picker-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #cfd6df;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    text-align: left;
    align-items: stretch;
    /* IMPORTANT */
    padding: 0;
}

.veh-picker-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 10px 12px;
    display: flex;
    align-items: center;
}

.veh-picker-chev {
    opacity: .7;
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-left: 1px solid #ddd;
    background: #f3f3f3;
}

.veh-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.veh-modal.is-open {
    display: block;
}

.veh-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

/* Sheet = bottom on mobile, centered on desktop */
.veh-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 16px 16px 0 0;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


.veh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid #eef1f5;
}

.veh-title {
    font-weight: 700;
}

.veh-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    padding: 6px 8px;
}

.veh-search {
    padding: 12px 14px 8px;
}

.veh-search-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 10px;
}

.veh-hint {
    margin-top: 8px;
    font-size: 12px;
    opacity: .7;
}

.veh-results {
    padding: 6px 8px 12px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.veh-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 10px;
    border-radius: 12px;
    cursor: pointer;
}

.veh-item:hover {
    background: #f6f8fb;
}

.veh-item-main {
    flex: 1;
    min-width: 0;
}

.veh-item-title {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.veh-item-sub {
    font-size: 12px;
    opacity: .75;
    margin-top: 2px;
}

.veh-badge {
    font-size: 12px;
    border: 1px solid #d9e1ea;
    border-radius: 999px;
    padding: 4px 8px;
    opacity: .85;
    white-space: nowrap;
}

.veh-empty,
.veh-loading,
.veh-error {
    padding: 14px;
    opacity: .8;
    text-align: center;
}

.veh-footer {
    padding: 10px 14px;
    border-top: 1px solid #eef1f5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.veh-cancel {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #cfd6df;
    background: #fff;
    cursor: pointer;
}

/* media queries */

@media screen and (min-width: 75.001rem) {
    #close-mobile-menu {
        display: none;
    }
}

@media screen and (max-width: 100rem) {
    .dashboard-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-content-item {
        padding-bottom: .5rem;
    }
}

@media screen and (max-width: 75rem) {
    .main-content {
        padding: 1rem;
    }

    .header {
        height: 75px;
    }

    .logo {
        width: 200px;
    }

    .mobile-menu {
        display: block;
    }

    .sidebar {
        display: none;
        position: absolute;
        width: 220px;
        min-height: fit-content;
        background-color: white;
        color: black;
        top: 60px;
        right: 20px;
        border: 1px solid #F5F5F5;
        border-radius: 8px;
        padding: 1.5rem;
        font-weight: 500;
        z-index: 999;
    }

    nav ul {
        gap: 0;
    }

    nav li>a {
        color: black;
    }

    nav li>a:hover {
        color: var(--menu-hover);
    }

    nav li svg {
        display: none;
    }

    #close-mobile-menu {
        padding-bottom: 20px;
        cursor: pointer;
    }

    .action-bar {
        flex-direction: column;
        gap: .5rem;
        padding-bottom: 1rem;
    }

    .action-bar__button {
        gap: 6px;
    }

    .action-bar__button .button {
        margin: unset;
        padding: 6px 12px;
    }

    .att-item {
        flex-direction: column;
    }

    .att-remove {
        margin-left: unset;
    }

    .filter-bar {
        flex-direction: column;
        align-items: start;
    }

    .form-container {
        padding: 1rem;
    }

    .form-container-row {
        flex-direction: column;
        gap: 4px;
    }

    .modal {
        max-width: 95%;
    }

    .modal-container {
        padding: 2rem;
    }

    .flash-message {
        width: 90%;
    }

    .gridjs-pagination .gridjs-summary {
        padding-bottom: .5rem;
    }

    .gridjs-pagination .gridjs-pages {
        float: left;
    }

    .auth-container-content {
        padding: 1em 1em;
    }
}

@media screen and (max-width: 45rem) {
    .col-3 {
        width: calc(50% - 10px);
    }

    .col-6 {
        width: calc(100%);
    }
}

@media screen and (max-width: 30rem) {
    .hide-mobile {
        display: none;
    }

    .close::after {
        top: 1px;
        right: 1px;
        font-size: 2rem;
        padding: 5px 10px;
    }

}


@media (min-width: 900px) {
    .veh-sheet {
        left: 50%;
        top: 50%;
        bottom: auto;
        right: auto;
        transform: translate(-50%, -50%);
        width: min(720px, 92vw);
        border-radius: 16px;
        max-height: min(720px, 85vh);
        box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
    }
}