/* ═══════════════════════════════════════
           PAGE HERO
        ═══════════════════════════════════════ */
.page-hero {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 0 3rem;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.055) 1px,
        transparent 1px
    );
    background-size: 40px 40px;
}

.hero-slash {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 38%;
    background: linear-gradient(140deg, var(--navy-mid), var(--navy-dark));
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-slash::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 70% 40%,
        rgba(243, 117, 42, 0.15) 0%,
        transparent 65%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.2rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.breadcrumb .sep {
    opacity: 0.4;
}

.breadcrumb .cur {
    color: var(--orange);
}

.hero-label {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.hero-label::before {
    content: "";
    display: block;
    width: 28px;
    height: 2px;
    background: var(--orange);
}

.hero-h1 {
    font-family: var(--font-d);
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.8rem;
}

.hero-h1 em {
    font-style: italic;
    color: var(--orange-lt);
}

.hero-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    max-width: 560px;
    font-weight: 300;
}

/* ═══════════════════════════════════════
           NOTICE TABS
        ═══════════════════════════════════════ */
.notice-tabs-bar {
    background: #fff;
    border-bottom: 2px solid var(--gray-200);
    position: sticky;
    top: 83px;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(26, 23, 78, 0.06);
}

.notice-tabs-inner {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.notice-tabs-inner::-webkit-scrollbar {
    display: none;
}

.ntab {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-600);
    white-space: nowrap;
    padding: 0.95rem 1.5rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    cursor: pointer;
    transition:
        color 0.2s,
        border-color 0.2s,
        background 0.2s;
}

.ntab:hover {
    color: var(--navy);
    background: var(--gray-50);
}

.ntab.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
    background: #fff;
}

.ntab .ntab-icon {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}

.ntab .ntab-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.ntab-sdcmu .ntab-icon {
    background: rgba(26, 23, 78, 0.08);
    color: var(--navy);
}

.ntab-piu .ntab-icon {
    background: rgba(26, 74, 122, 0.1);
    color: var(--blue);
}

.ntab-tender .ntab-icon {
    background: rgba(243, 117, 42, 0.1);
    color: var(--orange);
}

.ntab-recruit .ntab-icon {
    background: rgba(26, 122, 74, 0.1);
    color: var(--green);
}

.ntab.active.ntab-sdcmu {
    color: var(--navy);
}

.ntab.active.ntab-piu {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.ntab.active.ntab-tender {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.ntab.active.ntab-recruit {
    color: var(--green);
    border-bottom-color: var(--green);
}

.ntab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 0.35rem;
    background: var(--gray-100);
    color: var(--gray-600);
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 700;
    transition:
        background 0.2s,
        color 0.2s;
}

.ntab.active .ntab-count {
    background: currentColor;
    color: #fff;
}

/* ═══════════════════════════════════════
           NOTICE MAIN LAYOUT
        ═══════════════════════════════════════ */
.notice-main {
    padding: 2.5rem 0 5rem;
}

.notice-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

/* ═══════════════════════════════════════
           CONTROLS BAR
        ═══════════════════════════════════════ */
.controls-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}

.search-wrap svg {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 1.8;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.62rem 1rem 0.62rem 2.4rem;
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    font-family: var(--font-b);
    font-size: 0.82rem;
    color: var(--navy);
    background: var(--gray-50);
    outline: none;
    transition:
        border-color 0.2s,
        background 0.2s;
}

.search-input:focus {
    border-color: var(--orange);
    background: #fff;
}

.search-input::placeholder {
    color: var(--gray-400);
}

.year-select {
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    font-family: var(--font-b);
    font-size: 0.82rem;
    color: var(--navy);
    background: var(--gray-50);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.year-select:focus {
    border-color: var(--orange);
}

.result-count {
    font-size: 0.75rem;
    color: var(--gray-400);
    white-space: nowrap;
}

.result-count strong {
    color: var(--navy);
}

/* ═══════════════════════════════════════
           NOTICE LIST
        ═══════════════════════════════════════ */
.notice-panel {
    display: none;
}

.notice-panel.active {
    display: block;
}

.notice-list {
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    overflow: hidden;
}

.notice-row {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.1rem 1.4rem;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    background: #fff;
    transition:
        background 0.15s,
        padding-left 0.15s;
    position: relative;
}

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

.notice-row:hover {
    background: var(--gray-50);
    padding-left: 1.8rem;
}

.notice-row.unread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange);
}

/* Serial number */
.notice-serial {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--gray-400);
    flex-shrink: 0;
    min-width: 32px;
    padding-top: 0.15rem;
    text-align: right;
}

/* Status icon */
.notice-status-icon {
    width: 36px;
    height: 36px;
    border-radius: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.05rem;
}

.notice-status-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.6;
    stroke: #fff;
    fill: none;
}

