
* {
    box-sizing: border-box;
}
body {
    font-family: 'Malgun Gothic', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
.custom-header {
    background-color: #0062A6;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    width: 100%;
}
.custom-header .custom-right {
    float: right;
}
.custom-main-content {
    display: flex;
    flex-grow: 1;
    width: 100%;
}
.custom-sidebar {
    width: 250px;
    background-color: #fff;
    padding: 20px;
    height: auto;
    min-height: 100vh;
    border-right: 1px solid #e1e1e1;
}
.custom-sidebar h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
.custom-sidebar .custom-menu {
    margin-bottom: 30px;
}
.custom-sidebar .custom-menu p {
    margin: 0;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}
.custom-sidebar .custom-menu a {
    display: block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
.custom-sidebar .custom-buttons {
    margin-top: 30px;
}
.custom-sidebar .custom-buttons button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0062A6;
    background-color: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}
.custom-sidebar .custom-buttons button:hover {
    background-color: #f1f1f1;
}
.custom-container {
    flex-grow: 1;
    padding: 20px;
    background-color: #fff;
}
.custom-h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}
.custom-p {
    font-size: 14px;
    color: #666;
}
.main-card{
    border-top: 2px solid #000;
    padding-top: 30px;

}
.custom-card {
    margin-bottom: 20px;
    background-color: #fff;
}
.custom-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}
.custom-card p {
    margin: 0 0 20px;
}
.token-btn,
.custom-btn {
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #0062A6;
    background-color: white;
    color: #333;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px; 
    margin-bottom: 10px;
}
.token-btn:hover,
.custom-btn:hover {
    background-color: #0062A6;
    color: #ffffff;
}

.api-btn {
    font-size: 16px;
    padding: 30px 20px; 
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.custom-footer {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    color: #666;
    font-size: 14px;
    width: 100%;
}
.custom-footer a {
    color: #666;
    text-decoration: none;
}
.no-link-style {
    color: inherit;
    text-decoration: none; 
    cursor: pointer; 
}

.main-btn-box{display: block;}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Malgun Gothic', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.custom-header {
    background-color: #0062A6;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    width: 100%;
}

.custom-header .custom-right {
    float: right;
}

.custom-main-content {

    width: 100%;
}

.custom-sidebar {
    max-width: 250px;
    background-color: #fff;
    padding: 20px;
    height: 140vh;
    border-right: 1px solid #e1e1e1;
}

.custom-sidebar h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.custom-sidebar .custom-menu {
    margin-bottom: 30px;
}

.custom-sidebar .custom-menu p {
    margin: 0;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.custom-sidebar .custom-menu a {
    display: block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}

.custom-sidebar .custom-buttons {
    margin-top: 30px;
}

.custom-sidebar .custom-buttons button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0062A6;
    background-color: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
}

.custom-sidebar .custom-buttons button:hover {
    background-color: #f1f1f1;
}

.custom-container {
    flex-grow: 1;
    padding: 50px ;
    background-color: #fff;
    width: 100%;
}

.custom-h1 {
    font-size: 28px;
    font-weight: bold;
}



.custom-card h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.custom-card p {
    margin: 0 0 20px;
}

.custom-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #0062A6;
    background-color: white;
    color: #333;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    margin-right: 10px;
    margin-bottom: 10px;
}

.custom-btn:hover {
    background-color: #0062A6;
    color: #ffffff;
}

.api-btn {
    font-size: 16px;
    padding: 30px 20px;
}

.api-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
}

.custom-footer {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    color: #666;
    font-size: 14px;
    width: 100%;
}

.custom-footer a {
    color: #666;
    text-decoration: none;
}

.no-link-style {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.hidden-content {
    display: none;
}

.button-container {
    display: flex;
    gap: 10px;
}

.button-grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
}

.button-grid-container .custom-btn {
    white-space: nowrap;
    text-align: center;
    padding: 10px 20px;
    max-width: 100%;
}

.size-90 {
    width: 110px;
    max-width: 110px;
}

.custom-content-box {
    display: flex;
    flex-grow: 1;
}

