/*!
 * FilePond 4.31.1
 * Licensed under MIT, https://opensource.org/licenses/MIT/
 * Please visit https://pqina.nl/filepond/ for details.
 */

/* eslint-disable */
.filepond--assistant {
    position: absolute;
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Hard to override styles */
.filepond--browser.filepond--browser {
    /* is positioned absolute so it is focusable for form validation errors */
    position: absolute;
    margin: 0;
    padding: 0;

    /* is positioned ~behind drop label */
    left: 1em;
    top: 1.75em;
    width: calc(100% - 2em);

    /* hide visually */
    opacity: 0;
    font-size: 0;
    /* removes text cursor in Internet Explorer 11 */
}

.filepond--data {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: none;
    visibility: hidden;
    pointer-events: none;
    contain: strict;
}

.filepond--drip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.1;

    /* can't interact with this element */
    pointer-events: none;

    /* inherit border radius from parent (needed for drip-blob cut of) */
    border-radius: 0.5em;

    /* this seems to prevent Chrome from redrawing this layer constantly */
    background: rgba(0, 0, 0, 0.01);
}

.filepond--drip-blob {
    position: absolute;
    -webkit-transform-origin: center center;
    transform-origin: center center;
    top: 0;
    left: 0;
    width: 8em;
    height: 8em;
    margin-left: -4em;
    margin-top: -4em;
    background: #292625;
    border-radius: 50%;

    /* will be animated */
    will-change: transform, opacity;
}

.filepond--drop-label {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0;
    color: #4f4f4f;

    /* center contents */
    display: flex;
    justify-content: center;
    align-items: center;

    /* fixes IE11 centering problems (is overruled by label min-height) */
    height: 0px;

    /* dont allow selection */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* will be animated */
    will-change: transform, opacity;
}

/* Hard to override styles on purpose */
.filepond--drop-label.filepond--drop-label label {
    display: block;
    margin: 0;
    padding: var(--sp-m);
    cursor: pointer;
    /* use padding instead of margin so click area is not impacted */
}

.filepond--drop-label label {
    cursor: default;
    font-size: 0.875em;
    font-weight: normal;
    text-align: center;
    line-height: 1.5;
}

.filepond--label-action {
    text-decoration: underline;
    -webkit-text-decoration-skip: ink;
    text-decoration-skip-ink: auto;
    -webkit-text-decoration-color: #a7a4a4;
    text-decoration-color: #a7a4a4;
    cursor: pointer;
}

.filepond--root[data-disabled] .filepond--drop-label label {
    opacity: 0.5;
}

/* Hard to override styles */
.filepond--file-action-button.filepond--file-action-button {
    font-size: 1em;
    width: 1.625em;
    height: 1.625em;

    font-family: inherit;
    line-height: inherit;

    margin: 0;
    padding: 0;
    border: none;
    outline: none;

    will-change: transform, opacity;

    /* hidden label */
}

.filepond--file-action-button.filepond--file-action-button span {
    position: absolute;
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    white-space: nowrap;
}

.filepond--file-action-button.filepond--file-action-button {
    /* scale SVG to fill button */
}

.filepond--file-action-button.filepond--file-action-button svg {
    width: 100%;
    height: 100%;
}

.filepond--file-action-button.filepond--file-action-button {
    /* bigger touch area */
}

.filepond--file-action-button.filepond--file-action-button::after {
    position: absolute;
    left: -0.75em;
    right: -0.75em;
    top: -0.75em;
    bottom: -0.75em;
    content: "";
}

/* Soft styles */
.filepond--file-action-button {
    /* use default arrow cursor */
    cursor: auto;

    /* reset default button styles */
    color: #fff;

    /* set default look n feel */
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    background-image: none;

    /* we animate box shadow on focus */
    /* it's only slightly slower than animating */
    /* a pseudo-element with transforms and renders */
    /* a lot better on chrome */
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    transition: box-shadow 0.25s ease-in;
}

.filepond--file-action-button:hover,
.filepond--file-action-button:focus {
    box-shadow: 0 0 0 0.125em rgba(255, 255, 255, 0.9);
}

