@charset "UTF-8";

/* 레이아웃 */
.admin-wrap {
    background-color: #fff;
    color: #000;
    display: grid;
    grid-template-columns: clamp(260px, 16vw, 450px) minmax(1020px, 1fr);
    grid-template-rows: 70px minmax(527px, auto);
    grid-template-areas:
        "header header "
        "nav  main  ";
}

.admin-wrap.collapsed {
    grid-template-columns: 80px 1fr;
}

.admin-wrap header {
    width: 100%;
    grid-area: header;
    grid-column: 1/3;
}

.logo {
    font-size: 3rem;
    font-weight: bold;
    color: #4954fd;
}

.logo span {
    display: inline-block;
    width: 25px;
    height: 25px;
    mask-repeat: no-repeat;
    mask-size: auto;
    mask-position: center;
    mask-image: url('../img/svg/logo.svg');
    margin-right: 1rem;
    background-color: #4954fd;
    vertical-align: middle;
}

.admin-wrap .user-info {
    background-color: #ffffff;
    padding: .5rem 2rem;
    border-radius: 3rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .05);
}

.admin-wrap .user-info span,
.admin-wrap .user-info button {
    padding: 0 1rem;
}

.admin-wrap .user-info span {
    border-right: 1px solid #c6c6c6;
}

.admin-wrap .set-btn {
    width: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .05);
}

.admin-wrap .set-btn span {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: center;
    background-image: url('../img/svg/setting.svg');
}

.admin-wrap nav {
    grid-area: nav;
    height: 100%;
}

.admin-wrap nav ul {
    height: 100%;
    background-color: #16171b;
    border-radius: 0 5rem 5rem 0;
    position: relative;
    transition: all .3s;
}

.admin-wrap nav ul li:nth-child(1),
.admin-wrap nav ul li:nth-child(2),
.admin-wrap nav ul li:nth-child(4) {
    margin-bottom: 3rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: 1rem;
}

.admin-wrap nav ul li a {
    display: block;
    color: #ffffff;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    position: relative;
}

.admin-wrap nav ul li a span:nth-child(1) {
    display: inline-block;
    width: 20px;
    height: 20px;
    mask-repeat: no-repeat;
    mask-size: auto;
    vertical-align: sub;
    background-color: #ffffff;
    margin-right: 1rem;
}

.admin-wrap nav ul li:nth-child(1) a span:nth-child(1) {
    mask-image: url('../img/svg/dashboard.svg');
}

.admin-wrap nav ul li:nth-child(2) a span:nth-child(1) {
    mask-image: url('../img/svg/application.svg');
}

nav ul li:nth-child(3) a span:nth-child(1) {
    mask-image: url('../img/svg/server.svg');
}

.admin-wrap nav ul li:nth-child(4) a span:nth-child(1) {
    mask-image: url('../img/svg/chart.svg');
}

.admin-wrap nav ul li:nth-child(5) a span:nth-child(1) {
    mask-image: url('../img/svg/bullhorn.svg');
}

.admin-wrap nav ul li:nth-child(6) a span:nth-child(1) {
    mask-image: url('../img/svg/help.svg');
}

.admin-wrap nav ul li:nth-child(7) a span:nth-child(1) {
    mask-image: url('../img/svg/account.svg');
}

.admin-wrap nav ul li a.router-link-active {
    background-color: #ffffff;
    border-radius: 3rem;
    font-weight: bold;
    color: #4954fd;
}

.admin-wrap nav ul li a.router-link-active span:nth-child(1) {
    background-color: #4954fd;
}

