/* ===================================================
   tl_visit_calendar - 방문 신청 달력 스킨 스타일시트
   KTS Blue: #1f4893 / Accent: #3a8afd
   =================================================== */

/* --- Reset & Base --- */
.vc-calendar *,
.vc-form-wrap *,
.vc-view-card * {
    box-sizing: border-box;
}

/* --- Calendar Container --- */
.vc-calendar {
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Toolbar (admin, etc.) --- */
.vc-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 8px 0;
}

.vc-toolbar__btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.vc-toolbar__btn:hover {
    background: #1f4893;
    color: #fff;
    border-color: #1f4893;
}

.vc-toolbar__btn i {
    font-size: 14px;
}

/* --- Month Navigation --- */
.vc-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.vc-nav__title {
    font-size: 22px;
    font-weight: 700;
    color: #1f4893;
    min-width: 160px;
    text-align: center;
}

.vc-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.vc-nav__btn:hover {
    background: #1f4893;
    color: #fff;
    border-color: #1f4893;
}

.vc-nav__today {
    padding: 6px 14px;
    border: 1px solid #1f4893;
    border-radius: 8px;
    background: #fff;
    color: #1f4893;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.vc-nav__today:hover {
    background: #1f4893;
    color: #fff;
}

/* --- Calendar Grid --- */
.vc-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.vc-grid__head {
    background: #1f4893;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 10px 0;
}