.filepond--file-action-button[disabled] {
    color: rgba(255, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.25);
}

.filepond--file-action-button[hidden] {
    display: none;
}

/* edit button */
.filepond--action-edit-item.filepond--action-edit-item {
    width: 2em;
    height: 2em;
    padding: 0.1875em;
}

.filepond--action-edit-item.filepond--action-edit-item[data-align*="center"] {
    margin-left: -0.1875em;
}

.filepond--action-edit-item.filepond--action-edit-item[data-align*="bottom"] {
    margin-bottom: -0.1875em;
}

.filepond--action-edit-item-alt {
    border: none;
    line-height: inherit;
    background: transparent;
    font-family: inherit;
    color: inherit;
    outline: none;
    padding: 0;
    margin: 0 0 0 0.25em;
    pointer-events: all;
    position: absolute;
}

.filepond--action-edit-item-alt svg {
    width: 1.3125em;
    height: 1.3125em;
}

.filepond--action-edit-item-alt span {
    font-size: 0;
    opacity: 0;
}

.filepond--file-info {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    margin: 0 0.5em 0 0;
    min-width: 0;

    /* will be animated */
    will-change: transform, opacity;

    /* can't do anything with this info */
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* no margins on children */
}

.filepond--file-info * {
    margin: 0;
}

.filepond--file-info {
    /* we don't want to have these overrules so these selectors are a bit more specific */
}

