@charset "utf-8";
@font-face {
    font-family: 'Neodgm';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/neodgm_code.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Pretendard-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/Pretendard-SemiBold.woff') format('woff');
}

@font-face {
    font-family: 'Pretendard';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/Pretendard-Bold.woff') format('woff');
}

:root {
    --black: #1A1A1E;
    --white: #fff;
    --point: #4200FF;
    --point-hover: #3a01de;
    --borderGray: #CFD5DF;
    --bgGray: #F4F6F8;
    --textGray: #5f6572;
    --positive: #00b954;
    --negative: #FF512B;
    --warring: #F47A00;
    --gradient: linear-gradient(to right bottom, #0D6DFC, #801DFF);
    --gradient-hover: linear-gradient(to right bottom, #045ce0, #7012e8);
    --shadow-sm: 0 2px 4px rgb(0 0 0 / 8%);
    --shadow-md: 0 4px 8px rgb(0 0 0 / 16%);
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    border-collapse: collapse;
    word-break: keep-all;
    line-height: 1.5em;
    box-sizing: border-box;
    font-family: inherit;
}

html {
    font-size: 16px;
    color: var(--black);
    scroll-behavior: smooth;
    font-family: "Pretendard", sans-serif;
}

body {
    width: 100vw;
    min-width: 360px;
    overflow-x: hidden !important;
}

body:has(#jbs-header) {
    padding-top: 6.25rem;
}

::placeholder {
    color: #ccc;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 100px;
    background-color: #d4d5d9;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #b4b5b9;
}

::-webkit-scrollbar-track {
    background-color: rgba(197, 201, 215, 0.2);
}

.inner {
    position: relative;
    width: 100%;
    max-width: 1600px;
    min-width: 360px;
    padding: 0 2.5rem;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    margin: 0;
    line-height: 1.5em;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

pre {
    white-space: pre-wrap;
    font-size: inherit;
    font-family: inherit;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: 0s;
}

a:hover {
    color: inherit;
}

input, select, textarea {
    font-size: inherit;
}

select {
    appearance: none;
    background-image: url("../img/icon-select.png");
    background-repeat: no-repeat;
    background-position: center right .5rem;
    padding: 2px 2rem 2px 1rem;
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
}

/************************************************************/
/************************button***************************/
/************************************************************/
.btn-wrap {
    display: flex;
    gap: 1rem;
}

.board-btn-wrap {
    margin-top: 1.5rem;
}

.board-btn-wrap .btn {
    min-width: 8rem;
}

.btn {
    display: flex;
    gap: .5rem;
    justify-content: center;
    align-items: center;
    width: fit-content;
    min-height: 3em;
    padding: .5rem 1em;
    border: 1px solid transparent;
    border-radius: .25em;
    font-size: 1rem;
    font-weight: 600;
}

.btn-large {
    width: 100%;
}

.btn:disabled {
    color: #ccc;
    background: #eee !important;
    border-color: transparent;
    pointer-events: none;
}

.btn:disabled img {
    opacity: .3;
}

.btn-black {
    color: var(--white);
    background-color: var(--black);
}

.btn-black:hover {
    background-color: #000;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    border-radius: 5rem;
    font-size: 1.25rem;
    padding: 1.25rem 2.5rem;
}

.btn-primary:hover {
    background: var(--gradient-hover);
    color: #ffea7f;
}

.btn-primary span {
    color: #ffea7f;
}

.btn-point {
    color: var(--white);
    background-color: var(--point);
}

.btn-point:hover {
    color: var(--white);
    background-color: #2f00b6;
}

.btn-secondary {
    background-color: #6AEFD8;
}

.btn-secondary:hover {
    background-color: #63e3cc;
}

.btn-gray {
    background-color: var(--bgGray);
}

.btn-gray:hover {
    background-color: #e3e7ec;
}

.btn-white {
    background-color: var(--white);
    border-color: var(--borderGray);
}

.btn-white-point {
    background-color: var(--white);
    border-color: var(--point);
    color: var(--point);
}

.btn-white:hover,
.btn-white-point:hover {
    background-color: #fafafa;
}

.form-input {
    position: relative;
    border: 1px solid var(--borderGray);
    border-radius: .25rem;
    width: fit-content;
}

.form-input .input {
    padding: 0 2.5rem 0 1rem;
    width: 100%;
    height: 3.5rem;
    border: none;
    border-radius: inherit;
}

.form-input .input-reset {
    position: absolute;
    top: calc(50% - .625rem);
    right: .75rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #d9dade;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .3;
}

.form-input .input-reset:hover {
    opacity: 1;
}

/************************************************************/
/************************subPage***************************/
/************************************************************/
.subPage {
    padding: 8.5rem 0;
    min-height: calc(100vh - 5.5rem);
}

.subPage-nav {
    border-bottom: 1px solid var(--borderGray);
    margin-bottom: 4rem;
    display: flex;
    gap: 2rem;
}

.subPage-nav a {
    font-size: 1.5rem;
    padding: 1.5rem .25rem 1rem;
    color: #AEB4BE;
    font-weight: 800;
    border-bottom: 6px solid transparent;
}

.subPage-nav a:hover {
    color: var(--black);
}

.subPage-nav a.active {
    color: var(--black);
    border-color: var(--point);
}

.title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
}

.title-icon {
    font-size: 1.5rem;
    width: 1em;
    height: 1em;
    background-image: url("../img/icons-title.png");
    background-size: cover;
}

.title span {
    color: var(--point);
}

.title-util {
    margin-left: auto;
    display: flex;
    gap: .5rem;
}

.title-util select {
    min-height: 2.5rem;
    border: 1px solid var(--textGray);
    border-radius: .25rem;
}

.title-btn {
    background-color: #e5e5e5;
    border-radius: 5rem;
    padding: .25rem .75rem;
    vertical-align: 6px;
}

.title-btn:hover {
    background-color: #ccc;
}

.tab-head {
    display: flex;
    flex-wrap: wrap;
}

.tag-wrap .tab-head {
    gap: .5rem;
    margin-bottom: 1rem;
}

.tag-wrap .tab-head-item {
    padding: .5rem 1rem;
    border-radius: 5rem;
    color: var(--textGray);
    border: 2px solid var(--borderGray);
    font-weight: 600;
}

.tab-head-item:hover {
    color: var(--black);
}

.tab-head-item.active {
    color: var(--point);
    border-color: var(--point);
    box-shadow: var(--shadow-sm);
}

.tab-body-item:not(.active) {
    display: none;
}

.toolTip {
    position: relative;
    background-color: var(--black);
    border-radius: 50%;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-style: normal;
    opacity: .6;
}

.toolTip::before {
    content: '?';
    color: var(--white);
    font-weight: 600;
    font-size: .875rem;
}

.toolTip:hover {
    opacity: 1;
    cursor: help;
}

.toolTip p {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    left: -1rem;
    width: max-content;
    max-width: 30rem;
    background-color: var(--black);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    font-size: 1rem;
    font-weight: 400;
    box-shadow: var(--shadow-md);
    z-index: 50;
}

.toolTip p::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 1.25rem;
    border-style: solid;
    border-width: 0 6px 8px 6px;
    border-color: transparent transparent var(--black);
}

.toolTip:hover p {
    display: block;
}

.contextMenu {
    display: none;
    position: absolute;
    border-radius: .75rem;
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.contextMenu button {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    white-space: nowrap;
}

.contextMenu button:hover {
    background-color: #f4f6f9;
}

/************************************************************/
/************************table***************************/
/************************************************************/
.table {
    width: 100%;
    border-style: solid;
    border-width: 1px 0;
    border-color: var(--black);
}

.table + .table {
    margin-top: 1rem;
}

.table tr:not(:last-child) {
    border-bottom: 1px solid var(--borderGray);
}

.table th,
.table td {
    padding: .75rem 1rem;
}

.table th {
    background-color: #f4f6f9;
    color: #47527a;
}

/************************************************************/
/************************Modal***************************/
/************************************************************/
.modal {
    display: none;
}
.modal-dialog {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    display: flex;
    padding: 2rem;
    background-color: rgb(0 0 0 / 10%);
    backdrop-filter: blur(2px);
    z-index: 999;
}

.modal-content {
    margin: auto;
    position: relative;
    background-color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    width: max-content;
    max-width: 800px;
    max-height: 100%;
    overflow: auto;
}

.loading-box{
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 50;
}

.modal .loading-box {
    position: absolute;
}

.loading-txt{
    color: #777;
}

.loading-circle{
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid rgb(0 0 0 / 5%);
    border-top-color: #555;
    border-radius: 50%;
    animation: loading 1.2s cubic-bezier(0.57, 0.14, 0.37, 0.81) infinite;
}

@keyframes loading {
    0%{
        transform: rotate(0);
    }
    100%{
        transform: rotate(360deg);
    }
}

.modal-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 1.5rem;
    z-index: 20;
}

.modal-header .modal-close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 2rem;
    font-weight: 400;
    opacity: .3;
}

.modal-header .modal-close:hover {
    opacity: 1;
}

.modal-footer {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.modal-footer .btn {
    min-width: 6rem;
    padding: .5rem 1.5em;
}