@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
    font-family: "Kanit", sans-serif !important;
    font-weight: 300;
}

html,
body {
    margin: 0;
}

main {
    margin: 24px;
}

.h1-medium {
    font-size: 40px;
    font-weight: 500;
    line-height: 40px;
}

.h1-regular {
    font-size: 40px;
    font-weight: 400;
    line-height: 40px;
}

.h2-medium {
    font-size: 32px;
    font-weight: 500;
    line-height: 32px;
}

.h2-regular {
    font-size: 32px;
    font-weight: 400;
    line-height: 32px;
}

.h3-regular {
    font-size: 28px;
    font-weight: 400;
    line-height: 28px;
}

.h4-regular {
    font-size: 24px;
    font-weight: 400;
    line-height: 24px;
}

.body-l-medium {
    font-size: 22px;
    font-weight: 500;
}

.body-l-regular {
    font-size: 22px;
    font-weight: 300;
}

.body-m-regular {
    font-size: 20px;
    font-weight: 400;
}

.body-m-light {
    font-size: 20px;
    font-weight: 300;
}

.body-s-regular {
    font-size: 17px;
    font-weight: 400;
}

.body-s-light {
    font-size: 17px;
    font-weight: 300;
}

.body-xs-regular {
    font-size: 16px;
    font-weight: 400;
}

.body-xs-lite {
    font-size: 16px;
    font-weight: 300;
}

.subtitle-m {
    font-size: 14px;
    font-weight: 300;
}

.subtitle-m-underlined {
    font-size: 14px;
    font-weight: 300;
    text-decoration: underline;
}

.subtitle-s {
    font-size: 11px;
    font-weight: 300;
}

.subtitle-s-underlined {
    font-size: 11px;
    font-weight: 300;
    text-decoration: underline;
}

.m-0 {
    margin: 0px !important;
}

.mt-0 {
    margin-top: 0px !important;
}

.mr-0 {
    margin-right: 0px !important;
}

.mb-0 {
    margin-bottom: 0px !important;
}

.ml-0 {
    margin-left: 0px !important;
}

.m-8 {
    margin: 8px !important;
}

.mt-8 {
    margin-top: 8px !important;
}

.mr-8 {
    margin-right: 8px !important;
}

.mb-8 {
    margin-bottom: 8px !important;
}

.ml-8 {
    margin-left: 8px !important;
}

.m-16 {
    margin: 16px !important;
}

.mt-16 {
    margin-top: 16px !important;
}

