/* moram tools: it7 의 Pretendard GOV 웹폰트(9종, 수 MB) 는 옮기지 않는다.
   이미지 크기를 키우는 대신 아래 font-family 폴백(나눔고딕/돋움/system)에 맡긴다. */


* {
    letter-spacing: -0.5px;
}

:root {
    --vz-body-font-family: "Pretendard", "나눔고딕", NanumGothic, "Nanum Gothic", "돋움", Dotum, Arial, sans-serif;
    --main-color: #d54029;
    --sub-color: #fed136;
}

body,
* {
    font-family: var(--vz-body-font-family);
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n + 3),
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control,
.input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select,
.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.numbering .active {
    color: #ff0000;
}

.dash_title {
    color: #878787;
}

.btn {
    /* margin-bottom: 20px; */
}

.btn2 {
    background-color: rgba(255, 255, 255, 0);
    border: 3px solid var(--sub-color);
    padding: 18px 38px;
    color: var(--sub-color);
}

.btn3 {
    color: #fff;
    cursor: pointer;
}

.btn-primary {
    cursor: pointer;
}

.cornertrust {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 99999;
}

.dash_read_title {
    width: 80%;
}

.dash_read_title .txt1 {
    font-size: 24px;
}

.dash_read_title .txt2 {
    font-size: 14px;
    color: #999;
}

.dash_read_title p {
    margin: 0;
}

.dash_read {
    width: 100%;
}

.dash_reply {
    width: 100%;
    border: 1px solid #ddd;
}

.dash_reply tr td:first-child {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
}

.dash_reply tr td textarea {
    width: 100%;
    border: 0;
    outline: none;
    font-size: 12px;
}

.dash_reply {
    width: 100%;
}

.reply_total {
    background-color: #fafafa;
    width: 100%;
    padding: 20px;
}

.dash_read_title {
    background-color: #eee;
    padding: 15px;
}

.signup_btn_box {
    width: 100%;
    text-align: center;
    margin-top: 30px;
}

.next_btn,
.prev_btn {
    cursor: pointer;
}

.calander_user_select {
    padding: 1%;
}

.sign_table tr td:first-child.member_user_td {
    background-color: #fff;
}

.contact_box input[type="text"].wd180 {
    width: 180px;
    height: 43px;
    margin-top: 10px;
}

.uploadFile {
    width: 300px;
    /* height:44px; */
    /* line-height: 38px; */
    border: 1px solid #ddd;
}

.capcha_img {
    margin-top: -5px;
}

.capcha_btn {
    height: 42px;
    /* background-color: var(--sub-color);
    border: 1px solid var(--sub-color); */
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    border-radius: 5px;
    padding: 0 10px;
}

.service_con {
    background-color: #fff;
    border: 1px solid #dedede;
    height: 234px;
    box-shadow: 0px 0px 0px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 10%;
    box-sizing: border-box;
}

.yellow_btn {
    background-color: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #fff;
    border-radius: 5px;
    padding: 10px;
}

.kakao_chat {
    position: fixed;
    /*    bottom: 50px;*/
    bottom: 0px;
    right: 5px;
    width: 100px;
    /* height: 60px; */
    z-index: 999;
}

.kakao_chat img {
    width: 100%;
}

/*.service_con:after {*/
/*	bottom: 5px;*/
/*	box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);*/
/*	right: 4px;*/
/*	-webkit-transform: skew(2deg, 2deg);*/
/*	transform: skew(2deg, 2deg);*/
/*	position: absolute;*/
/*	z-index: -1;*/
/*	-webkit-transition: all 0.4s ease;*/
/*	transition: all 0.4s ease;*/
/*	content: "";*/
/*	height: 200px;*/
/*	width: 90%;*/
/*}*/

/*.service_con:hover:after {*/
/*    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);*/
/*}*/

.service-item {
    margin-top: 3%;
    padding: 1%;
}

.service_con h4 {
    color: var(--sub-color);
}

.mb_5 {
    margin-bottom: 5px;
}

.member_user_select {
    padding: 1%;
}

.active_text {
    background-color: var(--sub-color);
}

.nav-item {
    cursor: pointer;
}

