* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Pretendard, sans-serif;
}

*::-webkit-scrollbar,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
    background-color: transparent;
}

*::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

*::-webkit-scrollbar-thumb {
    border: 4px solid transparent;
    border-radius: 10px;
    background-clip: padding-box;
    background-color: #3D3D3D;
}

/* default */

a {
    color: #FAFAFA;
    text-decoration: none;
    cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

img {
    user-select: none;
    -webkit-user-drag: none;
}

.material-symbols-rounded {
    user-select: none;
}

/* layout */

body {
    overflow: hidden;
    height: 100vh;
    background-color: #070B22;
    color: #FAFAFA;
    font-size: 16px;
    line-height: 1.2;
}

.wrapper {
    display: flex;
    height: 100%;
}

.main {
    overflow: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;
}

@media screen and (min-width: 1920px) {
    .main {
        padding: 30px max(calc((100vw - 1860px) / 2), 30px);
    }
}

.main__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 700;
    user-select: none;
}

.main__header .icon {
    font-size: 36px;
}

.section {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 20px;
    background: #18191E;
}

.section__header {
    margin-bottom: 20px;
    color: #B8B8B8;
    font-size: 20px;
    font-weight: 600;
}

.flash-msg {
    display: none;
}

/* flexbox */

.flexbox {
    display: flex;
}

.flexbox.column {
    flex-direction: column;
}

.flexbox.wrap {
    flex-wrap: wrap;
}

.flexbox.h-between {
    justify-content: space-between;
}

.flexbox.v-center {
    align-items: center;
}

/* modal */

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
    z-index: 1;
    padding: 30px;
    background-color: rgba(0, 0, 0, .2);
    display: none;
}

.modal__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
}

.modal__dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    min-height: 150px;
    padding: 44px 48px;
    border: 1px solid #25425E;
    border-radius: 6px;
    background-color: #131416;
    box-shadow: 0 0 16px 0 rgba(13, 68, 132, .8);
}

.modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    color: #8C98A9;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
}

.modal__header {
    display: flex;
    align-items: center;
    color: #B8B8B8;
    font-size: 24px;
    font-weight: 600;
    user-select: none;
}

.modal__body {
    margin-top: 44px;
    margin-bottom: 4px;
    padding: 0 22px;
}

/* form */

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

.form__group {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

.form__group + .button {
    margin-top: 2px;
}

.form__divider {
    height: 1px;
    background-color: #373737;
    margin-bottom: 28px;
}

.form__label {
    width: 130px;
    min-width: 130px;
    padding-left: 16px;
    color: #B8B8B8;
    font-size: 18px;
    font-weight: 600;
    user-select: none;
}

.form__label::before {
    position: absolute;
    left: 0;
    line-height: 19px;
    content: "\2022";
}

.form__field {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background-color: #222;
    color: #B8B8B8;
    font-size: 16px;
    outline: none;
}

textarea.form__field {
    min-height: 130px;
    padding: 14px 16px;
    resize: vertical;
}

.form__error {
    position: relative;
    margin: 10px 0 0 140px;
    padding: 0 10px;
    color: #E2362F;
    font-size: 14px;
    font-weight: 600;
}

.form__error::before {
    position: absolute;
    left: 0;
    content: "\2022";
}

.form__error + .form__error {
    margin-top: 5px;
}

/* button */

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border: none;
    border-radius: 10px;
    background-color: #0B2C53;
    color: #FAFAFA;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    outline: none;
}

/* link */

.link {
    color: #4295FF;
    cursor: pointer;
}

/* table */

.dt-layout-table {
    padding-bottom: 10px;
    border-radius: 16px;
    background-color: #0B0905;
}

.dt-layout-table tbody > tr:hover {
    background-color: #151515;
}

.dt-layout-table tr > th {
    height: 45px;
    border-bottom: 1px solid #373737 !important;
    color: #B8B8B8;
    font-size: 15px;
}

.dt-layout-table tr > td {
    height: 50px;
    border-bottom: 1px solid #373737 !important;
    font-size: 15px;
}

.dt-layout-table tr > th,
.dt-layout-table tr > td {
    padding-right: 30px !important;
}

.dt-layout-table tr > th:first-child,
.dt-layout-table tr > td:first-child {
    padding-left: 30px !important;
}

.dt-column-order {
    position: relative !important;
    left: 10px;
    font-size: 12px;
}

.dt-left {
    text-align: left !important;
}

.dt-right {
    text-align: right !important;
}

.dt-center {
    text-align: center !important;
}

.dt-empty {
    vertical-align: middle !important;
}

.dt-input {
    height: 30px;
    margin-bottom: 10px;
    padding: 4px 8px !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    background-color: #222 !important;
    color: #B8B8B8 !important;
    font-size: 15px;
    outline: none;
}

.dt-paging {
    margin-top: 10px;
}

.dt-paging-button {
    font-size: 14px;
}
