@charset "utf-8";

/* 보관용 분리 파일. 현재 화면에서는 로드하지 않음. */
   APP BRIDGE : 서브페이지 동적 데이터 연결
   ========================================================================== */

.sub-visual__nav-list li {
    list-style: none;
}

.search__input-box button.text-button {
    position: static;
    width: auto;
    height: 45px;
    min-height: 45px;
    padding: 0 18px;
    border-radius: 0.6rem;
    background: #2f73b7;
    color: #fff;
    text-indent: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.contest__card a {
    display: block;
}

.contest__tag {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.contest__icon {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.contest__icon.local {
    background: #edf4ff;
    color: #2f73b7;
}

.contest__icon.on {
    background: #ebfbf5;
    color: #1a8c70;
}

.contest__icon.off {
    background: #f3f4f6;
    color: #6b7280;
}

.contest__text h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.5;
    margin-bottom: 10px;
}

.contest-top__thumb-box.is-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 30px;
    background: linear-gradient(135deg, #dde7f1, #c8d7e6 52%, #ddd2c9);
}

.contest-top__thumb-placeholder {
    text-align: center;
    color: #526272;
}

.contest-top__thumb-placeholder strong {
    display: block;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    margin-bottom: 12px;
}

.contest-top__theme p,
.contest-top__theme strong {
    white-space: pre-line;
}

.contest-top__chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.contest-top__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #edf4ff;
    color: #2f73b7;
    font-size: 0.92rem;
    font-weight: 600;
}

.contest-section__body,
.contest-section__body p,
.contest-section__body li {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    line-height: 1.8;
    color: #1c1c1c;
}

.contest-section__body ul,
.contest-section__body ol {
    margin: 0;
    padding-left: 1.5rem;
}

.contest-section__body table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.contest-section__body th,
.contest-section__body td {
    border: 1px solid #ddd;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.contest-section__body th {
    background: #f2f6ff;
    font-weight: 700;
}

.contest-section__body img {
    max-width: 100%;
    height: auto;
}

.contest-empty {
    padding: 80px 30px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-align: center;
    color: #54555a;
}

.faq__trigger {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.faq__content[hidden] {
    display: block;
}

.field-error {
    display: block;
    margin-top: 8px;
    color: #d92d20;
    font-size: 0.875rem;
    line-height: 1.5;
}

.field-hint {
    display: block;
    margin-top: 10px;
    color: #54555a;
    font-size: 0.875rem;
    line-height: 1.6;
}

.entry-global-error {
    margin-bottom: 20px;
    padding: 16px 18px;
    border-radius: 12px;
    background: #fff1f2;
    color: #b42318;
    font-size: 0.95rem;
    line-height: 1.6;
}

.form-static {
    width: 100%;
    min-height: 45px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #1c1c1c;
}

.entry-actions,
.entry-inline-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.entry-inline-actions {
    justify-content: flex-end;
    margin-top: 24px;
}

.entry-inline-actions .button--blue-border,
.entry-inline-actions .contest-steps-button {
    padding-top: 0;
}

.entry-delete-form {
    margin: 0;
}

.entry-delete-button {
    min-width: 88px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    color: #54555a;
    font-size: 0.875rem;
    cursor: pointer;
}

.entry-delete-button:hover {
    border-color: #2f73b7;
    color: #2f73b7;
}

.entry-popup-link {
    color: #1d4f88;
    font-weight: 600;
    text-decoration: underline;
}

.entry-popup-link:hover {
    color: #2f73b7;
}

.entry-work-empty {
    padding: 18px 0;
    color: #54555a;
}

.entry-info__content.is-column {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.entry-completed-actions {
    margin-top: 24px;
    justify-content: center;
}

.contest-steps-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: inherit;
    min-height: inherit;
    color: inherit;
    text-decoration: none;
}

.publisher-popup-body {
    margin: 0;
    background: #f5f7fb;
}

.popup-layer-modal {
    position: static;
    display: flex;
    min-height: 100vh;
    padding: 24px;
    opacity: 1;
    visibility: visible;
}

.popup-layer-modal .layer-modal__overlay {
    display: none;
}

.popup-layer-modal .layer-modal__content {
    position: relative;
    margin: auto;
}

.zip-popup {
    padding: 24px;
}

.zip-popup__card {
    max-width: 960px;
    margin: 0 auto;
    padding: 32px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.zip-popup__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.zip-popup__title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
}

.zip-popup__description {
    margin: 8px 0 0;
    color: #4b5563;
    line-height: 1.6;
}

.zip-popup__count {
    color: #1d4f88;
    font-weight: 700;
    white-space: nowrap;
}

.zip-popup .search {
    margin-bottom: 24px;
}

.zip-popup__table-header,
.zip-popup__table-row {
    grid-template-columns: 140px minmax(0, 1fr) 120px;
}

.zip-popup__address {
    text-align: left;
    word-break: keep-all;
}

.zip-popup__empty {
    padding: 28px 0;
    color: #6b7280;
}

.zip-popup__select-button {
    min-width: 80px;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #2f73b7;
    border-radius: 999px;
    background: #fff;
    color: #2f73b7;
    font-size: 0.9375rem;
    font-weight: 700;
    cursor: pointer;
}

.zip-popup__select-button:hover {
    background: #2f73b7;
    color: #fff;
}

.zip-popup__pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.zip-popup__pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    color: #374151;
    text-decoration: none;
}

.zip-popup__pagination a.active,
.zip-popup__pagination a:hover {
    border-color: #2f73b7;
    background: #2f73b7;
    color: #fff;
}

.gallery__grid-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery__grid > .gallery__grid-item:nth-child(1) { grid-area: a; }
.gallery__grid > .gallery__grid-item:nth-child(2) { grid-area: b; }
.gallery__grid > .gallery__grid-item:nth-child(3) { grid-area: c; }
.gallery__grid > .gallery__grid-item:nth-child(4) { grid-area: d; }
.gallery__grid > .gallery__grid-item:nth-child(5) { grid-area: e; }
.gallery__grid > .gallery__grid-item:nth-child(6) { grid-area: f; }
.gallery__grid > .gallery__grid-item:nth-child(7) { grid-area: g; }
.gallery__grid > .gallery__grid-item:nth-child(8) { grid-area: h; }
.gallery__grid > .gallery__grid-item:nth-child(9) { grid-area: i; }
.gallery__grid > .gallery__grid-item:nth-child(10) { grid-area: j; }

.board-empty .board__item {
    display: block;
}

.board__cell--full {
    width: 100%;
    padding: 48px 24px;
    text-align: center;
    color: #6b7280;
}

.qna .button--blue-border {
    margin-top: 24px;
    margin-left: auto;
}

.form-row.is-hidden {
    display: none;
}

.form-row-body.is-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.notice-detail {
    border-top: 1px solid #1c1c1c;
    border-bottom: 1px solid #ddd;
}

.notice-detail__header {
    padding: 30px 34px;
    border-bottom: 1px solid #ddd;
}

.notice-detail__title {
    margin: 0;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.35;
}

.notice-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 18px;
    color: #54555a;
    font-size: 0.875rem;
}

