.search-wrap.with-filters input[name="search"]{
    width: 300px;
}
.search-wrap.with-filters{
    position: static;
}

.badge-outline-dark {
   color: #373f4a;
   border-color: #373f4a;
}

.custom-file-label{
    display: none;
}

.custom-file-input{
    opacity: 1;
}

.alert-mov {
    color: #FFFFFF;
    background-color: #9400FF;
    border-color: #9400FF;
}

.logo-link {
    position: relative;
    display: inline-block;
    align-items: center;
    font-size: 24px;
}

/* Admin tables – horizontal scroll (mobile, same layout as desktop) */
.admin-tb-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.admin-tb-scroll .nk-tb-list {
    min-width: 900px;
}

.admin-tb-scroll--wide .nk-tb-list {
    min-width: 1100px;
}

.admin-empty-state {
    padding: 2rem 1.25rem;
    text-align: center;
}

.admin-empty-state p {
    margin-bottom: 1.25rem;
    color: #526484;
}

.reports-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
}

.reports-summary__main {
    flex: 1 1 auto;
    min-width: 0;
}

.reports-summary__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
    align-items: stretch;
}

.reports-summary__section {
    min-width: 0;
}

.reports-summary__section--statuses {
    padding: 0;
}

.reports-summary__section--secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
    gap: .5rem;
    padding: 0;
    align-items: stretch;
}

.reports-summary__section-title {
    display: block;
    margin-bottom: .45rem;
    color: #8094ae;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.reports-summary__status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: .5rem;
}

.reports-summary__status {
    position: relative;
    min-height: 64px;
    padding: .5rem .625rem .5rem .75rem;
    overflow: hidden;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    background: #fff;
}

.reports-summary__status::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: #8094ae;
    content: "";
}

.reports-summary__status--completed::before {
    background: #1ee0ac;
}

.reports-summary__status--ongoing::before,
.reports-summary__status--invited::before {
    background: #6576ff;
}

.reports-summary__status--paused::before {
    background: #f4bd0e;
}

.reports-summary__status--discarded::before,
.reports-summary__status--blocked::before,
.reports-summary__status--response::before {
    background: #e85347;
}

.reports-summary__label {
    display: block;
    color: #8094ae;
    font-size: .75rem;
    line-height: 1.2;
    white-space: nowrap;
}

.reports-summary__value {
    display: block;
    margin-top: .125rem;
    color: #364a63;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.reports-summary__meta {
    padding: .5rem .625rem;
    border: 1px solid #e5e9f2;
    border-radius: 6px;
    background: #f8fafc;
}

.reports-summary__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    color: #526484;
    font-size: .8125rem;
    line-height: 1.35;
}

.reports-summary__meta-row + .reports-summary__meta-row {
    margin-top: .35rem;
}

.reports-summary__meta-row strong {
    color: #364a63;
    font-size: .9375rem;
}

.reports-summary__actions {
    flex: 0 0 auto;
    padding-top: 2.3rem;
}

/* Manually Edit Responses */
.manual-edit-page .overline-title {
    font-size: 8px;
    text-align: center;
}

.manual-edit-page .preview-block {
    justify-content: center;
    flex-direction: column;
    display: flex;
}

.manual-edit-page .custom-radio {
    margin: auto;
}

.manual-edit-page .item-row:hover {
    background-color: #f2f2f2;
}

.manual-edit-page .preview-title {
    font-size: 11px;
    text-align: center;
    padding-bottom: 0;
}

.manual-edit-page .sticky {
    background: #fff;
    z-index: 10000 !important;
}

.manual-edit-page #sticky-wrapper .col-7 {
    position: relative;
    left: -8px;
}

.manual-edit-page #sticky-wrapper.is-sticky .col-7 {
    position: relative;
    left: 12px;
}

.manual-edit-page .item-row {
    border-bottom: 1px solid #ccc;
}

