/* ===== Global ===== */
body {
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
}

/* ===== Navbar ===== */
.navbar {
    background: #343a40;
    padding: 12px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
}

.navbar h2 {
    margin: 0;
    font-size: 20px;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin-left: 15px;
}

/* ===== Container ===== */
.container {
    padding: 20px;
}

/* ===== Cards ===== */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

/* ===== Table ===== */
table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table th {
    background: #007bff;
    color: white;
    padding: 10px;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

/* ===== Buttons ===== */
button {
    padding: 6px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

/* ===== Select ===== */
select {
    padding: 5px;
    border-radius: 5px;
}

/* ===== Status Labels ===== */
.status-paid {
    color: #28a745;
    font-weight: bold;
}

.status-unpaid {
    color: #dc3545;
    font-weight: bold;
}

/* ===== Alerts ===== */
.alert {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

/* ===== Program Cards Grid ===== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

/* ===== Individual Card ===== */
.program-card {
    display: block;
    background: white;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #007bff;
    color: white;
}

/* ===== Text Styling ===== */
.program-title {
    font-size: 18px;
    font-weight: bold;
}

.program-name {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}