.display_none {
    display: none;
}

.connection_name {
    text-decoration: underline;
    color: #f8f8f8;
}

.calander_insert_box {
    width: 50%;
    position: fixed;
    top: 30%;
    left: 50%;
    margin-left: -25%;
    background-color: #fff;
    display: none;
    padding: 5%;
    box-shadow: 2px 2px 2px 2px #aaa;
    z-index: 5;
}

.calander_con_input {
    width: 100%;
    margin: 10px 0;
}

.calander_con_insert {
    width: 15%;
    background-color: var(--main-color);
    border-radius: 5px;
    border: 1px solid var(--main-color);
    text-align: center;
    cursor: pointer;
    color: #fff;
}

.top_nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /* color: #fff; */
    height: 60px;
    /* Increased height to accommodate padding */
    /* padding-bottom: 10px; */
    /* Added spacing */
    line-height: 50px;
    /* Adjusted line-height to center content in top part */
    /* border-bottom: 1px solid #fff; */
    background-color: #000;
}

.top_nav ul {
    padding-inline-start: 0px;
    -moz-padding-start: 0px;
    -webkit-padding-start: 0px;
}

.connection_data {
    color: rgba(255, 255, 255, 0.5);
}

.sign_table {
    width: 40%;
    border: 1px solid #ddd;
    margin: 0 auto;
    border-top: 2px solid #aaa;
}

.signup-card {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 32px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.signup-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.signup-field label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.signup-field .essential {
    margin-right: 4px;
}

.signup-field input.form-control {
    height: 48px;
    border-radius: 8px;
}

.sign_btn p {
    margin: 0 auto;
    text-align: center;
}

.rcvAdmin_fg {
    /* padding: 8px; */
    border-radius: 5px;
}

.sign_table tr td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

.sign_table .border_hidden {
    border: 0;
    outline: none;
}

.sign_table tr td input {
    width: 100%;
    /* padding: 10px; */
    border: 1px solid #aaa;
    border-radius: 5px;
}

.question:before {
    content: "Q: ";
}

.faq_list {
    position: relative;
}

.faq-title {
    font-family: "Montserrat", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
    text-align: center;
}

#faq_box {
    margin-top: 2.5rem;
}

#faq_box .faq_list {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

#faq_box .faq_list:hover {
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
    transform: translateY(-2px);
}

#faq_box .faq_list .question {
    font-family: "Montserrat", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

#faq_box .faq_list .question:before {
    color: #3b82f6;
    font-weight: 700;
}

#faq_box .faq_list .section-subheading {
    font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #4b5563;
    font-weight: 400;
    margin: 0;
}

#faq_box .faq_list .section-subheading strong {
    color: #111827;
}

#faq_box .faq_list:last-child {
    margin-bottom: 0;
}

@media (max-width: 575.98px) {
    #faq_box {
        margin-top: 2rem;
    }

    #faq_box .faq_list {
        padding: 24px;
    }

    #faq_box .faq_list .question {
        font-size: 1.2rem;
    }
}

.faq_create_btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    padding: 1% 3%;
    margin-top: -60px;
    display: none;
}

.admin_btn {
    position: absolute;
    top: 50px;
    right: 0;
}

.admin_btn button {
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
}

.faq_input {
    /* width: 79%; */
    /* height: 53px; */
    /* font-size: 18px; */
    /* padding-left: 2%; */
    /* border: 0; */
    /* border-radius: 4px; */
    background-color: #fff;
    font-size: 15px;
}

.faq_input:focus {
    outline-color: var(--sub-color);
}

.search_box {
    position: relative;
    line-height: 1;
    margin: 0;
    padding: 0;
    /* font-size: 18px; */
    /* height: 53px; */
    /* margin-top: 25px; */
    /* margin-bottom: 25px; */
}

.search_btn {
    /* width: 20%; */
    /* height: 53px; */
    /* line-height: 53px; */
    /* border-radius: 5px; */
    /* background-color: var(--sub-color);
    border: 1px solid var(--sub-color); */
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    /* position: absolute; */
    top: 0;
    right: 0;
    text-align: center;
    box-sizing: border-box;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: 0.2s ease-in;
}

