<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/**
 * User Dashboard Styles
 */

.nammashale-user-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h2 {
    font-size: 28px;
    color: #333;
    margin: 0 0 10px 0;
}
/* Add these improved profile editing styles */
.profile-edit-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 20px;
}

.profile-edit-heading {
    border-bottom: 2px solid #f0f0f0;
    color: #333;
    font-size: 18px;
    margin: 0 0 15px;
    padding-bottom: 10px;
}

.profile-edit-form .form-row {
    margin-bottom: 15px;
}

.profile-edit-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}

.profile-edit-form input[type="text"],
.profile-edit-form input[type="email"],
.profile-edit-form input[type="tel"],
.profile-edit-form select {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    padding: 8px 12px;
    width: 100%;
}

.profile-edit-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.profile-edit-cancel {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 16px;
    text-decoration: none;
}

.profile-edit-save {
    background-color: #2196F3;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    padding: 8px 16px;
}

.profile-edit-save:hover {
    background-color: #0d8bf2;
}

/* Toggle edit mode animations */
.profile-info.editing {
    display: none;
}

.profile-edit-container {
    display: none;
    animation: fadeIn 0.3s;
}

.profile-edit-container.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Improved message styling */
.profile-update-message {
    background-color: #d4edda;
    border-radius: 4px;
    color: #155724;
    margin-bottom: 20px;
    padding: 10px 15px;
}

.profile-update-message.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Privacy toggle styling */
.privacy-toggle {
    align-items: center;
    display: flex;
    margin-top: 5px;
}

.privacy-toggle input {
    margin-right: 6px;
}

.privacy-toggle label {
    font-size: 13px;
    font-weight: normal;
    margin: 0;
}
/* Stats Boxes */
.dashboard-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    flex: 1;
    min-width: 200px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.stat-box h3 {
    font-size: 16px;
    color: #666;
    margin-top: 0;
    margin-bottom: 10px;
}

.stat-box .count {
    font-size: 32px;
    font-weight: 700;
    color: #3498db;
}

/* Next Quiz Container */
.next-quiz-container {
    margin-bottom: 30px;
}

.next-quiz-container h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.next-quiz-card {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quiz-thumbnail {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    background-color: #f5f5f5;
}

.quiz-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quiz-details {
    padding: 20px;
    flex-grow: 1;
}

.quiz-details h4 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.quiz-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.start-quiz-button, 
.retry-quiz-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.start-quiz-button:hover, 
.retry-quiz-button:hover {
    background-color: #2980b9;
    color: #fff;
}

.retry-quiz-button {
    background-color: #7f8c8d;
    margin-left: 10px;
}

.retry-quiz-button:hover {
    background-color: #636e72;
}

/* Performance Chart */
.performance-chart {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.performance-chart h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

canvas#userPerformanceChart {
    width: 100%;
    max-height: 300px;
}

/* Recent Activity */
.recent-activity {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.recent-activity h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-score {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-details {
    flex-grow: 1;
}

.activity-details h4 {
    font-size: 16px;
    margin: 0 0 5px 0;
}

.activity-meta {
    font-size: 13px;
    color: #666;
}

.activity-meta span {
    margin-right: 15px;
}

/* Available Quizzes */
.available-quizzes {
    margin-bottom: 30px;
}

.available-quizzes h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.quiz-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.quiz-card .quiz-thumbnail {
    width: 100%;
    height: 150px;
}

.quiz-card .quiz-details {
    padding: 15px;
}

.quiz-card .quiz-details h4 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
}

.quiz-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.quiz-status.locked {
    background-color: #f1c40f;
    color: #333;
}

.quiz-status.completed {
    background-color: #2ecc71;
    color: #fff;
}

/* Locked quiz styling */
.quiz-card.locked {
    opacity: 0.8;
    position: relative;
}

.quiz-card.locked::before {
    content: 'ðŸ”’';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    z-index: 1;
}

.quiz-card.locked .quiz-thumbnail,
.quiz-card.locked .quiz-details {
    filter: blur(2px);
}

/* Responsive styles */
@media (max-width: 768px) {
    .next-quiz-card {
        flex-direction: column;
    }
    
    .quiz-thumbnail {
        width: 100%;
        height: 180px;
    }
    
    .dashboard-stats {
        flex-direction: column;
    }
    
    .stat-box {
        width: 100%;
    }
}

/* Login form styling */
.nammashale-login-required {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nammashale-login-required p {
    margin-top: 0;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.nammashale-login-required .login-username,
.nammashale-login-required .login-password {
    margin-bottom: 15px;
}

.nammashale-login-required label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.nammashale-login-required input[type="text"],
.nammashale-login-required input[type="password"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.nammashale-login-required .login-submit {
    text-align: center;
}

.nammashale-login-required .button-primary {
    padding: 10px 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.nammashale-login-required .button-primary:hover {
    background-color: #2980b9;
}
/* Performance Chart Enhancements */
.performance-charts {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.chart-container {
    flex: 1;
    min-width: 300px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.chart-container h3 {
    font-size: 18px;
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

canvas#performanceTimeChart,
canvas#categoryPerformanceChart {
    width: 100%;
    height: 250px;
}

/* Score coloring */
.activity-score {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-right: 15px;
    flex-shrink: 0;
}

.activity-score.excellent {
    background-color: #27ae60;
}

.activity-score.good {
    background-color: #2ecc71;
}

.activity-score.average {
    background-color: #f1c40f;
}

.activity-score.below-average {
    background-color: #e67e22;
}

.activity-score.poor {
    background-color: #e74c3c;
}

/* Quiz Sections Layout */
.quiz-sections {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.completed-quizzes,
.available-quizzes {
    flex: 1;
    min-width: 300px;
}

.completed-quizzes h3,
.available-quizzes h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

/* Profile Enhancement Alert */
.profile-completion {
    margin-top: 10px;
}

.profile-alert {
    background-color: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 10px 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-alert p {
    margin: 0;
    font-size: 14px;
}

.enhance-profile-button {
    display: inline-block;
    padding: 6px 12px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.enhance-profile-button:hover {
    background-color: #2980b9;
    color: #fff;
}

/* Quiz score badge */
.quiz-score-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.quiz-card {
    position: relative;
}

/* Category indicator */
.quiz-category {
    display: inline-block;
    padding: 3px 8px;
    background-color: #f1f1f1;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
}</pre></body></html>