/* General container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* Title */
.page-title {
    text-align: center;
    color: #1d3557;
    font-size: 22px;
    margin-bottom: 20px;
}

/* Session Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}
.card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform .2s ease;
}
.card:hover {
    transform: translateY(-3px);
}
.card h3 {
    color: #1d3557;
    margin-bottom: 10px;
}
.card p {
    margin: 5px 0 15px;
    font-size: 14px;
    color: #555;
}
.btn-view {
    display: inline-block;
    background: #1d3557;
    color: #fff;
    padding: 8px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
}
.btn-view:hover {
    background: #457b9d;
}

/* Back Button */
.sub-title {
    margin-bottom: 12px;
    font-size: 16px;
}
.btn-back {
    margin-left: 10px;
    font-size: 13px;
    background: #e63946;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    text-decoration: none;
}
.btn-back:hover {
    background: #d62839;
}

/* Table styles (reuse from before) */
.table-container {
    overflow-x: auto;
    margin-top: 10px;
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.custom-table th {
    background: #1d3557;
    color: #fff;
    padding: 10px;
    font-size: 13px;
}
.custom-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}
.custom-table tr:hover {
    background: #f1f7ff;
}

/* Status + Badge */
.status.success {
    background: #06d6a0;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
}
.badge {
    background: #457b9d;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 20px;
}
.pagination a {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #1d3557;
    font-size: 14px;
}
.pagination a.active, 
.pagination a:hover {
    background: #1d3557;
    color: white;
    border-color: #1d3557;
}
