/* Reset & Base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #e6f0ff;
    margin: 0;
    padding: 0;
    color: #333;
}

.container {
    width: 90%;
    margin: 20px auto;
    padding: 10px;
}

/* Header */
header {
    background: #004080;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

.sub-title {
    font-size: 14px;
    margin-top: 5px;
    color: #cce0ff;
}

.header-right p {
    margin: 2px 0;
}
.btn-view{
    display:inline-block;
    margin-top:8px;
    background:#28a745;
    color:white;
    padding:6px 15px;
    border-radius:5px;
    text-decoration:none;
    font-weight:bold;
}

.btn-logout, .btn-back, .btn-apply {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.btn-logout {
    background: #ff3333;
    color: #fff;
}

.btn-back {
    background: #808080;
    color: #fff;
    margin-top: 10px;
}

/* Programmes Grid */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.programme-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    text-align: center;
}

.programme-card h3 {
    color: #004080;
}

.btn-apply {
    background: #008000;
    color: #fff;
    margin-top: 10px;
}

/* Apply Form */
.apply-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.apply-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.apply-form input, 
.apply-form select, 
.apply-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.apply-form button {
    margin-top: 15px;
}

.success-msg {
    color: green;
    font-weight: bold;
    margin-top: 10px;
}
.btn-view{
    display:inline-block;
    margin-top:8px;
    background:#28a745;
    color:white;
    padding:6px 15px;
    border-radius:5px;
    text-decoration:none;
    font-weight:bold;
}
.header-right .nav-link {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    font-weight: bold;
    padding: 6px 10px;
    border-radius: 4px;
}

.header-right .nav-link:hover {
    background: rgba(255,255,255,0.2);
}
/* Header right section */
.header-right{
    color: white;
    text-align: right;
}

/* Change Password button */
.change-pass{
    display: inline-block;
    margin-top: 8px;
    margin-right: 10px;
    padding: 6px 12px;
    background: #ff9800;   /* orange */
    color: #000 !important;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

.change-pass:hover{
    background: #ffc107;
    color: #000 !important;
}

/* Logout button */
.btn-logout{
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: #e53935;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}
