@font-face {
    font-family: Thai;
    src: url('/assets/font/LINESeedSansTH_Rg.otf');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Thai !important;
}


@media only screen and (max-width: 678px) {
    .container {
        max-width: 80vw;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .text-p {
        font-size: 3vw;
    }

    .wrapper form {
        height: 250px !important;
    }
}

.text-header-small {
    text-align: center;
}

@media only screen and (max-width: 465px) {
    .wrapper {
        background: #fff;
        width: 600px;
        padding: 30px 20px !important;
        border-radius: 5px;
        box-shadow: 0 4px 12px 0px #12121259;
    }

    .wrapper form {
        height: 150px !important;
    }

    form span {
        font-size: 30px !important;
    }
}

@media only screen and (max-width: 255px) {
    .text-header {
        font-size: 24px;
    }
}

@media only screen and (max-width: 658px) {
    .hidden {
        display: block !important;
    }

    .block {
        display: none !important;
    }
}

.hidden {
    display: none;
}

.block {
    display: block;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: var(--main);
}

.wrapper {
    background: #fff;
    width: 600px;
    padding: 30px 60px;
    border-radius: 5px;
    box-shadow: 0 4px 12px 0px #12121259;
}

.wrapper header {
    color: var(--main);
    font-size: 27px;
    font-weight: 600;
    text-align: center;
}

.wrapper form {
    border: 2px dashed var(--main);
    margin: 30px 0;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 5px;
    cursor: pointer;
}

form :where(span, p) {
    color: var(--main);
}

form span {
    font-size: 50px;
}

form p {
    font-size: 16px;
    margin-top: -8px;
}

section .row {
    background: var(--sub-opa-25);
    margin-bottom: 10px;
    list-style: none;
    padding: 15px 20px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section .row .icon {
    font-size: 30px;
    color: var(--main);
}

section .row section .details span {
    font-size: 14px;
}

section .row .content {
    width: 100%;
}

.progress-area .row .content {
    width: 100%;
    margin-left: 15px;
}

.progress-area .details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.progress-area .progress-bar {
    height: 6px;
    width: 100%;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 30px;
}

.progress-bar .progress {
    height: 100%;
    width: 0%;
    background: var(--main);
    border-radius: inherit;
}

.uploaded-area {
    max-height: 200px;
    overflow-y: scroll;
}

.uploaded-area::-webkit-scrollbar {
    width: 0;
}

.uploaded-area .row .content {
    display: flex;
    align-items: center;
}

.uploaded-area .row .details {
    display: flex;
    margin-left: 15px;
    flex-direction: column;
}

.uploaded-area .details .size {
    font-size: 11px;
    color: var(--main);
}

.uploaded-area .fa-check {
    color: var(--main);
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm) {
    border: 0;
    border-radius: 20px;
    background: initial;
    background-color: var(--main) !important;
    color: #fff;
    font-size: 1em
}

div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):focus-visible {
    box-shadow: 0 0 0 3px var(--main) !important;
}