.status-sdcmu {
    background: var(--navy);
}

.status-piu {
    background: var(--blue);
}

.status-tender {
    background: var(--orange);
}

.status-recruit {
    background: var(--green);
}

/* Content */
.notice-content {
    flex: 1;
    min-width: 0;
}

.notice-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.notice-category-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 2px;
}

.tag-sdcmu {
    background: rgba(26, 23, 78, 0.08);
    color: var(--navy);
}

.tag-piu {
    background: var(--blue-lt);
    color: var(--blue);
}

.tag-tender {
    background: rgba(243, 117, 42, 0.1);
    color: var(--orange-dk);
}

.tag-recruit {
    background: var(--green-lt);
    color: var(--green);
}

.notice-date-tag {
    font-size: 0.68rem;
    color: var(--gray-400);
    letter-spacing: 0.04em;
}

.notice-new-badge {
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--orange);
    color: #fff;
    padding: 0.12rem 0.4rem;
    border-radius: 2px;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.notice-title-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.45;
    margin-bottom: 0.35rem;
}

.notice-row:hover .notice-title-text {
    color: var(--orange);
}

.notice-preview {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right side of row */
.notice-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    flex-shrink: 0;
}

.notice-attach-count {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: var(--gray-400);
}

.notice-attach-count svg {
    width: 12px;
    height: 12px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 1.8;
}

.notice-chevron {
    color: var(--gray-400);
    font-size: 0.8rem;
    transition:
        transform 0.2s,
        color 0.2s;
}

.notice-row:hover .notice-chevron {
    transform: translateX(3px);
    color: var(--orange);
}

/* Empty state */
.empty-notice {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--gray-400);
}

.empty-notice svg {
    width: 44px;
    height: 44px;
    stroke: var(--gray-200);
    fill: none;
    margin: 0 auto 1rem;
    display: block;
}

.empty-notice p {
    font-size: 0.9rem;
}

/* ═══════════════════════════════════════
           SIDEBAR
        ═══════════════════════════════════════ */
.sidebar {
    position: sticky;
    top: 140px;
}

.sidebar-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 3px solid var(--orange);
    padding: 1.4rem 1.3rem;
    margin-bottom: 1.2rem;
}

.sidebar-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1rem;
}

/* Stats */
.stat-rows {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0.8rem;
    background: var(--gray-50);
    border-radius: 2px;
}

.stat-row-label {
    font-size: 0.76rem;
    color: var(--navy);
    font-weight: 500;
}

.stat-row-num {
    font-family: var(--font-d);
    font-size: 1.1rem;
    color: var(--orange);
}

/* Archives */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.7rem;
    border-radius: 2px;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--navy);
    transition:
        background 0.15s,
        color 0.15s;
}

.archive-item:hover {
    background: var(--cream);
    color: var(--orange);
}

.archive-item.active {
    background: var(--navy);
    color: #fff;
    border-radius: 2px;
}

.archive-count {
    font-size: 0.68rem;
    opacity: 0.6;
}

/* Info box */
.info-box {
    background: var(--navy);
    padding: 1.2rem 1.3rem;
}

.info-box .sidebar-title {
    color: var(--orange-lt);
}

.info-box p {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.65;
    margin-bottom: 0.8rem;
}

.info-box a {
    font-size: 0.75rem;
    color: var(--orange);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.info-box a:hover {
    color: var(--orange-lt);
}

/* ═══════════════════════════════════════
           MODAL OVERLAY
        ═══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 14, 58, 0.72);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s,
        visibility 0.25s;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    width: 100%;
    max-width: 780px;
    border-top: 4px solid var(--orange);
    box-shadow: 0 24px 80px rgba(17, 14, 58, 0.35);
    transform: translateY(24px);
    transition: transform 0.3s ease;
    position: relative;
    margin: auto;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

/* Modal header */
.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.8rem 2rem 1.4rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.modal-header-left {
    flex: 1;
    min-width: 0;
}

.modal-cat-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
}

.modal-cat-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
}

.modal-date-text {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.modal-ref {
    font-size: 0.72rem;
    color: var(--gray-400);
}

.modal-title {
    font-family: var(--font-d);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--navy);
    letter-spacing: -0.01em;
}

/* Close button */
.modal-close {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--gray-100);
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.2s,
        color 0.2s;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
}

.modal-close:hover {
    background: var(--navy);
    color: #fff;
}

/* Modal meta strip */
.modal-meta-strip {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0.9rem 2rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.modal-meta-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.modal-meta-item svg {
    width: 13px;
    height: 13px;
    stroke: var(--gray-400);
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
}

.modal-meta-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.modal-meta-value {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy);
}

/* Modal body */
.modal-body {
    padding: 1.8rem 2rem;
}