.search_btn:hover {
    background-color: #e0ae00;
    border-color: #e0ae00;
}

.sign_table tr td input.com_no {
    width: 70%;
}

.sign_table tr td button {
    /* width: 28%; */
    /* padding: 10px; */
    /* margin-top: 5px; */
    cursor: pointer;
    /* background-color: var(--sub-color);
    border: 1px solid var(--sub-color); */
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    border-radius: 5px;
    font-size: 18px;
}

.company_search {
    width: 30%;
    background-color: #fff;
    padding: 3%;
    position: fixed;
    top: 20%;
    left: 35%;
    z-index: 1;
    display: none;
}

.wd100 {
    width: 100%;
    margin-top: 5px;
}

.wd70 {
    width: 70%;
}

.new_company_btnbox {
    margin: 0 auto;
    text-align: center;
}

.new_com_insert {
    margin-top: 10px;
    width: 80px;
}

.com_new input {
    padding: 5px;
    border: 1px solid #ccc;
}

.post_num {
    float: right;
    padding: 4px 10px;
    background-color: var(--sub-color);
    border: 1px solid var(--sub-color);
    color: #fff;
    width: 25%;
    border-radius: 5px;
}

.modal_back {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

.com_search_txt1 {
    font-size: 18px;
    margin: 0;
}

.com_search_txt2 {
    color: #999;
    font-size: 14px;
    line-height: 18px;
}

.search_com_table_box {
    height: 106px;
    overflow: auto;
}

.search_com_table {
    width: 100%;
    margin-bottom: 10px;
}

.search_com_table tr td {
    width: 100%;
    padding: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
}

.search_com_table tr td:hover {
    background-color: #f8f8f8;
}

.essential {
    color: #ff0000;
    padding: 0 5px;
    display: inline-block;
    font-size: 12px;
}

.sign_title,
.sign_sub_title {
    text-align: center;
}

.mem_modify_btn {
    text-align: center;
    margin-top: 30px;
}

/* Attendance table: fixed height with vertical scroll (responsive) */
#attendance_table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

#attendance_table thead,
#attendance_table tfoot {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#attendance_table tbody {
    display: block;
    height: 260px;
    /* fixed viewport height */
    overflow-y: auto;
    width: 100%;
}

#attendance_table tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

#attendance_table thead tr td:first-child,
#attendance_table tbody tr td:first-child,
#attendance_table tfoot tr th:first-child {
    width: 30%;
}

#attendance_table thead tr td:nth-child(2),
#attendance_table tbody tr td:nth-child(2),
#attendance_table tfoot tr th:nth-child(2) {
    width: 70%;
}

@media (max-width: 576px) {
    #attendance_table tbody {
        height: 220px;
        /* slightly smaller on small screens */
    }
}

.sign_table tr td:first-child {
    width: 30%;
    text-align: right;
    background-color: #f8f8f8;
    border-right: 1px solid #ddd;
}

.sign_table tr td:nth-child(2) {
    /* width: 70%; */
}

.signup-consent {
    margin-top: 24px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.6;
}

.signup-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
}

.signup-consent label {
    margin: 0;
}

.forgot-wrapper {
    display: flex;
    justify-content: center;
    padding: 160px 0 120px;
}

.forgot-card {
    width: 100%;
    max-width: 560px;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 32px;
    background-color: #fff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.forgot-card__header .eyebrow {
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.forgot-card__header h3 {
    margin: 12px 0;
}

.forgot-card__header p {
    margin-bottom: 8px;
    color: #5f6368;
}

.forgot-card__form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.forgot-card__group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.forgot-card__input-group {
    display: flex;
    gap: 12px;
}

.forgot-card__input-group input {
    flex: 1;
    height: 48px;
    border-radius: 8px;
}

.forgot-card__input-group button {
    white-space: nowrap;
}

/* Desktop menu - show only on desktop */
@media (min-width: 992px) {
    #navbarDesktop {
        display: flex !important;
    }
    #navbarResponsive {
        display: none !important;
    }
}

/* Mobile menu - show only on mobile */
@media (max-width: 991px) {
    #navbarDesktop {
        display: none !important;
    }
}

