body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
    color: #333;
}

header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

/* Dashboard Styles */
.dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    color: #555;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

.stat-link {
    display: inline-block;
    padding: 8px 15px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
}

.stat-link:hover {
    background: #45a049;
}

.recent-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.recent-card {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recent-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
}

.recent-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.recent-table th {
    background: #f2f2f2;
    padding: 10px;
    text-align: left;
    font-size: 0.9rem;
}

.recent-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.view-all {
    display: block;
    text-align: right;
    color: #4CAF50;
    text-decoration: none;
    font-size: 0.9rem;
}

.view-all:hover {
    text-decoration: underline;
}

.action-link {
    color: #4CAF50;
    text-decoration: none;
    margin-right: 10px;
    font-size: 0.9rem;
}

.action-link:hover {
    text-decoration: underline;
}

.quick-actions {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-actions h3 {
    margin-top: 0;
    color: #555;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.action-button {
    flex: 1;
    min-width: 200px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.action-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.action-button i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.action-button span {
    font-size: 1.1rem;
}

/* Font Awesome icons (add this if not already included) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');
.report-card {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.student-info {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
}

.grades-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.grades-table th, .grades-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.grades-table th {
    background-color: #f2f2f2;
}

.grading-scale table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
}

.grading-scale td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    width: 20%;
}

.key {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.comments p {
    padding: 10px;
    background-color: #f0f0f0;
    border-left: 4px solid #333;
}

.next-term {
    text-align: right;
    margin-top: 20px;
    font-weight: bold;
}

/* Tabs */
.tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.tab-button {
    padding: 10px 20px;
    background: #f1f1f1;
    border: none;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.tab-button.active {
    background: #333;
    color: white;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.tab-content.active {
    display: block;
}

/* Data tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th, .data-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.data-table th {
    background-color: #f2f2f2;
}

.data-table a {
    margin-right: 10px;
    color: #333;
    text-decoration: none;
}

.data-table a:hover {
    text-decoration: underline;
}

/* Forms */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-group textarea {
    min-height: 100px;
}

button {
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #555;
}

/* Messages */
.success {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error {
    background-color: #f2dede;
    color: #a94442;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}


@media print {
    body {
        padding: 0;
    }
    
    .no-print {
        display: none;
    }
    
    .report-card {
        border: none;
        box-shadow: none;
    }
}