.accordion {
    position: absolute;
    bottom: 3rem;
    right: 3rem;
    background-color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.accordion span {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 45%;
    background-position: center;
    background-image: url('../img/svg/left.svg');
}


.admin-wrap nav.collapsed {
    background-color: transparent;
    padding: 1rem;
    padding-top: 0;
}

.admin-wrap nav.collapsed ul {
    background-color: #16171b;
    width: 80px;
    border-radius: 2rem;
    padding-top: 0;
    padding: 1.5rem;
}

.admin-wrap nav.collapsed .menu-name {
    display: none;
}

.admin-wrap nav.collapsed ul li a {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.admin-wrap nav.collapsed ul li a span:nth-child(1) {
    margin-right: 0;
}

.admin-wrap nav.collapsed .accordion {
    bottom: 1.5rem;
    right: 50%;
    transform: translateX(50%);
}

.admin-wrap nav.collapsed .accordion span {
    background-image: url('../img/svg/right.svg');
}

.admin-wrap main {
    grid-area: main;
    padding: 0 3rem;
}

.detail-table tbody tr th {
    white-space: pre;
}


/* 관리자 대시보드 */

.hoverBox {
    border-radius: 1rem;
    transition: .2s;
}

.hoverBox:hover {
    background-color: #f5f5f7;
    border: 1px solid #cfcfcf;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.1);
    /* padding: 4rem 2rem; */
}

.hoverBox:hover progress::-webkit-progress-bar {
    background-color: #bfbfbf;
}

.dashBoard-wrap {
    height: calc(100% - 70px);
}

.dashBoard-wrap .section01-wrapper .cpu-memory-total-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.dashBoard-wrap .section01-wrapper .average-resource-wrap .graph-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}



.dashBoard-wrap .select-group-wrap .select-group-box {
    border: 1px solid #ddd;
    border-radius: 1rem;
    overflow: hidden;
}

.dashBoard-wrap .select-group-wrap .select-group-box p {
    display: block;
    background-color: #ececec;
    border-right: 1px solid #cfcfcf;
    font-weight: 600;
    font-size: 1.3rem;
}

#gpu-server-select {
    padding: 1rem 2rem 1rem 1rem;
    border: none;
    outline: none;
}

.section03-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.section03-wrapper .left-wrapper .dashData-wrap .dashData {
    background-color: #ddd;
    border-radius: 1rem;
    padding: 2rem;
}

.section03-wrapper .left-wrapper .dashData-wrap .dashData .dashData-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #555;
}

.section03-wrapper .left-wrapper .dashData-wrap .dashData .dashData-desc {
    font-size: 1.6rem;
    font-weight: 600;
}


/* 스타일 */
.adm-title,
.page-title {
    font-size: 2rem;
    font-weight: bold;
}

.dashBoard-title {
    font-size: 1.8rem;
    font-weight: 900;
}

.dashBoard-text {
    font-size: 1.6rem;
    font-weight: 600;
}

.dashData-text {
    font-size: 1.4rem;
    font-weight: 500;
    color: #555;
}

.dashData-desc {
    font-size: 1.8rem;
    font-weight: 600;
}

.admin-name-text {
    font-size: 1.4rem;
    color: #777;
}

.main-page {
    width: 100%;
    height: 100%;
}

.main-page .chart-wrap {
    width: 100%;
    height: calc(100% - 55px);
}

.chart-wrap>div {
    width: 100%;
    height: 100%;
}

.main-page .box {
    background-size: auto, cover;
    background-position: bottom calc((100% - 115px) / 2) center, center;
    background-repeat: no-repeat;
}

.main-page .box>div.h_100>div>p {
    font-size: 2rem;
    color: #ffffff;
}

.main-page .box>div.list-wrap>div>p {
    color: #333333;
}

.main-page .box>div.h_100>div>p:nth-of-type(2) {
    font-size: 3rem;
}

.main-page .box:first-child {
    grid-column: 1/5;
}

.main-page .box:first-child p {
    font-size: 2rem;
    color: #16171b;
}

