:root {
    font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

html, body {
    padding: 0;
    margin: 0;
    background-color: #ffffff;
}

a {
    font-weight: 500;
    color: #646cff;
    text-decoration: inherit;
}
a:hover {
    color: #535bf2;
}

h1 {
    font-size: 3.2em;
    line-height: 1.1;
}

#app {
    position: relative;
}

/* remove textfield autofill background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-background-clip: text;
}


:root {
    --mdc-menu-max-width: 80vw;
}


#waveeditor.light {

}

#timeview-container .mdc-button {
    background-color: var(--mdc-theme-background);
    padding-right: 24px;
}

#waveeditor .mdc-tab {
    background-color: var(--mdc-theme-background);
}

#waveeditor .mdc-chip {
    background-color: var(--mdc-theme-secondary-light);
}

.smui-accordion__header {
    background-color: rgba(255, 255, 255, .2);
}


.mdc-card__actions {
    justify-content: right;
}

.break-row .mdc-text-field {
    width: 180px;
    padding-right: 8px;
}

.smui-paper__content {
    position: relative;
}


.container .mdc-snackbar {
    position: absolute;
    margin-left: 24px;
    justify-content: left;
}

.mdc-snackbar__label {
    color: white !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

.mdc-tab-bar {
    background-color: var(--mdc-theme-background);
}

.snack-status .mdc-snackbar__surface {

}

.snack-warning .mdc-snackbar__surface {
    background-color: var(--mdc-theme-primary-light);
}

.snack-error .mdc-snackbar__surface {
    background-color: var(--mdc-theme-error);
}

    .background.svelte-1p4dcc5 {
        width: 100%;
        height: 100%;
        cursor: pointer;
        border-bottom: 1px solid var(--wf-color-waveform);
    }

    .progress.svelte-1p4dcc5 {
        width: 0%;
        height: 100%;
        border-right: 1px solid rgb(255, 56, 238);
        background-color: rgba(var(--mdc-theme-secondary-rgb), .5);
    }



    .audioplayer.svelte-1q4nlcu {
        display: flex;
        padding: .5em;
        gap: 0.5em;
        align-items: center;
        background-color: var(--mdc-theme-background);
        border-radius: 4px;
        box-shadow: 2px 2px 1px -1px var(--mdc-theme-shadow)
    }

    .controls.svelte-1q4nlcu {
        flex: 1;
    }

    .hide.svelte-1q4nlcu {
        display: none;
    }

    .triangle.svelte-1q4nlcu {
        position: absolute;
        left: 0;
        top: 0;
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 5px 8px 5px 2px;
        border-color: transparent var(--mdc-theme-secondary) transparent transparent;
        transform: rotate(90deg) translateX(-2px) translateY(6px);
        cursor: pointer;

        background-color: transparent;
        padding: 0;
    }



    .loader.svelte-p5o69u {
        width: 48px;
        height: 48px;
        display: inline-block;
        position: relative;
    }

    .loader.svelte-p5o69u::after,
    .loader.svelte-p5o69u::before {
        content: '';
        box-sizing: border-box;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: var(--mdc-theme-primary);
        position: absolute;
        left: 0;
        top: 0;
        animation: svelte-p5o69u-animloader 2s linear infinite;
        transform: scale(0);
    }

    .loader.svelte-p5o69u::after {
        animation-delay: 1s;
    }

    @keyframes svelte-p5o69u-animloader {
        0% {
            transform: scale(0);
            opacity: 1;
        }
        100% {
            transform: scale(1);
            opacity: 0;
        }
    }


    .drop-target {
        outline: var(--mdc-theme-secondary) solid 1px !important;
        border-radius: 4px;
    }

    .container.svelte-5wo7l1 {
        min-height: 240px;
    }

    .icon-align.svelte-5wo7l1 {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 0 0 .5em;
    }

    .nobreaks.svelte-5wo7l1 {
        text-align: center;
        text-transform: uppercase;
        font-size: 3em;
        font-weight: bold;
        opacity: .1;
        padding-top: 1em;
    }

    .break-table.svelte-5wo7l1 {
        display: flex;
        flex-direction: column;
        gap: .5em;
        height: 100%;
    }

    .break-row.svelte-5wo7l1:focus {
        outline: var(--mdc-theme-primary-light) solid 1px;
        border-radius: 4px !important;
    }

    .break-row.svelte-5wo7l1 {
        display: flex;
        flex-wrap: nowrap;
        padding: .5em;
        align-items: center;
        column-gap: 1em;
        row-gap: 0;
        background-color: var(--mdc-theme-surface);
        border-radius: 6px;
        box-shadow: 1px 1px var(--mdc-theme-shadow);
    }

    .break-column.svelte-5wo7l1 {
        flex: 0 0 auto;
        text-align: left;
    }

    .break-column-grow.svelte-5wo7l1 {
        flex: 1 1 auto;
        flex-basis: auto;
        text-align: left;
    }

    .buttons.svelte-5wo7l1 {
        margin-left: 0;
        order: 0;
    }

    .player.svelte-5wo7l1 {
        flex-basis: auto; /* Default basis */
        order: 0; /* Default order */
    }

    @media (max-width: 948px) {
        .break-row.svelte-5wo7l1 {
            flex-wrap: wrap;
            column-gap: 1em;
            row-gap: .5em;
        }

        .player.svelte-5wo7l1 {
            flex-basis: 100%; /* Full width on smaller screens */
            order: 2; /* Move to the next row */
        }

        .buttons.svelte-5wo7l1 {
            margin-left: auto;
            order: 1; /* Keep it before the player on the second row */
        }
    }

    @media (max-width: 712px) {
        .player.svelte-5wo7l1 {
            order: 1;
        }

        .buttons.svelte-5wo7l1 {
            order: 2;
        }
    }

    @media (max-width: 600px) {
        .break-row.svelte-5wo7l1 {
            row-gap: 1em;
            padding: 1em;
        }

        .break-column.svelte-5wo7l1, .break-column-grow.svelte-5wo7l1 {
            flex: 1 1 100%;
            text-align: left;
        }

        .buttons.svelte-5wo7l1 {
            text-align: right;
        }

        .icon-align.svelte-5wo7l1 {
            justify-content: left;
        }

        .break-column .mdc-text-field {
            width: calc(100% - 54px);
        }

        .break-column .mdc-select {
            width: 100%;
        }
    }




    .container.svelte-bloipy > div:where(.svelte-bloipy) {
        display: flex;
        align-items: center;
        height: 40px;
    }

    .warning.svelte-bloipy {
        margin: -.5em 0 0 0;
        color: red;
        padding: 0 0 0 6px;
        height: auto;
    }



    .variations .mdc-select {
        width: auto;
    }

    .nobreaks.svelte-e1v92c {
        text-align: center;
        text-transform: uppercase;
        font-size: 3em;
        font-weight: bold;
        opacity: .1;
        padding-top: 1em;
    }

    .break-table.svelte-e1v92c {
        display: flex;
        flex-direction: column;
        gap: .5em;
    }

    .break-row.svelte-e1v92c:focus {
        outline: var(--mdc-theme-primary-light) solid 1px;
    }

    .break-row.svelte-e1v92c {
        padding: .5em;
        background-color: var(--mdc-theme-surface);
        border-radius: 6px;
        box-shadow: 1px 1px var(--mdc-theme-shadow);
    }

    .break-row-inner.svelte-e1v92c {
        display: flex;
        flex-wrap: wrap;
        padding: .5em;
        align-items: center;
        gap: 1em;
    }

    .break-column.svelte-e1v92c {
        flex: 0 0 auto;
        text-align: left;
    }

    .break-column.icon.svelte-e1v92c {
        padding: 0 0 0 .5em;
        height: 24px;
    }

    .break-column-grow.svelte-e1v92c {
        flex: 1;
        text-align: left;
    }

    .container-parts.svelte-e1v92c {
        display: flex;
        flex-direction: column;
        gap: 2px;

        width: 80%;
        padding: 1em;
        background-color: var(--mdc-theme-background);
        border-radius: 4px;
        box-shadow: 2px 2px 1px -1px var(--mdc-theme-shadow);
    }

    .parts.svelte-e1v92c {
        display: flex;
        align-items: center;
        line-height: 24px;
        background-color: var(--mdc-theme-surface);
        border: none;
        width: 100%;
    }

    .ident.svelte-e1v92c {
        background-color: var(--mdc-theme-primary-light);
        border: 1px solid white;
    }

    .ad.svelte-e1v92c {
        background-color: var(--mdc-theme-primary);
        color: #ffffff;
    }

    .content.svelte-e1v92c {
        color: var(--mdc-theme-text-primary-on-background);
        background-color: var(--mdc-theme-background);
        border: 1px solid grey;
    }

    @media (max-width: 768px) {
        .break-column-grow.svelte-e1v92c {
            flex-basis: 100%;
            order: 1;
        }

        .break-column.button.svelte-e1v92c {
            order: 2;
            margin-left: auto;
        }

        .container-parts.svelte-e1v92c {
            width: auto;
        }
    }



    .controls.svelte-1mwcv1d {
        display: flex;
        flex-direction: column;
        gap: 1em;
        padding: 1em 1em;
        height: 251px;
        box-sizing: border-box;
    }

    .disabled.svelte-1mwcv1d {
        opacity: .5;
        pointer-events: none;
    }

    .controls .mdc-text-field {
        width: 100%;
    }

    @media (max-width: 600px) {

        .controls.svelte-1mwcv1d {
            align-items: center;
        }

    }



    .peaks.svelte-1leao62 {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 0 1em 0;
        box-shadow: 2px 2px 1px -1px var(--mdc-theme-shadow);
        border-radius: 4px;
    }

    .waveform.svelte-1leao62 {
        position: relative;
        flex: 1;
        min-width: 0;
    }

    #zoomview.svelte-1leao62 {
        width: 100%;
        height: 250px;
        line-height: 0;
        background-color: var(--mdc-theme-background);
    }

    .controls-container.svelte-1leao62 {
        width: 275px;
        background-color: var(--mdc-theme-surface);
        border-radius: 4px;
    }

    .render-waveform.svelte-1leao62 {
        position: absolute;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: var(--mdc-theme-background);
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    @media (max-width: 600px) {

        .waveform.svelte-1leao62 {
            flex-basis: 100%;
        }

        .controls-container.svelte-1leao62 {
            width: 100%;
        }
    }




    .timecode {
        width: 186px;
    }

    #waveform-container.svelte-lufopz {
        position: relative;
        display: flex;
        width: 100%;
    }

    #file-container.svelte-lufopz {
        display: flex;
        flex-direction: column;
        gap: 1em;
    }

    .tabs-container.svelte-lufopz {
        box-shadow: 2px 2px 1px -1px var(--mdc-theme-shadow);
        border-radius: 4px;
		overflow: hidden;
    }

    .tabs.svelte-lufopz {
        width: 100%;
        min-height: 240px;
        padding: 1em;
        box-sizing: border-box;
        background-color: var(--mdc-theme-background);
        border-radius: 4px;
    }

    #waveeditor.svelte-lufopz {
        font-family: 'Helvetica neue', Helvetica, Arial, sans-serif
    }



    .notification.svelte-1rbcym3 {
        display: flex;
        align-content: center;
        justify-content: center;
    }

    .error.svelte-1rbcym3 {
        background-color: var(--mdc-theme-primary-light);
        color: #ffffff;
    }


    /* (empty) .container {

    }*/

    .acc-content.svelte-1prhwm6 {
        position: relative;
        /*min-height: 100px;*/
    }

    .acc-header.svelte-1prhwm6 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1em;
    }

    .header.svelte-1prhwm6 {
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
        font-size: 32px;
    }

    .header.svelte-1prhwm6 p:where(.svelte-1prhwm6) {
        margin: 0;
        padding: 0;
    }

	.status.svelte-1prhwm6 {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

    .hide.svelte-1prhwm6 {
        display: none;
    }

    .disabled.svelte-1prhwm6 {
        pointer-events: none;
        opacity: 0.5;
    }


