/* =========================================================
   THONG BAO LIST - EduPortalPremium
   ========================================================= */

.notice-list-widget {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(22, 60, 116, 0.08);
    overflow: hidden;
    border: 1px solid #e8eef8;
    margin-bottom: 24px;
}

.notice-list-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #163C74 0%, #1e52a4 100%);
}

.notice-list-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 8px;
}
.notice-list-title i {
    color: #ffd166;
    font-size: 1.15rem;
}

.notice-table-wrapper {
    padding: 10px 20px 20px;
}

.notice-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.notice-table thead th {
    font-size: 0.8rem;
    font-weight: 700;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border: none;
    padding: 12px 16px;
    border-bottom: 2px solid #e8eef8;
    vertical-align: middle;
}

.notice-table tbody tr {
    background: #fff;
    transition: all 0.2s ease;
    border-radius: 8px;
}

.notice-table tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    border: 1px solid transparent;
    border-top: 1px solid #f4f7ff;
    border-bottom: 1px solid #f4f7ff;
}

.notice-table tbody tr:hover {
    background: #f8faff;
    box-shadow: 0 4px 12px rgba(22, 60, 116, 0.05);
    transform: translateY(-1px);
}

.notice-table tbody tr:hover td {
    border-top-color: #d5e0f5;
    border-bottom-color: #d5e0f5;
}
.notice-table tbody tr:hover td:first-child {
    border-left: 1px solid #d5e0f5;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.notice-table tbody tr:hover td:last-child {
    border-right: 1px solid #d5e0f5;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Columns */
.col-stt {
    width: 60px;
    color: #8fa3cc;
    font-weight: 700;
}

.col-type {
    width: 150px;
}
.notice-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.badge-highlight {
    background: #fff0f0;
    color: #d92525;
    border: 1px solid #ffdcdc;
}
.badge-info {
    background: #f0f5ff;
    color: #2563c7;
    border: 1px solid #dce8ff;
}

.col-content {
    /* auto width */
}
.notice-link {
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e3a6e;
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.15s;
}
.notice-link:hover {
    color: #2563c7;
}

.col-date {
    width: 140px;
}
.date-text {
    font-size: 0.8rem;
    color: #667085;
    display: flex;
    align-items: center;
    gap: 6px;
}
.date-text i {
    color: #8fa3cc;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px !important;
}
.empty-state i {
    font-size: 2.5rem;
    color: #d0daf0;
    display: block;
    margin-bottom: 12px;
}
.empty-state p {
    color: #8fa3cc;
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .notice-table thead {
        display: none;
    }
    .notice-table tbody tr {
        display: block;
        margin-bottom: 12px;
        border: 1px solid #e8eef8;
        border-radius: 8px;
        padding: 12px;
    }
    .notice-table tbody td {
        display: block;
        padding: 6px 0;
        border: none !important;
    }
    .col-stt {
        display: none !important;
    }
    .col-type {
        width: 100%;
        margin-bottom: 8px;
    }
    .col-date {
        width: 100%;
        margin-top: 8px;
    }
}