/* Hide vertical scrollbar while keeping scroll functionality */
html,
body {
    overflow-y: scroll !important;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
}

@media (max-width: 991px) {
    #navbarResponsive {
        /* padding-top: 30px; */
    }
}

.forgot-card__foot {
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.forgot-card__actions {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.forgot-card__actions .btn {
    height: 52px;
    border-radius: 10px;
    font-weight: 600;
}

.input-with-action {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-action .form-control {
    padding-right: 52px;
}

.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #f1f3f4;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #6f6f6f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.toggle-password-btn:hover,
.toggle-password-btn:focus {
    background-color: #e4e6eb;
    color: #202124;
}

.forgot-card__hint {
    margin-top: 8px;
    font-size: 13px;
    color: #6f6f6f;
}

.password-guides {
    margin: 12px 0 0;
    padding-left: 20px;
    font-size: 13px;
    color: #5f6368;
}

.password-guides li+li {
    margin-top: 4px;
}

.forgot-card__support {
    margin-top: 12px;
    font-size: 13px;
    color: #6f6f6f;
    text-align: center;
}

.btn-link {
    color: var(--main-color);
    text-decoration: underline;
    cursor: pointer;
}

.top_nav ul li {
    float: right;
    list-style: none;
    margin-right: 20px;
    font-size: 14px;
    cursor: pointer;
}

.top_nav ul li:first-child {
    float: left;
    cursor: default;
    margin-left: 1%;
}

.top_nav ul li.mypage {
    cursor: pointer;
    float: right;
    cursor: default;
    margin-right: 5px;
}

.top_nav ul {
    width: 1140px;
    margin: 0 auto;
    display: table;
    clear: both;
}

.login_bg {
    padding: 180px 0 130px;
}

.login_box {
    width: 350px;
    background-color: #fff;
    text-align: center;
    margin: 0 auto;
    border-radius: 10px;
    padding: 24px;
    color: #666;
}

.login_box input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login_txt1 {
    text-align: left;
    margin: 0;
    font-weight: 600;
}

.login_box .btn {
    width: 100%;
}

.intro-text2 {
    /* padding: 180px 0 100px; */
    padding: 50px 0px;
    /* padding: 100px 0px 10px; */
    font-size: 48px;
    text-align: left;
    line-height: 2.5rem;
}

@media (max-width: 768px) {
    .intro-text2 {
        padding: 20px 0px;
    }
}

.intro-text2 .intro-heading {
    font-weight: 700;
}

.intro-text2 .txt2 {
    font-size: 17px;
    font-weight: 400;
    margin-top: 16px;
}

.dash_board_bg {
    padding: 140px 0 100px;
}

@media (max-width: 768px) {
    .dash_board_bg {
        padding: 80px 0 40px;
    }
}

.estimate-con {
    text-align: left;
    /* padding: 5%; */
    /* border: 1px solid #ccc; */
    position: relative;
}

.estimate-con2 {
    text-align: left;
    padding: 0 5%;
    position: relative;
}

.contact_box {
    text-align: left;
    /*	padding:5%;*/
    /*	border:1px solid #ccc;*/
}

.contact_box span {
    font-weight: 500;
    font-size: 11pt;
    color: #797979;
}

.contact_box input[type="text"] {
    width: 100%;
    margin: 5px 0 20px;
    height: 50px;
    padding: 0 10px;
    border: 1px solid #ccc;
}

.contact_box input[type="text"]:focus {
    /* outline-style: solid; */
    /* outline-width: 2px; */
    /* outline-color: var(--sub-color); */
}

.contact_box textarea {
    width: 100%;
    margin: 5px 0 20px;
    height: 50px;
    padding: 10px;
    height: 300px;
    border: 1px solid #ccc;
}

.contact_box input[type="file"] {
    /* margin: 5px 0 20px; */
}

.signup_link,
.forgot_pw_link {
    cursor: pointer;
    font-size: 14px;
}

.estimate-con h2,
.estimate-con h3 {
    text-align: left;
}

#faq_section .faq-title {
    text-align: center;
}

.estimate-con h3.section-subheading {
    font-style: normal;
}

.estimate_box .option_box label {
    border: 1px solid #ccc;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.estimate_box .option_box label:hover {
    background-color: #eee;
}

.option_box .service-heading {
    font-size: 17px;
    height: 20px;
    overflow: hidden;
    margin-bottom: 10px;
}

.option_box .text-muted {
    font-size: 14px;
    height: 72px;
    overflow: hidden;
    margin-top: 10px;
}

.estimate_box .section-subheading {
    margin-bottom: 30px;
}

.estimate_box h2 {
    margin: 50px 0 20px;
    font-size: 24px;
    color: #e97d13;
}

.option_box .multiply {
    padding: 5px 10px;
    color: #fff;
    background-color: #e91378;
    font-size: 12px;
    border-radius: 3px;
}

.option_box .plus {
    padding: 5px 10px;
    color: #fff;
    background-color: #134fe9;
    font-size: 12px;
    border-radius: 3px;
}

.option_box .unit {
    padding: 5px 10px;
    color: #fff;
    background-color: #666;
    font-size: 12px;
    border-radius: 3px;
}

.total_bg {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    height: 70px;
    line-height: 70px;
    text-align: center;
    font-size: 28px;
    position: fixed;
    bottom: 0;
    left: 0;
}

.total_bg .btn {
    margin: 0;
}

.pc_none {
    display: none;
}

.dashboard_calander {
    width: 100%;
    border: 1px solid #ddd;
    padding: 5%;
}

.dashboard_table {
    width: 90%;
    margin: 0 5%;
}

.dashboard_table tr td {
    width: 14.28%;
    text-align: left;
    border-bottom: 1px solid #cecece;
    height: 80px;
    line-height: 20px;
    vertical-align: top;
    padding: 1%;
    overflow: hidden;
}

.dashboard_table tr#calendar_date td {
    cursor: pointer;
}

.dashboard_table tr#calendar_date td:hover {
    background: #f2f2f2;
}