.main-page .box:nth-child(2) {
    background-image:
        url(../img/chart/cpu.png),
        linear-gradient(135deg, #44a7ff, #4b73fc);

}

.main-page .box:nth-child(3) {
    background-image:
        url(../img/chart/gpu.png),
        linear-gradient(135deg, #36d4fa, #33a3fc);
}


.main-page .box:nth-child(4) {
    background-image:
        url(../img/chart/ram.png),
        linear-gradient(135deg, #5ee6a5, #0cc39e);
}


.main-page .box:nth-child(5) {
    background-image:
        url(../img/chart/server.png),
        linear-gradient(135deg, #8976dc, #6d4ed1);
}


.enroll-table {
    width: 100%;
    border-collapse: collapse;
}

.enroll-table tbody tr:hover {
    background-color: #efefef;
}

.enroll-table th,
.enroll-table td {
    padding: 1.5rem 1rem;
    border: 1px solid #e6e6e6;
    text-align: center;
}

.enroll-table th {
    background-color: #f5f5f5;
    /* font-weight: bold; */
}

/* .selected-row {
    background-color: #e6f7ff;
} */

.detail-box h3,
.create-box h3 {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e6e6e6;
    margin-bottom: 1rem;
}

.box:first-child div.detail-box p {
    font-size: 1.4rem;
}

.detail-table th {
    text-align: left;
}

.detail-table td:nth-child(2) {
    text-align: right;
    overflow-wrap: break-word;
}

.btn-wrap button {
    border-radius: 1rem;
    padding: 1rem 2rem;
    background-color: #2961DE;
    color: var(--new-light);
}

.btn-wrap button:nth-child(2) {
    background-color: var(--new-gray);
}

.btn-wrap button a {
    display: block;
    width: 100%;
    color: var(--new-light);
}

.form-table th,
.form-table td {
    padding: 1rem 0;
}

.form-table td {
    text-align: right;
}

/* 관리자 공지사항 */
.admin-noticeList-wrap .box .box-search-wrapper {
    border-bottom: 1px solid #ccc;
}

.admin-noticeList-wrap .box .box-search-wrapper .search-zone {
    display: flex;
    gap: 1rem;
}

.admin-noticeList-wrap .box .box-search-wrapper .search-zone select {
    padding: .5rem 3rem;
    outline: none;
}

.admin-noticeList-wrap .notice-ul .notice-li {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
}

.admin-noticeList-wrap .notice-ul .notice-li:nth-child(2n) {
    background-color: #f0f0f0;
}

.admin-noticeList-wrap .notice-ul .notice-li .index {
    display: inline-block;
    min-width: 30px;
    max-width: 30px;
}

.admin-noticeList-wrap .notice-ul .notice-li .insertDt {
    text-align: right;
}

/* 관리자 공지사항 상세 */
.admin-noticeView-wrap .title-text {
    font-size: 3rem;
    font-weight: 900;
}

.admin-noticeView-wrap .sub-wrap {
    display: flex;
    gap: 1.5rem;
}

.admin-noticeView-wrap .sub-wrap .sub-text {
    color: #808080;
    font-size: 1.3rem;
}

.admin-noticeView-wrap .sub-wrap .sub-text:first-child {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-noticeView-wrap .sub-wrap .sub-text:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 12px;
    background-color: #808080;
}

.admin-noticeView-wrap .select-type-text {
    font-weight: 900;
}

.admin-noticeView-wrap label {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-weight: 500;
}

.admin-noticeView-wrap input,
.admin-noticeView-wrap textarea {
    outline: none;
    background-color: #efefef;
}

/* 관리자 공지사항 등록 */
.notice-insert-wrapper .select-type-text {
    font-weight: 900;
}

.notice-insert-wrapper label {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-weight: 500;
}

.notice-insert-wrapper input,
.notice-insert-wrapper textarea {
    outline: none;
    background-color: #efefef;
}


/* 관리자 문의사항 */
.admin-InquiryView-wrap .title-text {
    font-size: 3rem;
    font-weight: 900;
}

.admin-InquiryView-wrap .sub-wrap {
    display: flex;
    gap: 1.5rem;
}

.admin-InquiryView-wrap .sub-wrap .sub-text {
    color: #808080;
    font-size: 1.3rem;
}

.admin-InquiryView-wrap .sub-wrap .sub-text:first-child {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.admin-InquiryView-wrap .sub-wrap .sub-text:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 12px;
    background-color: #808080;
}

.admin-InquiryView-wrap textarea {
    background-color: #efefef;
    outline: none;
}



/* 클라우드 관리 */
#terminal-wrap .terminal-bg {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 998;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

#terminal-wrap .terminal {
    width: 50%;
    height: 70%;
    overflow: hidden;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    padding: 2rem;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0px 0px 5px 3px rgba(0, 0, 0, 0.3);
}

#terminal-wrap .terminal .close-button {
    display: block;
    margin-left: auto;
}

#terminal-wrap .terminal iframe {
    border: 1px solid #555;
    border-radius: 2rem;
    padding: 1rem;
}

/* 클라우드 신청관리 */
.detail-box .application-info-wrap {
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #efefef;
}

.detail-box .application-info-wrap h3 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.detail-box .application-info-wrap .title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.detail-box .application-info-wrap .desc {
    font-size: 1.2rem;
    color: #333;
}

/* 클라우드 관리 */
.serverList-detail-wrap .application-info-wrap {
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: #efefef;
}

.serverList-detail-wrap .application-info-wrap h3 {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.serverList-detail-wrap .application-info-wrap .title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.serverList-detail-wrap .application-info-wrap .desc {
    font-size: 1.2rem;
    color: #333;
}

.serverList-detail-wrap .application-info-wrap button {
    display: block;
    margin-left: auto;
    padding: .5rem 2rem;
    background-color: #424242;
    color: #fff;
    border-radius: 1rem;
}