/* AI Geletterdheid Module Styles - Shared Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #FAFAF7;
    background-image: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 100px,
            rgba(235, 219, 188, 0.1) 100px,
            rgba(235, 219, 188, 0.1) 101px
        );
    color: #3D2F2F;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    max-width: 900px;
    width: 100%;
    background: #F0F0EB;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(61, 47, 47, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid #E8E6DC;
}

.header {
    background: #CC785C;
    color: #FAFAF7;
    padding: 30px;
    text-align: center;
    position: relative;
}


.progress-bar {
    height: 8px;
    background: rgba(250, 250, 247, 0.3);
    border-radius: 4px;
    margin-top: 20px;
    overflow: hidden;
    border: 1px solid rgba(250, 250, 247, 0.2);
}

.progress-fill {
    height: 100%;
    background: #FAFAF7;
    border-radius: 3px;
    width: 0%;
    transition: width 0.5s ease;
}

.content {
    padding: 40px;
    min-height: 400px;
    background: #FAFAF7;
}

/* Welcome Screen */
.welcome-screen {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.welcome-icon {
    font-size: 72px;
    margin-bottom: 20px;
    display: inline-block;
    background: #EBDBBC;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    line-height: 100px;
}

.welcome-screen h2 {
    color: #CC785C;
    margin-bottom: 20px;
    font-weight: normal;
}

.welcome-screen p {
    font-size: 18px;
    line-height: 1.6;
    color: #3D2F2F;
    margin-bottom: 30px;
}

/* Scenario Selection */
.scenario-selection {
    display: none;
    animation: fadeIn 0.5s ease;
}

.scenario-selection h2 {
    color: #CC785C;
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}

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

.scenario-card {
    background: #E8E6DC;
    border: 2px solid #BFBFBA;
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(61, 47, 47, 0.15);
    border-color: #CC785C;
}

.scenario-card.selected {
    background: #CC785C;
    color: #FAFAF7;
    border-color: #CC785C;
}

.scenario-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.scenario-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: bold;
}

.scenario-card p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.9;
}

.scenario-card em {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.8;
}

/* Scenario Screen */
.scenario-screen {
    display: none;
    animation: slideIn 0.5s ease;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.scenario-number {
    background: #CC785C;
    color: #FAFAF7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.scenario-title {
    color: #CC785C;
    font-size: 24px;
    flex: 1;
    font-weight: normal;
}

.scenario-content {
    background: #E8E6DC;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 5px solid #CC785C;
}

.scenario-text {
    font-size: 16px;
    line-height: 1.8;
    color: #3D2F2F;
}

/* Time Budget */
.time-budget {
    background: #EBDBBC;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #D4A27F;
}

.time-budget-label {
    font-size: 16px;
    color: #3D2F2F;
}

.time-budget-display {
    display: flex;
    gap: 10px;
    align-items: center;
}

.time-point {
    width: 30px;
    height: 30px;
    background: #D4A27F;
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}

.time-point.used {
    background: #BFBFBA;
    transform: scale(0.8);
}

/* Checklist */
.checklist-section {
    margin-top: 30px;
}

.checklist-title {
    font-size: 18px;
    color: #CC785C;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check-item {
    background: #FAFAF7;
    border: 2px solid #BFBFBA;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    position: relative;
}

.check-item:hover {
    background: #EBDBBC;
    border-color: #D4A27F;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 120, 92, 0.15);
}

.check-item.selected {
    background: #CC785C;
    color: #FAFAF7;
    border-color: #CC785C;
}

.check-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.check-item.disabled:hover {
    background: #FAFAF7;
    border-color: #BFBFBA;
    box-shadow: none;
}

.check-icon {
    font-size: 24px;
}

.check-cost {
    position: absolute;
    right: 20px;
    background: #D4A27F;
    color: #FAFAF7;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
}

.check-item.selected .check-cost {
    background: rgba(250, 250, 247, 0.3);
}

.submit-btn {
    background: #D4A27F;
    color: #FAFAF7;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: normal;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.submit-btn:hover {
    background: #CC785C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 120, 92, 0.25);
}

.submit-btn:disabled {
    background: #BFBFBA;
    color: #F0F0EB;
    cursor: not-allowed;
    transform: none;
}

/* Result Screen */
.result-screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.result-card {
    background: #E8E6DC;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid #BFBFBA;
}

.result-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.result-message {
    font-size: 18px;
    line-height: 1.8;
    color: #3D2F2F;
    margin-bottom: 20px;
}

.impact-visual {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.impact-item {
    background: #FAFAF7;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(61, 47, 47, 0.1);
    flex: 1;
    min-width: 150px;
    max-width: 200px;
    border: 1px solid #E8E6DC;
}

.impact-item.positive {
    border-top: 4px solid #D4A27F;
}

.impact-item.negative {
    border-top: 4px solid #CC785C;
}

.impact-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.impact-label {
    font-size: 14px;
    color: #3D2F2F;
}

/* Final Screen */
.final-screen {
    display: none;
    animation: fadeIn 0.5s ease;
    text-align: center;
}

.final-icon {
    font-size: 72px;
    margin-bottom: 20px;
}

.final-screen h2 {
    color: #CC785C;
    margin-bottom: 30px;
    font-weight: normal;
}

.personal-checklist {
    background: #EBDBBC;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
    border: 1px solid #D4A27F;
    position: relative;
}

.personal-checklist::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed #D4A27F;
    border-radius: 8px;
    pointer-events: none;
}

.personal-checklist h3 {
    color: #CC785C;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

.checklist-result {
    background: #FAFAF7;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #D4A27F;
    display: flex;
    align-items: start;
    gap: 15px;
}

.checklist-result-number {
    background: #CC785C;
    color: #FAFAF7;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.checklist-result-text {
    flex: 1;
    line-height: 1.6;
}

.screenshot-hint {
    background: #D4A27F;
    border: 1px solid #CC785C;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    color: #FAFAF7;
    font-size: 14px;
    position: relative;
}

.screenshot-hint::after {
    content: '';
    position: absolute;
    top: -5px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #D4A27F;
}

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

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

/* Responsive */
@media (max-width: 600px) {
    .content {
        padding: 20px;
    }
    
    .scenario-title {
        font-size: 20px;
    }
    
    .check-item {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .scenario-cards {
        grid-template-columns: 1fr;
    }
}