.filepond--file-info .filepond--file-info-main {
    font-size: 0.75em;
    line-height: 1.2;

    /* we want ellipsis if this bar gets too wide */
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.filepond--file-info .filepond--file-info-sub {
    font-size: 0.625em;
    opacity: 0.5;
    transition: opacity 0.25s ease-in-out;
    white-space: nowrap;
}

.filepond--file-info .filepond--file-info-sub:empty {
    display: none;
}

.filepond--file-status {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-grow: 0;
    flex-shrink: 0;

    margin: 0;
    min-width: 2.25em;
    text-align: right;

    /* will be animated */
    will-change: transform, opacity;

    /* can't do anything with this info */
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    /* no margins on children */
}

.filepond--file-status * {
    margin: 0;
    white-space: nowrap;
}

.filepond--file-status {
    /* font sizes */
}

.filepond--file-status .filepond--file-status-main {
    font-size: 0.75em;
    line-height: 1.2;
}

.filepond--file-status .filepond--file-status-sub {
    font-size: 0.625em;
    opacity: 0.5;
    transition: opacity 0.25s ease-in-out;
}

/* Hard to override styles */
.filepond--file-wrapper.filepond--file-wrapper {
    border: none;
    margin: 0;
    padding: 0;
    min-width: 0;
    height: 100%;

    /* hide legend for visual users */
}

.filepond--file-wrapper.filepond--file-wrapper > legend {
    position: absolute;
    overflow: hidden;
    height: 1px;
    width: 1px;
    padding: 0;
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    white-space: nowrap;
}

.filepond--file {
    position: static;
    display: flex;
    height: 100%;
    align-items: flex-start;

    padding: 0.5625em 0.5625em;

    color: #fff;
    border-radius: 0.5em;

    /* control positions */
}

.filepond--file .filepond--file-status {
    margin-left: auto;
    margin-right: 2.25em;
}

.filepond--file .filepond--processing-complete-indicator {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 3;
}

.filepond--file .filepond--processing-complete-indicator,
.filepond--file .filepond--progress-indicator,
.filepond--file .filepond--file-action-button {
    position: absolute;
}

.filepond--file {
    /* .filepond--file-action-button */
}

.filepond--file [data-align*="left"] {
    left: 0.5625em;
}

.filepond--file [data-align*="right"] {
    right: 0.5625em;
}

.filepond--file [data-align*="center"] {
    left: calc(50% - 0.8125em);
    /* .8125 is half of button width */
}

.filepond--file [data-align*="bottom"] {
    bottom: 1.125em;
}

.filepond--file [data-align="center"] {
    top: calc(50% - 0.8125em);
}

.filepond--file .filepond--progress-indicator {
    margin-top: 0.1875em;
}

.filepond--file .filepond--progress-indicator[data-align*="right"] {
    margin-right: 0.1875em;
}

.filepond--file .filepond--progress-indicator[data-align*="left"] {
    margin-left: 0.1875em;
}

/* make sure text does not overlap */
[data-filepond-item-state="cancelled"] .filepond--file-info,
[data-filepond-item-state*="invalid"] .filepond--file-info,
[data-filepond-item-state*="error"] .filepond--file-info {
    margin-right: 2.25em;
}

[data-filepond-item-state~="processing"] .filepond--file-status-sub {
    opacity: 0;
}

[data-filepond-item-state~="processing"]
    .filepond--action-abort-item-processing
    ~ .filepond--file-status
    .filepond--file-status-sub {
    opacity: 0.5;
}

[data-filepond-item-state="processing-error"] .filepond--file-status-sub {
    opacity: 0;
}

[data-filepond-item-state="processing-error"]
    .filepond--action-retry-item-processing
    ~ .filepond--file-status
    .filepond--file-status-sub {
    opacity: 0.5;
}

[data-filepond-item-state="processing-complete"] {
    /* busy state */
}

[data-filepond-item-state="processing-complete"]
    .filepond--action-revert-item-processing
    svg {
    -webkit-animation: fall 0.5s 0.125s linear both;
    animation: fall 0.5s 0.125s linear both;
}

[data-filepond-item-state="processing-complete"] {
    /* hide details by default, only show when can revert */
}

[data-filepond-item-state="processing-complete"] .filepond--file-status-sub {
    opacity: 0.5;
}

[data-filepond-item-state="processing-complete"]
    .filepond--processing-complete-indicator:not([style*="hidden"])
    ~ .filepond--file-status
    .filepond--file-status-sub {
    opacity: 0;
}

[data-filepond-item-state="processing-complete"] .filepond--file-info-sub {
    opacity: 0;
}

[data-filepond-item-state="processing-complete"]
    .filepond--action-revert-item-processing
    ~ .filepond--file-info
    .filepond--file-info-sub {
    opacity: 0.5;
}

/* file state can be invalid or error, both are visually similar but */
/* having them as separate states might be useful */
[data-filepond-item-state*="invalid"] .filepond--panel,
[data-filepond-item-state*="invalid"] .filepond--file-wrapper,
[data-filepond-item-state*="error"] .filepond--panel,
[data-filepond-item-state*="error"] .filepond--file-wrapper {
    -webkit-animation: shake 0.65s linear both;
    animation: shake 0.65s linear both;
}

/* spins progress indicator when file is marked as busy */
[data-filepond-item-state*="busy"] .filepond--progress-indicator svg {
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

/**
 * States
 */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }

    100% {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotateZ(0deg);
        transform: rotateZ(0deg);
    }

    100% {
        -webkit-transform: rotateZ(360deg);
        transform: rotateZ(360deg);
    }
}

@-webkit-keyframes shake {
    10%,
    90% {
        -webkit-transform: translateX(-0.0625em);
        transform: translateX(-0.0625em);
    }

    20%,
    80% {
        -webkit-transform: translateX(0.125em);
        transform: translateX(0.125em);
    }

    30%,
    50%,
    70% {
        -webkit-transform: translateX(-0.25em);
        transform: translateX(-0.25em);
    }

    40%,
    60% {
        -webkit-transform: translateX(0.25em);
        transform: translateX(0.25em);
    }
}

@keyframes shake {
    10%,
    90% {
        -webkit-transform: translateX(-0.0625em);
        transform: translateX(-0.0625em);
    }

    20%,
    80% {
        -webkit-transform: translateX(0.125em);
        transform: translateX(0.125em);
    }

    30%,
    50%,
    70% {
        -webkit-transform: translateX(-0.25em);
        transform: translateX(-0.25em);
    }

    40%,
    60% {
        -webkit-transform: translateX(0.25em);
        transform: translateX(0.25em);
    }
}