._1drm._1b90,
._1drm._1ds4 {
    border: 0;
}

.paging {
    color: #666;
    padding: 10px;
    cursor: pointer;
}

.dashboard_table tr td:first-child {
    color: #ff0000;
}

.dashboard_table tr td.monthly_box {
    color: #333;
    text-align: center;
}

.prev_btn,
.next_btn {
    cursor: pointer;
}

.dashboard_table tr td:nth-child(7) {
    color: #0000ff;
}

#con_fg {
    cursor: pointer;
}

.over_event {
    display: none;
    border: 1px solid #aaa;
    background-color: #fff;
    padding: 5px 10px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.dashboard_calander .dashboard_table tr td.monthly {
    color: #181818;
    font-size: 24px;
    text-align: center;
    line-height: 80px;
    border: 0;
}

.dash_list {
    width: 100%;
    border-top: 1px solid #181818;
    border-bottom: 1px solid #181818;
}

.point_now {
    padding: 70px 0 10px;
    font-size: 16px;
}

.dash_list th {
    font-size: 18px;
    font-weight: 400;
    padding: 2% 0;
    border-bottom: 1px solid #ccc;
    text-align: center;
}

.dash_list td {
    padding: 2% 0;
    font-size: 15px;
    color: #878787;
    border-bottom: 1px solid #ddd;
    background-color: #fbfbfb;
    text-align: center;
}

.dash_list td:nth-child(1) {
    width: 5%;
}

.dash_list td:nth-child(2) {
    width: 15%;
}

.dash_list td:nth-child(3) {
    width: 40%;
    text-align: left;
}

.dash_list td:nth-child(4) {
    width: 10%;
}

.dash_list td:nth-child(5) {
    width: 10%;
}

.dash_list td:nth-child(6) {
    width: 10%;
}

.dash_list td:nth-child(7) {
    width: 15%;
}

.numbering {
    text-align: center;
    padding: 2%;
    color: #555;
    margin: 0;
}

.dashboard_calander .btn-primary {
    /* width: 120px; */
    color: #fff;
    display: inline-block;
    text-align: center;
}

.create_btn {
    text-align: right;
    margin-top: 10px;
}

.dash_create {
    width: 100%;
}

.dash_create select.contact_select {
    width: 95%;
    height: 40px;
    margin-bottom: 10px;
}

.dash_create_title {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
}

.dash_create_con {
    width: 100%;
    margin-bottom: 10px;
}

.dash_reply_con {
    width: 100%;
    margin: 0;
    padding: 0;
    height: 50px;
    line-height: 32px;
    margin-top: 5px;
}

.reply_btn {
    width: 100%;
    display: inline-block;
    text-align: center;
    background-color: #999;
    color: #fff;
    line-height: 50px;
    margin: 0;
}

.dash_upload {
    width: 30%;
}

.dash_read_content {
    padding: 20px 10px;
    border: 1px solid #eee;
}

.reply_date {
    float: right;
}

.clander_date {
    text-align: right;
    line-height: 1;
}

.attach_file_name {
    color: #aaa;
    cursor: pointer;
}

.reply {
    border-bottom: 1px dotted #aaa;
    color: #aaa;
    padding-top: 10px;
}

.reply_con {
    font-size: 14px;
    color: #666;
}

.reply_id {
    font-size: 13px;
}

.reply_date {
    font-size: 13px;
}

.reply_box {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px 0;
}

.access {
    width: 100%;
}

.log_data {
    font-size: 12px;
    color: #999;
    padding: 30px 0;
}

.access p {
    width: 90%;
    text-align: center;
    margin: 0 5%;
    font-size: 24px;
    margin: 10px 0;
}

.access textarea {
    width: 90%;
    height: 400px;
    margin: 0 5%;
    color: #666;
    padding: 3%;
}

.access {
    cursor: pointer;
}

.dash_modal {
    position: fixed;
    top: 20%;
    left: 50%;
    background-color: #fff;
    padding: 20px 0;
    border-radius: 5px;
    width: 220px;
    margin-left: -110px;
    box-shadow: 2px 2px 2px 2px gray;
    display: none;
    z-index: 10;
    color: #666;
}

.dash_modal button {
    width: 80px;
}

.dash_modal p {
    margin: 0;
    text-align: center;
}

footer {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 40px 0 70px;
}

.board_title_link {
    cursor: pointer;
}

.board_title_link:hover {
    text-decoration: underline;
}

.btn-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.w-215px {
    width: 215px;
}

/****************************** 메인 App(앱) ******************************/
.download-btn {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin: auto;
}

.download-btn a {
    width: 15rem;
    height: 4rem;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: #fff;
    text-align: center;
    background-color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-custom);
    transition-property: background-color;
    text-decoration: none;
}

