/* Result Checker Public Styles */

.wrc-student-dashboard,
.wrc-parent-dashboard,
.wrc-teacher-dashboard {
    max-width: 1000px;
    margin: 20px auto;
    padding: 20px;
}

.wrc-dashboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.wrc-dashboard-header h1 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.wrc-dashboard-header p {
    margin: 0;
    opacity: 0.9;
}

.wrc-student-info,
.wrc-child-info {
    font-size: 14px;
    line-height: 1.6;
}

.wrc-notice {
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    color: #856404;
}

.wrc-results-container {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow-x: auto;
}

.wrc-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.wrc-results-table thead {
    background-color: #f5f5f5;
}

.wrc-results-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #ddd;
    color: #333;
}

.wrc-results-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.wrc-results-table tbody tr:hover {
    background-color: #f9f9f9;
}

.wrc-grade {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    min-width: 30px;
}

.wrc-grade-a {
    background-color: #28a745;
    color: white;
}

.wrc-grade-b {
    background-color: #20c997;
    color: white;
}

.wrc-grade-c {
    background-color: #ffc107;
    color: #333;
}

.wrc-grade-d {
    background-color: #fd7e14;
    color: white;
}

.wrc-grade-f {
    background-color: #dc3545;
    color: white;
}

.wrc-children-container {
    display: grid;
    gap: 30px;
}

.wrc-child-section {
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
}

.wrc-child-section h2 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.wrc-dashboard-footer {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wrc-student-dashboard,
    .wrc-parent-dashboard,
    .wrc-teacher-dashboard {
        padding: 10px;
    }

    .wrc-dashboard-header {
        padding: 20px;
    }

    .wrc-dashboard-header h1 {
        font-size: 22px;
    }

    .wrc-results-table th,
    .wrc-results-table td {
        padding: 8px;
        font-size: 12px;
    }

    .wrc-results-container {
        overflow-x: auto;
    }
}
