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

        body {
            font-family: 'Inter', sans-serif;
            background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            min-height: 100vh;
            color: #334155;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
        }

        .card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
            padding: 3rem;
            margin-bottom: 2rem;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

		
		
        .logo {
            text-align: center;
            margin-bottom: 3rem;
        }

        .logo h1 {
            font-size: 4rem;
            font-weight: 700;
            background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 0.5rem;
            letter-spacing: -0.02em;
        }

        .logo p {
            color: #64748b;
            font-size: 1.2rem;
            font-weight: 400;
            letter-spacing: 0.5px;
        }

        .team-setup {
            max-width: 500px;
            margin: 0 auto;
        }

        .team-input {
            width: 100%;
            padding: 1.5rem 2rem;
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            background: #f8fafc;
            margin-bottom: 2rem;
            text-align: center;
            font-weight: 500;
        }

        .team-input:focus {
            outline: none;
            border-color: #667eea;
            background: white;
            box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
        }

        .start-btn {
            width: 100%;
            padding: 1.5rem 2rem;
            background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .start-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }

        .start-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }
		.splash-logo {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-image {
    height: 4rem;
    max-width: 300px;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
    animation: logoEntrance 2s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Optional: Add a subtle glow effect */
.logo-image {
    height: 4rem;
    max-width: 300px;
    filter: brightness(0) invert(1);
    animation: logoEntrance 2s ease-out;
    drop-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

        .round-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 3rem 2rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
            border-radius: 20px;
            border: 1px solid rgba(102, 126, 234, 0.1);
        }

        .round-number {
            display: inline-block;
            background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            color: white;
            padding: 0.5rem 1.5rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 1.5rem;
        }

        .round-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .round-description {
            font-size: 1.2rem;
            color: #64748b;
            line-height: 1.6;
            max-width: 1300px;
            margin: 0 auto;
        }

        .team-name-display {
            display:none;
        }

        .team-name-display h3 {
            color: #047857;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .options-container {
            margin-bottom: 3rem;
        }

        .option-card {
            width: 100%;
            padding: 2rem;
            border: 2px solid #e2e8f0;
            border-radius: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #f8fafc;
            margin-bottom: 1.5rem;
            position: relative;
            overflow: hidden;
        }
		.container table{color:black !important}
		
        .option-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .option-card:hover {
            border-color: #667eea;
            background: white;
            transform: translateY(-4px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
        }

        .option-card:hover::before {
            left: 100%;
        }
		
		/* Corner Badge */
.corner-badge {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 50;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.corner-badge .event-name {
    color: #fbbf24;
    font-weight: 600;
}

.corner-badge .powered-by {
    color: #e5e7eb;
    font-size: 0.7rem;
    margin-top: 0.125rem;
}
.allocation-summary-small {
     background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    padding: 0.5rem;
    border-radius: 6px;
	font-weight:bold;
    font-size: 0.8rem;
    line-height: 1.3;
}
        .option-card.selected {
    border-color: #0d4580;
    background: linear-gradient(135deg, #dbe1f0 0%, #dde5ee 100%);
	box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}
/* Allow hover effects on selected cards to show they can be changed */
.option-card.selected:hover {
    border-color: #0d4580;
    
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-4px);
}

       .allocation-round .option-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

        .option-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }

        .option-id {
            width: 40px;
            height: 40px;
             background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            color: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.2rem;
            margin-right: 1rem;
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }

        .selected .option-id {
            background: linear-gradient(135deg, #1a5d99 0%, #0d4580 100%);
            box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
        }

        .option-label {
            font-weight: 600;
            color: #1e293b;
            font-size: 1.3rem;
        }

        .option-description {
            color: #64748b;
            font-size: 1rem;
            line-height: 1.5;
            margin-top: 0.5rem;
        }

        .kpi-preview {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
			display:none;
        }

        .kpi-item {
            background: rgba(102, 126, 234, 0.1);
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .kpi-positive {
            background: rgba(16, 185, 129, 0.1);
            color: #047857;
        }

        .kpi-negative {
            background: rgba(239, 68, 68, 0.1);
            color: #dc2626;
        }

        .kpi-neutral {
            background: rgba(107, 114, 128, 0.1);
            color: #6b7280;
        }

        .progress-section {
            margin-bottom: 2rem;
        }

        .progress-bar {
            width: 100%;
            height: 12px;
            background: rgba(255, 255, 255, 0.3);
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 1rem;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(135deg, #cccccc 0%, #ffffff 100%);
            transition: width 0.8s ease;
            border-radius: 6px;
        }

        .progress-text {
            text-align: center;
            color: white;
            font-weight: 500;
            opacity: 0.9;
        }

        .next-round-btn {
            width: 100%;
            padding: 1.5rem 2rem;
            background: linear-gradient(135deg, #1a5d99 0%, #0d4580 100%);
            color: white;
            border: none;
            border-radius: 16px;
            font-size: 1.2rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-top: 2rem;
        }

        .next-round-btn:hover:not(:disabled) {
            transform: translateY(-3px);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
        }

        .next-round-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .transition-banner {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
             background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.6s ease;
        }

        .transition-banner.active {
            opacity: 1;
            visibility: visible;
        }

        .transition-content {
            text-align: center;
            color: white;
            transform: translateY(50px);
            opacity: 0;
            animation: slideInUp 0.8s ease forwards;
        }

        .transition-content h2 {
            font-size: 4rem;
            font-weight: 700;
            margin-bottom: 1rem;
            letter-spacing: -0.02em;
        }

        .transition-content p {
            font-size: 1.4rem;
            opacity: 0.9;
        }

        @keyframes slideInUp {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .results-section {
            margin-top: 2rem;
        }

        .results-header {
            text-align: center;
            margin-bottom: 3rem;
            padding: 2rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            border-radius: 20px;
        }

        .results-title {
            font-size: 3rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 1rem;
        }

        .results-subtitle {
            color: #64748b;
            font-size: 1.2rem;
        }

        .score-summary {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        .score-card {
            background: white;
            padding: 2rem;
            border-radius: 16px;
            text-align: center;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            border: 2px solid #f1f5f9;
            transition: all 0.3s ease;
        }

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

        .score-value {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .score-label2 {
            color: #0d4580;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }
		.score-label {
            color: #FFFFFF;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .score-positive {
            color: #059669;
        }

        .score-negative {
            color: #dc2626;
        }

        .score-neutral {
            color: #6b7280;
        }

        .decisions-table {
            width: 100%;
            border-collapse: collapse;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
            margin-bottom: 2rem;
        }

        .decisions-table th {
             background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            color: white;
            padding: 1.5rem;
            text-align: left;
            font-weight: 600;
            font-size: 1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .decisions-table td {
            padding: 1.5rem;
            border-bottom: 1px solid #f1f5f9;
            font-size: 1rem;
        }

        .decisions-table tbody tr:hover {
            background: #f8fafc;
        }

        .decisions-table tbody tr:last-child td {
            border-bottom: none;
        }

        .decision-choice {
             background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            font-weight: 600;
            display: inline-block;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 1rem;
            }
            
            .card {
                padding: 2rem;
            }
            
            .logo h1 {
                font-size: 2.5rem;
            }
            
            .round-title {
                font-size: 2rem;
            }
            
            .option-card {
                padding: 1.5rem;
            }
            
            .score-summary {
                grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
                gap: 1rem;
            }
            
            .score-card {
                padding: 1.5rem;
            }
            
            .score-value {
                font-size: 2rem;
            }
            
            .decisions-table th,
            .decisions-table td {
                padding: 1rem;
                font-size: 0.9rem;
            }
            
            .transition-content h2 {
                font-size: 2.5rem;
            }
        }


.dashboard-toggle {
    text-align: center;
    margin-bottom: 1rem;
}

.dashboard-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.dashboard-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.dashboard-btn.active {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
}

.dashboard-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    max-height: 60vh; /* Reduced from 80vh */
    overflow-y: auto;
    border: 2px solid #e2e8f0;
}

/* Ensure options container is always visible */
.options-container {
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

/* Update dashboard container positioning */
.dashboard-container {
    margin: 2rem 0;
    position: relative;
    z-index: 5;
}

.dashboard-content.show {
    animation: slideDown 0.5s ease forwards;
}

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

/* Responsive dashboard */
@media (max-width: 768px) {
    .dashboard-content {
        max-height: 50vh;
    }
    
    .options-container {
        margin-top: 1.5rem;
    }
}
.lessons-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.lessons-header {
    text-align: center;
    margin-bottom: 3rem;
}

.lessons-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.lessons-subtitle {
    font-size: 1.2rem;
    color: #0d4580;
    font-weight: 600;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.insight-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.insight-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    width: 40px;
    height: 40px;
     background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

.insight-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.insight-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

.insight-content strong {
    color: #374151;
    font-weight: 600;
}

.debrief-summary {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 2px solid #0d4580;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.debrief-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.debrief-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.debrief-content p {
    color: #374151;
    line-height: 1.7;
    font-size: 1.1rem;
}

.debrief-content strong {
    
    font-weight: 600;
}

@media (max-width: 768px) {
    .lessons-section {
        padding: 2rem;
        margin-top: 3rem;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .insight-card {
        padding: 1.5rem;
    }
    
    .lessons-title {
        font-size: 1.5rem;
    }
    
    .debrief-summary {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .debrief-icon {
        align-self: center;
    }
}
.composite-score-section {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.composite-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.composite-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.composite-score-display {
    text-align: center;
}

.score-circle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.score-label {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: -0.25rem;
}

.score-grade {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

.score-breakdown {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.score-breakdown h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.breakdown-grid {
    display: grid;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.breakdown-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

.breakdown-value {
    font-weight: 600;
    font-size: 1rem;
}

.score-adjustments {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.score-adjustments h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.score-adjustments ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.score-adjustments li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.score-adjustments.rewards {
    border-left: 4px solid #10b981;
}

.score-adjustments.penalties {
    border-left: 4px solid #ef4444;
}

.score-interpretation {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.score-interpretation h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.score-interpretation p {
    line-height: 1.6;
    font-size: 1rem;
    opacity: 0.95;
}
.calculation-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-row:last-child {
    border-bottom: none;
}

.calc-row.total {
    font-weight: bold;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .composite-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .composite-title {
        font-size: 1.5rem;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-number {
        font-size: 2rem;
    }
    
    .composite-score-section {
        padding: 2rem;
    }
}
.allocation-container {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.allocation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}
 .manual-controls {
            position: absolute;
            bottom: 8rem;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.7);
        }

        .manual-controls-text {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .manual-controls-buttons {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            align-items: center;
        }

        .control-button {
            background: rgba(255, 255, 255, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-family: inherit;
            min-width: 80px;
            justify-content: center;
        }

        .control-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-1px);
        }

        .control-button:active {
            transform: translateY(0);
        }

        .control-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .control-button:disabled:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: none;
        }

.continue-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    margin: 0 auto;
}

.continue-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.continue-button:active {
    transform: translateY(0);
}
.allocation-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.remaining-budget {
    font-size: 1.1rem;
    font-weight: 600;
}

.budget-amount {
    color: #0d4580;
    font-weight: 700;
}

.allocation-sliders {
    margin-bottom: 2rem;
}

.slider-container {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.slider-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.slider-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d4580;
}

.slider-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.slider-wrapper {
    margin: 1rem 0;
}

.allocation-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.allocation-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
     background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.allocation-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
     background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.impact-preview {
    margin-top: 1rem;
}

.impact-grid {
    display: none;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.impact-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.allocation-summary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.total-allocated {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.allocation-status {
    font-size: 1rem;
    font-weight: 600;
}

.allocation-status.valid {
    color: #059669;
}

.allocation-status.incomplete {
    color: #d97706;
}

.allocation-status.invalid {
    color: #dc2626;
}

@media (max-width: 768px) {
    .allocation-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .slider-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .allocation-container {
        padding: 1.5rem;
    }
}
.timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    
}
.team-name-timer {
    flex: 1;
    display: flex;
    align-items: center;
}

.team-name-timer-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0d4580;

}


.timer-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.timer-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

.game-timer {
    font-size: 2rem;
    font-weight: 700;
    color: #0d4580;
    font-family: 'Monaco', 'Menlo', monospace;
 
    min-width: 100px;
    text-align: center;
    transition: all 0.3s ease;
}

.game-timer.warning {
    color: #f59e0b;
    animation: pulse-warning 2s infinite;
}

.game-timer.critical {
    color: #ef4444;
    animation: pulse-critical 1s infinite;
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes pulse-critical {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.time-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
    z-index: 1001;
    animation: slideInRight 0.5s ease;
}
.auto-play-indicator {
    position: absolute;
    bottom: 8rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.auto-play-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pause-button {
    font-size: 0.75rem;
    text-decoration: underline;
    color: #93c5fd;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.pause-button:hover {
    text-decoration: none;
}

.countdown-bar {
    width: 8rem;
    height: 0.25rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    margin: 0 auto;
    overflow: hidden;
}

.countdown-fill {
    height: 100%;
    background: white;
    border-radius: 9999px;
    width: 100%;
    animation: shrink-countdown 4000ms linear;
}

@keyframes shrink-countdown {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.time-up-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    animation: fadeIn 0.5s ease;
}

.time-up-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.time-up-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ef4444;
}

.time-up-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.time-up-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 1rem;
}

.time-up-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 68, 68, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .timer-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .team-name-timer {
        width: 100%;
        justify-content: center;
    }
    
    .timer-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .game-timer {
        font-size: 1.5rem;
    }
    
    .team-name-timer-text {
        font-size: 1.1rem;
    }
}
.budget-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.allocation-note {
    color: #64748b;
    font-style: italic;
}

.allocation-status.warning {
    color: #d97706;
}

.partial-allocation-note {
    color: #059669;
    font-size: 0.9rem;
    font-weight: 500;
}

.underutilization-warning {
    color: #d97706;
    font-size: 0.85rem;
    font-weight: 600;
}

.no-allocation-warning {
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .budget-info {
        align-items: center;
        text-align: center;
    }
}
/* Rich Description Styling */
.round-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
}

.round-description-content {
    text-align: left;
}

.description-intro {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.context-section {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.context-section h4 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.context-section ul {
    margin: 0;
    padding-left: 1.5rem;
}

.context-section li {
    margin-bottom: 0.5rem;
    color: #475569;
}

.context-section p {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.context-section em {
    color: #667eea;
    font-weight: 600;
    font-style: normal;
}

.allocation-philosophy {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.philosophy-item {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.crisis-alert {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.crisis-alert h4 {
    color: #991b1b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.development-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.development {
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.development.bad {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: #ef4444;
}

.development.good {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: #10b981;
}

.development strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.development p {
    margin: 0;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.strategic-tension {
    display: grid;
    
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.tension-side {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.tension-side strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.tension-side p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.vs {
    font-weight: 700;
    color: #ef4444;
    font-size: 1.2rem;
    text-align: center;
}

.board-pressure {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.board-pressure h4 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.board-pressure blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #374151;
    margin: 0;
    position: relative;
    font-weight: 600;
}

.board-pressure blockquote::before,
.board-pressure blockquote::after {
    content: '"';
    font-size: 2rem;
    color: #6366f1;
    position: absolute;
    top: -5px;
}

.board-pressure blockquote::before {
    left: -20px;
}

.board-pressure blockquote::after {
    right: -20px;
}

.decision-prompt {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    padding: 0;
    border-radius: 12px;
    text-align: left;
    margin-top: 1.5rem;
    box-shadow: 0 4px 15px rgba(13, 69, 128, 0.2);
    overflow: hidden;
}

.decision-prompt strong {
    
    font-weight: 600;
	color: white !important;
}
.decision-prompt-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.decision-prompt-header h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.decision-prompt-header i {
    font-size: 1.4rem;
    opacity: 0.9;
}

.decision-prompt-content {
    padding: 1.5rem;
    line-height: 1.6;
    font-size: 1rem;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .development-grid {
        grid-template-columns: 1fr;
    }
    
    .strategic-tension {
       
        text-align: center;
    }
    
    .vs {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    .context-section {
        padding: 1rem;
    }
    
    .board-pressure blockquote::before,
    .board-pressure blockquote::after {
        font-size: 1.5rem;
        top: -2px;
    }
    
    .board-pressure blockquote::before {
        left: -15px;
    }
    
    .board-pressure blockquote::after {
        right: -15px;
    }
}
.problem-statement {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.problem-statement p {
    margin: 0;
    font-size: 1.1rem;
    color: #991b1b;
    font-weight: 600;
}

.strategic-tension {
    background: rgba(102, 126, 234, 0.1);
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.strategic-tension p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
}

.allocation-philosophy {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.allocation-philosophy p {
    margin: 0;
    color: #047857;
    line-height: 1.6;
    font-weight: 500;
}

.opportunity-highlight {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #10b981;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.opportunity-highlight h4 {
    color: #047857;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.opportunity-highlight p {
    margin: 0;
    color: #166534;
    line-height: 1.6;
}

.constraint-box {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.constraint-box h4 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.constraint-box p {
    margin: 0;
    color: #d97706;
    line-height: 1.6;
    font-weight: 500;
}

/* Enhanced styling for strong text */
.round-description-content strong {
    color: #1e293b;
    font-weight: 700;
}

.crisis-alert strong {
    color: #991b1b;
}

.opportunity-highlight strong {
    color: #047857;
}

.constraint-box strong {
    color: #92400e;
}
.company-introduction {
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.intro-header {
    text-align: center;
    margin-bottom: 2rem;
}

.intro-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.intro-tagline {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 500;
}

.company-overview, .simulation-overview {
    margin-bottom: 2rem;
}

.company-overview h3, .simulation-overview h3 {
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.key-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.fact-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    font-size: 0.9rem;
}

.stakes {
    background: rgba(16, 185, 129, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #10b981;
    margin-top: 1rem;
}

.stakes p {
    margin: 0;
    color: #047857;
    font-weight: 500;
}

/* For separate introduction screen */
.introduction-content {
    text-align: left;
    max-width: 1200px;
    margin: 0 auto;
}
ul{margin-left: 2rem;}

.intro-hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 16px;
}

.intro-hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #667eea;
    font-weight: 600;
}

.company-story, .challenge-overview, .learning-objectives, .ready-prompt {
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #667eea;
}

.company-story h3, .challenge-overview h3, .learning-objectives h3, .ready-prompt h3 {
    color: #1e293b;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.challenge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.challenge-number {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    min-width: 50px;
}

.challenge-text strong {
    display: block;
    color: #1e293b;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.challenge-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.learning-objectives ul {
    margin: 0;
    padding-left: 1.5rem;
}

.learning-objectives li {
    margin-bottom: 0.75rem;
    color: #475569;
    line-height: 1.5;
}

.continue-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

#team-name-timer-display {
 padding-left: 4px;
}

@media (max-width: 768px) {
    .intro-hero h2 {
        font-size: 2rem;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .challenge-item {
        text-align: center;
        flex-direction: column;
    }
}
.score-categories-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.categories-header {
    text-align: center;
    margin-bottom: 2rem;
}

.categories-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.categories-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.category-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(0, 0, 0, 0.1);
}

.category-card.user-category {
    transform: translateY(-4px);
    border-width: 3px;
    position: relative;
}

.category-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 0 10px 0 12px;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.category-header {
    margin-bottom: 1rem;
}

.category-range {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.category-grade {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.user-score-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 600;
}

.user-score-label {
    font-size: 0.9rem;
}

.user-score-value {
    font-size: 1.3rem;
    font-weight: 700;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .score-categories-section {
        padding: 1.5rem;
    }
    
    .category-card {
        padding: 1.25rem;
    }
}
.integrated-score-summary {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.integrated-decisions-table {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.score-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}


.integrated-decisions-table .decisions-table {
    margin: 0;
    box-shadow: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .integrated-score-summary,
    .integrated-decisions-table {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .score-summary-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}
#score-summary:empty {
    display: none;
}

.decisions-table:has(tbody:empty) {
    display: none;
}

/* Alternative for older browsers that don't support :has() */
.decisions-table tbody:empty {
    display: none;
}

.decisions-table:empty {
    display: none;
}
.company-brief-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.popup-body {
    padding: 1.5rem;
    color: #334155;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Splash Screen Styles */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    min-height: 400px; /* Fixed minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.splash-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(30px);
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px; /* Consistent height for all slides */
}

.splash-slide.active {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}


.splash-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.splash-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.splash-progress {
   position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}

.progress-dot.active {
    background: white;
    transform: scale(1.2);
}

.splash-skip {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.splash-skip:hover {
    background: rgba(0,0,0,0.5);
}

/* Animation effects */
.startup-pulse::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 100px;
    height: 100px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    animation: ping 3s infinite;
}

.crisis-glitch::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 60px;
    height: 8px;
    background: #ef4444;
    opacity: 0.6;
    animation: pulse 2s infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}
.marketing-cta-section {
    margin: 4rem 0 2rem 0;
    padding: 2rem !important;
	padding-top:3rem !important;
}

.cta-container {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(13, 69, 128, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 300;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-benefits {
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 3rem;
    text-align: center;
}

.benefit-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-text strong {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.benefit-text span {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cta-testimonial {
    background: rgba(255, 255, 255, 0.15);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.cta-testimonial blockquote {
    margin: 0;
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.95;
}

.cta-action {
    text-align: center;
}

.cta-text {
    margin-bottom: 2rem;
}

.cta-text h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: white;
}

.cta-text p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background: white;
    color: #0d4580;
}

.cta-button.primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-container {
        padding: 2rem;
        margin: 3rem 0 1rem 0;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
    
    .cta-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 1.5rem;
        width: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-testimonial {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-icon {
        font-size: 2.5rem;
    }
}

.testing-mode-overlay {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.8rem;
    z-index: 9999;
    max-width: 300px;
    line-height: 1.4;
    display: none;
}

.testing-mode-overlay.active {
    display: block;
}

.shortcut-key {
    background: #333;
    padding: 2px 6px;
    border-radius: 3px;
    margin: 0 2px;
    font-weight: bold;
}
.brief-link-section {
    flex-shrink: 0;
}

.brief-link-btn {
    background-color:#0d4580;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brief-link-btn:hover {
    background-color:slate;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .timer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .brief-link-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}
.historical-dashboard-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.historical-dashboard-popup .popup-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 95vw;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.historical-dashboard-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.historical-dashboard-popup .popup-body {
    padding: 0;
    color: #334155;
    max-height: calc(95vh - 80px);
    overflow-y: auto;
}

/* Ensure the dashboard content displays properly in popup */
.historical-dashboard .popup-body > div {
    border-radius: 0;
}

@media (max-width: 768px) {
    .historical-dashboard-popup .popup-content {
        max-width: 98vw;
        max-height: 98vh;
    }
    
    .historical-dashboard-popup .popup-header {
        padding: 1rem;
    }
    
    .historical-dashboard-popup .popup-header h3 {
        font-size: 1rem;
    }
}
.game-header-container {
border: 2px solid #0d4580;
    border-radius: 12px; 
    box-shadow: 0 4px 8px rgba(13, 69, 128, 0.3); /* Subtle shadow*/
    padding: 16px; /* Optional: spacing inside the box */
    background-color: white; 
    margin-bottom: 2rem;
}

/* Keep existing timer-container styles, just add this: */
.timer-container {
    margin-bottom: 1rem; /* Add space between rows */
}

.reference-buttons-row {
    display: flex;
    gap: 0.75rem;
    justify-content: left;
    flex-wrap: wrap;
    padding: 0rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
	align-items: center; 
}

.reference-btn {
    background-color:#0d4580;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-weight: 500;
}

.reference-btn:hover {
    background-color: #0d3570
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.reference-btn:active {
    transform: translateY(0);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .reference-buttons-row {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
    
    .reference-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        flex: 1;
        min-width: 0;
        justify-content: center;
    }
    
    .reference-btn i {
        display: none; /* Hide icons on mobile to save space */
    }
}
/* Data Animation Effects */
.data-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.data-point {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float-data 8s infinite linear;
}

.data-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: scan-line 6s infinite ease-in-out;
}

.inventory-icon {
    position: absolute;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.15);
    animation: drift 12s infinite ease-in-out;
}

.data-stream {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(16, 185, 129, 0.3);
    animation: stream-data 10s infinite linear;
    white-space: nowrap;
}

/* Chart-like elements */
.mini-chart {
    position: absolute;
    width: 60px;
    height: 30px;
    opacity: 0.15;
}

.chart-bar {
    position: absolute;
    bottom: 0;
    width: 8px;
    background: rgba(255, 255, 255, 0.4);
    animation: chart-pulse 3s infinite ease-in-out;
}

/* Animations */
@keyframes float-data {
    0% {
        transform: translateY(100vh) translateX(-10px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(10px);
        opacity: 0;
    }
}

@keyframes scan-line {
    0%, 100% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        transform: translateX(100vw);
        opacity: 1;
    }
}
/* Instructions Modal Styles */
.instructions-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

.instructions-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 1000px;
}
.instructions-modal .cta-container,
.instructions-modal .continue-btn,
.instructions-modal .company-story {display:none !important}


.instructions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.instructions-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.instructions-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.instructions-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.instructions-body {
    padding: 1.5rem;
    color: #334155;
}

/* Instructions Button Style */
.instructions-btn {
    background-color: #0d4580;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-weight: 500;
}

.instructions-btn:hover {
    background-color: #0d3570;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.instructions-btn:active {
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .instructions-content {
        max-width: 95vw;
        max-height: 95vh;
    }

    .instructions-header {
        padding: 1rem;
    }

    .instructions-header h3 {
        font-size: 1.2rem;
    }

    .instructions-body {
        padding: 1rem;
    }

    .instructions-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .instructions-btn i {
        display: none; /* Hide icons on mobile to save space */
    }
}
@keyframes drift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.2;
    }
}

@keyframes stream-data {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes chart-pulse {
    0%, 100% {
        height: 10%;
    }
    50% {
        height: 100%;
    }
}


.startup-pulse .data-particles {
    animation-duration: 12s;
}

.crisis-glitch .data-point {
    background: rgba(239, 68, 68, 0.3);
    animation-duration: 4s;
}

.crisis-glitch .data-stream {
    color: rgba(239, 68, 68, 0.4);
    animation-duration: 6s;
}
.session-display {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border-radius: 12px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(13, 69, 128, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

@keyframes sessionPulse {
    0% { box-shadow: 0 4px 12px rgba(13, 69, 128, 0.3); }
    100% { box-shadow: 0 6px 20px rgba(13, 69, 128, 0.5); }
}
@keyframes sessionPulseCollapsed {
    0%, 100% { box-shadow: 0 4px 12px rgba(13, 69, 128, 0.3); }
    50% { box-shadow: 0 4px 16px rgba(13, 69, 128, 0.5); }
}

.session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
    position: relative;
}

.session-header:hover {
    background: rgba(255, 255, 255, 0.1);
}

.session-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.session-header-title {
    font-weight: 600;
    font-size: 1rem;
}

.session-code-mini {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.collapse-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
}

.collapse-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.collapse-toggle i {
    transition: transform 0.3s ease;
}

.session-display.collapsed .collapse-toggle i {
    transform: rotate(180deg);
}

.session-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    transition: all 0.3s ease;
    opacity: 1;
    max-height: 500px; /* Adjust based on your content */
    overflow: hidden;
}

.session-display.collapsed .session-content {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

.session-code {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin: 0.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.session-url {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.copy-button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    margin: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.copy-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.reflection-section {
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
}

.reflection-archetype {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.reflection-insights {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #10b981;
    margin-bottom: 2rem;
}

.reflection-ai-analysis {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #059669;
    margin-bottom: 2rem;
}

.reflection-questions {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #f59e0b;
    margin-bottom: 2rem;
}

.ai-badge {
    background: #059669;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    display: inline-block;
}

.trait-tag {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.question-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #f59e0b;
    margin-bottom: 1rem;
}

.download-reflection-btn {
    background: linear-gradient(135deg, #0d4580 0%, #1a5d99 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.download-reflection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 69, 128, 0.3);
}

/* Mobile responsiveness for reflection */
@media (max-width: 768px) {
    .reflection-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .reflection-archetype {
        padding: 1.5rem;
    }
    
    .trait-tag {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }
}

/* Pulse animation for collapsed state to show it's still active */
.session-display.collapsed {
    animation: sessionPulseCollapsed 3s ease-in-out infinite;
}
@media (max-width: 768px) {
    .session-header {
        padding: 0.75rem 1rem;
    }
    
    .session-header-title {
        font-size: 0.9rem;
    }
    
    .session-code-mini {
        font-size: 0.75rem;
        letter-spacing: 0.05rem;
    }
    
    .session-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .session-code {
        font-size: 1.5rem;
        letter-spacing: 0.3rem;
    }
    
    .copy-button {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin: 0.25rem;
    }
}