.mr-16 {
    margin-right: 16px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.ml-16 {
    margin-left: 16px !important;
}

.m-24 {
    margin: 24px !important;
}

.mt-24 {
    margin-top: 24px !important;
}

.mr-24 {
    margin-right: 24px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.ml-24 {
    margin-left: 24px !important;
}

.m-32 {
    margin: 32px !important;
}

.mt-32 {
    margin-top: 32px !important;
}

.mr-32 {
    margin-right: 32px !important;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.ml-32 {
    margin-left: 32px !important;
}

.m-40 {
    margin: 40px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mr-40 {
    margin-right: 40px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.ml-40 {
    margin-left: 40px !important;
}

.p-0 {
    padding: 0px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pe-0 {
    padding-right: 0px !important;
}

.pb-0 {
    padding-bottom: 0px !important;
}

.ps-0 {
    padding-left: 0px !important;
}

.p-8 {
    padding: 8px !important;
}

.pt-8 {
    padding-top: 8px !important;
}

.pe-8 {
    padding-right: 8px !important;
}

.pb-8 {
    padding-bottom: 8px !important;
}

.ps-8 {
    padding-left: 8px !important;
}

.p-16 {
    padding: 16px !important;
}

.pt-16 {
    padding-top: 16px !important;
}

.pe-16 {
    padding-right: 16px !important;
}

.pb-16 {
    padding-bottom: 16px !important;
}

.ps-16 {
    padding-left: 16px !important;
}

.p-24 {
    padding: 24px !important;
}

.pt-24 {
    padding-top: 24px !important;
}

.pe-24 {
    padding-right: 24px !important;
}

.pb-24 {
    padding-bottom: 24px !important;
}

.ps-24 {
    padding-left: 24px !important;
}

.p-32 {
    padding: 32px !important;
}

.pt-32 {
    padding-top: 32px !important;
}

.pe-32 {
    padding-right: 32px !important;
}

.pb-32 {
    padding-bottom: 32px !important;
}

.ps-32 {
    padding-left: 32px !important;
}

.p-40 {
    padding: 40px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.pe-40 {
    padding-right: 40px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.ps-40 {
    padding-left: 40px !important;
}

.light {
    background-color: #FBFBFB;
    color: #000000;
}

.dark {
    background-color: #1D1D26;
    color: #FFFFFF;
}

.light .icons-light {
    display: none;
}

.dark .icons-dark {
    display: none;
}

.ligh .btn {
    color: #000000;
}

.dark .btn {
    color: #FFFFFF;
}

.dark .outline {
    background-color: #585772;
}

.light .outline {
    background-color: #D9D9D9;
}

.green {
    color: #23D63E;
}

.red {
    color: #ED3C42;
}

.white {
    color: #FFFFFF;
}

.black {
    color: #000000;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.w-auto {
    width: auto;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.text-center {
    text-align: center;
}

.text-left{
    text-align: left;
}

.text-right {
    text-align: right;
}

.c-pointer {
    cursor: pointer;;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 16px;
    border: none;
    border-radius: 32px;
    font-size: 21px;
    font-weight: 500;
    background-color: transparent;
    cursor: pointer;
}

.btn-sm {
    height: 40px;
    padding: 8px 16px;
    font-size: 21px;
}

.light .btn.btn:disabled {
    color: #FFFFFF;
    background-color: #D9D9D9;
}

.dark .btn.btn:disabled {
    color: #999999;
    background-color: #3B3A4D;
}

.light .btn.btn-primary,
.dark .btn.btn-primary {
    color: #14141A;
    background-color: #23D63E;
}

.dark .btn.btn-secondary {
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    background-color: transparent;
}

.light .btn.btn-secondary {
    color: #000000;
    border: 1px solid #000000;
    background-color: transparent;
}

.light .btn.btn-warning,
.dark .btn.btn-warning {
    color: #FFFFFF;
    background-color: #ED3C42;
}

.unstyled {
    text-decoration: none;
    list-style: none;
}

input,
select {
    width: 100%;
    height: 56px;
    padding: 16px;
    border: 1px solid;
    font-size: 20px;
    font-weight: 300;
    border-radius: 8px;
    outline: none;
}

input[name="promo"]:not(::placeholder) {
    text-transform: uppercase;
}

.light input,
.light select {
    border-color: #D9D9D9;
    background-color: #FFFFFF;
    color: #14141A;
}

.dark input,
.dark select {
    border-color: #585772;
    background-color: #454459;
    color: #FFFFFF;
}

.light input.error,
.dark input.error {
    border-color: #ED3C42;
}

.dropdown-head {
    cursor: pointer;
}

.dropdown-head .chevrons {
    transition: transform .5s;
}

.dropdown-head.active .chevrons {
    transform: rotate(180deg);
    transition: transform .5s;
}

.dropdown-body {
    display: none;
}

.dropdown-body.open {
    display: block;
}

.modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal.open {
    opacity: 1;
    visibility: visible;
    transition: all .5s;
}

.backdrop-modal {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
    transition: all .5s;
}

.modal-body {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    border-radius: 16px 16px 0 0;
    transition: bottom .5s;
    overflow: hidden;
}

.modal.open .modal-body {
    bottom: 0;
    transition: bottom .5s;
}

.light .modal .modal-body {
    background-color: #FFFFFF;
}

.dark .modal .modal-body {
    background-color: #1D1D26;
}

.light .loader {
    background-color: #FBFBFB;
}

.dark .loader {
    background-color: #1D1D26;
}

.alert {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 24px;
    transition: bottom .5s;
}

.alert.open {
    bottom: 0;
    transition: bottom .5s;
}

.alert .alert-body {
    display: flex;
    align-items: center;
    padding: 16px;
    border-radius: 16px;
}

.dark .alert-body {
    border: 1px solid #6C6B8C;
    background-color: #585772;
}

.light .alert-body {
    border-color: #E6E6E6;
    background-color: #D9D9D9;
}

.loader {
    display: none;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loader.open {
    display: flex;
}

.loader .spinner {
    animation: rotate 1.5s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}