body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f6f6f6;
}
.sidebar {
    width: 220px;
    background: #263047;
    color: #fff;
    height: 100vh;
    position: fixed;
    left: 0; top: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    padding-top: 40px;
}
.sidebar h2 {
    font-size: 1.4rem;
    margin: 0 0 2rem 0;
    text-align: center;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
    padding: 16px 32px;
    display: block;
    font-size: 1.1rem;
    transition: background 0.2s;
}
.sidebar a:hover {
    background: #33406a;
}
.main-content {
    margin-left: 0;
    padding: 30px 20px 60px 20px;
    min-height: 100vh;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.details-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.11);
    padding: 32px 30px 24px 30px;
}
.form-flex {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-row {
    display: flex;
    align-items: center;
    gap: 14px;
}
.form-row label {
    width: 140px;
    font-weight: bold;
}
.form-row input[type="text"],
.form-row input[type="password"],
.form-row input[type="email"] {
    flex: 1;
    padding: 6px 10px;
    border: 1px solid #bbb;
    border-radius: 4px;
}
.form-row input[type="submit"],
.form-row button {
    padding: 6px 18px;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: #f4f4f4;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 6px;
    transition: background 0.2s;
}
.form-row input[type="submit"]:hover,
.form-row button:hover {
    background: #e0e0e0;
}
.scholarship-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.scholarship-table th, .scholarship-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.scholarship-table th {
    background: #263047;
    color: #fff;
    font-weight: bold;
}
@media (max-width: 800px) {
    .sidebar { width: 100px; }
    .main-content { margin-left: 100px; }
    .sidebar a { font-size: 0.95rem; padding: 12px 12px; }
    .details-container { max-width: 95vw; padding: 10px; }
    .form-row label { width: 90px; }
}
.main-header {
    width: 100vw;
    background: #232b3a;
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    padding: 20px 0 15px 0;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

body {
    padding-top: 70px; /* Add this so your content is not hidden behind the fixed header */
}

/* Dashboard card grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
    align-items: stretch;
}
.card {
    display: block;
    background: #ffffff;
    border-radius: 8px;
    padding: 18px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 6px 20px rgba(37,44,81,0.06);
    transition: transform 0.14s ease, box-shadow 0.14s ease;
    border: 1px solid rgba(34,34,34,0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 30px rgba(37,44,81,0.09); }
.card-title { font-weight:700; font-size:1.05rem; margin-bottom:6px; color:#2b2b2b; }
.card-body { font-size:0.94rem; color:#555; }

.card-icon { font-size: 1.5rem; margin-bottom: 8px; height:48px; display:flex; align-items:center; }

/* Ensure SVG icons render at a consistent size inside cards */
.card-icon img { width:40px; height:40px; display:block; object-fit:contain; }

/* Secondary button used for subtle actions like 'Return to Menu' */
.btn-secondary { background: #f4f4f4; color: #222; border: 1px solid #ddd; padding: 6px 12px; border-radius:4px; text-decoration:none; display:inline-block; }
.btn-secondary:hover { background: #e9e9e9; }

/* Report card: style Return to Menu button placed inside the card */
.report-actions-bottom { text-align: left; }
.report-actions-bottom button { display: inline-block; min-width: 148px; text-align: center; padding: 10px 0; background: #f4f4f4; color: #222; border: 1px solid #ddd; border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background .2s; }
.report-actions-bottom button:hover { background: #e9e9e9; }

/* Ensure the Return to Menu button inside report cards is left-justified and uses grey styling */
.details-container .report-actions-bottom > button {
    display: inline-block !important;
    min-width: 148px !important;
    padding: 10px 0 !important;
    background: #f4f4f4 !important;
    color: #222 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 1rem !important;
    text-align: center !important;
}
.details-container .report-actions-bottom > button:hover { background: #e9e9e9 !important; }

@media (max-width: 600px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .main-header { position: static; }
}