.manual-edit-page .custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: transparent;
    background-color: transparent;
    background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" xmlns="http://www.w3.org/2000/svg"><ellipse stroke="null" fill="%234a4a4a" ry="11.8767" rx="11.854035" id="svg_2" cy="12.158658" cx="12.067996" fill-opacity="null" stroke-opacity="null" stroke-width="null" /><path stroke="null" fill="%23ffffff" id="svg_1" d="m10.337262,18.768454l-5.80417,-6.276021l1.799938,-2.085226l3.970053,4.26781l7.874325,-9.035494l1.833473,2.046718l-9.673617,11.082212z"/></svg>');
    content: '';
    background-position: center;
}

.manual-edit-page .custom-control .custom-control-input:checked ~ .custom-control-label::after {
    opacity: 0;
}

.manual-edit-page .is-sticky .ans-1 {
    position: relative;
    left: -6px;
}

.manual-edit-page .is-sticky .ans-2 {
    position: relative;
    left: -2px;
}

.manual-edit-page .is-sticky .ans-3 {
    position: relative;
}

.manual-edit-page .is-sticky .ans-4 {
    position: relative;
    left: 3px;
}

.manual-edit-page .is-sticky .ans-5 {
    position: relative;
    left: 5px;
}

.manual-edit-page .is-sticky .ans-6 {
    position: relative;
    left: 8px;
}

.manual-answers-scroll {
    overflow-x: visible;
}

.manual-answers-scroll > .row {
    flex-wrap: wrap;
    min-width: 0;
}

.manual-answers-scroll .col-md-2 {
    flex: 0 0 16.666667%;
    width: 16.666667%;
    max-width: 16.666667%;
}

.manual-edit-page .ans-label-mobile {
    display: none;
}

@media (max-width: 768px) {
    .list-header-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .reports-summary {
        display: block;
    }

    .reports-summary__content {
        grid-template-columns: 1fr;
    }

    .reports-summary__actions {
        padding-top: 1rem;
    }

    .add-button-wrap {
        margin-top: 15px;
    }

    .add-button-wrap .btn {
        width: 100%;
    }

    .manual-edit-page.components-preview.wide-md {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .manual-edit-page .item-row .col-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .manual-edit-page .item-row .col-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .manual-edit-page .item-row > .row > .col-5:empty {
        display: none;
    }

    .manual-edit-page #sticky-wrapper .col-7,
    .manual-edit-page #sticky-wrapper.is-sticky .col-7 {
        left: 0;
    }

    .manual-edit-page .is-sticky .ans-1,
    .manual-edit-page .is-sticky .ans-2,
    .manual-edit-page .is-sticky .ans-3,
    .manual-edit-page .is-sticky .ans-4,
    .manual-edit-page .is-sticky .ans-5,
    .manual-edit-page .is-sticky .ans-6 {
        left: 0;
    }

    .manual-edit-page .likert-scale-header {
        display: none !important;
    }

    .manual-edit-page .item-row .manual-answers-scroll {
        overflow-x: visible;
    }

    .manual-edit-page .item-row .manual-answers-scroll > .row {
        flex-wrap: wrap;
        min-width: 0;
        flex-direction: column;
        gap: 0.15rem;
        margin-left: 0;
        margin-right: 0;
    }

    .manual-edit-page .item-row .manual-answers-scroll .col-md-2 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 0.2rem 0;
    }

    .manual-edit-page .item-row .preview-block {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.375rem;
        min-height: auto;
        padding: 0.35rem 0;
    }

    .manual-edit-page .item-row .custom-control {
        flex-shrink: 0;
        margin: 0;
        padding-left: 1.25rem;
    }

    .manual-edit-page .item-row .custom-control-label::before,
    .manual-edit-page .item-row .custom-control-label::after {
        left: -1.25rem;
    }

    .manual-edit-page .ans-label-mobile {
        display: block;
        font-size: clamp(0.6875rem, 2.6vw, 0.8125rem);
        color: #8094ae;
        line-height: 1.35;
        font-weight: 400;
    }
}
