﻿@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-regular.woff2') format('woff2'),
    url('../fonts/roboto-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto-bold.woff2') format('woff2'),
    url('../fonts/roboto-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.table {
    border-collapse: separate;
    border-spacing: 0 5px;
}

.table-container {
    height: 65vh;
    overflow-y: auto;
    overflow-x: auto;
}

.table-container-shifts {
    height: 80vh;
    overflow-x: hidden;
}

.container-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
}

footer {
    margin-top: auto;
}

.card-row {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: .375rem;
    overflow: hidden;
    transition: transform 0.2s;
}

.card-row:hover {
    transform: scale(1.02);
}

.card-row td {
    padding: 15px;
    vertical-align: middle;
}

.table thead {
    border-bottom: 2px solid #dee2e6;
}

.table thead th {
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
    color: #333;
    text-align: left;
    padding: 12px;
    background-color: #f5f5f5;
    border-top: 0;
    border-bottom: 2px solid #dee2e6;
}

.table-striped tbody tr.card-row:nth-of-type(odd) {
    background-color: #f8f9fa;
}

.table-striped tbody tr.card-row:nth-of-type(even) {
    background-color: #ffffff;
}

.bold-row {
    font-weight: bold;
}

.flatpickr-input {
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #ced4da !important;
    border-radius: .25rem !important;
}

.normal-font {
    font-weight: normal;
}

.loader {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

.car__body {
    animation: shake 0.2s ease-in-out infinite alternate;
}

.car__line {
    transform-origin: center right;
    stroke-dasharray: 22;
    animation: line 0.8s ease-in-out infinite;
    animation-fill-mode: both;
}

.car__line--top {
    animation-delay: 0s;
}

.car__line--middle {
    animation-delay: 0.2s;
}

.car__line--bottom {
    animation-delay: 0.4s;
}

@keyframes shake {
    0% {
        transform: translateY(-1%);
    }
    100% {
        transform: translateY(3%);
    }
}

@keyframes line {
    0% {
        stroke-dashoffset: 22;
    }
    25% {
        stroke-dashoffset: 22;
    }
    50% {
        stroke-dashoffset: 0;
    }
    51% {
        stroke-dashoffset: 0;
    }
    80% {
        stroke-dashoffset: -22;
    }
    100% {
        stroke-dashoffset: -22;
    }
}

.card {
    border: 1px solid #dee2e6;
    border-radius: .375rem;
}

.card-header {
    background-color: #f8f9fa;
}

.card-body {
    padding: 1.25rem;
}

.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.tooltip-inner {
    max-width: 500px;
    word-wrap: break-word;
    text-align: left;
}

.custom-tooltip .tooltip-inner {
    background-color: rgba(234, 242, 248, 0.8);
    color: black;
}

.details-summary {
    background-color: rgba(234, 242, 248, 0.2);
    padding: 10px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.details-summary:hover {
    background-color: rgba(212, 230, 241, 0.5);
}

.label-width {
    display: inline-block;
    width: 120px;
    font-weight: bold;
}

.text-highlight {
    color: #5d9fc5;
    font-weight: bold;
}

div.validation-summary ul {
    list-style: none;
    font-size: 0.78rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1.25rem;
}

.order-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
}

.order-container:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.order-container .dropdown {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.order-container:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.custom-select-wrapper {
    position: relative;
    width: auto;
    max-width: 250px;
}

.custom-select {
    appearance: none;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    font-size: 1rem;
    color: #333;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    padding: 0.5rem 2rem 0.5rem 1rem;
}

.custom-select:hover {
    border-color: #aaa;
}

.custom-select:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(38, 143, 255, 0.5);
}

.custom-select option {
    background-color: #fff;
    color: #333;
    padding: 0.5rem;
    border: none;
    font-size: 1rem;
}

.custom-select option:hover {
    background-color: #f1f1f1;
}

.custom-select option:active {
    background-color: #e1e1e1;
}

.custom-select-wrapper::after {
    content: ' ▼';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #333;
}

.checkbox-container {
    display: flex;
    justify-content: flex-start;
    margin-left: auto;
    gap: 1rem;
    margin-right: 10px;
}

.checkbox-container label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    border: 2px solid #ddd;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.checkbox-container input[type="checkbox"]:checked {
    border-color: #007BFF;
    background-color: #fff;
}

