@charset "utf-8";

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


html,
body,
#root {
    width: 100%;
    min-height: 100vh;
    font-size: 10px;
    color: var(--color-black);
    font-family: 'Pretendard';
}


html{
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

body {
    min-width: 1356px;
    background-color: #f7f6fb;
}


a {
    color: #333;
    text-decoration: none;
}

ol,
ul,
li {
    list-style: none;
}

img,
svg {
    vertical-align: middle;
}
table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

table th,
table td {
    padding: 8px;
    font-size: 1.3rem;
}

button {
    border: none;
    background-color: transparent;
    font-size: 1.3rem;
    margin-left: 5px;
    cursor: pointer;
}

label {
    display: block;
    font-size: 1.3rem;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="date"],
input[type="number"] {
    padding: 5px 10px;
    border: 1px solid #aaa;
    border-radius: 5px;
    font-size: 1.3rem;
    position: relative;
}

input:focus,
select:focus {
    outline: none;
}

input:disabled {
    background: #aaa;
    border: none;
}

input[type="checkbox"],
input[type="radio"] {
    vertical-align: sub;
}

input[type='date'] {
    max-width: 240px;
    padding: 5px;
}

input[type='date'].date-placeholder::before {
    position: absolute;
    content: attr(data-placeholder);
    width: calc(100% - 42px);
    display: block;
    color: #ddd;
    top: 7px;
    left: 5px;
    background-color: var(--color-white);
}

button:first-child,
select:first-child,
input:first-child,
button.only,
select.only,
input.only {
    margin-left: 0;
}

textarea {
    width: 100%;
    height: 100%;
}


/* 스크롤바 디자인 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #ededed;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: #fff;
    border-radius: 10px;
}