.eopt-form-card {
    border-radius: 1rem;
}

.eopt-form-card .card-header,
.helper-list-shell .card-header,
.helper-list-shell .card-footer,
.eopt-form-card .card-footer {
    border-color: rgba(15, 23, 42, 0.08);
}

.eopt-form-toolbar,
.eopt-form-footer,
.form-actions,
.button-group {
    min-width: 0;
}

.eopt-form-body {
    padding: 1.25rem 1.25rem;
}

.eopt-form-row {
    padding: 0.35rem 0;
}

.eopt-form-row-has-error {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-radius: 0.85rem;
}

.eopt-form-row-html {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.eopt-form-label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    width: 100%;
    font-weight: 500;
}

.eopt-field-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    line-height: 1;
    color: #6c757d;
    cursor: help;
    text-decoration: none;
    vertical-align: middle;
}

.eopt-field-tooltip .material-icons {
    font-size: 18px;
    line-height: 1;
}

.eopt-field-tooltip:hover,
.eopt-field-tooltip:focus {
    color: #0d6efd;
    text-decoration: none;
}

.eopt-form-html {
    min-width: 0;
}

.eopt-form-error-feedback {
    font-size: 0.875rem;
}

.eopt-form-row-has-error .chosen-container-single .chosen-single,
.eopt-form-row-has-error .chosen-container-multi .chosen-choices {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.12);
}

.eopt-file-preview {
    display: flex;
    align-items: flex-start;
}

.eopt-file-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
    background: #f8f9fa;
    color: inherit;
    text-decoration: none;
}

.eopt-file-preview-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 72px;
    max-width: 220px;
    padding: 0.35rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.eopt-file-preview-thumb img {
    display: block;
    max-width: 220px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.eopt-file-preview-thumb--file {
    min-width: 56px;
    max-width: 56px;
    min-height: 56px;
    max-height: 56px;
    color: #0d6efd;
    font-size: 1.5rem;
}

.eopt-file-preview-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.helper-list-shell {
    position: relative;
    margin-bottom: 12px;
    border-radius: 1rem;
}

.helper-list-shell .helper-list-content {
    transition: opacity 0.22s ease, filter 0.22s ease, transform 0.22s ease;
}

.helper-list-shell .card {
    border-radius: 1rem;
    overflow: visible;
}

.helper-list-shell.is-loading > .helper-list-content {
    opacity: 0.38;
    filter: blur(2px);
    transform: translateY(2px);
    pointer-events: none;
    user-select: none;
}

.helper-list-loader {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.helper-list-shell.is-loading > .helper-list-loader {
    position: fixed;
    inset: 0;
    z-index: 2140;
    opacity: 1;
    visibility: visible;
}

.helper-list-loader-backdrop {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(110deg, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0.26) 38%, rgba(255, 255, 255, 0) 56%) 0 0 / 220% 100%,
        rgba(248, 250, 252, 0.62);
    backdrop-filter: blur(3px);
    animation: helper-list-shimmer 1.1s linear infinite;
}

.helper-list-shell.is-loading > .helper-list-loader .helper-list-loader-backdrop {
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    animation: none;
}

.helper-list-loader-box {
    position: relative;
    z-index: 1;
    min-width: 220px;
    max-width: calc(100% - 2rem);
    padding: 1rem 1.15rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.helper-list-loader-spinner {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid rgba(17, 24, 39, 0.14);
    border-top-color: rgba(17, 24, 39, 0.56);
    animation: eopt-spin 0.75s linear infinite;
    flex: 0 0 1.25rem;
}

.helper-list-loader-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
    white-space: nowrap;
}

.helper-list-loader-box .material-icons {
    font-size: 1.1rem;
    line-height: 1;
}

.eopt-table-responsive {
    width: 100%;
    max-width: 100%;
    min-height: 300px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.eopt-table-responsive:not(.eopt-table-responsive--has-x-scroll) {
    overflow-x: auto;
}

.helper-list-shell .dropdown-menu,
.eopt-area-admin .dropdown-menu {
    z-index: 1085;
}

.eopt-bulk-actions {
    width: 260px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.helper-list-footer {
    padding: 0.75rem 1rem;
}

.helper-list-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.helper-list-footer__bulk {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 260px;
}

.helper-list-footer__pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 620px;
    gap: 0.75rem;
    min-width: 0;
    padding: 0;
}

.helper-list-footer__pagination > .small {
    flex: 0 1 auto;
    min-width: 220px;
    text-align: center;
    white-space: nowrap;
}

.helper-list-footer__pagination .chosen-container {
    flex: 0 0 auto;
}

.helper-list-footer .eopt-bulk-actions .form-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    min-width: 30px;
    height: 32px;
}

.helper-list-footer .eopt-bulk-actions .chosen-container {
    flex: 1 1 auto;
    min-width: 0;
}

.helper-list .btn-sm {
    padding: 4px 6px;
    font-size: 0.75rem;
    line-height: 1.1;
}

.form-actions .btn {
    min-width: 42px;
}
.form-actions .btn.dropdown-toggle-split {
    min-width: 22px;
}

.form-actions .btn.btn-primary {
    min-width: auto;
}

.eopt-test-report-status-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    min-width: min(100%, 520px);
    max-width: 100%;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}

.eopt-test-report-status-filter__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.eopt-test-report-status-filter__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.eopt-test-report-status-filter__label .material-icons {
    font-size: 18px;
    line-height: 1;
    color: #2563eb;
}

