/* Source: WEB-INF/jsp/cop/bbs/EgovNoticeList.jsp style block 1. */
.nav ul li:nth-child(3) {
    margin-left: 18px;
    margin-right: 18px !important;
}
.nav ul li:nth-child(4) {
    margin-left: 18px !important;
}
.nav ul li::after {
    left: 91px !important;
}
.nav ul li:nth-child(2):after {
    left: 108px !important;
}
.nav ul li:nth-child(3):after {
    display: block !important;
    left: 57px !important;
}
.nav ul li:last-child::after {
    display: none;
}
.lnk {
    width: 100% !important;
    height: 100vh !important;
}
.notice-search-condition {
    text-align: right;
}
.notice-list-search-keyword {
    border: 1px solid #c9c9c9;
    border-radius: 8px;
}
.notice-create-button {
    background: #b45309;
}
body.board-list-page.procurement-list-page .notice-create-button {
    background: #1d4ed8;
}
body.board-list-page.general-product-list-page .notice-create-button {
    background: #b45309;
}
body.board-list-page.member-product-list-page .notice-create-button {
    background: #15803d;
}
.product-board-results .search-result-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.product-board-results .search-result-count p {
    margin: 0;
}
.notice-accent-text {
    color: #b45309;
}
body.board-list-page.procurement-list-page .notice-accent-text {
    color: #1d4ed8;
}
body.board-list-page.general-product-list-page .notice-accent-text {
    color: #b45309;
}
body.board-list-page.member-product-list-page .notice-accent-text {
    color: #15803d;
}
.notice-empty-state {
    padding: 20px;
    color: gray;
    font-size: 18px;
    text-align: center;
}
.notice-pagination-list {
    display: flex;
}
.info-action-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    flex-wrap: wrap;
}
.ai-analysis-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: auto;
    height: 36px;
    padding: 0 12px;
    border: 1px solid #d7e3f3;
    border-radius: 999px;
    background: #f7fbff;
    color: #0c4da2;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.ai-analysis-trigger:hover {
    background: #f7fbff;
    border-color: #d7e3f3;
    color: #0c4da2;
    box-shadow: none;
    transform: none;
}
.ai-analysis-popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.48);
    z-index: 1200;
}
.ai-analysis-popup {
    width: min(720px, 100%);
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
}
.ai-analysis-popup-header,
.ai-analysis-popup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 1px solid #e5edf7;
}
.ai-analysis-popup-footer {
    justify-content: flex-end;
    border-top: 1px solid #e5edf7;
    border-bottom: 0;
}
.ai-analysis-popup-title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #102a43;
}
.ai-analysis-popup-close {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}
.ai-analysis-popup-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 18px 24px 0;
}
.ai-analysis-meta-item {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fbff;
    border: 1px solid #e4edf8;
}
.ai-analysis-meta-label {
    display: block;
    margin-bottom: 6px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}
.ai-analysis-meta-value {
    display: block;
    color: #102a43;
    font-size: 14px;
    font-weight: 700;
    word-break: break-word;
}
.ai-analysis-popup-content {
    padding: 18px 24px 24px;
    overflow-y: auto;
}
.ai-analysis-state {
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fd 100%);
    color: #1e3a5f;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    line-height: 1.7;
}
.ai-analysis-loading-wrap {
    width: min(100%, 420px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}
.ai-analysis-loader-visual {
    position: relative;
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-analysis-loader-ring,
.ai-analysis-loader-ring::before,
.ai-analysis-loader-ring::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    content: "";
}
.ai-analysis-loader-ring {
    border: 3px solid rgba(12, 77, 162, 0.14);
}
.ai-analysis-loader-ring::before {
    inset: 6px;
    border: 3px solid transparent;
    border-top-color: #0c4da2;
    border-right-color: #6aa6ff;
    animation: aiAnalysisSpin 1.1s linear infinite;
}
.ai-analysis-loader-ring::after {
    inset: 17px;
    background: radial-gradient(circle, #dcebff 0%, #f8fbff 70%);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.8);
    animation: aiAnalysisPulse 1.6s ease-in-out infinite;
}
.ai-analysis-loader-title {
    color: #102a43;
    font-size: 18px;
    font-weight: 800;
}
.ai-analysis-loader-caption {
    min-height: 48px;
    color: #4b647f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
    transition: opacity 0.2s ease;
}
.ai-analysis-loader-dots {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ai-analysis-loader-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0c4da2;
    opacity: 0.22;
    animation: aiAnalysisDotBounce 1.1s ease-in-out infinite;
}
.ai-analysis-loader-dots span:nth-child(2) {
    animation-delay: 0.16s;
}
.ai-analysis-loader-dots span:nth-child(3) {
    animation-delay: 0.32s;
}
.ai-analysis-loader-progress {
    position: relative;
    width: 100%;
    height: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(12, 77, 162, 0.08);
}
.ai-analysis-loader-progress span {
    position: absolute;
    inset: 0 auto 0 -35%;
    width: 35%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(12, 77, 162, 0) 0%, rgba(12, 77, 162, 0.32) 35%, #0c4da2 100%);
    animation: aiAnalysisShimmer 1.5s ease-in-out infinite;
}
.ai-analysis-state.error {
    background: #fff7f7;
    color: #a61b1b;
}
.ai-analysis-result {
    min-height: 220px;
    margin: 0;
    padding: 22px 24px;
    border-radius: 16px;
    background: #f8fbff;
    border: 1px solid #e4edf8;
    color: #102a43;
    font-size: 15px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}
.ai-analysis-disclaimer,
.ai-analysis-sources {
    margin-top: 10px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
}
.ai-analysis-popup-footer button {
    min-width: 92px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #0c4da2;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.ai-analysis-popup-footer .ai-analysis-reset-button {
    min-width: 150px;
    background: #475569;
}
.product-board-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
    margin-top: 20px;
}
.product-board-body.has-category-filter {
    grid-template-columns: 220px minmax(0, 1fr);
}
.category-filter-panel {
    position: sticky;
    top: 18px;
    padding: 14px 12px;
    border: 1px solid #d7dce5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}
.category-filter-reset {
    width: 100%;
    min-height: 32px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #0c4da2;
    border-radius: 999px;
    background: #f7fbff;
    color: #0c4da2;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.category-filter-reset-icon {
    position: relative;
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
}
.category-filter-reset-icon::after {
    position: absolute;
    top: -4px;
    right: -2px;
    width: 5px;
    height: 5px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    transform: rotate(24deg);
}
.category-filter-title {
    margin-bottom: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
}
.category-filter-options {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.category-filter-option {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #333;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    cursor: pointer;
}
.category-filter-option input {
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: #0c4da2;
}
.product-board-results {
    min-width: 0;
}
@media (max-width: 900px) {
    .product-board-body.has-category-filter {
        grid-template-columns: 1fr;
    }
    .category-filter-panel {
        position: static;
    }
    .category-filter-options {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 560px) {
    .category-filter-options {
        grid-template-columns: 1fr;
    }
}
.ai-analysis-popup-footer button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}
@keyframes aiAnalysisSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes aiAnalysisPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.88;
    }
    50% {
        transform: scale(1.04);
        opacity: 1;
    }
}
@keyframes aiAnalysisDotBounce {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.22;
    }
    40% {
        transform: translateY(-6px);
        opacity: 1;
    }
}
@keyframes aiAnalysisShimmer {
    0% {
        left: -35%;
    }
    100% {
        left: 100%;
    }
}
