/* Container */
.notice-section {
    background-color: #f9f9f9;
   
}


/* Notice Container */
.notice-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.notice-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #1e3a8a;
}

/* Table Wrapper (for responsiveness) */
.table-wrapper {
    overflow-x: auto;
}

/* Table */
.notice-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notice-table th,
.notice-table td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 0.95rem;
    vertical-align: middle;
}

.notice-table th {
    background-color: #007bff;
    color: #fff;
    font-weight: 600;
}

.notice-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

/* Thumbnail images */
.thumb-wrapper {
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.notice-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease-in-out;
}

.notice-thumb:hover {
    transform: scale(1.1);
}

/* No image text */
.no-image {
    color: #999;
}

/* No notices message */
.no-notice {
    text-align: center;
    font-size: 1rem;
    color: #555;
    margin-top: 20px;
}

/* Image overlay */
#imageOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#imageOverlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.view-text {
    color: #2563eb;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.view-text:hover {
    color: #1e40af;
}