.vc-grid__head--sun { color: #ffa8a8; }
.vc-grid__head--sat { color: #a8d4ff; }

/* --- Day Cell --- */
.vc-day {
    min-height: 90px;
    border-right: 1px solid #e4e7ec;
    border-bottom: 1px solid #e4e7ec;
    padding: 6px 8px;
    background: #fff;
    cursor: pointer;
    transition: background 0.15s;
    position: relative;
}

.vc-day:nth-child(7n) {
    border-right: none;
}

.vc-day:hover {
    background: #eef4ff;
}

.vc-day--empty {
    background: #f9fafb;
    cursor: default;
}

.vc-day--empty:hover {
    background: #f9fafb;
}

.vc-day--today {
    background: #eef4ff;
}

.vc-day--today .vc-day__num {
    background: #1f4893;
    color: #fff;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vc-day--sun .vc-day__num { color: #e03131; }
.vc-day--sat .vc-day__num { color: #1971c2; }

.vc-day__num {
    font-size: 14px;
    font-weight: 600;
    color: #344054;
    display: inline-block;
    line-height: 1;
}

.vc-day__badge {
    display: inline-block;
    margin-top: 6px;
    padding: 2px 8px;
    background: #3a8afd;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    line-height: 1.4;
}

.vc-day__badge--full {
    background: #e03131;
}

/* Disabled day (Sunday, Holiday, too soon) */
.vc-day--disabled {
    background: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.vc-day--disabled:hover {
    background: #f5f5f5;
}

.vc-day--disabled .vc-day__num {
    color: #bbb;
}

.vc-day--holiday .vc-day__num {
    color: #e03131;
}

.vc-day__holiday-tag {
    display: inline-block;
    margin-top: 4px;
    padding: 1px 6px;
    background: #fee2e2;
    color: #e03131;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    line-height: 1.4;
}

/* --- Legend --- */
.vc-legend {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 12px 0;
    font-size: 12px;
    color: #667085;
}

.vc-legend__item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.vc-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.vc-legend__dot--today { background: #1f4893; }
.vc-legend__dot--apply { background: #3a8afd; }
.vc-legend__dot--disabled { background: #ccc; }

/* --- Info Notice (Calendar page) --- */
.vc-info-notice {
    max-width: 960px;
    margin: 16px auto 0;
    background: #f0f4fa;
    border: 1px solid #c6dbf7;
    border-radius: 10px;
    padding: 16px 20px;
}

.vc-info-notice__title {
    font-size: 14px;
    font-weight: 700;
    color: #1f4893;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vc-info-notice__title i {
    font-size: 16px;
}

.vc-info-notice__list {
    margin: 0;
    padding-left: 18px;
    font-size: 13px;
    color: #344054;
    line-height: 1.8;
}

.vc-info-notice__list strong {
    color: #1f4893;
}

/* ===================================================
   Write Form (Email Auth + Application)
   =================================================== */

.vc-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Step Indicator --- */
.vc-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
}

.vc-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #98a2b3;
}

.vc-step--active {
    color: #1f4893;
    font-weight: 700;
}

.vc-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e4e7ec;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.vc-step--active .vc-step__num {
    background: #1f4893;
    color: #fff;
}

.vc-step--done .vc-step__num {
    background: #12b76a;
    color: #fff;
}

.vc-step__line {
    width: 40px;
    height: 2px;
    background: #e4e7ec;
}

/* --- Card Container --- */
.vc-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.vc-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #1f4893;
}

/* --- Auth Email Styles (override defaults) --- */
.vc-form-wrap #auth_email_div {
    display: block;
}

.vc-form-wrap .agr_ctbox {
    border: 1px solid #d0d5dd;
    background: #f9fafb;
    color: #344054;
    border-radius: 8px;
    padding: 16px;
    height: 160px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.7;
}

.vc-form-wrap .agr1 {
    background: #f0f4fa;
    color: #344054;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: center;
}

.vc-form-wrap .agr1 .y {
    color: #1f4893;
    font-weight: 700;
}

.vc-form-wrap .agr1 .n {
    color: #667085;
}

.vc-form-wrap .iptbl2ty table {
    width: 100%;
    border-collapse: collapse;
}

.vc-form-wrap .iptbl2ty th {
    background: #f9fafb;
    color: #344054;
    padding: 12px 16px;
    font-weight: 600;
    border: 1px solid #e4e7ec;
    white-space: nowrap;
}

.vc-form-wrap .iptbl2ty td {
    padding: 12px 16px;
    border: 1px solid #e4e7ec;
}

.vc-form-wrap .iptbl2ty input[type="text"],
.vc-form-wrap .iptbl2ty input[type="password"] {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.vc-form-wrap .iptbl2ty input:focus {
    border-color: #3a8afd;
    box-shadow: 0 0 0 3px rgba(58,138,253,0.12);
}

.vc-form-wrap .tpsc2 {
    display: inline-block;
    padding: 8px 16px;
    background: #667085;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.vc-form-wrap .tpsc2:hover {
    background: #475467;
}

.vc-form-wrap .tpsc3 {
    display: inline-block;
    padding: 8px 16px;
    background: #1f4893;
    color: #fff !important;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-align: center;
}

.vc-form-wrap .tpsc3:hover {
    background: #163a75;
}

.vc-form-wrap .nt1 {
    color: #e03131;
    font-size: 13px;
}

.vc-form-wrap #getting-started {
    display: none;
    margin-left: 10px;
    color: #3a8afd;
    font-weight: 600;
}

/* --- Form Notice (write page) --- */
.vc-form-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: #344054;
    background: #f0f4fa;
    border: 1px solid #c6dbf7;
}

.vc-form-notice i {
    color: #1f4893;
    margin-top: 2px;
    flex-shrink: 0;
}

.vc-form-notice--warn {
    background: #fff8e6;
    border-color: #f0d78c;
}

.vc-form-notice--warn i {
    color: #d97706;
}

/* --- Application Form --- */
.vc-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.vc-form-grid .vc-field--full {
    grid-column: 1 / -1;
}

.vc-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vc-field__label {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
}

.vc-field__label .required {
    color: #e03131;
    margin-left: 2px;
}

.vc-field__input,
.vc-field__select,
.vc-field__textarea {
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #1d2939;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
    width: 100%;
}

.vc-field__input:focus,
.vc-field__select:focus,
.vc-field__textarea:focus {
    border-color: #3a8afd;
    box-shadow: 0 0 0 3px rgba(58,138,253,0.12);
}

.vc-field__input[readonly] {
    background: #f2f4f7;
    color: #667085;
}

.vc-field__textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox group */
.vc-check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 4px;
}

.vc-check-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #344054;
    cursor: pointer;
}

.vc-check-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #1f4893;
}

/* --- Date Display --- */
.vc-date-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #eef4ff;
    border: 1px solid #c6dbf7;
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1f4893;
}

.vc-date-display i {
    font-size: 16px;
}

/* --- Form Buttons --- */
.vc-btn-wrap {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.vc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
}

.vc-btn--primary {
    background: #1f4893;
    color: #fff;
}