.eopt-test-report-status-filter__count {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.12rem 0.55rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #1d4ed8;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.eopt-test-report-status-filter__field {
    flex: 1 1 250px;
    min-width: 250px;
}

.eopt-test-report-status-filter__field .chosen-container {
    width: 100% !important;
}

.eopt-test-report-status-filter__actions {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.eopt-test-report-status-filter__actions .btn {
    min-width: auto;
}

@media (max-width: 991.98px) {
    .eopt-test-report-status-filter {
        width: 100%;
    }

    .eopt-test-report-status-filter__field {
        flex-basis: 100%;
        min-width: 100%;
    }
}

.button-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.button-group button,
.button-group .btn {
    margin-left: 0;
}

.eopt-list-footer .eopt-page-input {
    width: 56px;
    min-width: 56px;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.eopt-list-footer .eopt-page-btn {
    min-width: 34px;
}

.eopt-list-footer .eopt-per-page {
    width: 86px;
    min-width: 86px;
}

@media (max-width: 991.98px) {
    .helper-list-footer__bulk,
    .helper-list-footer__pagination {
        flex-basis: 100%;
        justify-content: center;
    }

    .helper-list-footer__pagination {
        gap: 0.5rem;
    }
}

@media (max-width: 575.98px) {
    .helper-list-footer__pagination > .small {
        order: 3;
        flex-basis: 100%;
        min-width: 0;
        white-space: normal;
    }

    .helper-list-footer__pagination .eopt-page-input {
        width: 52px;
        min-width: 52px;
    }
}

.eopt-row-link {
    cursor: pointer;
    vertical-align: middle;
}

.helper-list-shell td.actions,
.helper-list-shell td.actions .dropdown,
.helper-list-shell td.actions .btn-group {
    position: relative;
}

.helper-list-shell td.actions .actions-dropdown {
    position: relative;
}

.helper-list-shell td.actions .dropdown.show,
.helper-list-shell td.actions .dropdown:focus-within,
.helper-list-shell td.actions .btn-group.show,
.helper-list-shell td.actions .btn-group:focus-within,
.helper-list-shell td.actions .actions-dropdown.show,
.helper-list-shell td.actions .actions-dropdown:focus-within {
    z-index: 1095;
}

.helper-list-shell td.actions .dropdown-menu.show {
    position: absolute;
    z-index: 1096;
}

.helper-list-shell td.actions .dropup .dropdown-menu.show {
    top: auto;
    bottom: calc(100% + 0.125rem);
}

.eopt-row-actions .btn-group > .dropdown-toggle-split,
.eopt-row-actions .dropdown > .btn {
    min-width: 2rem;
    min-height: 1.8rem;
    padding: 0.32rem 0.48rem;
}

.eopt-no-rowclick {
    cursor: default;
}

.eopt-sort-button {
    color: inherit;
}

.eopt-status-toggle {
    scale: 1.25;
}

.eopt-position-handle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    user-select: none;
}

.eopt-position-handle:active {
    cursor: grabbing;
}

.select-mass {
    max-width: 120px !important;
}

.datepicker-width {
    max-width: 150px;
}

.helper-list-shell .filter.eopt-filter-active,
.helper-list-shell input.eopt-filter-active,
.helper-list-shell select.eopt-filter-active,
.filter.eopt-filter-active,
input.eopt-filter-active,
select.eopt-filter-active,
.helper-list-shell .chosen-container.eopt-filter-active .chosen-single,
.helper-list-shell .eopt-measurement-filters__input.eopt-filter-active .form-control,
.helper-list-shell .eopt-measurement-filters__input.eopt-filter-active .form-select,
.helper-list-shell .eopt-measurement-filters__input.eopt-filter-active .chosen-single,
.chosen-container.eopt-filter-active .chosen-single,
.eopt-measurement-filters__input.eopt-filter-active .form-control,
.eopt-measurement-filters__input.eopt-filter-active .form-select,
.eopt-measurement-filters__input.eopt-filter-active .chosen-single {
    border-color: #f59e0b !important;
    background-color: #fffbeb !important;
    box-shadow: 0 0 0 0.12rem rgba(245, 158, 11, 0.18) !important;
}

.helper-list-shell .filter.eopt-filter-active::placeholder,
.filter.eopt-filter-active::placeholder,
.helper-list-shell .eopt-measurement-filters__input.eopt-filter-active .form-control::placeholder,
.eopt-measurement-filters__input.eopt-filter-active .form-control::placeholder {
    color: #92400e;
}

.helper-list-shell .eopt-measurement-filters__input.eopt-filter-active > .material-icons,
.eopt-measurement-filters__input.eopt-filter-active > .material-icons {
    color: #b45309;
}

.eopt-flex-column {
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .eopt-form-body {
        padding: 1.75rem 2rem;
    }

    .eopt-form-row {
        padding: 0.65rem 0;
    }

    .helper-list-shell td.actions .actions-dropdown {
        position: absolute;
    }

    .helper-list-shell .eopt-table-responsive.eopt-table-responsive--has-x-scroll td.actions .actions-dropdown {
        position: relative;
    }
}

@keyframes helper-list-shimmer {
    from {
        background-position: 200% 0, 0 0;
    }

    to {
        background-position: -200% 0, 0 0;
    }
}