@-webkit-keyframes fall {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    70% {
        opacity: 1;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

@keyframes fall {
    0% {
        opacity: 0;
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }

    70% {
        opacity: 1;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        -webkit-animation-timing-function: ease-in-out;
        animation-timing-function: ease-in-out;
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out;
    }
}

/* ignore all other interaction elements while dragging a file */
.filepond--hopper[data-hopper-state="drag-over"] > * {
    pointer-events: none;
}

/* capture all hit tests using a hidden layer, this speeds up the event flow */
.filepond--hopper[data-hopper-state="drag-over"]::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.filepond--progress-indicator {
    z-index: 103;
}

.filepond--file-action-button {
    z-index: 102;
}

.filepond--file-status {
    z-index: 101;
}

.filepond--file-info {
    z-index: 100;
}

.filepond--item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;

    padding: 0;
    margin: 0.25em;

    will-change: transform, opacity;

    touch-action: none;

    /* item children order */
}

.filepond--item > .filepond--panel {
    z-index: -1;
}

/* has a slight shadow */
.filepond--item > .filepond--panel .filepond--panel-bottom {
    box-shadow: 0 0.0625em 0.125em -0.0625em rgba(0, 0, 0, 0.25);
}

.filepond--item {
    /* drag related */
}

.filepond--item > .filepond--file-wrapper,
.filepond--item > .filepond--panel {
    transition: opacity 0.15s ease-out;
}

.filepond--item[data-drag-state] {
    cursor: -webkit-grab;
    cursor: grab;
}

.filepond--item[data-drag-state] > .filepond--panel {
    transition: box-shadow 0.125s ease-in-out;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.filepond--item[data-drag-state="drag"] {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.filepond--item[data-drag-state="drag"] > .filepond--panel {
    box-shadow: 0 0.125em 0.3125em rgba(0, 0, 0, 0.325);
}

.filepond--item[data-drag-state]:not([data-drag-state="idle"]) {
    z-index: 2;
}

/* states */
.filepond--item-panel {
    background-color: #64605e;
}

[data-filepond-item-state="processing-complete"] .filepond--item-panel {
    background-color: #86b6f3;
}

[data-filepond-item-state*="invalid"] .filepond--item-panel,
[data-filepond-item-state*="error"] .filepond--item-panel {
    background-color: #c44e47;
}

/* style of item panel */
.filepond--item-panel {
    border-radius: 0.5em;
    transition: background-color 0.25s;
}

/* normal mode */
.filepond--list-scroller {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    will-change: transform;
}

/* scroll mode */
.filepond--list-scroller[data-state="overflow"] .filepond--list {
    bottom: 0;
    right: 0;
}

.filepond--list-scroller[data-state="overflow"] {
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    -webkit-mask: linear-gradient(
        to bottom,
        #000 calc(100% - 0.5em),
        transparent 100%
    );
    mask: linear-gradient(to bottom, #000 calc(100% - 0.5em), transparent 100%);
}

/* style scrollbar */
.filepond--list-scroller::-webkit-scrollbar {
    background: transparent;
}

.filepond--list-scroller::-webkit-scrollbar:vertical {
    width: 1em;
}

.filepond--list-scroller::-webkit-scrollbar:horizontal {
    height: 0;
}

.filepond--list-scroller::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 99999px;
    border: 0.3125em solid transparent;
    background-clip: content-box;
}

/* hard to overide styles on purpose */
.filepond--list.filepond--list {
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;

    /* prevents endless paint calls on filepond--list-scroller */
    will-change: transform;
}

/* used for padding so allowed to be restyled */
.filepond--list {
    left: 0.75em;
    right: 0.75em;
}

.filepond--root[data-style-panel-layout~="integrated"] {
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--panel-root,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--panel-root {
    border-radius: 0;
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--panel-root > *,
.filepond--root[data-style-panel-layout~="integrated"]
    .filepond--panel-root
    > * {
    display: none;
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--drop-label,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--drop-label {
    bottom: 0;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 7;
}

.filepond--root[data-style-panel-layout~="circle"],
.filepond--root[data-style-panel-layout~="integrated"] {
    /* we're only loading one item, this makes the intro animation a bit nicer */
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--item-panel,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--item-panel {
    display: none;
}

.filepond--root[data-style-panel-layout~="compact"] .filepond--list-scroller,
.filepond--root[data-style-panel-layout~="integrated"]
    .filepond--list-scroller {
    overflow: hidden;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.filepond--root[data-style-panel-layout~="compact"] .filepond--list,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--list {
    left: 0;
    right: 0;
    height: 100%;
}

.filepond--root[data-style-panel-layout~="compact"] .filepond--item,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--item {
    margin: 0;
}

.filepond--root[data-style-panel-layout~="compact"] .filepond--file-wrapper,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--file-wrapper {
    height: 100%;
}

.filepond--root[data-style-panel-layout~="compact"] .filepond--drop-label,
.filepond--root[data-style-panel-layout~="integrated"] .filepond--drop-label {
    z-index: 7;
}

.filepond--root[data-style-panel-layout~="circle"] {
    border-radius: 99999rem;
    overflow: hidden;
}

.filepond--root[data-style-panel-layout~="circle"] > .filepond--panel {
    border-radius: inherit;
}

.filepond--root[data-style-panel-layout~="circle"] > .filepond--panel > * {
    display: none;
}

.filepond--root[data-style-panel-layout~="circle"] {
    /* circle cuts of this info, so best to hide it */
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--file-info {
    display: none;
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--file-status {
    display: none;
}

.filepond--root[data-style-panel-layout~="circle"] .filepond--action-edit-item {
    opacity: 1 !important;
    visibility: visible !important;
}

/* dirfty way to fix circular overflow issue on safari 11+ */
@media not all and (min-resolution: 0.001dpcm) {
    @supports (-webkit-appearance: none) and (stroke-color: transparent) {
        .filepond--root[data-style-panel-layout~="circle"] {
            will-change: transform;
        }
    }
}

.filepond--panel-root {
    border-radius: 0.5em;
    background-color: #f1f0ef;
}

.filepond--panel {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: 0;

    /* defaults to 100% height (fixed height mode) this fixes problem with panel height in IE11 */
    height: 100% !important;

    /* no interaction possible with panel */
    pointer-events: none;
}

.filepond-panel:not([data-scalable="false"]) {
    height: auto !important;
}

.filepond--panel[data-scalable="false"] > div {
    display: none;
}

.filepond--panel[data-scalable="true"] {
    /* this seems to fix Chrome performance issues */
    /* - when box-shadow is enabled */
    /* - when multiple ponds are active on the same page */
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;

    /* prevent borders and backgrounds */
    background-color: transparent !important;
    border: none !important;
}

.filepond--panel-top,
.filepond--panel-bottom,
.filepond--panel-center {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
}

.filepond--panel-top,
.filepond--panel-bottom {
    height: 0.5em;
}

.filepond--panel-top {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-bottom: none !important;

    /* fixes tiny transparant line between top and center panel */
}

.filepond--panel-top::after {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    bottom: -1px;
    background-color: inherit;
}

.filepond--panel-center,
.filepond--panel-bottom {
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: translate3d(0, 0.5em, 0);
    transform: translate3d(0, 0.5em, 0);
}

.filepond--panel-bottom {
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: none !important;

    /* fixes tiny transparant line between bottom and center of panel */
}

.filepond--panel-bottom::before {
    content: "";
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    top: -1px;
    background-color: inherit;
}

.filepond--panel-center {
    /* the center panel is scaled using scale3d to fit the correct height */
    /* we use 100px instead of 1px as scaling 1px to a huge height is really laggy on chrome */
    height: 100px !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;

    /* hide if not transformed, prevents a little flash when the panel is at 100px height while attached for first time */
}

.filepond--panel-center:not([style]) {
    visibility: hidden;
}

.filepond--progress-indicator {
    position: static;
    width: 1.25em;
    height: 1.25em;

    color: #fff;

    /* can't have margins */
    margin: 0;

    /* no interaction possible with progress indicator */
    pointer-events: none;

    /* will be animated */
    will-change: transform, opacity;
}

.filepond--progress-indicator svg {
    width: 100%;
    height: 100%;
    vertical-align: top;
    transform-box: fill-box;
    /* should center the animation correctly when zoomed in */
}

.filepond--progress-indicator path {
    fill: none;
    stroke: currentColor;
}

.filepond--list-scroller {
    z-index: 6;
}

.filepond--drop-label {
    z-index: 5;
}

.filepond--drip {
    z-index: 3;
}

.filepond--root > .filepond--panel {
    z-index: 2;
}

.filepond--browser {
    z-index: 1;
}

.filepond--root {
    /* layout*/
    box-sizing: border-box;
    position: relative;
    margin-bottom: 1em;

    /* base font size for whole component */
    font-size: 1rem;

    /* base line height */
    line-height: normal;

    /* up uses default system font family */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
        "Segoe UI Symbol";

    /* will increase font weight a bit on Safari */
    font-weight: 450;

    /* default text alignment */
    text-align: left;

    /* better text rendering on Safari */
    text-rendering: optimizeLegibility;

    /* text direction is ltr for now */
    direction: ltr;

    /* optimize rendering */
    /* https://developer.mozilla.org/en-US/docs/Web/CSS/contain */
    contain: layout style size;

    /* correct box sizing, line-height and positioning on child elements */
}

.filepond--root * {
    box-sizing: inherit;
    line-height: inherit;
}

.filepond--root *:not(text) {
    font-size: inherit;
}

.filepond--root {
    /* block everything */
}

.filepond--root[data-disabled] {
    pointer-events: none;
}

.filepond--root[data-disabled] .filepond--list-scroller {
    pointer-events: all;
}

.filepond--root[data-disabled] .filepond--list {
    pointer-events: none;
}

/**
 * Root element children layout
 */
.filepond--root .filepond--drop-label {
    min-height: 4.75em;
}

.filepond--root .filepond--list-scroller {
    margin-top: 1em;
    margin-bottom: 1em;
}

.filepond--root .filepond--credits {
    position: absolute;
    right: 0;
    opacity: 0.175;
    line-height: 0.85;
    font-size: 11px;
    color: inherit;
    text-decoration: none;
    z-index: 3;
    bottom: -14px;
}

.filepond--root .filepond--credits[style] {
    top: 0;
    bottom: auto;
    margin-top: 14px;
    display: none;
}

.upload-container-outer {
    display: flex;
}

.upload-container-outer3 {
    display: flex;
    justify-content: center;
}

.upload-container-outer2 {
    display: flex;
}

.upload-template-container {
    display: flex;
    justify-content: center;
}

.upload-container-file {
    min-width: 700px;
    max-width: 700px;
    background-color: white;
    padding: 30px;
    border-radius: 0.25em;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.template_upload_container {
    display: flex;
    justify-content: center;
    margin:var(--sp-m) 0;
}

.image-display-area-template {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 0.5em;
    padding:0 var(--sp-m);
}

.upload_top_pd {
    padding-top: 10px;
}

.header_upload {
    margin-bottom: var(--sp-mm);
}

.confirm_upload-div {
    /* display: flex; */
}

.upload-container-outer-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upload-container-title-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.image-container {
    position: relative;
    width: 70vw;
    /* height: 70vh; */
    /* margin: 0 auto; */
}

.image-wrapper {
    display: none;
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    width: 100%;
    height: 100%;
    /* box-shadow: 0 4px 4px rgba(0, 0, 0, 0.29); */
}

.image-wrapper.active {
    display: block;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.page-text {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgb(112 132 157);
    color: #fff;
    padding: 12px 27px;
    font-size: 18px;
    border-radius: 0.25em;
    box-shadow: 0px 9px 9px -6px rgba(161, 161, 161, 0.5);
    -webkit-box-shadow: 0px 9px 9px -6px rgba(161, 161, 161, 0.5);
    -moz-box-shadow: 0px 9px 9px -6px rgba(161, 161, 161, 0.5);
}

.button-container {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.image_order_btn {
    font-size: var(--text-size-95);
    cursor: pointer;
    border-radius: 0.25em;
    padding: 12px 25px;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
}

.image_order_btn:hover {
    background-color: #f7f7f7;
}

/* Enhanced Back Button */
.image_nav_btn {
    display: inline-flex;
    gap: var(--sp-xs);
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    width: fit-content;
    padding: var(--sp-xs) var(--sp-s);
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    font-size: var(--text-size-100);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.image_nav_btn:hover {
    background-color: #f8f9fa;
    border-color: #4279bc;
    box-shadow: 0 4px 8px rgba(66, 121, 188, 0.15);
    cursor: pointer;
}

.image_nav_btn_icon {
    border-radius: 50%;
    height: auto;
    width: 28px !important;
    align-items: center;
    justify-content: center;
    color: #4279bc;
    transition: all 0.3s ease;
}

.seperation_line_top {
    border-top: 1px solid darkgrey;
    margin-top: 40px;
}

.uploaded_header_btn_line {
    display: flex;
    justify-content: space-between;
    /* margin-top:20px; */
    align-items: flex-start;
    gap: var(--sp-s);
}

.first_container {
    margin: 40px 0;
}

#submit_current_order {
    /* padding: 15px 30px; */
    /* box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15); */
    /* background-color: white; */
    /* color: #4279BC; */
    /* cursor: pointer; */
    /* border-radius: 0.15em; */
}

#submit_current_order:hover {
    background-color: rgb(248, 248, 248);
}

.button-disabled {
    opacity: 0.5;
    pointer-events: none !important;
}

.btns_upload_images {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.upload_background {
    margin-top: 40px;
    background-color: #b8d7ff9c;
    padding: 20px 30px;
    border-radius: 0.25em;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.12);
}

.header_preview {
    font-size: var(--text-size-300);
}

.uploaded_text_preview {
    font-size: var(--text-size-100);
    color: grey;
}

.preview_container_text {
    display: flex;
    flex-direction: column;
}

.preview_container {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 10px 30px 10px 5px;
    border-radius: 0.25em;
    gap: 10px;
}

.preview_conatiner_outer {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.blob {
    background: #4279bc;
    border-radius: 50%;
    margin: 10px;
    height: 15px;
    width: 15px;
    transform: scale(1);
    animation: pulse 2s infinite;
}

.btn_size_paper {
    padding: var(--sp-mm) var(--sp-x) !important;
}

@keyframes pulse {
    0% {
        transform: scale(0.92);
        box-shadow: 0 0 0 0 #4279bcb3;
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.filepond--root .filepond--drop-label {
    min-height: 10em !important;
    cursor: pointer;
}

.filepond--panel-root {
    background-color: #f8fafd;
    border: 2px dashed #4279bc;
}

/* the text color of the drop label*/
.filepond--drop-label {
    color: #4279bc;
}

/* underline color for "Browse" button */
.filepond--label-action {
    text-decoration-color: #4279bc;
}

.btn_back_gr {
    background-color: #cfe2fa;
    padding: var(--sp-s);
    width: max-content;
    border-radius: 0.25em;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.07);
}

.image-wrapper {
    position: relative;
}

.rotation-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 1px solid lightgray;
    background-color: white;
    border-radius: 4px;
    padding: 5px;
    z-index: 10;
    box-shadow: inset 0px 1px 0px hsla(var(--mc4-color-white-hsl), 0.1),
        0px 0px 0px 1px hsla(var(--mc4-color-black-hsl), 0.02),
        0px 1px 3px -1px hsla(var(--mc4-color-black-hsl), 0.2),
        0 0.3px 0.4px rgba(0, 0, 0, 0.025), 0 0.9px 1.5px rgba(0, 0, 0, 0.05),
        0 3.5px 6px rgba(0, 0, 0, 0.1);
}

.rotate-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 18px;
}

.rotate-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.image-wrapper img {
    transition: transform 0.3s ease;
}

.upload-warning {
    margin-top: 8px;
    padding: var(--sp-xs);
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 0.25em;
}

.warning-text {
    margin: 0;
    color: #856404;
    font-size: var(--text-size-90);
}

.upload-instructions {
    width: 100%;
    margin: var(--sp-m) 0;
    /* padding: 20px; */
    /* font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; */
    line-height: 1.5;
}

.instructions-header {
    /* display: flex; */
    /* align-items: center; */
    /* margin-bottom: 15px; */
}

.info-icon {
    margin-right: 10px;
    color: #2563eb;
    font-size: 20px;
}

.instructions-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

details {
    border: 1px solid #e5e7eb;
    border-radius: 0.25em;
    padding: 0;
    background: #f9fafb;
}

summary {
    padding: var(--sp-s);
    cursor: pointer;
    font-weight: 500;
    color: #374151;
    user-select: none;
    transition: background-color 0.2s;
    width: 100%;
}

summary::marker {
    color: #6b7280;
}

.instructions-content {
    padding: 0 15px 15px 15px;
    border-top: 1px solid #e5e7eb;
    padding-top: var(--sp-s);
}

.instruction-section {
    margin-bottom: 20px;
}

.instruction-text {
    margin-bottom: 15px;
    color: #4b5563;
}

.qualtiy_image_inst {
    padding: var(--sp-s) var(--sp-x);
}

.example-section {
    margin-top: 20px;
    display: flex;
    gap: 20px;
}

.example-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #374151;
}

.example-title.correct {
    color: #4279bc;
}

.example-title.incorrect {
    color: #dc2626;
}

.example-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    width: fit-content;
    list-style-type: none !important;
    padding-left: 0 !important;
}

.example-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: var(--text-size-90);
    color: #6b7280;
}

.example-list li:last-child {
    border-bottom: none;
}

.correct .example-list {
    border-left: 4px solid #4279bc;
}

.incorrect .example-list {
    border-left: 4px solid #ef4444;
}

.highlight_upload_inf {
    background: #b8d7ff5e;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 500;
}

/* Media query for screens smaller than 768px */
@media (max-width: 767px) {
    .header_preview {
        font-size: var(--text-size-100);
    }

    .upload_background {
        width: 100%;
        margin-top: var(--sp-m);
        background-color: #b8d7ff9c;
        padding: var(--sp-s) var(--sp-s);
        border-radius: 0.25em;
        box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.12);
    }

    .preview_container {
        display: flex;
        align-items: flex-start;
        background-color: white;
        padding: var(--sp-xs) var(--sp-xs);
        border-radius: 0.25em;
        gap: 5px;
    }

    .preview_container_text h5 {
        font-size: var(--text-size-100);
    }

    .uploaded_text_preview {
        font-size: var(--text-size-90);
    }

    .image_order_btn {
        font-size: var(--text-size-90);
        cursor: pointer;
        border-radius: 0.25em;
        padding: var(--sp-xs) var(--sp-xs);
        background-color: #ffffff;
        box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
    }

    .page-text {
        position: absolute;
        top: 5px;
        left: 5px;
        background-color: rgb(112 132 157);
        color: #fff;
        padding: var(--sp-xs) var(--sp-xs);
        font-size: var(--text-size-90);
    }

    .rotate-btn {
        padding: 2px 6px;
        font-size: 16px;
    }

    .rotation-controls {
        border-radius: 4px;
        padding: 2px;
    }

    .button-container {
        display: flex;
        gap: var(--sp-xs);
        justify-content: flex-end;
        flex-direction: column-reverse;
    }

    .upload-container-outer {
        display: flex;
        justify-content: center;
    }

    .image-container {
        width: 100%;
    }

    .upload-container-outer-inner {
        padding: var(--sp-s);
    }

    .default_flex {
        flex-direction: column;
    }

    .blob {
        background: #4279bc;
        border-radius: 50%;
        margin: 6px;
        height: 10px;
        width: 10px;
    }

    .image_nav_btn {
        display: inline-flex;
        gap: 4px;
        background-color: white;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        text-decoration: none;
        width: fit-content;
        padding: var(--sp-xs) var(--sp-s);
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease;
        font-size: var(--text-size-100);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .upload-container-title-area {
        padding: 0;
    }

    .upload-container-file {
        min-width: 100%;
        padding: var(--sp-s);
    }

    .upload-instructions {
        margin: 10px 0;
    }

    .upload-container-outer2 {
        display: block;
    }
}

.current-assignment-badge {
    display: inline-flex;
    position: absolute;
    top: 7px;
    right: 7px;
    align-items: center;
    font-size: var(--text-size-80);

    background: var(--ts-primary-alpha);
    color: var(--ts-primary);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid var(--ts-primary);
    width: fit-content;
}