.download-btn a i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/****************************** 서비스(service) ******************************/
.reg-search-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

#service_list ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0;
}

#service_list li {
    list-style: none;
    padding: 0;
    color: #444;
    letter-spacing: 0px;
    font-size: 15px;
    line-height: 25px;
    text-indent: -16px;
    box-sizing: border-box;
    float: left;
    /* width: 260px; */
    border: 1px solid #e2e4ee;
}

#service_list .service-a {
    position: relative;
    display: block;
    height: 152px;
    padding: 20px 23px;
    background-color: #fff;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 25px;
    letter-spacing: 0px;
    text-indent: 0;
    font-size: 15px;
    line-height: 25px;
    color: #2d50ff;
    letter-spacing: 0px;
    vertical-align: top;
    -webkit-transition: color 0.25s;
    transition: color 0.25s;
}

#service_list .service-tit-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    line-height: 1rem;
    color: #111;
    letter-spacing: -0.4px;
}

#service_list .ervice-tit {
    display: inline-block;
    vertical-align: top;
    font-size: 18px !important;
    line-height: 30px;
}

#service_list .service-img {
    /* position: absolute; */
    top: -10px;
    right: -42px;
    width: 48px;
    height: 48px;
}

#service_list .service-desc {
    margin-top: 24px;
    font-size: 14px;
    line-height: 24px;
    color: #444;
    letter-spacing: -0.4px;
    height: 46px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/****************************** 서비스 상세 ******************************/
#service_desc img {
    max-width: 100%;
}

