body {
    font-family: Arial, sans-serif; 
    margin:0; 

    background:#f0f0f0;
}

h2 {
    text-align: center;
    font-size: 28px;
    color: #0056a6;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

.course-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.25s ease;
    border-left: 5px solid #0b67da;
    position: relative;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.stt-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #0b67da;
    padding: 6px 12px;
    color: #fff;
    font-size: 13px;
    border-radius: 50px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.course-title {
    font-size: 18px;
    font-weight: bold;
    color: #003f7f;
    margin-bottom: 10px;
}

.course-summary {
    font-size: 14px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.4;
    max-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.course-info {
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

.status-open {
    background: #d4f7d4;
    color: #0f7a0f;
}

.status-close {
    background: #ffe1e1;
    color: #b30000;
}
.page-wrapper {
    margin-top:2%;
    padding-bottom: 80px;
}

/* Phần phân trang */
.pagination {
    margin-top: 50px;
    margin-bottom: 40px;
    text-align: center;
}

.pagination a {
    padding: 8px 14px;
    background: #f1f1f1;
    margin: 0 4px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.2s;
}

.pagination a:hover {
    background: #007bff;
    color: #fff;
}

.pagination .active {
    background: #007bff;
    color: #fff;
}