.vc-btn--primary:hover {
    background: #163a75;
}

.vc-btn--secondary {
    background: #fff;
    color: #344054;
    border: 1px solid #d0d5dd;
}

.vc-btn--secondary:hover {
    background: #f9fafb;
}

/* ===================================================
   View - Card Style
   =================================================== */

.vc-view-card {
    max-width: 680px;
    margin: 0 auto;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

.vc-view-card .vc-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #1f4893;
}

.vc-view-card .vc-card__header h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1d2939;
    margin: 0;
}

.vc-view-card .vc-card__meta {
    font-size: 12px;
    color: #98a2b3;
}

.vc-info-table {
    width: 100%;
    border-collapse: collapse;
}

.vc-info-table tr {
    border-bottom: 1px solid #f2f4f7;
}

.vc-info-table tr:last-child {
    border-bottom: none;
}

.vc-info-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #667085;
    background: #f9fafb;
    width: 120px;
    white-space: nowrap;
    border-right: 1px solid #f2f4f7;
}

.vc-info-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #1d2939;
}

.vc-view-content {
    margin-top: 16px;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    font-size: 14px;
    color: #344054;
    line-height: 1.7;
    min-height: 60px;
}

/* --- View Buttons --- */
.vc-view-btns {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

/* ===================================================
   Comment Section
   =================================================== */

/* 댓글 토글 버튼 */
.vc-view-card .cmt_btn {
    width: 100%;
    text-align: left;
    border: 0;
    border-bottom: 2px solid #e4e7ec;
    background: #fff;
    font-weight: bold;
    margin: 28px 0 0;
    padding: 0 0 12px;
    cursor: pointer;
}

.vc-view-card .cmt_btn span.total {
    position: relative;
    display: inline-block;
    font-size: 1em;
    color: #1f4893;
}

.vc-view-card .cmt_btn span.total:after {
    position: absolute;
    bottom: -14px;
    left: 0;
    display: inline-block;
    background: #1f4893;
    content: "";
    width: 100%;
    height: 2px;
}

.vc-view-card .cmt_btn b {
    font-size: 1.1em;
    color: #1d2939;
}

.vc-view-card .cmt_btn span.cmt_more {
    float: right;
    display: inline-block;
    width: 15px;
    height: 10px;
    margin-top: 5px;
}

/* 댓글 목록 */
.vc-view-card #bo_vc {
    margin-top: 16px;
}

.vc-view-card #bo_vc h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.vc-view-card #bo_vc article {
    margin: 0;
    padding: 16px 0;
    position: relative;
    border-bottom: 1px solid #f2f4f7;
}

.vc-view-card #bo_vc article:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.vc-view-card #bo_vc article .pf_img {
    float: left;
    margin-right: 10px;
}

.vc-view-card #bo_vc article .pf_img img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.vc-view-card #bo_vc article .cm_wrap {
    float: left;
    width: calc(100% - 90px);
}

.vc-view-card #bo_vc header {
    position: relative;
    width: 100%;
}

.vc-view-card #bo_vc header:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.vc-view-card #bo_vc .member,
.vc-view-card #bo_vc .guest,
.vc-view-card #bo_vc .sv_member,
.vc-view-card #bo_vc .sv_guest {
    font-weight: 600;
    color: #1d2939;
}

.vc-view-card .bo_vc_hdinfo {
    color: #98a2b3;
    font-size: 12px;
}

.vc-view-card #bo_vc .cmt_contents {
    line-height: 1.8em;
    padding: 4px 0 8px;
    font-size: 14px;
    color: #344054;
}

.vc-view-card #bo_vc_empty {
    margin: 0;
    padding: 40px 0 !important;
    color: #98a2b3;
    text-align: center;
    font-size: 14px;
}

/* 댓글 옵션 버튼 */
.vc-view-card #bo_vc .bo_vl_opt {
    position: absolute;
    top: 16px;
    right: 0;
}

.vc-view-card .bo_vc_act {
    display: none;
    position: absolute;
    right: 0;
    top: 36px;
    width: 60px;
    text-align: right;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    margin: 0;
    list-style: none;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
}

.vc-view-card .bo_vc_act li {
    border-bottom: 1px solid #f2f4f7;
}

.vc-view-card .bo_vc_act li:last-child {
    border-bottom: 0;
}