.checkbox-container input[type="checkbox"]:checked::after {
    content: '✔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    color: white;
}

.checkbox-container input[type="checkbox"]:hover {
    border-color: #aaa;
}

.checkbox-container label:hover {
    color: #007BFF;
}

.checkbox-container input[type="checkbox"].error {
    border-color: #e74c3c;
    background-color: #f8d7da;
}

.skeleton {
    display: inline-block;
    width: 100%;
    height: 1em;
    background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton.short {
    width: 30%;
}

.skeleton.medium {
    width: 60%;
}

.badge-lg {
    font-size: 0.7rem;
}

.clickable {
    cursor: pointer;
}

.clickable:hover,
.clickable:active {
    color: #007bff;
    text-decoration: underline;
}

.order-count {
    color: #5d9fc5;
    font-weight: bold;
}

.orders-summary {
    border-spacing: 10px;
    width: 100%;
    table-layout: fixed;
}

.orders-summary th:first-child,
.orders-summary td:first-child {
    width: 20%;
}

.orders-summary th:not(:first-child),
.orders-summary td:not(:first-child) {
    width: 10%;
}

.orders-summary td {
    padding: 10px;
}

.orders-summary tbody tr:hover {
    background-color: #f1f1f1;
}

.orders-summary tr {
    border-bottom: 1px solid #ddd;
}

.orders-summary tr:last-child {
    border-bottom: none;
}

.btn-xs {
    font-size: 0.7rem;
    padding: 0.15rem 0.3rem;
    line-height: 1;
}

.customCheckBoxHolder {
    margin: 5px;
    display: flex;
}

.customCheckBox {
    width: fit-content;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    padding: 2px 8px;
    background-color: rgba(0, 0, 0, 0.16);
    border-radius: 0px;
    color: rgba(255, 255, 255, 0.7);
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 300ms;
    transition-property: color, background-color, box-shadow;
    display: flex;
    height: 32px;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 1px 0px inset, rgba(255, 255, 255, 0.17) 0px 1px 1px 0px;
    outline: none;
    justify-content: center;
    min-width: 55px;
}

.customCheckBox:hover {
    background-color: #2c2c2c;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.23) 0px -4px 1px 0px inset, rgba(255, 255, 255, 0.17) 0px -1px 1px 0px, rgba(0, 0, 0, 0.17) 0px 2px 4px 1px;
}

.customCheckBox .inner {
    font-size: 18px;
    font-weight: 900;
    pointer-events: none;
    transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
    transition-duration: 300ms;
    transition-property: transform;
    transform: translateY(0px);
}

.customCheckBox:hover .inner {
    transform: translateY(-2px);
}

.customCheckBoxWrapper:first-of-type .customCheckBox {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-right: 0px;
}

.customCheckBoxWrapper:last-of-type .customCheckBox {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border-left: 0px;
}

.customCheckBoxInput {
    display: none;
}

.customCheckBoxInput:checked + .customCheckBoxWrapper .customCheckBox {
    background-color: #007bff;
    color: white;
    box-shadow: rgba(0, 0, 0, 0.23) 0px -4px 1px 0px inset, rgba(255, 255, 255, 0.17) 0px -1px 1px 0px, rgba(0, 0, 0, 0.17) 0px 2px 4px 1px;
}

.customCheckBoxInput:checked + .customCheckBoxWrapper .customCheckBox .inner {
    transform: translateY(-2px);
}

.customCheckBoxInput:checked + .customCheckBoxWrapper .customCheckBox:hover {
    background-color: #3796fc;
    box-shadow: rgba(0, 0, 0, 0.26) 0px -4px 1px 0px inset, rgba(255, 255, 255, 0.17) 0px -1px 1px 0px, rgba(0, 0, 0, 0.15) 0px 3px 6px 2px;
}

.customCheckBoxWrapper .customCheckBox:hover .inner {
    transform: translateY(-2px);
}

.route-info-container {
    font-size: 0.9rem;
}

.route-segments {
    scrollbar-width: thin;
    scrollbar-color: #6c757d #f8f9fa;
}

.route-segments::-webkit-scrollbar {
    width: 6px;
}

.route-segments::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.route-segments::-webkit-scrollbar-thumb {
    background-color: #6c757d;
    border-radius: 3px;
}

.segment-item {
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.segment-item:hover {
    background: #f0f8ff;
    padding-left: 15px;
}

.segment-distance {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2196F3;
}

.segment-text-primary-blue {
    color: #2196F3;
}

.segment-item.active {
    background-color: #e6f7ff;
    border-left: 4px solid #1890ff;
}

.segment-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.segment-title-container {
    position: relative;
    min-height: 38px;
    padding-right: 36px;
    display: flex;
    align-items: flex-start;
}

.segment-number {
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: #1890ff;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.15);
}

.segment-numbers-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 0;
    top: 15px;
    height: 100%;
    justify-content: center;
}

.total-distance.route-total-segment {
    cursor: pointer;
    transition: background-color 0.2s;
}

.total-distance.route-total-segment.active, .total-distance.route-total-segment:hover {
    background-color: #e6f7ff;
    border-left: 4px solid #1890ff;
}

.leaflet-tooltip.location-tooltip {
    background-color: rgba(33, 150, 243, 0.95) !important;
    border: none !important;
    border-radius: 4px !important;
    color: white !important;
    padding: 4px 8px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

.leaflet-tooltip.location-tooltip::before {
    display: none !important;
}

.popup {
    --burger-line-width: 1.125em;
    --burger-line-height: 0.125em;
    --burger-offset: 0.625em;
    --burger-bg: rgba(0, 0, 0, .15);
    --burger-color: #333;
    --burger-line-border-radius: 0.1875em;
    --burger-diameter: 2.125em;
    --burger-btn-border-radius: calc(var(--burger-diameter) / 2);
    --burger-line-transition: .3s;
    --burger-transition: all .1s ease-in-out;
    --burger-hover-scale: 1.1;
    --burger-active-scale: .95;
    --burger-enable-outline-color: var(--burger-bg);
    --burger-enable-outline-width: 0.125em;
    --burger-enable-outline-offset: var(--burger-enable-outline-width);
    /* nav */
    --nav-padding-x: 0.25em;
    --nav-padding-y: 0.625em;
    --nav-border-radius: 0.375em;
    --nav-border-color: #ccc;
    --nav-border-width: 0.0625em;
    --nav-shadow-color: rgba(0, 0, 0, .2);
    --nav-shadow-width: 0 1px 5px;
    --nav-bg: #eee;
    --nav-font-family: Menlo, Roboto Mono, monospace;
    --nav-default-scale: .8;
    --nav-active-scale: 1;
    --nav-position-left: 0;
    --nav-position-right: unset;
    /* title */
    --nav-title-size: 0.625em;
    --nav-title-color: #777;
    --nav-title-padding-x: 1rem;
    --nav-title-padding-y: 0.25em;
    /* nav button */
    --nav-button-padding-x: 1rem;
    --nav-button-padding-y: 0.375em;
    --nav-button-border-radius: 0.375em;
    --nav-button-font-size: 12px;
    --nav-button-hover-bg: #6495ed;
    --nav-button-hover-text-color: #fff;
    --nav-button-distance: 0.875em;
    /* underline */
    --underline-border-width: 0.0625em;
    --underline-border-color: #ccc;
    --underline-margin-y: 0.3125em;
}

/* popup settings */

.popup {
    display: inline-block;
    text-rendering: optimizeLegibility;
    position: relative;
}

.popup input {
    display: none;
}

.burger {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    background: var(--burger-bg);
    width: var(--burger-diameter);
    height: var(--burger-diameter);
    border-radius: var(--burger-btn-border-radius);
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: var(--burger-transition);
    outline: var(--burger-enable-outline-width) solid transparent;
    outline-offset: 0;
}

.burger span {
    height: var(--burger-line-height);
    width: var(--burger-line-width);
    background: var(--burger-color);
    border-radius: var(--burger-line-border-radius);
    position: absolute;
    transition: var(--burger-line-transition);
}

.burger span:nth-child(1) {
    top: var(--burger-offset);
}

.burger span:nth-child(2) {
    bottom: var(--burger-offset);
}

.burger span:nth-child(3) {
    top: 50%;
    transform: translateY(-50%);
}

.popup-window {
    transform: scale(var(--nav-default-scale));
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    padding: var(--nav-padding-y) var(--nav-padding-x);
    background: var(--nav-bg);
    font-family: var(--nav-font-family);
    border-radius: var(--nav-border-radius);
    box-shadow: var(--nav-shadow-width) var(--nav-shadow-color);
    border: var(--nav-border-width) solid var(--nav-border-color);
    top: calc(var(--burger-diameter) + var(--burger-enable-outline-width) + var(--burger-enable-outline-offset));
    left: var(--nav-position-left);
    right: var(--nav-position-right);
    transition: var(--burger-transition);
}

.popup-window legend {
    padding: var(--nav-title-padding-y) var(--nav-title-padding-x);
    margin: 0;
    color: var(--nav-title-color);
    font-size: var(--nav-title-size);
    text-transform: uppercase;
}

.popup-window ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.popup-window ul button {
    outline: none;
    width: 100%;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    color: var(--burger-color);
    font-size: var(--nav-button-font-size);
    padding: var(--nav-button-padding-y) var(--nav-button-padding-x);
    white-space: nowrap;
    border-radius: var(--nav-button-border-radius);
    cursor: pointer;
    column-gap: var(--nav-button-distance);
}

.popup-window ul li:nth-child(1) svg,
.popup-window ul li:nth-child(2) svg {
    color: cornflowerblue;
}

.popup-window ul li:nth-child(4) svg {
    color: #b6a21f;
}

.popup-window hr {
    margin: var(--underline-margin-y) 0;
    border: none;
    border-bottom: var(--underline-border-width) solid var(--underline-border-color);
}

/* actions */

.popup-window ul button:hover,
.popup-window ul button:focus-visible,
.popup-window ul button:hover svg,
.popup-window ul button:focus-visible svg {
    color: var(--nav-button-hover-text-color);
    background: var(--nav-button-hover-bg);
}

.burger:hover {
    transform: scale(var(--burger-hover-scale));
}

.burger:active {
    transform: scale(var(--burger-active-scale));
}

.burger:focus:not(:hover) {
    outline-color: var(--burger-enable-outline-color);
    outline-offset: var(--burger-enable-outline-offset);
}

.popup input:checked + .burger span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.popup input:checked + .burger span:nth-child(2) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.popup input:checked + .burger span:nth-child(3) {
    transform: translateX(calc(var(--burger-diameter) * -1 - var(--burger-line-width)));
}

.popup input:checked ~ nav {
    transform: scale(var(--nav-active-scale));
    visibility: visible;
    opacity: 1;
}

.error {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    max-width: 90%;
    padding: 12px 24px;
    margin: 0 auto 1rem auto;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: start;
    background: #EF665B;
    border-radius: 8px;
    box-shadow: 0px 0px 5px -3px #111;
}

.error__icon {
    width: 20px;
    height: 20px;
    transform: translateY(-2px);
    margin-right: 8px;
}

.error__icon path {
    fill: #fff;
}

.error__title {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
    flex-shrink: 1;
    margin: 0;
    padding-right: 12px;
}

.error__close {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}

.error__close path {
    fill: #fff;
}

.error__title ol {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.toast-container {
    z-index: 1050;
}

.toast {
    opacity: 1 !important;
}

.toast-header {
    background-color: #198754 !important;
}

.btn-close-white {
    filter: brightness(0) invert(1);
}

.add-user-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #EDEDED;
    color: #000000;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-user-btn:hover {
    background-color: rgba(0, 0, 0, .15);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-user-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-user-btn svg {
    width: 24px;
    height: 24px;
}

.users-table thead th {
    background-color: transparent !important;
}

.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    font-size: 0.95em;
    font-weight: 500;
    border-radius: 0.8em;
    padding: 0.2em 0.9em 0.2em 0.6em;
    margin: 0.1em 0;
    line-height: 1.5;
    white-space: nowrap;
}

.role-icon {
    width: 1.1em;
    height: 1.1em;
    display: inline-block;
}

.role-tech {
    background: #f3e8ff;
    color: #9333ea;
}

.role-tech .role-icon {
    fill: #9333ea;
}

.role-logist {
    background: #f3f4f6;
    color: #374151;
}

.role-logist .role-icon {
    fill: #374151;
}

.role-admin {
    background: #e7f1ff;
    color: #2563eb;
}

.role-admin .role-icon {
    fill: #2563eb;
}

.user-login {
    font-weight: 500;
    font-size: 1.08em;
    color: #000000;
    padding: 0.18em 0.8em;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    letter-spacing: 0.02em;
}

table.users-table th {
    color: #998A93;
}

.company-dropdown {
    border: 1px solid #c1c2c5;
    border-radius: 12px;
    transition: all 300ms;
    display: flex;
    flex-direction: column;
    min-height: 58px;
    background-color: white;
    overflow: hidden;
    position: relative;
    inset-inline: auto;
    width: 100%;
}

.company-dropdown input:where(:checked) ~ .list {
    opacity: 1;
    transform: translateY(-3rem) scale(1);
    transition: all 500ms ease;
    margin-top: 32px;
    padding-top: 4px;
    margin-bottom: -32px;
}

.company-dropdown input:where(:not(:checked)) ~ .list {
    opacity: 0;
    transform: translateY(3rem);
    margin-top: -100%;
    user-select: none;
    height: 0px;
    max-height: 0px;
    min-height: 0px;
    pointer-events: none;
    transition: all 500ms ease-out;
}

.trigger {
    cursor: pointer;
    list-style: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-weight: 600;
    color: inherit;
    width: 100%;
    display: flex;
    align-items: center;
    flex-flow: row;
    gap: 1rem;
    padding: 1rem;
    height: max-content;
    position: relative;
    z-index: 99;
    border-radius: inherit;
    background-color: white;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.company-dropdown input:where(:checked) + .trigger {
    margin-bottom: 1rem;
}

.company-dropdown input:where(:checked) + .trigger:before {
    rotate: 90deg;
    transition-delay: 0ms;
}

.trigger:before,
.trigger::after {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trigger:before {
    content: "›";
    rotate: -90deg;
    width: 17px;
    height: 17px;
    color: #262626;
    border-radius: 2px;
    font-size: 26px;
    transition: all 350ms ease;
    transition-delay: 85ms;
}

.list {
    height: 100%;
    max-height: 20rem;
    width: calc(100% - calc(var(--w-scrollbar) / 2));
    display: grid;
    grid-auto-flow: row;
    overflow: hidden auto;
    gap: 1rem;
    padding: 0 1rem;
    margin-right: -8px;
    --w-scrollbar: 8px;
}

.listitem {
    height: 100%;
    width: calc(100% + calc(calc(var(--w-scrollbar) / 2) + var(--w-scrollbar)));
    list-style: none;
}

.article {
    padding: 1rem;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-align: justify;
    width: 100%;
    border: 1px solid #c1c2c5;
    display: inline-block;
    background-color: white;
}

.webkit-scrollbar::-webkit-scrollbar {
    width: var(--w-scrollbar);
    height: var(--w-scrollbar);
    border-radius: 9999px;
}

.webkit-scrollbar::-webkit-scrollbar-track {
    background: #0000;
}

.webkit-scrollbar::-webkit-scrollbar-thumb {
    background: #0000;
    border-radius: 9999px;
}

.webkit-scrollbar:hover::-webkit-scrollbar-thumb {
    background: #c1c2c5;
}