.custom-container-guest {
    max-width: 800px;
    width: 100%;
    padding: 20px 0 0 30px;
}

.guest-btn-box {
    text-decoration: none;
    display: block;
    margin-top: 30px;
    cursor: pointer;
    border-radius: 15px;
    padding: 30px 20px;
    box-sizing: border-box;
    background-color: #0062A6;
}

.guest-btn-box>strong {
    display: block;
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.guest-btn-box>p {
    margin: 0;
    color: #fff;
}

.custom-content-box {
    display: flex;
}

.hidden-content {
    display: none;
}
.main-btn-box > div{display: block; display: flex; align-items: center; justify-content: space-between; width: 100%; border: 1px solid #e1e1e1; border-radius: 10px; padding: 32px; margin-bottom: 30px;}
.main-btn-box > div strong{font-size: 24px; margin-bottom: 10px; display: block;}
.main-btn-box > div p{margin: 0;}
.main-btn-box > div > a.custom-btn{width: 222px; color: #0062A6; margin-bottom: 0; height: 50px; display: flex; align-items: center; font-size: 15px; justify-content: center;}
.main-btn-box > div > a.custom-btn:hover{color: #fff;}
.main-sub-txt{margin: 20px 0 30px 0;}
.token-box{border: 1px solid #e1e1e1; border-radius: 10px;}
.custom-sidebar {
    max-width: 250px;
    background-color: #fff;
    padding: 20px;
    height: auto;
    min-height: 142vh;
    border-right: 1px solid #e1e1e1;
    position: relative;
}
.custom-sidebar h2 {
    font-size: 24px;
    margin-bottom: 30px;
}
.custom-sidebar .custom-menu {
    margin-bottom: 30px;
}
.custom-sidebar .custom-menu p {
    margin: 0;
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}
.custom-sidebar .custom-menu a {
    display: block;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}
.custom-sidebar .custom-buttons {
    margin-top: 30px;
}
.custom-sidebar .custom-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #0062A6;
    background-color: white;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}
.custom-sidebar .custom-buttons a:hover {
    background-color: #f1f1f1;
}
.back{border: 1px solid #0062A6; background-color: #fff; white-space: nowrap; color: #0062A6; cursor: pointer;  font-size: 14px; padding: 4px 10px; }
.back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.box-style{margin-bottom: 40px; border: 1px solid #e1e1e1; padding: 20px; border-radius: 10px;}
.box-style .custom-h2{font-size: 18px; margin: 0;}

table.table-st{border-collapse: separate;
    border-spacing: 1px;
    background-color: #e1e1e1}
.title-style01{border-bottom: 2px solid #000; padding-bottom: 30px; margin-bottom: 30px;}
table.table-st > tbody > tr > th{padding: 15px; background-color: #eee; font-size: 14px;}
table.table-st > tbody > tr > td{padding: 15px; background-color: #fff;  font-size: 14px;}
table.table-st > tbody > tr > td div button{border: 1px solid #0062A6;  cursor: pointer; background: transparent; color: #0062A6;}
table.table-st > tbody > tr > td div button:hover{background-color: #0062A6; color: #fff;}
.WarningText{font-size: 13px; margin-top: 10px; color: gray;}
.full-table{table-layout: fixed; width: 100%;}
.search-btnbox{ margin: 30px 0; display: flex; justify-content: center;}
.search-btnbox > button{cursor: pointer; border: 1px solid #e1e1e1; background-color: #fff; width: 120px; height: 40px;}
.search-btnbox > button:first-of-type{border: 1px solid #0062A6; background-color: #0062A6; font-size: 15px; margin-right: 15px; color: #fff;}
.table-st2{table-layout: fixed; width: 100%;border-collapse: separate; border-spacing: 1px; background-color: #e1e1e1; margin-top: 32px; }
.table-st2 thead tr th{text-align: left; background-color: #eee; padding: 17px 24px; font-size: 14px;}
.table-st2 tbody tr td{text-align: left; background-color: #fff; font-size: 14px; padding: 17px 24px;}
.chart{max-height: 366px; margin-bottom: 30px; }
.full-table{table-layout: fixed; width: 100%; border-top: 2px solid #000; border-bottom: 2px solid #000;}
.full-table > tbody > tr > th{text-align: left;}
.full-table > tbody > tr > td{line-height: 1.5;}
.company-txt{padding: 5px 10px; background-color: #fffde2; font-size: 13px; border: 1px solid #dbdbdb;}
.main-btn-box > div > a.custom-btn.disabled{cursor: default; background-color: #ddd; border: 1px solid #ddd; color: #fff;}
#token-area{resize: none; height: 80px; margin-bottom: 5px; width: 100%;}
.survey-modal {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 500px;
    max-width: 90%;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header>h3 {
    margin: 0;
}

.close {
    cursor: pointer;
    font-size: 24px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #0056b3;
}
.partner-info thead tr th{padding: 4px; font-size: 14px; background-color: #eee;}
.tab-btn-box{display: flex; margin: 0; padding: 0;}
.tab-btn-box > li{list-style: none;}
.tab-btn-box > li > button{ height: 50px; width: 130px; cursor: pointer; border: 1px solid #0062A6; background-color: #fff; color: #0062A6; font-size: 15px; font-weight: bold;}
.tab-btn-box > li > button.active{background-color: #0062A6; color: #fff;}
.tab-btn-box {
    position: relative; /* 부모 요소에 relative 추가 */
}

.tab-btn-box > li > button.active {
    position: relative; /* active 버튼에 relative 추가 */
}

.tab-btn-box > li > button.active::after {
    content: '';
    position: absolute;
    bottom: -3px; /* border와 겹치도록 위치 조정 */
    left: -1px;
    width: calc(100% + 2px); /* border를 포함한 전체 너비 */
    height: 2px; /* border-top 두께만큼 */
    background-color: #fff; /* 배경색과 동일하게 설정 */
}

.disabled-btn {
    background-color: #ccc; /* 회색 배경 */
    color: #666; /* 회색 글자 */
    cursor: not-allowed; /* 클릭 불가 커서 */
}

.search-date-box{display: flex; align-items: center;}
.search-date-box > p{margin-left: 10px; color: #aaa; font-size: 12px;}
.chat-message{font-size: 18px; margin: 30px 0; text-align: center; display: flex; align-items: center; justify-content: center; height: 230px;}

.total-count-text{font-size: 13px; border-bottom: 1px solid #aaa; padding-bottom: 10px; display: block;}
.total-count-text > span{color : #0062A6; font-weight: bold;}
/* .total-count{border-bottom:  1px solid #aaa;} */
@media (max-width: 900px) {
    .custom-main-content {display: block;}
    .custom-main-content .custom-content-box{display: block;}
    .custom-main-content .custom-sidebar{width: 100%; height: auto; max-width: 100%; display: flex; justify-content: space-between;}
    .custom-main-content .custom-sidebar > a > img{display: block; max-width: 155px !important;}
    .custom-main-content .back{display: none;}
    .custom-main-content .custom-buttons{display: flex;}
    .custom-main-content .custom-sidebar .custom-buttons a{white-space: nowrap; padding-left: 30px; padding-right: 30px;}
    .custom-main-content .custom-sidebar .custom-buttons a:nth-of-type(2){margin-left: 20px; margin-right: 20px;}
    .custom-main-content .custom-h1{font-size: 23px;}
}
@media (max-width: 600px) {
    .custom-main-content .custom-sidebar .custom-buttons a{padding: 6px;}
    .custom-main-content .custom-sidebar .custom-buttons a:nth-of-type(2){margin-left: 5px; margin-right: 5px;}
    .custom-main-content .custom-sidebar > a > img{max-width: 135px !important;}
    .custom-main-content .custom-sidebar{padding: 15px; display: block;}
    .custom-main-content .custom-container{padding: 15px;}
    .custom-main-content .custom-sidebar .custom-buttons a{font-size: 14px;}
    .custom-main-content .custom-h1{font-size: 20px;}
    .custom-card{font-size: 15px;}
}
