@charset "UTF-8";

.support-sub-visual .support-tabs a {
    min-width: 190px;
    text-align: center;
}

.support-container {
    max-width: 1200px;
    padding: 34px 38px 42px;
}

.support-page-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.support-page-head h2 {
    margin: 0 0 7px;
    color: #17233c;
    font-size: 24px;
}

.support-page-head p {
    margin: 0;
    color: #738096;
    font-size: 13px;
    line-height: 1.6;
}

.support-login-badge {
    min-width: 82px;
    height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.support-login-badge.member {
    background: #eaf2ff;
    color: #1769e0;
}

.support-login-badge.guest {
    background: #f3f4f6;
    color: #667085;
}

.inquiry-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    align-items: start;
}

.support-card {
    background: #fff;
    border: 1px solid #dfe6f2;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 35, 75, 0.04);
}

.inquiry-form-card {
    padding: 26px;
}

.inquiry-guide-card {
    padding: 24px;
    position: sticky;
    top: 92px;
}

.support-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8edf4;
}

.support-section-title.contact-title {
    margin-top: 30px;
}

.support-section-title h3 {
    margin: 0;
    color: #17233c;
    font-size: 17px;
}

.support-section-title > span {
    color: #8b96a8;
    font-size: 11px;
}

.support-section-title em,
.support-form-group label em {
    color: #e5484d;
    font-style: normal;
}

.support-form-grid {
    display: grid;
    gap: 14px 16px;
}

.support-form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-form-group {
    min-width: 0;
    margin-bottom: 16px;
}

.support-form-group.full {
    width: 100%;
}

.support-form-group label,
.support-label-row label {
    display: block;
    margin-bottom: 7px;
    color: #27364d;
    font-size: 12px;
    font-weight: 700;
}

.support-form-group label > span {
    color: #98a2b3;
    font-size: 10px;
    font-weight: 500;
}

.support-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.support-label-row > span {
    color: #98a2b3;
    font-size: 11px;
}

.support-form-control {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #d8e0ec;
    border-radius: 6px;
    color: #111827;
    font: inherit;
    font-size: 13px;
    box-sizing: border-box;
}

.support-form-control:focus {
    outline: none;
    border-color: #1769e0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.1);
}

.support-textarea {
    height: 150px;
    padding: 12px;
    resize: vertical;
    line-height: 1.6;
}

.support-form-help {
    margin: 6px 0 0;
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.5;
}

.support-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.support-file-drop {
    min-height: 92px;
    padding: 18px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: #f8fbff;
    border: 1px dashed #b8c9e6;
    border-radius: 8px;
    color: #526079 !important;
    cursor: pointer;
    text-align: center;
}

.support-file-drop:hover {
    background: #f2f7ff;
    border-color: #1769e0;
}

.support-file-drop strong {
    color: #1769e0;
    font-size: 13px;
}

.support-file-drop span {
    color: #65748b;
    font-size: 11px;
}

.support-file-drop small {
    color: #98a2b3;
    font-size: 10px;
}

.support-selected-files {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.support-selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: #f7f8fa;
    border-radius: 6px;
    color: #526079;
    font-size: 11px;
}

.support-selected-file strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.support-selected-file span {
    flex: 0 0 auto;
    color: #8d98aa;
}

.support-form-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

