@charset "utf-8";

@font-face {
	font-family: 'Pretendard';
	font-weight: 900;
	font-display: swap;
	src: local('Pretendard Black'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Black.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Black.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 800;
	font-display: swap;
	src: local('Pretendard ExtraBold'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-ExtraBold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-ExtraBold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 700;
	font-display: swap;
	src: local('Pretendard Bold'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Bold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Bold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 600;
	font-display: swap;
	src: local('Pretendard SemiBold'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-SemiBold.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-SemiBold.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 500;
	font-display: swap;
	src: local('Pretendard Medium'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Medium.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Medium.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 400;
	font-display: swap;
	src: local('Pretendard Regular'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Regular.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Regular.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 300;
	font-display: swap;
	src: local('Pretendard Light'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Light.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Light.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 200;
	font-display: swap;
	src: local('Pretendard ExtraLight'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-ExtraLight.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-ExtraLight.woff) format('woff');
}

@font-face {
	font-family: 'Pretendard';
	font-weight: 100;
	font-display: swap;
	src: local('Pretendard Thin'), url(https://s3.unipware.com/common/fonts_pretendard/Pretendard-Thin.woff2) format('woff2'), url(/common/fonts_pretendard/Pretendard-Thin.woff) format('woff');
}


body,
h1,
h2,
h3,
h4,
h5,
h6,
b,
table,
th,
tr,
td,
strong,
footer,
div,
input,
button,
select,
textarea,
footer {
    font-family: 'Pretendard';
    letter-spacing: -0.5px;
}

button {
    cursor: pointer;
}

:root {
    --main-color: #009FBD;
    --main-light-color: #C4E4EA;
    --main-bold-color: #037389;
    --sub-color: #4A249D;

    --pressure-color: #D64D4D;
    --eye-color: #FFBF44;
    --color-color: #FF36C7;
    --survey-color: #35B185;
    --body-component-color: #10B6CC;
    --weight-height-color: #A749E2;
    --hrv-color: #113C7B;

    --on-color: #0fa31e;

    --dark-grey-color: #BABABA;
    --grey-color: #D4D4D4;
    --light-grey-color: #C0C0C0;
    --label-border-color: #E9E9E9;
    --white-color: #fff;
    --bg-black-op-5: #00000080;
    --shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
}

/* common */
body {
    font-size: 15px;
    font-weight: normal;
    line-height: 1.5;
    -ms-overflow-style: none;
    /* height: 100vh; */
    /* height: 100%; */
    background: #F9F9F9;
    overflow: auto;
}

.scroll {
    margin: 0 2px;
    overflow: hidden;
    overflow-y: auto;
}

.scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.scroll::-webkit-scrollbar-track {
    /* background-color: #fff; */
    border-radius: 5px;
}

.scroll::-webkit-scrollbar-thumb {
    background: #d2d2d24b;
    border-radius: 5px;
    height: 10%;
}

.scroll::-webkit-scrollbar-thumb:hover {
    background: #d2d2d2;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

button,
input {
    padding: 8px 15px;
    font-size: 15px;
}

input {
    border: 1px solid var(--light-grey-color);
    background: var(--white-color);
}

/* modal */
.modal_popup {
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: fixed;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
    background: var(--bg-black-op-5);
    z-index: 201;
}

.modal_wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 15px 16px 20px 16px;
    background: #fff;
    z-index: 101;
    text-align: center;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .5);
}

.modal_wrap.m_size {
    width: 460px;
}

.modal_wrap.l_size {
    width: 520px;
}

.modal_btn_x_w {
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: end;
}

.modal_btn_x_w.modal_title {
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-between;
}

.modal_btn_x_w.modal_title>div {
    font-size: 23px;
    font-weight: 600;
}

.modal_btn_x_w img {
    width: 20px;
}

.modal_content {
    font-size: clamp(15px, 3vw, 17px);
    padding: 30px 20px 30px 20px;
}

.user_add_tap_w {
    padding: 50px 20px 0px 20px;
    display: flex;
}

.user_add_tap_w div {
    text-align: center;
    width: 100%;
    font-size: 16px;
    padding: 7px 0;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    font-weight: 600;
    cursor: pointer;
}

.user_add_tap_w div.active {
    background: var(--main-color);
    color: #fff;
    font-weight: 400;
}

.modal_content.input .item {
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.modal_content.input .item .title {
    width: 20%;
    text-align: left;
    margin-right: 10px;
}

.modal_content.input .item input,
.modal_content.input .item .birthdate_area,
.select_machine_W,
.select_date.device {
    width: 80%;
}

.modal_content.input .item .birthdate_area,
.modal_content.input .item .birthdate_area>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal_content.input .item input {
    border: 1px solid var(--light-grey-color);
}

.modal_content.input .item input {
    border: 1px solid var(--light-grey-color);
    background: var(--white-color);
}

.select_date {
    position: relative;
}

.select_date button.btn_select {
    border: 1px solid var(--light-grey-color);
    background: var(--white-color);
    padding: 7px 3px 7px 8px;
    margin-right: 5px;
    display: flex;
    align-items: center;
}

.birthdate_area .btn_select::after {
    display: block;
    content: "";
    background: url(https://s3.unipware.com/GST.lab/images/ico_arrow.svg) 50% 50% no-repeat;
    width: 13px;
    height: 15px;
    transition: all 0.4s 0s;
    background-size: contain;
    margin: 0 5px;
}

.select_date .select_item {
    display: none;
    position: absolute;
    box-shadow: 0px 3px 9px rgba(0, 0, 0, .5);
    background: var(--white-color);
    top: 40px;
    width: 80px;
    padding: 5px 0;
    max-height: 300px;
    overflow-y: scroll;
    overflow-x: hidden;
    z-index: 1;
}

.select_date.active .select_item {
    display: block;
}

.select_date .btn_select::after {
    display: block;
    content: "";
    background: url(https://s3.unipware.com/GST.lab/images/ico_arrow.svg) 50% 50% no-repeat;
    width: 13px;
    height: 15px;
    transition: all 0.4s 0s;
    background-size: contain;
    margin: 0 6px;
}

.select_date.active .btn_select::after {
    transform: rotate(180deg);
}

.select_date .select_item button {
    background: var(--white-color);
}

.select_date .select_item button:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.select_item.month,
.select_item.day {
    width: 50px;
}

.select_item.month button,
.select_item.day button {
    padding: 5px 10px;
}

.select_date.device .btn_select {
    width: 100%;
    position: relative;
}

.select_date.device .btn_select:after {
    position: absolute;
    right: 10px;
}

.select_date.device .select_item {
    width: 100%;
}

.select_date.device .select_item button {
    width: 100%;
    text-align: left;
}

.radio_area {
    display: flex;
}

.radio_area input {
    margin-right: 8px;
    margin-bottom: 2px;
}

.radio_area input+label {
    margin-right: 20px;
}

.modal_btn {
    font-weight: 300;
    padding: 5px 20px;
    font-size: clamp(13px, 2vw, 16px);
    background: var(--main-color);
    color: #fff;
}

.modal_btn.edit {
    margin-right: 10px;
}

.modal_content.input.direct,
.modal_content.input.excel {
    display: none;
}

.modal_content.input.direct.active,
.modal_content.input.excel.active {
    display: block;
}

.modal_content.input.excel .text {
    font-size: 20px;
    line-height: 1.5;
    padding-top: 30px;
}

.modal_content.input.excel .download {
    padding: 50px 0;
}

.modal_content.input.excel .download img {
    width: 30px;
    cursor: pointer;
}

.modal_content.input.excel .download div {
    font-size: 14px;
    color: var(--main-color);
}

/* index */
header {
    position: fixed;
    width: 100%;
    padding: 40px;
    z-index: 100;
    overflow: auto;
    transition: all 0.3s;
    background: #F9F9F9;
    ;

    .background {
        width: 100%;
        height: 60px;
        background: var(--main-color);
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 30px;
        position: relative;
        border-radius: 50px;
    }

    .logo {
        width: 130px;
        cursor: pointer;
    }

    .user {
        color: var(--white-color);
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    b {
        font-weight: 600;
    }

    ul {
        padding-left: 170px;
        display: flex;
        font-size: 20px;
    }

    .user_w {
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

    .user_w:hover .user {
        transform: translateX(100%);
    }

    .user_w:hover .logout_w {
        z-index: 1;
        transform: translateX(-25%);
    }

    .logout_w {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        padding: 10px 20px;
        width: 150%;
        height: 100%;
        content: attr(data-hover);
        background: var(--white-color);
        -webkit-transition: -webkit-transform 0.3s;
        -moz-transition: -moz-transform 0.3s;
        transition: transform 0.3s;
        -webkit-transform: translateX(-50%);
        border-radius: 20px;
        display: flex;
        align-items: center;
    }

    .logout {
        color: var(--main-color);
        font-size: 18px;
        display: flex;
        cursor: pointer;
    }

    /* .logout:after {
        content: "";
        width: 25px;
        background: url(https://s3.unipware.com/GST.med/images/img_logout.svg) 50% 50% no-repeat;
        background-size: contain;
        display: block;
        margin: 0 0 5px 10px;
    } */
    li {
        position: relative;
        font-weight: 400;
        color: #ffffff8e;
        transition: all 0.3s ease;
    }

    li.active,
    li:hover {
        font-weight: 600;
        color: var(--white-color);
        cursor: pointer;
    }

    li+li {
        margin-left: 40px;
    }

    li::after {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 1px;
        background: #fff;
        content: '';
        opacity: 0;
        -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
        -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
        transition: height 0.3s, opacity 0.3s, transform 0.3s;
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        transform: translateY(-10px);
    }

    li:hover::after,
    li:focus::after {
        height: 3px;
        opacity: 1;
        -webkit-transform: translateY(0px);
        -moz-transform: translateY(0px);
        transform: translateY(0px);
    }
}

header .m_header {
    display: none;
    background: var(--main-color);

    .m_background {
        border-radius: 0;
        background: none;
        padding: 0 20px;
        position: relative;
        justify-content: space-between;
        display: flex;
        align-items: center;
        width: 100%;
        height: 60px;
    }

    .m_background>div {
        width: 100%;
    }

    .ico_burger,
    .ico_close {
        width: 25px;
        cursor: pointer;
    }

    .ico_close {
        display: none;
    }
}

.m_list {
    display: none;
    transition: all 0.3s;

    ul {
        padding-left: 0;
        display: block;
    }

    li+li {
        margin-left: 0;
        margin-top: 20px;
    }

    .logout {
        color: #ffffff8e;
    }

    .logout:hover {
        color: var(--white-color);
    }
}

.m_list.active {
    display: block;
}

aside {
    position: fixed;
    height: calc(100% - 100px);
    padding-left: 50px;
    width: 300px;
    padding-right: 30px;
    margin-top: 140px;
    transition: all 0.3s;
    z-index: 10;
    background: #F9F9F9;

    .version_info {
        display: flex;
        align-items: center;
    }

    .version_info span {
        width: 50px;
        height: 50px;
        background: var(--main-color);
        border-radius: 50%;
        opacity: 0.5;
        display: flex;
        justify-content: center;
        margin-right: 10px;
    }

    .version_info span img {
        width: 25px;
    }

    hr {
        border-top: 1px solid var(--grey-color);
        margin: 30px 0;
    }
}

aside .basic_aside.hide,
aside .machine_aside.hide {
    -webkit-transition: -webkit-transform 3s;
    -moz-transition: -moz-transform 3s;
    transition: transform 3s;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 50% 50% -100px;
    -moz-transform-origin: 50% 50% -100px;
    transform-origin: 50% 50% -100px;
    -webkit-transform: rotateY(-90deg);
    -moz-transform: rotateY(-90deg);
    transform: rotateY(-90deg);
    opacity: 0;
}

aside>div {
    width: 100%;
    /* height: 100%; */
    -webkit-perspective: 800px;
    -moz-perspective: 800px;
    perspective: 800px;
}

.basic_aside,
.machine_aside {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.version_info {
    label {
        font-size: 20px;
        font-weight: 600;
    }
}

.machine_count {
    div {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    div+div {
        margin-top: 20px;
    }

    .title {
        color: var(--main-color);
        font-size: 18px;
        font-weight: 400;
        font-weight: 600;
    }

    .content {
        font-size: 23px;
        font-weight: 600;
    }
}

.machine_license {
    .top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .title {
        color: var(--main-color);
        font-size: 18px;
        font-weight: 400;
        font-weight: 600;
    }

    img {
        width: 25px;
        cursor: pointer;
    }

    p {
        word-break: break-all;
    }

    .copy_w {
        position: relative;
    }
}

.copy_w {
    label.complete {
        display: none;
        top: -35px;
        right: -25px;
        width: max-content;
        position: absolute;
        background: #000000a5;
        color: var(--white-color);
        padding: 3px 10px;
        border-radius: 3px;
        z-index: 100;
    }
}

.machine_aside {
    dt {
        color: var(--main-color);
        font-size: 16px;
        font-weight: 500;
    }

    hr {
        margin: 15px 0;
    }

    .btn_type_w {
        display: flex;
        flex-wrap: wrap;
    }
}

.machine_aside .type {
    dt {
        margin-bottom: 5px;
    }

    button {
        background: none;
        color: var(--white-color);
        border: 2px solid var(--main-color);
        color: var(--main-color);
        padding: 6px 13px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        font-size: 15px;
        margin-right: 5px;
        margin-bottom: 5px;
        font-weight: 500;
        min-width: 90px;
        justify-content: center;
    }

    button:hover {
        background: var(--main-light-color);
    }

    button.active {
        background: var(--main-color);
        color: var(--white-color);
    }

    img {
        width: 23px;
        margin-right: 5px;
    }
}

.machine_aside .switch_W {
    display: flex;
    align-items: center;
    justify-content: space-between;

    dt {
        padding: 10px 0;
    }

    .checkbox-switch {
        cursor: pointer;
        display: inline-block;
        overflow: hidden;
        position: relative;
        text-align: left;
        width: 80px;
        height: 30px;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        line-height: 1.2;
        font-size: 14px;
    }

    .checkbox-switch input.input-checkbox {
        position: absolute;
        left: 0;
        top: 0;
        width: 80px;
        height: 30px;
        padding: 0;
        margin: 0;
        opacity: 0;
        z-index: 2;
        cursor: pointer;
    }

    .checkbox-switch .checkbox-animate {
        position: relative;
        width: 80px;
        height: 30px;
        background-color: var(--dark-grey-color);
        -webkit-transition: background 0.25s ease-out 0s;
        transition: background 0.25s ease-out 0s;
    }

    .checkbox-switch .checkbox-animate:before {
        content: "";
        display: block;
        position: absolute;
        width: 20px;
        height: 20px;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #7f8c8d;
        top: 5px;
        left: 5px;
        -webkit-transition: left 0.3s ease-out 0s;
        transition: left 0.3s ease-out 0s;
        z-index: 10;
    }

    .checkbox-switch input.input-checkbox:checked+.checkbox-animate {
        background-color: var(--main-color);
    }

    .checkbox-switch input.input-checkbox:checked+.checkbox-animate:before {
        left: 55px;
        background-color: var(--white-color);
    }

    .checkbox-switch .checkbox-off,
    .checkbox-switch .checkbox-on {
        float: left;
        color: #fff;
        font-weight: 700;
        padding-top: 6px;
        -webkit-transition: all 0.3s ease-out 0s;
        transition: all 0.3s ease-out 0s;
    }

    .checkbox-switch .checkbox-off {
        margin-left: 30px;
        opacity: 1;
    }

    .checkbox-switch .checkbox-on {
        display: none;
        float: right;
        margin-right: 35px;
        opacity: 0;
    }

    .checkbox-switch input.input-checkbox:checked+.checkbox-animate .checkbox-off {
        display: none;
        opacity: 0;
    }

    .checkbox-switch input.input-checkbox:checked+.checkbox-animate .checkbox-on {
        display: block;
        opacity: 1;
    }
}

.checkbox {
    font-size: 17px;
}

.checkbox::before {
    content: " ";
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 19px;
    border: 2px solid var(--main-color);
    border-radius: 3px;
    margin: 0;
    margin-right: 5px;
    cursor: pointer;
}

.checkbox.active::before {
    content: "✓";
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 19px;
    border: 2px solid var(--main-color);
    border-radius: 3px;
    margin-right: 5px;
    color: #fff;
    background-color: var(--main-color);
    font-size: 18px;
    line-height: 16px;
}

.btn_w {
    display: flex;
    justify-content: space-between;

    .btn {
        padding: 8px 37px;
        font-size: 14px;
        background: none;
        border: 1px solid var(--main-color);
        font-weight: 500;
    }

    button+button {
        margin-left: 10px;
    }

    .cancel {
        color: var(--main-color);
    }

    .ok {
        background: var(--main-color);
        color: var(--white-color);
    }

    .btn.cancel:hover {
        background: var(--main-light-color);
    }
}



main {
    width: calc(100% - 300px);
    height: calc(100vh - 50px);
    overflow: hidden;
    margin-left: 300px;
    min-width: 500px;
    transition: all 0.3s;

    .wrap {
        margin-top: 140px;
        padding: 0px 50px;
    }
}




.wrap .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;

    label {
        font-size: 30px;
        font-weight: 600;
    }

    .search_area {
        position: relative;
    }

    input {
        border: 1px solid var(--main-color);
        padding-left: 40px;
        transition: box-shadow 0.3s ease, border-color 0.3s ease;
        border-radius: 30px;
    }

    input:focus {
        outline: none;
        border-color: var(--main-color);
        box-shadow: 0 0 5px rgba(0, 159, 189, 0.5);
    }

    img {
        position: absolute;
        width: 18px;
        top: 25%;
        left: 13px;

    }
}

section.card_wrap {
    /* display: grid;
    grid-template-columns:  1fr 1fr 1fr 1fr; */
    display: flex;
    max-width: 1600px;
    flex-wrap: wrap;
    width: 100%;
    /* height: 100%; */
    max-height: 650px;
    overflow-x: scroll;
    padding: 10px 10px 0 5px;

    .card {
        padding: 30px;
        box-shadow: 2px 2px 5px rgb(225, 225, 225);
        margin-right: 40px;
        margin-bottom: 40px;
        min-width: 335px;
        max-width: 335px;
        overflow-x: hidden;
        cursor: pointer;
        border: 1px solid transparent;
        transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s forwards;
        border-radius: 10px;
        background: var(--white-color);
    }

    .card:hover,
    .card.active {
        transform: scale(1.03);
        border: 1px solid var(--main-color);
        box-shadow: 2px 2px 5px rgba(0, 159, 189, 0.6);
    }

    hr {
        border-top: 1px solid var(--grey-color);
        margin: 15px 0;
    }
}

.card {
    .lable_w {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }
    .kiosk_id{
        font-size: 20px;
        font-weight: 600;
    }
    .lable_w label {
        padding: 3px 12px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
        border: 1px solid var(--label-border-color);
    }
    /* label:before {
        content: "";
        display: inline-block;
        border-radius: 50%;
        margin-right: 5px;
        width: 8px;
        height: 8px;
    }
    label.pressure:before {
        background-color: var(--pressure-color);
    }
    label.eye:before {
        background-color: var(--eye-color);
    }
    label.color:before {
        background-color: var(--color-color);
    }
    label.survey:before {
        background-color: var(--survey-color);
    }
    label.body-component:before {
        background-color: var(--body-component-color);
    }
    label.weight-height:before {
        background-color: var(--weight-height-color);
    }
    label.hrv:before {
        background-color: var(--hrv-color);
    } */
    dl {
        display: flex;
        align-items: center;
    }
    dt {
        font-size: 14px;
        min-width: 40px;
        font-weight: 400;
    }
    dd {
        font-size: 18px;
        font-weight: 400;
        display: flex;
        align-items: center;
    }
    dd.on {
        color: var(--on-color);
        font-size: 14px;
        margin-right: 20px;
        margin-left: 10px;
    }
    dd.on:after {
        content: '';
        width: 10px;
        height: 10px;
        display: block;
        background: var(--on-color);
        border-radius: 50%;
        margin-left: 6px;
    }
    dd.off {
        color: var(--dark-grey-color);
        font-size: 15px;
        margin-right: 20px;
        margin-left: 10px;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card_top {
    display: flex;
    justify-content: space-between;

    label {
        line-height: 1.2;
        font-size: 21px;
        font-weight: 600;
    }

    .btn_delete {
        width: 20px;
        cursor: pointer;
        margin-left: 10px;
        z-index: 100;
    }
}

.type_w {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.type_label {
    display: flex;
    background: var(--main-color);
    border-radius: 20px;
    padding: 4px 10px 4px 6px;
    width: fit-content;
    margin-right: 5px;
    margin-bottom: 5px;

    img {
        width: 23px;
        margin-right: 5px;
    }

    label {
        color: var(--white-color);
        font-size: 14px;
        font-weight: 400;
        word-break: keep-all;

    }
}

/* login */
body.login {
    overflow: hidden;
}

main.login {
    background: var(--main-color);
    margin-left: 0;
    width: 100%;
    position: relative;
    height: 100vh;
}

@keyframes moveFromBottom {
    0% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(0%);
    }
}

.img_logo_big {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    animation: moveFromBottom 2s linear;
    /* Continuous upward movement */
}

.img_logo_big01 {
    position: absolute;
    width: 600px;
    left: 350px;
    top: -100px;
}

.img_logo_big02 {
    position: absolute;
    width: 600px;
    left: -100px;
    top: 400px;
}

.logo_w {
    width: 100%;
    padding: 40px;
    display: flex;
    justify-content: end;
}

.logo_w img {
    width: 200px;
    z-index: 1;
}

.login_w {
    position: absolute;
    top: 45%;
    right: 12%;
    transform: translateY(-50%);
    color: var(--white-color);

    .item {
        display: flex;
        align-items: center;
    }

    label {
        width: 25%;
        text-align: end;
        margin-right: 10px;
        font-size: 18px;
    }

    .input {
        display: flex;
    }

    input {
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        border: 0;
        font-size: 16px;
        max-width: 200px;
    }
    input::placeholder{
        font-size: 14px;
    }
    input:focus{
        box-shadow: 0px 0px 10px rgb(225, 225, 225);
    }
    .item button {
        border-bottom-right-radius: 10px;
        border-top-right-radius: 10px;
    }
}

.login .index {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 70px;
    text-align: end;
    opacity: 0.3;
    font-weight: 100;
    color: var(--white-color);
    padding: 40px;
    transition: all 0.3s;
}

.radio_area.login {
    margin-bottom: 30px;
    justify-content: end;
    font-size: 18px;
}

.login_w .item.login.id {
    margin-bottom: 20px;
}

.login_w .item.login.pw {
    margin-bottom: 10px;
}

.code_alert {
    position: relative;
    margin-top: 5px;
    margin-bottom: 30px;
    font-weight: 200;
    visibility: hidden;
    color: #e6fb00;
    display: flex;
    align-items: center;
    justify-content: center;
}
.code_alert::before{
    content: "";
    background: url(https://s3.unipware.com/GST.med/images/ico_code_alert.svg) center no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
}
.code_check {
    width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-weight: 200;
    color: #7dff59;
    display: flex;
    align-items: center;
    justify-content: center;
}
.code_check::before{
    content: "";
    background: url(https://s3.unipware.com/GST.med/images/ico_code_check.svg) center no-repeat;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 5px;
}

.login_w .item.login.id input {
    border: 10px;
    max-width: 75px;
}

.login_w .item.login.pw input {
    border: 0px;
    min-width: 240px;
}

.btn_login {
    min-width: 310px;
    background: var(--main-bold-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 16px;
    margin-bottom: 30px;
    border-radius: 10px;
}
.btn_login:hover {
    box-shadow: 0px 0px 10px rgb(225, 225, 225);
}
.btn_code {
    background: var(--main-bold-color);
    color: var(--white-color);
    padding: 7px 10px;
    font-size: 16px;
    min-width: 105px;
    font-weight: 200;
    position: relative;
    overflow: hidden; 
    transition: all 0.3s;
}
.btn_code::before {
    content: "";
    width: 30px;
    height: 30px;
    background: url(https://s3.unipware.com/GST.med/images/ico_send.svg) no-repeat center center;
    position: absolute; 
    left: 0px; 
    top: 50%; 
    transform: translateY(-50%); 
    opacity: 0; 
    z-index: 100;
    transition: all 0.3s;
}
.btn_code:hover::before, .btn_code_check:hover::before  {
    left: 40px;
    opacity: 1;
}
.btn_code:hover, .btn_code_check:hover {
    color: transparent;
}

.btn_code_check {
    background: var(--main-bold-color);
    color: var(--white-color);
    padding: 7px 10px;
    font-size: 16px;
    min-width: 105px;
    font-weight: 200;
    position: relative;
    overflow: hidden; 
    transition: all 0.3s;
}
.btn_code_check::before {
    content: "";
    width: 30px;
    height: 30px;
    background: url(https://s3.unipware.com/GST.med/images/ico_check.svg) no-repeat center center;
    position: absolute; 
    left: 0px;
    top: 50%; 
    transform: translateY(-50%); 
    opacity: 0; 
    z-index: 100;
    transition: all 0.3s;
}

.find_idpw_w {
    width: 100%;
    display: flex;
    justify-content: end;
}

.find_idpw_w>div {
    width: 65%;
    margin-right: 30px;
    display: flex;
    justify-content: space-between;
}

/* 환경설정 */
main.setting {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-left: 0px;

    .wrap {
        padding: 50px 150px 0px 150px;
        display: flex;
        justify-content: space-between;
    }
}

.wrap .left,
.wrap .right {
    width: 45%;
}

.wrap.setting .title {
    width: 100%;
    background: var(--main-color);
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 20px;
}

.contents_W {
    position: relative;
    padding: 10px 20px;
}

.contents_W .item_W {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contents_W .item_W .item_title {
    text-align: start;
    width: 30%;
    font-weight: 600;
    font-size: clamp(15px, 3vw, 18px);
}

.contents_W .item_W .item_title.green {
    color: var(--main-color);
    display: flex;
    align-items:flex-end;
}
.contents_W .item_W .item_title.green span{
    font-weight: 400;
    font-size: 13px;
    color: var(--light-grey-color);
}
.contents_W .item_W .file_name_w {
    width: 55%;
    position: relative;
}

.file_name_w .file_name {
    width: 100%;
}

input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.contents_W .item_W .btn_file_add {
    width: 15%;
    background: var(--main-color);
    color: #fff;
    margin-left: 10px;
    border: 1px var(--main-color);
    font-size: clamp(15px, 3vw, 17px);
    padding: 5px 10px;
    text-align: center;
    cursor: pointer;
}

.filebox label {
    background: var(--main-color);
    color: #fff;
    padding: 7px 15px;
    margin-top: 1px;
}

.upload-name.input {
    padding: 7px 12px;
    background-color: #fff;
    border: 1px solid var(--light-grey-color);
    border-left: 0px;
    border-radius: 0px;
}

.file_name_w {
    position: relative;
}

.file_name_w .ico_img_cancel {
    background: url(https://s3.unipware.com/GST.med/images/ico_input_cancel.svg) no-repeat;
    cursor: pointer;
    position: absolute;
    width: 15px;
    height: 15px;
    background-size: 15px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.img_size_guide {
    padding-top: 10px;
    position: absolute;
    left: 32%;
    text-align: center;
    font-size: clamp(10px, 2vw, 13px);
    color: var(--light-grey-color);
}

.contents_area.bottom {
    padding-top: 50px;
}

.item_W.left {
    justify-content: left;
    width: 100%;
    margin-bottom: 25px;
}

.item_title.sub {
    color: #000000;
}

.input_title {
    width: 72%;
}

.title.sending_w {
    margin-top: 70px;
}

.item_W .send_check {
    position: absolute;
    opacity: 0;
}

.item_W .label {
    display: inline-block;
    position: relative;
    padding: 0 0 0 25px;
    line-height: 18px;
    cursor: pointer;
}

.item_W input:checked+.label:before {
    background: url(https://s3.unipware.com/GST.med/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--main-color);
    border-color: var(--main-color);
    background-size: 10px auto;
}

.item_W input+.label:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid var(--light-grey-color);
    width: 16px;
    height: 16px;
    overflow: hidden;
}

.item_W .check_w {
    width: 70%;
}

.btn_save {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 50px 0 30px;
}

.btn_save button {
    font-size: clamp(10px, 4vw, 20px);
    background: var(--main-color);
    padding: 10px 25px;
    color: #fff;
    border-radius: 30px;
    display: flex;
}

.btn_save button::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background: url(https://s3.unipware.com/GST.med/images/ico_checkbox1_a.svg) 50% 50% no-repeat var(--main-color);
    background-size: 20px auto;
    margin-right: 10px;
    margin-top: 2px;
}

.save_complete {
    display: none;
    position: absolute;
    bottom: 80px;
    color: #fff;
    padding: 5px 10px;
}

.save_complete div {
    background: #000000a5;
    color: var(--white-color);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: clamp(15px, 3vw, 14px);
}

.error_wrap {
    max-width: 1000px;
    margin: 100px auto;
    text-align: center;
}

.error_wrap .title_num {
    font-size: 120px;
    font-weight: bolder;
}

.error_wrap .title_ko {
    font-size: 32px;
    position: relative;
    display: inline;
}

.error_wrap .title_ko::after {
    content: '';
    width: 100%;
    height: 14px;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--main-bold-color);
    z-index: -1;
}

.error_wrap .sub_title_ko {
    margin-top: 10px;
    line-height: 1.5;
}

.error_wrap .btn_home {
    display: inline-block;
    margin-top: 30px;
    cursor: pointer;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--white-color);
}






















footer {
    /* width: 40%; */
    margin-left: 300px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 200;
    color: var(--grey-color);
    letter-spacing: 0.5px;
    text-align: center;
    padding: 8px 0;

}



/* 미디어쿼리 */
@media (max-width:1550px) {
    section.card_wrap {
        .card {
            min-width: 300px;
            max-width: 300px;
            margin-right: 20px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
        }
    }
}

@media (max-width:1440px) {
    .main.top {
        padding: 0px 0px 100px 80px;
    }
}

@media (max-width:1200px) {
    main.setting {
        overflow-y: scroll;

        .wrap {
            display: block;
        }

        .left,
        .right {
            margin-bottom: 50px;
        }

        .left,
        .right {
            width: 100%;
        }

        .btn_save {
            padding-top: 0;
        }
    }
}

@media (max-width:1160px) {
    .login .index {
        display: none;
    }
}

@media (max-width:767px) {
    header {
        padding: 20px;

        .background {
            display: none;
        }

        .m_header {
            display: block;
        }

        .m_list {
            position: relative;
            float: right;
            background: var(--main-color);
            max-width: 300px;
            width: 50%;
            padding: 30px 30px 30px 30px;
            height: 100%;
            overflow: hidden;
            overflow-y: auto;
        }
    }

    aside {
        margin-top: 100px;
        padding-left: 30px;
        /* height: calc(100vh - 130px); */
    }

    main {
        .wrap {
            margin-top: 100px;
            padding: 0px 50px;
        }
    }

    .wrap .top {
        display: block;

        .search_area {
            margin-top: 10px;
        }
    }

    main.setting {
        .wrap {
            padding: 30px 50px 0px 50px;

        }
    }

}