/****************************** 포트폴리오 메인 ******************************/
#portfolio .portfolio-item .portfolio-link .portfolio-hover.port-hide {
    opacity: 0.8;
}

.portfolio-link img {
    width: 100%;
}

@media (max-width: 1199px) {
    .top_nav ul {
        width: 100%;
        margin: 0 auto;
        display: table;
        clear: both;
    }
}

@media (max-width: 991px) {
    .admin_btn {
        position: absolute;
        top: 0;
        right: 0;
    }

    .top_nav ul {
        width: 100%;
        margin: 0 auto;
        display: table;
        clear: both;
        /* background-color: #000; */
    }

    /* .fixed-top {
        top: 50px;
    } */

    .top_nav ul li {
        float: right;
        list-style: none;
        margin-right: 15px;
        font-size: 12px;
        cursor: pointer;
    }

    .total_bg {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        height: 60px;
        line-height: 60px;
        text-align: center;
        font-size: 14px;
        position: fixed;
        bottom: 0;
        left: 0;
    }

    .total_bg .btn {
        margin: 0;
        font-size: 14px;
    }

    .calander_con_insert {
        width: 32%;
    }

    .calander_insert_box {
        width: 80%;
        left: 10%;
        margin: 0;
    }

    .connection_data {
        display: none;
    }

    .estimate-con {
        /* padding: 0%; */
    }
}

@media (max-width: 414px) {
    .kakao_chat {
        right: 2px;
        width: 85px;
    }

    .cornertrust img {
        width: 20%;
        position: fixed;
        right: 0;
        bottom: 0;
        z-index: 99999;
    }

    .login_box {
        width: 90%;
        background-color: #fff;
        text-align: center;
        margin: 0 auto;
        border-radius: 10px;
        padding: 50px;
        color: #666;
    }

    .total_bg {
        width: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        color: #fff;
        height: 80px;
        line-height: 30px;
        text-align: center;
        font-size: 14px;
        position: fixed;
        bottom: 0;
        left: 0;
    }

    .pc_none {
        display: block;
    }

    .calander_con_insert {
        width: 32%;
    }

    .calander_insert_box {
        width: 80%;
        left: 10%;
        margin: 0;
    }

    .intro-text2 .txt2 {
        line-height: 24px;
    }

    .sign_table {
        width: 90%;
    }

    .signup-card {
        padding: 24px;
    }

    .forgot-wrapper {
        padding: 120px 0 80px;
    }

    .forgot-card {
        padding: 24px;
    }

    .forgot-card__input-group {
        flex-direction: column;
    }

    .forgot-card__input-group button {
        width: 100%;
    }

    .forgot-card__foot {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .forgot-card__actions .btn {
        width: 100%;
    }

    .toggle-password-btn {
        right: 8px;
    }

    .company_search {
        width: 90%;
        left: 5%;
    }

    .wd70 {
        width: 60%;
    }

    .login_box {
        padding: 5%;
    }

    .top_nav ul li:last-child {
        float: right;
        cursor: default;
        margin-right: 15px;
    }

    .top_nav ul li:first-child {
        margin-left: 3%;
    }

    .top_nav {
        width: 100%;
    }

    .top_nav ul {
        width: 100%;
    }

    .create_btn {
        text-align: center;
        margin-top: 10px;
    }

    .dash_list th {
        font-size: 14px;
    }

    .dash_list td {
        font-size: 14px;
    }

    .dash_list td:nth-child(5),
    .dash_list th:nth-child(5) {
        display: none;
    }

    .dash_list td:nth-child(4),
    .dash_list th:nth-child(4) {
        display: none;
    }

    .dash_list td:nth-child(2),
    .dash_list th:nth-child(2) {
        display: none;
    }

    /* .search_box {
        width: 100% !important;
    } */
}

/* Custom scrollbar styles */
html {
    scrollbar-color: #c1c1c1 #f1f1f1;
    scrollbar-width: thin;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 8px;
    border: 2px solid #f1f1f1;
}

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

/* Add more custom styles for content, headers, etc. */
.content {
    height: 2000px;
    /* This height is just for demonstration */
    padding: 20px;
    box-sizing: border-box;
    color: white;
    /* Text color */
}

/* cdeditor */
.ck-content {
    min-height: 300px;
}

/* tab */
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {}

.nav-tabs .nav-link {
    background-color: #fff;
    border-color: #e9ecef #e9ecef #dee2e6;
    cursor: pointer;
}

button:focus {
    outline: none;
}

/* Ensure the navigation overlay stays above the dashboard chat detail panel on small screens. */
#mainNav {
    z-index: 1200;
}