.vc-view-card .bo_vc_act li a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: #344054;
}

.vc-view-card .bo_vc_act li a:hover {
    background: #eef4ff;
    color: #1f4893;
}

/* 댓글 쓰기 폼 */
.vc-view-card .bo_vc_w {
    position: relative;
    margin: 16px 0 0;
    display: block;
}

.vc-view-card .bo_vc_w:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.vc-view-card .bo_vc_w h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

.vc-view-card .bo_vc_w #char_cnt {
    display: block;
    margin: 0 0 5px;
    font-size: 12px;
    color: #667085;
}

.vc-view-card .bo_vc_w textarea {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #1d2939;
    vertical-align: middle;
    border-radius: 8px;
    padding: 12px 14px;
    width: 100%;
    height: 100px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.vc-view-card .bo_vc_w textarea:focus {
    border-color: #3a8afd;
    box-shadow: 0 0 0 3px rgba(58,138,253,0.12);
}

.vc-view-card .bo_vc_w_info {
    margin: 10px 0;
}

.vc-view-card .bo_vc_w_info:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.vc-view-card .bo_vc_w_info .frm_input {
    float: left;
    margin-right: 8px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.vc-view-card .bo_vc_w_info .frm_input:focus {
    border-color: #3a8afd;
    box-shadow: 0 0 0 3px rgba(58,138,253,0.12);
}

.vc-view-card .bo_vc_w_info #captcha {
    padding-top: 10px;
    display: block;
    clear: both;
}

.vc-view-card .bo_vc_w .btn_confirm {
    clear: both;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.vc-view-card .bo_vc_w .btn_confirm .secret_cm {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vc-view-card .bo_vc_w .btn_confirm .secret_cm label {
    font-size: 13px !important;
    color: #667085;
}

.vc-view-card .bo_vc_w .btn_submit {
    height: 40px;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    background: #1f4893;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.vc-view-card .bo_vc_w .btn_submit:hover {
    background: #163a75;
}

.vc-view-card .bo_vc_w_wr:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

/* 체크박스 스타일 */
.vc-view-card .chk_box input[type="checkbox"] + label {
    padding-left: 20px;
    position: relative;
}

.vc-view-card .chk_box input[type="checkbox"] + label span {
    position: absolute;
    top: 2px;
    left: 0;
    width: 15px;
    height: 15px;
    display: block;
    margin: 0;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 3px;
}

/* btn_b01 (댓글 옵션 등) */
.vc-view-card .btn_b01 {
    background: none;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 4px 8px;
    color: #667085;
    cursor: pointer;
    font-size: 14px;
}

.vc-view-card .btn_b01:hover {
    background: #f9fafb;
    color: #1f4893;
}

/* ===================================================
   Admin Application List
   =================================================== */

.vc-admin-list {
    max-width: 960px;
    margin: 24px auto 0;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

.vc-admin-list__header {
    padding: 0 0 12px;
}

.vc-admin-list__title {
    font-size: 16px;
    font-weight: 700;
    color: #1d2939;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vc-admin-list__title i {
    color: #1f4893;
}

.vc-admin-list__count {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #3a8afd;
    padding: 2px 10px;
    border-radius: 10px;
}

.vc-admin-list__table-wrap {
    overflow-x: auto;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.vc-admin-list__table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

.vc-admin-list__table thead th {
    background: #f9fafb;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 10px 14px;
    border-bottom: 1px solid #e4e7ec;
    text-align: left;
}

.vc-admin-list__table tbody tr {
    transition: background 0.15s;
}

.vc-admin-list__table tbody tr:hover {
    background: #eef4ff;
}

.vc-admin-list__table tbody td {
    padding: 12px 14px;
    font-size: 13px;
    color: #344054;
    border-bottom: 1px solid #f2f4f7;
}

.vc-admin-list__table tbody tr:last-child td {
    border-bottom: none;
}

.vc-admin-list__date {
    font-weight: 600;
    color: #1f4893 !important;
}

.vc-admin-list__subject {
    font-weight: 600;
    color: #1d2939 !important;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vc-admin-list__num {
    text-align: center;
}

.vc-admin-list__created {
    color: #98a2b3 !important;
    font-size: 12px !important;
}

.vc-admin-list__empty {
    text-align: center;
    padding: 40px 0;
    color: #98a2b3;
    font-size: 14px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}

/* ===================================================
   Responsive: Mobile
   =================================================== */

@media (max-width: 640px) {
    /* Calendar: list view */
    .vc-nav__title {
        font-size: 18px;
        min-width: auto;
    }

    .vc-grid {
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }

    .vc-grid__head {
        display: none;
    }

    .vc-day {
        min-height: auto;
        padding: 12px 16px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-right: none;
    }

    .vc-day--empty {
        display: none;
    }

    .vc-day--disabled {
        opacity: 0.5;
    }

    .vc-day__holiday-tag {
        font-size: 9px;
        margin-top: 0;
        margin-left: 6px;
    }

    .vc-day__num {
        font-size: 15px;
    }

    .vc-day--today .vc-day__num {
        width: 32px;
        height: 32px;
    }

    .vc-day__dayname {
        display: inline-block;
        font-size: 12px;
        color: #98a2b3;
        margin-left: 6px;
    }

    .vc-legend {
        display: none;
    }

    /* Form */
    .vc-form-grid {
        grid-template-columns: 1fr;
    }

    .vc-card {
        padding: 20px 16px;
        border-radius: 8px;
    }

    .vc-steps {
        gap: 0;
    }

    .vc-step {
        padding: 6px 8px;
        font-size: 12px;
    }

    .vc-step__line {
        width: 20px;
    }

    /* View */
    .vc-info-table th,
    .vc-info-table td {
        display: block;
        width: 100%;
    }

    .vc-info-table th {
        padding: 10px 12px 2px;
        border-right: none;
        background: transparent;
    }

    .vc-info-table td {
        padding: 2px 12px 10px;
    }

    .vc-btn-wrap,
    .vc-view-btns {
        flex-direction: column;
    }

    .vc-btn {
        width: 100%;
    }

    /* Admin list mobile */
    .vc-admin-list__table thead {
        display: none;
    }

    .vc-admin-list__table,
    .vc-admin-list__table tbody,
    .vc-admin-list__table tr,
    .vc-admin-list__table td {
        display: block;
        width: 100%;
    }

    .vc-admin-list__table tbody tr {
        padding: 12px 14px;
        border-bottom: 1px solid #e4e7ec;
    }

    .vc-admin-list__table tbody td {
        padding: 2px 0;
        border-bottom: none;
        white-space: normal;
    }

    .vc-admin-list__table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #667085;
        font-size: 11px;
        margin-right: 8px;
    }

    .vc-admin-list__subject {
        max-width: none;
        font-size: 14px !important;
    }
}

/* Desktop: hide day name in cells */
@media (min-width: 641px) {
    .vc-day__dayname {
        display: none;
    }
}

/* ============================================================
   방문 사진첩 (vc-photo)
   ============================================================ */
.vc-photo {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e4e7ec;
}

.vc-photo__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.vc-photo__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f4893;
}

.vc-photo__title .fa {
    margin-right: 6px;
}

.vc-photo__more {
    font-size: 14px;
    color: #1f4893;
    text-decoration: none;
    white-space: nowrap;
}

.vc-photo__more:hover {
    text-decoration: underline;
}

.vc-photo__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.vc-photo__item {
    margin: 0;
}

.vc-photo__link {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e4e7ec;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s ease, transform .15s ease;
}

.vc-photo__link:hover {
    box-shadow: 0 4px 14px rgba(31, 72, 147, 0.18);
    transform: translateY(-2px);
}

.vc-photo__thumb {
    display: block;
    position: relative;
    width: 100%;
    padding-top: 68%; /* 썸네일 비율 (320:220 근사) */
    background: #f2f4f7;
    overflow: hidden;
}

.vc-photo__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-photo__noimg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b7c3;
    font-size: 32px;
}

.vc-photo__caption {
    display: block;
    padding: 10px 12px;
}

.vc-photo__subject {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vc-photo__date {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #98a2b3;
}

.vc-photo__empty {
    margin: 0;
    padding: 32px 0;
    text-align: center;
    color: #98a2b3;
    font-size: 14px;
}

@media (max-width: 980px) {
    .vc-photo__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .vc-photo__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .vc-photo__title {
        font-size: 16px;
    }
}