.support-primary-button,
.support-secondary-button {
    min-width: 150px;
    height: 42px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inquiry-guide-head {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8edf4;
}

.inquiry-guide-head span {
    display: block;
    margin-bottom: 7px;
    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
}

.inquiry-guide-head h3 {
    margin: 0;
    color: #26334a;
    font-size: 15px;
    line-height: 1.5;
}

.inquiry-guide-item {
    margin-bottom: 17px;
}

.inquiry-guide-item strong {
    display: block;
    margin-bottom: 5px;
    color: #344054;
    font-size: 12px;
}

.inquiry-guide-item p {
    margin: 0;
    color: #7c8798;
    font-size: 11px;
    line-height: 1.55;
}

.inquiry-history-link {
    width: 100%;
    height: 38px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1769e0;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 980px) {
    .inquiry-layout {
        grid-template-columns: 1fr;
    }

    .inquiry-guide-card {
        position: static;
    }
}

@media (max-width: 720px) {
    .support-container {
        margin: 24px 12px;
        padding: 24px 16px;
    }

    .support-page-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .support-form-grid.two-col {
        grid-template-columns: 1fr;
    }

    .inquiry-form-card,
    .inquiry-guide-card {
        padding: 18px;
    }

    .support-form-actions {
        flex-direction: column;
    }

    .support-primary-button,
    .support-secondary-button {
        width: 100%;
    }
}
/* ==========================================================================
   Support - FAQ
   ========================================================================== */

.faq-page-head {
    margin-bottom: 20px;
}

.support-admin-write-button {
    min-width: 112px;
    height: 40px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-decoration: none;
    white-space: nowrap;
}

.faq-search-card {
    padding: 20px;
}

.faq-search-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-search-input-wrap {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    gap: 8px;
}

.faq-search-button {
    height: 40px;
    padding: 0 16px;
}

.faq-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.faq-category-tabs button {
    min-width: 88px;
    height: 32px;
    padding: 0 13px;
    border: 1px solid #dce4ef;
    border-radius: 18px;
    background: #fff;
    color: #617089;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
}

.faq-category-tabs button.active,
.faq-category-tabs button:hover {
    border-color: #1769e0;
    background: #1769e0;
    color: #fff;
}

.faq-result-toolbar {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #667085;
    font-size: 12px;
}

.faq-result-toolbar strong {
    color: #1d2939;
}

.faq-result-toolbar strong span {
    color: #1769e0;
}

.faq-admin-guide {
    color: #8a95a7;
    font-size: 11px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.faq-item {
    overflow: hidden;
}

.faq-item-head {
    display: flex;
    align-items: stretch;
}

.faq-toggle-button {
    min-width: 0;
    flex: 1;
    min-height: 62px;
    padding: 0 18px;
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto 22px;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    text-align: left;
}

.faq-q,
.faq-a {
    color: #1769e0;
    font-size: 14px;
    font-weight: 800;
}

.faq-question {
    min-width: 0;
    overflow: hidden;
    color: #26364c;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8290a5;
    font-size: 10px;
    white-space: nowrap;
}

.faq-meta > span:not(.faq-status-badge) {
    padding: 3px 7px;
    background: #f4f7fb;
    border-radius: 10px;
}

.faq-status-badge {
    padding: 3px 7px;
    border-radius: 10px;
    font-weight: 700;
}

.faq-status-badge.published {
    background: #eaf8f0;
    color: #238759;
}

.faq-status-badge.private {
    background: #f2f4f7;
    color: #667085;
}

.faq-status-badge.draft {
    background: #fff5dd;
    color: #b7791f;
}

.faq-chevron {
    color: #8793a6;
    font-size: 18px;
    transition: transform 0.2s ease;
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
}

.faq-admin-actions {
    width: 112px;
    padding: 0 12px 0 2px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.faq-action-button {
    min-width: 46px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 5px;
    background: #fff;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.faq-action-button.edit {
    border: 1px solid #a9c7f7;
    color: #1769e0;
}

.faq-action-button.delete {
    border: 1px solid #f0b7ba;
    color: #d94a50;
}

.faq-answer {
    display: none;
    padding: 17px 20px 20px 44px;
    background: #f9fbfe;
    border-top: 1px solid #edf1f6;
}

.faq-item.open .faq-answer {
    display: block;
}

.faq-answer-inner {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 8px;
}

.faq-answer-content {
    color: #55657b;
    font-size: 12px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.faq-keyword {
    margin: 12px 0 0 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7d899b;
    font-size: 10px;
}

.faq-keyword strong {
    color: #516176;
}

.faq-attachment-wrap {
    margin: 12px 0 0 34px;
}

.faq-attachment-title {
    margin-bottom: 6px;
    color: #516176;
    font-size: 10px;
    font-weight: 700;
}

.faq-attachment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.faq-attachment-link {
    max-width: 280px;
    padding: 6px 9px;
    overflow: hidden;
    border: 1px solid #dce5f1;
    border-radius: 5px;
    background: #fff;
    color: #1769e0;
    font-size: 10px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.faq-empty {
    padding: 56px 20px;
    color: #8b96a8;
    font-size: 12px;
    text-align: center;
}

.faq-pagination {
    margin: 22px 0 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.faq-pagination a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce4ef;
    border-radius: 5px;
    color: #607089;
    font-size: 11px;
    text-decoration: none;
}

.faq-pagination a.active {
    border-color: #1769e0;
    background: #1769e0;
    color: #fff;
}

.faq-contact-card {
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.faq-contact-card strong {
    color: #26364c;
    font-size: 14px;
}

.faq-contact-card p {
    margin: 4px 0 0;
    color: #7d899b;
    font-size: 11px;
}

.faq-contact-button {
    min-width: 130px;
    text-decoration: none;
}

.faq-edit-card {
    padding: 26px;
}

.faq-answer-editor {
    min-height: 230px;
    padding: 14px;
    resize: vertical;
    line-height: 1.7;
}

.faq-existing-files {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.faq-existing-file {
    min-height: 38px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e3e9f1;
    border-radius: 6px;
    background: #fafbfd;
    color: #5d6c81;
    font-size: 11px;
}

.faq-existing-file a {
    color: #1769e0;
    text-decoration: none;
}

.faq-file-delete-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.faq-edit-guide {
    margin-top: 20px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    border-radius: 7px;
    background: #f4f8ff;
    color: #607089;
    font-size: 10px;
}

.faq-edit-guide strong {
    color: #1769e0;
}

.faq-edit-actions {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .faq-toggle-button {
        grid-template-columns: 26px minmax(0, 1fr) 22px;
    }

    .faq-meta {
        display: none;
    }

    .faq-admin-actions {
        width: auto;
        padding-right: 8px;
    }
}
/* ==========================================================================
   Support - FAQ UI v2
   L-22 / L-22-1 레이아웃 보정
   ========================================================================== */

.faq-page-head {
    margin-bottom: 18px;
}

/* 관리자 FAQ 작성 버튼: 화면설계서처럼 소형 버튼으로 표시 */
.faq-admin-write-small {
    width: auto;
    min-width: 86px;
    height: 32px;
    padding: 0 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

/* FAQ 본문 + 우측 고객지원 카드 */
.faq-content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: start;
}

.faq-main-column {
    min-width: 0;
}

.faq-side-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-side-card {
    padding: 20px 18px;
}

.faq-inquiry-card {
    text-align: center;
}

.faq-side-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef5ff;
    border: 1px solid #d7e7ff;
    color: #1769e0;
    font-size: 20px;
    font-weight: 800;
}

.faq-inquiry-card h3,
.faq-center-card h3 {
    margin: 0;
    color: #25344b;
    font-size: 14px;
    font-weight: 800;
}

.faq-inquiry-card p {
    margin: 9px 0 16px;
    color: #78869a;
    font-size: 10px;
    line-height: 1.65;
}

.faq-side-inquiry-button {
    width: 100%;
    height: 36px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    border-radius: 5px;
    background: #1769e0;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.faq-side-inquiry-button:hover {
    background: #0f5bcc;
}

.faq-side-inquiry-button strong {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

.faq-center-card h3 {
    margin-bottom: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #e8edf4;
    color: #1769e0;
}

.faq-center-item + .faq-center-item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.faq-center-label {
    display: block;
    margin-bottom: 5px;
    color: #8995a7;
    font-size: 9px;
    font-weight: 700;
}

.faq-center-item strong,
.faq-center-item a {
    display: block;
    color: #34445a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    word-break: break-all;
}

.faq-center-item a {
    color: #1769e0;
    font-size: 10px;
}

.faq-center-item small {
    display: block;
    margin-top: 5px;
    color: #8b96a8;
    font-size: 9px;
    line-height: 1.55;
}

/* 우측 카드가 생긴 만큼 검색/목록 UI를 조금 더 촘촘하게 */
.faq-search-card {
    padding: 16px;
}

.faq-search-input-wrap {
    grid-template-columns: minmax(0, 1fr) 76px;
}

.faq-search-button {
    height: 38px;
    padding: 0 12px !important;
    font-size: 11px;
}

.faq-category-tabs {
    gap: 6px;
    margin-top: 12px;
}

.faq-category-tabs button {
    min-width: 72px;
    height: 28px;
    padding: 0 10px;
    font-size: 10px;
}

.faq-result-toolbar {
    min-height: 38px;
}

.faq-list {
    gap: 7px;
}

.faq-toggle-button {
    min-height: 56px;
    padding: 0 14px;
    gap: 8px;
}

.faq-question {
    font-size: 12px;
}

.faq-admin-actions {
    width: 104px;
    padding-right: 9px;
}

.faq-action-button {
    min-width: 43px;
    height: 26px;
    padding: 0 6px;
}

/* 기존 하단 문의 카드는 v2 레이아웃에서 사용하지 않음 */
.faq-contact-card {
    display: none;
}

@media (max-width: 980px) {
    .faq-content-layout {
        grid-template-columns: 1fr;
    }

    .faq-side-column {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .faq-side-column {
        grid-template-columns: 1fr;
    }

    .faq-page-head {
        flex-direction: row;
        align-items: flex-start;
    }

    .faq-admin-write-small {
        flex: 0 0 auto;
    }
}
/* ==========================================================================
   Support - FAQ final UI v3
   ========================================================================== */

/* 관리자에서는 우측 고객지원 카드가 없으므로 FAQ 본문을 전체 폭으로 사용 */
.faq-content-layout.admin-mode {
    grid-template-columns: minmax(0, 1fr);
}

/* 화면설계서 L-22와 유사한 실제 SVG 아이콘 */
.faq-side-icon img {
    width: 26px;
    height: 26px;
    display: block;
}

.faq-side-button-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.faq-side-button-label img {
    width: 14px;
    height: 14px;
    display: block;
    filter: brightness(0) invert(1);
}

.faq-center-item-icon {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
}

.faq-center-item-icon > img {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    display: block;
}

.faq-center-item-icon + .faq-center-item-icon {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.faq-tech-link {
    margin-top: 14px;
    padding-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid #eef2f6;
    color: #1769e0;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.faq-tech-link > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.faq-tech-link img {
    width: 17px;
    height: 17px;
    display: block;
}

.faq-tech-link strong {
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

/* 관리자 전체 폭에서는 메타/버튼 영역에 여유를 조금 더 준다 */
.faq-content-layout.admin-mode .faq-toggle-button {
    grid-template-columns: 26px minmax(0, 1fr) auto 22px;
}

.faq-content-layout.admin-mode .faq-question {
    font-size: 12px;
}

/* FAQ는 Controller에서 페이지당 5건 조회 */
/* ==========================================================================
   Support - Notice
   L-24 / L-24-1 / L-24-2
   ========================================================================== */

.notice-page-head {
    margin-bottom: 18px;
}

.notice-admin-write-small {
    width: auto;
    min-width: 106px;
    height: 32px;
    padding: 0 12px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 5px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.notice-search-card {
    padding: 16px;
}

.notice-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 8px;
}

.notice-search-button {
    height: 38px;
    padding: 0 12px !important;
    font-size: 11px;
}

.notice-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.notice-category-tabs button {
    min-width: 72px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid #dce4ef;
    border-radius: 15px;
    background: #fff;
    color: #617089;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
}

.notice-category-tabs button:hover,
.notice-category-tabs button.active {
    border-color: #1769e0;
    background: #1769e0;
    color: #fff;
}

.notice-result-toolbar {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #8793a5;
    font-size: 10px;
}

.notice-result-toolbar strong {
    color: #26364c;
    font-size: 11px;
}

.notice-result-toolbar strong span {
    color: #1769e0;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.notice-featured-item {
    min-height: 96px;
    padding: 15px 16px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 14px;
    background: #eef5ff;
    border-color: #d9e8ff;
}

.notice-featured-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcebff;
}

.notice-featured-icon img {
    width: 23px;
    height: 23px;
    display: block;
}

.notice-featured-content {
    min-width: 0;
}

.notice-featured-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
}

.notice-pin-badge,
.notice-type-badge,
.notice-status-badge {
    min-height: 20px;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.notice-pin-badge {
    background: #1769e0;
    color: #fff;
}

.notice-type-badge {
    background: #f1f5f9;
    color: #58677d;
}

.notice-type-badge.type-notice {
    background: #eaf2ff;
    color: #1769e0;
}

.notice-type-badge.type-inspection {
    background: #fff5dd;
    color: #b7791f;
}

.notice-type-badge.type-update {
    background: #eaf8f0;
    color: #238759;
}

.notice-type-badge.type-error {
    background: #ffeaec;
    color: #d44852;
}

.notice-type-badge.type-policy {
    background: #f2ecff;
    color: #7751c7;
}

.notice-status-badge.status-published {
    background: #eaf8f0;
    color: #238759;
}

.notice-status-badge.status-private {
    background: #f2f4f7;
    color: #667085;
}

.notice-status-badge.status-draft {
    background: #fff5dd;
    color: #b7791f;
}

.notice-featured-title {
    max-width: 100%;
    display: inline-block;
    overflow: hidden;
    color: #20324a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-featured-content p {
    margin: 5px 0 0;
    overflow: hidden;
    color: #728096;
    font-size: 10px;
    line-height: 1.55;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-featured-meta {
    margin-top: 7px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #8995a7;
    font-size: 9px;
}

.notice-list-item {
    min-height: 52px;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 130px 72px;
    align-items: center;
    gap: 10px;
}

.notice-list-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
}

.notice-list-title {
    min-width: 0;
    overflow: hidden;
    color: #33445a;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-list-title:hover,
.notice-featured-title:hover {
    color: #1769e0;
}

.notice-list-date {
    color: #8b96a8;
    font-size: 9px;
    text-align: center;
    white-space: nowrap;
}

.notice-detail-button {
    width: 66px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #a9c7f7;
    border-radius: 5px;
    background: #fff;
    color: #1769e0;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.notice-detail-button:hover {
    background: #1769e0;
    color: #fff;
}

.notice-empty {
    padding: 60px 20px;
    color: #8b96a8;
    font-size: 11px;
    text-align: center;
}

.notice-pagination {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.notice-pagination a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid #dce4ef;
    border-radius: 5px;
    color: #607089;
    font-size: 10px;
    text-decoration: none;
}

.notice-pagination a.active {
    border-color: #1769e0;
    background: #1769e0;
    color: #fff;
}

/* Notice detail */

.notice-detail-card {
    overflow: hidden;
}

.notice-detail-header {
    position: relative;
    padding: 24px 26px 20px;
    border-bottom: 1px solid #e9eef5;
}

.notice-detail-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.notice-detail-header h2 {
    margin: 0;
    padding-right: 100px;
    color: #1f3048;
    font-size: 20px;
    line-height: 1.45;
}

.notice-detail-meta {
    margin-top: 11px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: #8a96a8;
    font-size: 10px;
}

.notice-detail-meta strong {
    margin-left: 4px;
    color: #59697f;
    font-weight: 700;
}

.notice-copy-button {
    position: absolute;
    top: 22px;
    right: 24px;
    height: 30px;
    padding: 0 11px;
    border: 1px solid #d7e0ec;
    border-radius: 5px;
    background: #fff;
    color: #607089;
    cursor: pointer;
    font-size: 9px;
    font-weight: 700;
}

.notice-detail-summary {
    padding: 14px 26px;
    background: #f7f9fc;
    border-bottom: 1px solid #edf1f6;
    color: #56667d;
    font-size: 11px;
    line-height: 1.65;
}

.notice-detail-content {
    min-height: 240px;
    padding: 30px 26px 38px;
    color: #3f4f64;
    font-size: 12px;
    line-height: 1.9;
    white-space: pre-wrap;
    word-break: break-word;
}

.notice-detail-files {
    margin: 0 26px 24px;
    padding: 14px;
    border: 1px solid #e1e8f1;
    border-radius: 7px;
    background: #fafbfd;
}

.notice-detail-files > strong {
    display: block;
    margin-bottom: 8px;
    color: #35465c;
    font-size: 11px;
}

.notice-file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-file-link {
    min-height: 36px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid #e3e9f1;
    border-radius: 5px;
    background: #fff;
    color: #53657c;
    font-size: 10px;
    text-decoration: none;
}

.notice-file-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-file-link em {
    color: #1769e0;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.notice-detail-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.notice-list-back-button,
.notice-edit-button,
.notice-delete-button {
    min-width: 86px;
    height: 34px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.notice-admin-detail-actions {
    display: flex;
    gap: 7px;
}

.notice-delete-button {
    border: 1px solid #efb5b9;
    background: #fff;
    color: #d74850;
    cursor: pointer;
}

/* Notice edit */

.notice-edit-card {
    padding: 26px;
}

.notice-summary-textarea {
    min-height: 88px;
    padding: 12px;
    resize: vertical;
    line-height: 1.6;
}

.notice-editor-toolbar {
    min-height: 34px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #dce4ef;
    border-bottom: 0;
    border-radius: 6px 6px 0 0;
    background: #f8fafc;
}

.notice-editor-toolbar span {
    color: #485970;
    font-size: 10px;
    font-weight: 700;
}

.notice-editor-toolbar small {
    color: #98a2b3;
    font-size: 9px;
}

.notice-content-editor {
    min-height: 280px;
    padding: 14px !important;
    border-radius: 0 0 6px 6px !important;
    resize: vertical;
    line-height: 1.75;
}

.notice-existing-files {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notice-existing-file {
    min-height: 38px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e3e9f1;
    border-radius: 6px;
    background: #fafbfd;
    color: #5d6c81;
    font-size: 10px;
}

.notice-existing-file a {
    color: #1769e0;
    text-decoration: none;
}

.notice-existing-file span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.notice-publish-settings {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #dfe6f0;
    border-radius: 8px;
}

.notice-setting-row {
    min-height: 64px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #edf1f6;
    background: #fbfcfe;
}

.notice-setting-row:last-child {
    border-bottom: 0;
}

.notice-setting-row.vertical {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
}

.notice-setting-row > div > strong,
.notice-setting-row > strong {
    display: block;
    color: #33445a;
    font-size: 11px;
}

.notice-setting-row > div > span,
.notice-setting-row > span {
    display: block;
    margin-top: 3px;
    color: #8b96a8;
    font-size: 9px;
}

.notice-switch {
    position: relative;
    width: 42px;
    height: 23px;
    flex: 0 0 42px;
}

.notice-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.notice-switch span {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: #cbd5e1;
    cursor: pointer;
    transition: 0.2s ease;
}

.notice-switch span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #fff;
    transition: 0.2s ease;
}

.notice-switch input:checked + span {
    background: #1769e0;
}

.notice-switch input:checked + span::after {
    transform: translateX(19px);
}

.notice-publish-mode {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #53647a;
    font-size: 10px;
}

.notice-publish-mode label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notice-schedule-date {
    display: none;
}

.notice-schedule-date.show {
    display: block;
}

.notice-schedule-date small {
    display: block;
    margin-top: 6px;
    color: #8491a4;
    font-size: 9px;
}

.notice-setting-row.disabled {
    opacity: 0.55;
}

.notice-edit-actions {
    justify-content: flex-end;
}

@media (max-width: 760px) {

    .notice-list-item {
        grid-template-columns: 78px minmax(0, 1fr) 64px;
    }

    .notice-list-date {
        display: none;
    }

    .notice-featured-item {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .notice-featured-item .notice-detail-button {
        grid-column: 2;
    }

    .notice-detail-header h2 {
        padding-right: 0;
        font-size: 17px;
    }

    .notice-copy-button {
        position: static;
        margin-top: 14px;
    }

    .notice-editor-toolbar {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* ==========================================================================
   Support - FAQ / Notice font size tuning
   다른 사용자 페이지와의 가독성 균형을 위해 전체적으로 약 1px 상향
   ========================================================================== */

/* FAQ */
.faq-category-tabs button {
    font-size: 11px;
}

.faq-result-toolbar {
    font-size: 13px;
}

.faq-admin-guide {
    font-size: 12px;
}

.faq-question {
    font-size: 13px;
}

.faq-meta {
    font-size: 11px;
}

.faq-action-button {
    font-size: 11px;
}

.faq-answer-content {
    font-size: 13px;
}

.faq-keyword,
.faq-attachment-title,
.faq-attachment-link {
    font-size: 11px;
}

.faq-contact-card p,
.faq-inquiry-card p {
    font-size: 11px;
}

.faq-center-label,
.faq-center-item small,
.faq-tech-link {
    font-size: 10px;
}

.faq-center-item strong {
    font-size: 13px;
}

.faq-center-item a {
    font-size: 11px;
}

/* 공지사항 목록 */
.notice-category-tabs button {
    font-size: 11px;
}

.notice-result-toolbar {
    font-size: 11px;
}

.notice-result-toolbar strong {
    font-size: 12px;
}

.notice-pin-badge,
.notice-type-badge,
.notice-status-badge {
    font-size: 10px;
}

.notice-featured-title {
    font-size: 14px;
}

.notice-featured-content p {
    font-size: 11px;
}

.notice-featured-meta {
    font-size: 10px;
}

.notice-list-title {
    font-size: 12px;
}

.notice-list-date {
    font-size: 10px;
}

.notice-detail-button {
    font-size: 10px;
}

/* 공지사항 상세 */
.notice-detail-header h2 {
    font-size: 21px;
}

.notice-detail-meta {
    font-size: 11px;
}

.notice-copy-button {
    font-size: 10px;
}

.notice-detail-summary {
    font-size: 12px;
}

.notice-detail-content {
    font-size: 13px;
}

.notice-detail-files > strong {
    font-size: 12px;
}

.notice-file-link {
    font-size: 11px;
}

.notice-file-link em {
    font-size: 10px;
}

/* 공지사항 작성/수정 */
.notice-editor-toolbar span {
    font-size: 11px;
}

.notice-editor-toolbar small,
.notice-setting-row > div > span,
.notice-setting-row > span,
.notice-schedule-date small {
    font-size: 10px;
}

.notice-setting-row > div > strong,
.notice-setting-row > strong {
    font-size: 12px;
}

.notice-publish-mode {
    font-size: 11px;
}

.notice-existing-file {
    font-size: 11px;
}