.notice-detail__content {
    padding: 34px;
    min-height: 260px;
    color: #54555a;
    font-size: clamp(0.95rem, 2vw, 1.0625rem);
    line-height: 1.9;
}

.notice-detail__content img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.qna__question-meta .board__status-chip,
.qna__question-meta .qna__visibility-chip {
    margin-left: 12px;
}

.qna__question-meta--sub {
    margin-top: 14px;
}

.qna__question-meta--sub span + span::before {
    content: "|";
    margin: 0 10px 0 8px;
    color: #aaa;
    font-size: 0.75rem;
    vertical-align: top;
}

.qna__visibility-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #bfbfbf;
    border-radius: 20px;
    color: #54555a;
    font-size: 0.875rem;
    font-weight: 600;
    background: #fff;
}

.qna__answer-detail--empty {
    color: #888;
}

.qna__form-button--between {
    justify-content: space-between;
    gap: 12px;
}

.qna__list-button--primary {
    background: #2f73b7;
    border-color: #2f73b7;
    color: #fff;
}

.qna__list-button--primary:hover {
    background: #255c92;
    border-color: #255c92;
    color: #fff;
}

.qna__view--compact {
    margin-bottom: 24px;
}

.qna-answer-form {
    margin-top: 0;
}

.utility-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 32px 120px;
}

.utility-page--narrow {
    max-width: 820px;
}

.utility-page__card {
    padding: 40px;
    border: 1px solid #ddd;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.utility-page__card--login {
    max-width: 620px;
    margin: 0 auto;
}

.utility-page__header {
    margin-bottom: 28px;
}

.utility-page__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: #1c1c1c;
}

.utility-page__desc {
    margin: 12px 0 0;
    color: #54555a;
    line-height: 1.7;
}

.utility-page__message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #eef5ff;
    color: #1d4f88;
    line-height: 1.6;
}

.utility-page__message.is-error {
    background: #fff1f2;
    color: #b42318;
}

.utility-page__message.is-success {
    background: #ecfdf3;
    color: #027a48;
}

.utility-form {
    display: grid;
    gap: 20px;
}

.utility-page__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: #54555a;
}

.utility-page__meta code {
    padding: 8px 12px;
    border-radius: 10px;
    background: #f6f6f6;
    color: #1c1c1c;
}

.utility-page__list {
    margin: 0;
    padding-left: 20px;
    color: #54555a;
    line-height: 1.8;
}

.utility-page__actions {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .popup-layer-modal,
    .zip-popup {
        padding: 16px;
    }

    .zip-popup__card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .zip-popup__header {
        flex-direction: column;
    }

    .zip-popup__table-header,
    .zip-popup__table-row {
        grid-template-columns: 100px minmax(0, 1fr) 92px;
    }

    .qna .button--blue-border {
        margin-left: 0;
    }

    .qna__question-meta .board__status-chip,
    .qna__question-meta .qna__visibility-chip {
        margin-top: 10px;
        margin-left: 0;
    }

    .qna__form-button--between {
        flex-direction: column;
        align-items: stretch;
    }

    .utility-page {
        padding: 40px 20px 80px;
    }

    .utility-page__card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .entry-inline-actions {
        justify-content: flex-start;
    }
}