/* Keep Bootstrap modals above the fixed header (z-index: 1200). */
.modal {
    z-index: 1300;
}

.modal-backdrop {
    z-index: 1290;
}

/* Header User Pill Design */
.header-user-pill {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 50px;
    padding: 5px 12px; /* Narrowed from 20px */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid #e1e1e1;
    height: 38px;
}

.header-user-pill .user-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
    color: #333;
    transition: opacity 0.2s;
}

.header-user-pill .user-item:hover {
    opacity: 0.7;
}

.header-user-pill .user-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.header-user-pill #lang_img {
    width: 18px;
    height: 12px;
    margin-right: 4px;
}

.header-user-pill .pill-divider {
    width: 1px;
    height: 14px;
    background-color: #ddd;
    margin: 0 10px; /* Reduced from 15px */
}

/* Override or Adjustments for existing Top Nav to support flex */
.top_nav.d-flex {
    display: flex !important;
    /* Ensure bootstrap class works if overridden */
}

@media (max-width: 768px) {
    .top_nav {
        /* padding: 0 10px !important; */
    }

    .header-user-pill {
        padding: 4px 12px;
    }

    .header-user-pill .pill-divider {
        margin: 0 8px;
    }

    #connection_name {
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
        vertical-align: middle;
    }
}

/* Redesign Homepage Buttons */
.intro-text .btn-box .btn,
#solution .btn-xl,
#portfolio .btn-xl {
    border-radius: 50px;
    background: linear-gradient(135deg, var(--main-color) 0%, #f06e57 100%);
    border: none;
    box-shadow: 0 10px 20px rgba(213, 64, 41, 0.3);
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 10px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    /* Space between icon and text */
}

.intro-text .btn-box .btn:hover,
#solution .btn-xl:hover,
#portfolio .btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(213, 64, 41, 0.4);
    background: linear-gradient(135deg, #e04a32 0%, #ff836d 100%);
    color: #fff;
    text-decoration: none;
}

.intro-text .btn-box .btn:active,
#solution .btn-xl:active,
#portfolio .btn-xl:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(213, 64, 41, 0.3);
}

.intro-text .btn-box .btn i,
#solution .btn-xl i,
#portfolio .btn-xl i {
    font-size: 1.2rem;
}

/* Header Vertical Alignment Fix */
#mainNav .container {
    display: flex !important;
    align-items: center !important;
    min-height: 50px;
    height: 50px;
    /* Ensure sufficient height for centering */
}

/* Ensure logo and nav items respect the centering */
#mainNav .navbar-brand,
#mainNav .navbar-nav {
    display: flex;
    align-items: center;
}

/* Adjust nav link padding to be balanced if needed */
#mainNav .navbar-nav .nav-item .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Client Logo Wall Styles - Masonry Layout */
.client-logo-wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Mobile: 2 columns */
    grid-auto-rows: 100px;
    /* Fixed row height */
    grid-auto-flow: dense;
    /* Fill gaps efficiently */
    gap: 10px;
    padding: 20px 0;
}

.client-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border: 1px solid #eee;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: none;
    opacity: 1;
    border-radius: 4px;
    overflow: hidden;
}

.client-logo-item.major {
    grid-column: span 2;
    grid-row: span 2;
    z-index: 1;
}

.client-logo-item img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    filter: none;
    opacity: 1;
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

@media (min-width: 768px) {
    .client-logo-wall {
        grid-template-columns: repeat(4, 1fr);
        /* Tablet: 4 columns */
        gap: 15px;
    }
}

@media (min-width: 992px) {
    .client-logo-wall {
        grid-template-columns: repeat(6, 1fr);
        /* Desktop: 6 columns */
        gap: 20px;
    }
}