.modal-section-title {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.modal-notice-text {
    font-size: 0.9rem;
    color: var(--navy);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 1.8rem;
}

.modal-notice-text p {
    margin-bottom: 0.85rem;
}

.modal-notice-text p:last-child {
    margin-bottom: 0;
}

.modal-notice-text strong {
    font-weight: 600;
}

/* Attachments */
.attachments-section {
    border-top: 1px solid var(--gray-200);
    padding-top: 1.5rem;
}

.attachments-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.attachment-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1.1rem;
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    background: var(--gray-50);
    transition:
        border-color 0.2s,
        background 0.2s;
}

.attachment-row:hover {
    border-color: var(--orange);
    background: #fff;
}

.attach-icon {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.attach-pdf {
    background: #fdecea;
    color: var(--red);
    border: 1px solid rgba(192, 57, 43, 0.2);
}

.attach-doc {
    background: #e8f0f8;
    color: var(--blue);
    border: 1px solid rgba(26, 78, 122, 0.2);
}

.attach-xls {
    background: var(--green-lt);
    color: var(--green);
    border: 1px solid rgba(26, 122, 74, 0.2);
}

.attach-img {
    background: rgba(243, 117, 42, 0.08);
    color: var(--orange-dk);
    border: 1px solid rgba(243, 117, 42, 0.2);
}

.attach-zip {
    background: rgba(26, 23, 78, 0.07);
    color: var(--navy);
    border: 1px solid rgba(26, 23, 78, 0.12);
}

.attach-info {
    flex: 1;
    min-width: 0;
}

.attach-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attach-meta {
    font-size: 0.7rem;
    color: var(--gray-400);
    margin-top: 0.1rem;
}

.attach-download {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--navy);
    color: #fff;
    padding: 0.48rem 0.9rem;
    border-radius: 3px;
    border: none;
    font-family: var(--font-b);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s;
}

.attach-download:hover {
    background: var(--orange);
}

.attach-download svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.2;
}

/* Modal footer */
.modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 1.1rem 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-footer-nav {
    display: flex;
    gap: 0.6rem;
}

.modal-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    padding: 0.48rem 0.9rem;
    border-radius: 3px;
    font-family: var(--font-b);
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-nav-btn:hover:not(:disabled) {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.modal-nav-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.modal-nav-btn svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.modal-print-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: 1px solid var(--gray-200);
    padding: 0.48rem 0.9rem;
    border-radius: 3px;
    font-family: var(--font-b);
    font-size: 0.74rem;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-print-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.modal-print-btn svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

/* ═══════════════════════════════════════
           FOOTER
        ═══════════════════════════════════════ */
footer {
    background: var(--navy-dark);
    color: #fff;
    border-top: 4px solid var(--orange);
}

.foot-top {
    padding: 3.8rem 0;
    display: grid;
    grid-template-columns: 3fr 2fr 2fr 2fr;
    gap: 3rem;
}

.foot-logo img {
    height: 54px;
    width: auto;
    mix-blend-mode: screen;
    display: block;
    margin-bottom: 0.9rem;
}

.foot-logo p {
    font-size: 0.79rem;
    color: var(--gray-400);
    line-height: 1.75;
}

.fcol h4 {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 1.2rem;
}

.fcol ul {
    list-style: none;
}

.fcol li {
    margin-bottom: 0.45rem;
}

.fcol a {
    font-size: 0.81rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.fcol a:hover {
    color: var(--orange);
}

.foot-bot {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.foot-bot p {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.foot-legal {
    display: flex;
    gap: 1.4rem;
}

.foot-legal a {
    font-size: 0.7rem;
    color: var(--gray-400);
    text-decoration: none;
}

.foot-legal a:hover {
    color: var(--orange);
}

/* ═══════════════════════════════════════
           ANIMATIONS
        ═══════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fu {
    opacity: 0;
    animation: fadeUp 0.55s ease forwards;
}

.d1 {
    animation-delay: 0.1s;
}

.d2 {
    animation-delay: 0.22s;
}

.d3 {
    animation-delay: 0.34s;
}

/* ═══════════════════════════════════════
           RESPONSIVE
        ═══════════════════════════════════════ */
@media (max-width: 900px) {
    .notice-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 600px) {
    .modal-header {
        padding: 1.3rem 1.2rem 1rem;
    }

    .modal-meta-strip {
        padding: 0.75rem 1.2rem;
        gap: 1rem;
    }

    .modal-body {
        padding: 1.3rem 1.2rem;
    }

    .modal-footer {
        padding: 0.9rem 1.2rem;
    }

    .attach-download span {
        display: none;
    }

    .foot-top {
        grid-template-columns: 1fr;
    }

    .notice-row {
        gap: 0.8rem;
    }

    .notice-serial {
        display: none;
    }
}

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

::-webkit-scrollbar-track {
    background: var(--cream);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--navy);
}
