@charset "utf-8";

:root {
    --blue: #2961de;
    --dark-blue: #002ca5;
    --skyblue: #e4f1ff;
    --indigo: #287cd0;
    --purple: #6f42c1;
    --darkPurple: #422678;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #2fff8f;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --navy: #171a41;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #ececec;
    --success: #28a745;
    --info: #17a2b8;
    --main: #388d6e;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --black: #333333;
    --gray-light: #eeeeee;
    --background: #f2f7fa;
    --white: #ffffff;

    /* 이상민 - tsflowone사이트 디자인 수정 (25.07.29 ~) - 색상정의 */
    --new-dark: #1d1d1f;
    --new-light: #f5f5f7;
    --new-gray: #606164;
    --new-purple: #A855F7;
}

/* box-sizing 규칙을 명시합니다. */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 폰트 크기의 팽창을 방지합니다. */
html {
    width: 100%;
    height: 100%;
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    font-size: 10px;
    -ms-user-select: none;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

body,
pre,
p,
span,
textarea,
div,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
button,
input,
label {
    font-family: 'nanum-r';
}

body.no-scroll {
    overflow: hidden;
}

pre {
    white-space: pre-wrap;
}

/* p, span, textarea, pre{
    -ms-user-select: text; 
    -moz-user-select: text; 
    -webkit-user-select: text; 
    user-select: text; 
} */


/* 기본 여백을 제거하여 작성된 CSS를 더 잘 제어할 수 있습니다. */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* list를 role값으로 갖는 ul, ol 요소의 기본 목록 스타일을 제거합니다. */
ul[role='list'],
ol[role='list'],
li {
    list-style: none;
}

/* 핵심 body의 기본값을 설정합니다. */
body,
#root {
    width: 100%;
    font-size: 1.4rem;
    height: 100%;
    line-height: 1.5;
    /* 이상민 - 25.07.29 배경색과 글자색 변경 */
    background-color: #000;
    color: #fff;
}

/* 제목 요소와 상호작용하는 요소에 대해 line-height를 더 짧게 설정합니다. */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: var(--black);
}

/* 클래스가 없는 기본 a 태그 요소는 기본 스타일을 가져옵니다. */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* 이미지 관련 작업을 더 쉽게 합니다. */
img,
picture {
    max-width: 100%;
    display: block;
}

/* input 및 button 항목들이 글꼴을 상속하도록 합니다. */
input[type="text"],
input[type="date"],
input[type="password"],
input[type="number"],
button,
textarea,
select {
    min-height: 4rem;
    font-family: 'nanum-eb';
}

button {
    background: inherit;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    cursor: pointer
}

/* 행 속성이 없는 textarea가 너무 작지 않도록 합니다. */
textarea:not([rows]) {
    width: 100%;
    padding: 10px;
    min-height: 14.5rem;
}

/* 고정된 모든 항목에는 여분의 스크롤 여백이 있어야 합니다. */
:target {
    scroll-margin-block: 5px;
}

table {
    min-width: 100%;
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}


select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMiAxMiI+PHBhdGggZD0iTTEgNEw2IDlsNS01eiIgZmlsbD0iIzY2NiIgLz48L3N2Zz4=') no-repeat right 0.5rem center;
    background-size: 1rem;
    padding-right: 2rem;
    /* 드롭다운 화살표 공간 확보 */
}

select,
input,
textarea {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 1rem;
}

select:disabled {
    background-color: #f0f2f2;
}

address {
    font-style: normal;
}

svg {
    vertical-align: sub;
}

details {
    cursor: pointer;
}

summary::-webkit-details-marker,
summary::marker {
    display: none;
    content: "";
}

option {
    background-color: #fff;
}

sup {
    color: var(--danger);
}

caption {
    display: table-caption;
    text-align: center;
    /* 또는 원하는 위치 설정 */
    caption-side: top;
    /* 기본값 (상단) */
}


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

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

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


fieldset {
    border: none;
}

iframe {
    outline: none;
    border: none;
}

progress {
    height: 3rem;
}


/* 자동완성 배경색 변경 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px #141414 inset;
    box-shadow: 0 0 0px 1000px #141414 inset;
    transition: background-color 5000s ease-in-out 0s;
}

input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px #141414 inset;
    box-shadow: 0 0 0px 1000px #141414 inset;
    transition: background-color 5000s ease-in-out 0s;
}
/* 자동완성 배경색 제거 */


/* 폰트 정의 */

@font-face {
    font-family: "nanum-l";
    src: url(../font/NanumSquareNeoTTF-aLt.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-aLt.woff) format('woff');
    font-style: normal;
}

@font-face {
    font-family: "nanum-r";
    src: url(../font/NanumSquareNeoTTF-bRg.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-bRg.woff) format('woff');
    font-style: normal;
}

@font-face {
    font-family: "nanum-b";
    src: url(../font/NanumSquareNeoTTF-cBd.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-cBd.woff) format('woff');
    font-style: normal;
}

@font-face {
    font-family: "nanum-eb";
    src: url(../font/NanumSquareNeoTTF-dEb.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-dEb.woff) format('woff');
    font-style: normal;
}

@font-face {
    font-family: "nanum-hb";
    src: url(../font/NanumSquareNeoTTF-eHv.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-eHv.woff) format('woff');
    font-style: normal;
}

@font-face {
    font-family: "nanum-l";
    src: url(../font/NanumSquareNeoTTF-aLt.woff2) format('woff2'),
        url(../font/NanumSquareNeoTTF-aLt.woff) format('woff');
    font-style: normal;
}