* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    min-height: 100vh;
    color: #333;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    color: #1E2A57;
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: none;
    margin: 0;
}

.page {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin: 20px 0;
}

.hidden {
    display: none;
}

/* Home Page Styles */
.home-content {
    text-align: center;
    background: white;
    border-radius: 15px;
    padding: 60px 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero-section h2 {
    font-size: 2.2rem;
    color: #4a5568;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #718096;
    margin-bottom: 40px;
}

.cta-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature {
    padding: 30px;
    background: #f7fafc;
    border-radius: 10px;
    text-align: center;
}

.feature h3 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #4a5568;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* Assessment Styles */
.skill-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f7fafc;
    border-radius: 10px;
}

.skill-section h3 {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.question {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.question h4 {
    margin-bottom: 15px;
    color: #2d3748;
}

.question label {
    display: block;
    margin: 10px 0;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.2s ease;
}

.question label:hover {
    background-color: #edf2f7;
}

.question input[type="radio"] {
    margin-right: 10px;
}

/* Results Styles */
.skill-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    margin: 15px 0;
    background: #f7fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.skill-result.strong {
    border-left-color: #48bb78;
    background: #f0fff4;
}

.skill-result.needs-improvement {
    border-left-color: #ed8936;
    background: #fffaf0;
}

.skill-result.weak {
    border-left-color: #f56565;
    background: #fff5f5;
}

.learning-plan {
    background: #f7fafc;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
}

.week {
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.week h4 {
    color: #4a5568;
    margin-bottom: 10px;
}

/* Skill Tree Styles */
.skill-tree {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 50px 0;
    flex-wrap: wrap;
}

.tree-branch {
    text-align: center;
    margin: 20px;
}

.skill-node {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 15px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.node-circle:hover {
    transform: scale(1.1);
}

.node-circle.not-started {
    background: #e2e8f0;
    color: #a0aec0;
}

.node-circle.in-progress {
    background: #fed7d7;
    color: #e53e3e;
}

.node-circle.completed {
    background: #c6f6d5;
    color: #38a169;
}

.tree-actions {
    text-align: center;
    margin-top: 40px;
}

.tree-actions button {
    margin: 0 10px;
}

/* Chat Styles */
.chat-container {
    max-width: 800px;
    margin: 0 auto;
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    background: #f7fafc;
}

.message {
    margin-bottom: 15px;
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 80%;
}

.ai-message {
    background: #667eea;
    color: white;
    margin-right: auto;
}

.user-message {
    background: #e2e8f0;
    color: #2d3748;
    margin-left: auto;
}

.chat-input {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.chat-input input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 1rem;
}

.chat-input button {
    padding: 12px 25px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}

.quick-questions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-questions button {
    padding: 10px 20px;
    background: #edf2f7;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quick-questions button:hover {
    background: #e2e8f0;
}

/* Certificate Styles */
.certificate {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

.certificate-border {
    border: 8px solid #667eea;
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.certificate h3 {
    font-size: 2rem;
    color: #4a5568;
    margin-bottom: 20px;
}

.certificate h4 {
    font-size: 1.8rem;
    color: #667eea;
    margin: 20px 0;
    text-decoration: underline;
}

.certificate ul {
    list-style: none;
    margin: 20px 0;
}

.certificate li {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #4a5568;
}

.signature {
    margin-top: 40px;
    font-style: italic;
    color: #718096;
}

/* Success Message */
.success-message {
    background: #c6f6d5;
    color: #2f855a;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
    border-left: 4px solid #38a169;
}

/* Navigation Styles */
.top-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E2A57;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.auth-logo {
    height: 100px;
    width: auto;
    margin: 0 auto 20px;
    display: block;
}

.main-logo {
    height: 120px;
    width: auto;
    margin: 20px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.back-button {
    background: transparent;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: #667eea;
    color: white;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #667eea;
}

/* Adjust body padding when nav is visible */
body.nav-visible {
    padding-top: 80px;
}

/* Auth Form Styles */
.auth-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.auth-form h2 {
    text-align: center;
    color: #4a5568;
    margin-bottom: 30px;
}

.auth-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
}

.auth-link {
    text-align: center;
    margin-top: 20px;
    color: #718096;
}

.auth-link a {
    color: #667eea;
    text-decoration: none;
}

/* Dashboard Styles */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.card h3 {
    color: #1E2A57;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #718096;
}

/* Learning Module Styles */
.learning-module {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border-left: 5px solid #667eea;
}

.learning-module h3 {
    color: #1E2A57;
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.learning-content {
    margin-bottom: 25px;
}

.learning-point {
    background: white;
    padding: 20px;
    margin: 15px 0;
    border-radius: 10px;
    border-left: 3px solid #667eea;
}

.learning-point h4 {
    color: #1E2A57;
    margin-bottom: 10px;
}

.learning-point p {
    color: #4a5568;
    line-height: 1.6;
}

.progress-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin: 0 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #667eea;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Skill Status */
.skill-status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.skill-status.not-started {
    color: #a0aec0;
}

.skill-status.in-progress {
    color: #ed8936;
}

.skill-status.completed {
    color: #38a169;
}

/* Error Messages */
.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Badge Styles */
.badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px;
}

.badge.unlocked {
    background: #38a169;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Quiz Styles */
#quizQuestions .question {
    margin-bottom: 30px;
}

.quiz-progress {
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.quiz-progress h4 {
    color: #1E2A57;
    margin-bottom: 10px;
}

/* Disabled Button */
.cta-button:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
}

.cta-button:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Assessment Results Styles */
.assessment-results {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    margin: 20px 0;
}

.assessment-results h3 {
    color: #1E2A57;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.results-summary {
    margin: 30px 0;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.skill-item {
    background: linear-gradient(145deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
}

.skill-icon {
    font-size: 2rem;
}

.skill-name {
    font-weight: 600;
    color: #1E2A57;
}

/* Enhanced Skill Tree Styles */
.skill-tree {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 50px 0;
    padding: 20px;
}

.tree-branch {
    text-align: center;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 30px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tree-branch:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.node-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid;
}

.node-circle:hover {
    transform: scale(1.1) rotate(5deg);
}

.skill-node span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E2A57;
    margin-bottom: 10px;
    display: block;
}

.skill-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
}

.skill-status.not-started {
    background: #e2e8f0;
    color: #64748b;
}

.skill-status.in-progress {
    background: #fed7d7;
    color: #c53030;
}

.skill-status.completed {
    background: #c6f6d5;
    color: #22543d;
}

.skill-status.quiz-ready {
    background: #fef5e7;
    color: #c05621;
}

/* Enhanced Progress Bars */
.progress-container {
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar-skill {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill-skill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    min-width: 35px;
}

.skill-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1E2A57;
    margin-bottom: 10px;
    display: block;
}

/* Assessment Completed Styles */
.assessment-completed {
    padding: 40px 20px;
    text-align: center;
}

.assessment-results {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.assessment-results h3 {
    color: #1E2A57;
    margin-bottom: 20px;
    font-size: 2rem;
}

.results-summary h4 {
    color: #4a5568;
    margin: 30px 0 20px;
    font-size: 1.3rem;
}

.skill-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.skill-item {
    background: linear-gradient(145deg, #f7fafc 0%, #edf2f7 100%);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.skill-item:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.skill-icon {
    font-size: 2.2rem;
    min-width: 50px;
}

.skill-name {
    font-weight: 600;
    color: #1E2A57;
    flex: 1;
}

.skill-progress {
    font-size: 0.9rem;
}

.progress-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.progress-badge.completed {
    background: #c6f6d5;
    color: #22543d;
}

.progress-badge.in-progress {
    background: #fed7d7;
    color: #c53030;
}

.progress-badge.not-started {
    background: #e2e8f0;
    color: #64748b;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Enhanced Node Circles */
.node-circle.quiz-ready {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse-orange {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Dashboard Summary Styles */
.dashboard-summary {
    margin: 30px 0;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.summary-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.summary-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
}

.summary-card h4 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1E2A57;
}

/* Assessment Review Styles */
.assessment-review {
    max-width: 900px;
    margin: 0 auto;
}

.assessment-summary {
    background: linear-gradient(145deg, #f7fafc 0%, #edf2f7 100%);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.skill-scores {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #667eea;
}

.score-value {
    font-weight: 700;
    color: #1E2A57;
    font-size: 1.2rem;
}

.completed-section {
    border-left-color: #38a169;
}

.completed-question {
    background: #f7fafc;
    border-left-color: #38a169;
}

.answer-option {
    padding: 12px 15px;
    margin: 8px 0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.answer-option.correct-answer {
    background: #c6f6d5;
    border: 2px solid #38a169;
}

.answer-option.wrong-answer {
    background: #fed7d7;
    border: 2px solid #e53e3e;
}

.answer-option.user-answer {
    background: #bee3f8;
    border: 2px solid #3182ce;
}

.answer-indicator {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3182ce;
    background: #bee3f8;
    padding: 4px 8px;
    border-radius: 12px;
}

.correct-indicator {
    font-size: 0.8rem;
    font-weight: 600;
    color: #22543d;
    background: #c6f6d5;
    padding: 4px 8px;
    border-radius: 12px;
}

/* Enhanced Learning Module Styles */
.module-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.module-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.theory-section, .practical-section, .reflection-section {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #667eea;
}

.theory-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
}

.learning-point.enhanced {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: all 0.3s ease;
}

.learning-point.enhanced:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.point-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.point-number {
    background: #667eea;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.point-example {
    background: #edf2f7;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-style: italic;
    border-left: 3px solid #667eea;
}

.reflection-question {
    background: #fff5f5;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f56565;
    font-weight: 500;
    margin-bottom: 15px;
}

.reflection-input {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.reflection-input:focus {
    outline: none;
    border-color: #667eea;
}

/* Quiz Results Styles */
.quiz-results-header {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.quiz-results-header.passed {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.quiz-results-header.failed {
    background: linear-gradient(135deg, #f56565 0%, #e53e3e 100%);
    color: white;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.score-display {
    margin: 20px 0;
}

.score-number {
    font-size: 3rem;
    font-weight: 700;
    margin-right: 15px;
}

.score-percentage {
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.9;
}

.result-message {
    font-size: 1.2rem;
    margin-top: 15px;
}

.detailed-results {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
}

.question-result {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #e2e8f0;
}

.question-result.correct {
    border-left-color: #48bb78;
}

.question-result.incorrect {
    border-left-color: #f56565;
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.question-number {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-indicator {
    font-size: 1.2rem;
    font-weight: 700;
}

.question-result.correct .result-indicator {
    color: #48bb78;
}

.question-result.incorrect .result-indicator {
    color: #f56565;
}

.answer-options {
    margin-top: 15px;
}

.option {
    padding: 10px 15px;
    margin: 8px 0;
    border-radius: 8px;
    background: #f7fafc;
}

.option.correct-option {
    background: #c6f6d5;
    border: 2px solid #48bb78;
    font-weight: 600;
}

.option.wrong-option {
    background: #fed7d7;
    border: 2px solid #f56565;
}

.option.user-correct {
    background: #bee3f8;
    border: 2px solid #3182ce;
    font-weight: 600;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cta-button.secondary:hover {
    background: #667eea;
    color: white;
}t(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

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

.card h3 {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.card p {
    color: #718096;
}

/* Skill Status */
.skill-status {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.skill-status.not-started {
    color: #a0aec0;
}

.skill-status.in-progress {
    color: #ed8936;
}

.skill-status.completed {
    color: #38a169;
}

/* Error Messages */
.error-message {
    background: #fed7d7;
    color: #c53030;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

/* Badge Styles */
.badge {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 5px;
}

.badge.unlocked {
    background: #38a169;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Quiz Styles */
#quizQuestions .question {
    margin-bottom: 30px;
}

/* Assessment Status Styles */
.assessment-status {
    max-width: 800px;
    margin: 0 auto;
}

.status-header {
    text-align: center;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.status-header.completed {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: white;
}

.status-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.completion-date {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
    .module-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .point-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .score-display {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .question-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .home-content {
        padding: 40px 20px;
    }
    
    .auth-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .skill-tree {
        flex-direction: column;
    }
    
    .learning-module {
        padding: 20px;
    }
    
    .nav-brand {
        gap: 10px;
    }
    
    .nav-logo {
        height: 35px;
    }
}