/* Dashboard Container Styles */
.mauk-student-dashboard,
.mauk-teacher-dashboard,
.mauk-coordinator-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.mauk-student-dashboard h2,
.mauk-teacher-dashboard h2,
.mauk-coordinator-dashboard h2 {
    color: #2c3338;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.mauk-student-dashboard h3,
.mauk-teacher-dashboard h3,
.mauk-coordinator-dashboard h3 {
    color: #0073aa;
    margin-top: 30px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #0073aa;
}

/* Dashboard Header */
.mauk-dashboard-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e4e7;
    padding-bottom: 15px;
}

.mauk-welcome {
    font-size: 20px !important;
    color: #2c3338;
    margin: 0;
    font-weight: 600;
}

/* Tab Navigation */
.mauk-tabs {
    display: flex;
    border-bottom: 2px solid #e2e4e7;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: #f8f9fa;
    padding: 0 10px;
    border-radius: 4px 4px 0 0;
}

.mauk-tab {
    padding: 12px 20px;
    text-decoration: none;
    color: #50575e;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid transparent;
    border-bottom: none;
    margin-bottom: -2px;
    background: transparent;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.2s ease;
    position: relative;
}

.mauk-tab:hover {
    background: #f0f0f1;
    color: #2271b1;
    border-color: #e2e4e7;
}

.mauk-tab.active {
    background: white;
    color: #2271b1;
    border-color: #e2e4e7;
    z-index: 1;
    border-bottom-color: white;
}

/* Tab Content */
.mauk-tab-content {
    background: white;
    padding: 25px;
    border: 1px solid #e2e4e7;
    border-top: none;
    border-radius: 0 4px 4px 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mauk-tab-title {
    font-size: 18px !important;
    color: #2c3338;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

/* Frontend table styling */
.mauk-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.mauk-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #e2e4e7;
    font-weight: 600;
    color: #2c3338;
}

.mauk-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e4e7;
}

.mauk-table tr:hover {
    background-color: #f8f9fa;
}

/* Table Headings - Smaller Font */
.mauk-table th {
    font-size: 13px !important;
    font-weight: 600;
    padding: 10px 12px !important;
}

.mauk-table td {
    font-size: 13px !important;
    padding: 10px 12px !important;
}

.mauk-table th small {
    font-size: 11px !important;
    font-weight: normal;
}

/* Summary Table Styling */
.mauk-table th small {
    font-weight: normal;
    color: #666;
    font-size: 11px;
    display: block;
    margin-top: 2px;
}

.mauk-table td {
    vertical-align: middle;
}

/* Summary table specific styling */
.mauk-table thead th {
    text-align: center;
    vertical-align: bottom;
}

.mauk-table tbody td:first-child {
    text-align: left;
    font-weight: bold;
}

.mauk-table tbody td:not(:first-child) {
    text-align: center;
}

.mauk-table tbody td:last-child {
    text-align: right;
}

/* Drilldown link styling */
.mauk-table td a.drilldown-link {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.mauk-table td a.drilldown-link:hover {
    text-decoration: underline;
    color: #005a87;
}