/* ================================================
   Consequence Thinker - Student Interface Styles
   Gevolgen-denker Tool
   ================================================ */

/* Wizard Container */
.consequence-thinker-student {
    max-width: 1000px;
    margin: 20px auto;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,140,0,0.3);
}

.consequence-thinker-student h1 {
    color: #FFD700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.consequence-thinker-student .subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-bottom: 30px;
}

/* Progress Bar */
.wizard-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0;
    background: transparent;
    position: relative;
}

.wizard-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,140,0,0.2);
    z-index: 0;
}

.wizard-progress .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.wizard-progress .step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 8px;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
}

.wizard-progress .step-label {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
}

.wizard-progress .step.active .step-number {
    background: rgba(255,140,0,0.8);
    color: white;
    border-color: rgba(255,140,0,1);
    box-shadow: 0 0 15px rgba(255,140,0,0.5);
}

.wizard-progress .step.active .step-label {
    color: #FF8C00;
}

.wizard-progress .step.completed .step-number {
    background: rgba(0,191,99,0.8);
    color: white;
    border-color: rgba(0,191,99,1);
}

/* Step Headers */
.step-header {
    text-align: center;
    margin-bottom: 30px;
}

.step-header h2 {
    color: #FFD700;
    font-size: 28px;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.step-header p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
}

/* Situation Reminder */
.situation-reminder {
    background: rgba(255,140,0,0.15);
    padding: 15px 20px;
    border-left: 4px solid #FF8C00;
    margin-bottom: 30px;
    border-radius: 4px;
    color: rgba(255,255,255,0.9);
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.9);
}

.form-group textarea,
.form-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid rgba(255,140,0,0.3);
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.form-group textarea::placeholder,
.form-group input[type="text"]::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group textarea:focus,
.form-group input[type="text"]:focus {
    outline: none;
    border-color: #FF8C00;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

/* Category Selector */
.category-selector {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.category-option {
    cursor: pointer;
}

.category-option input[type="radio"] {
    display: none;
}

.category-card {
    display: block;
    padding: 15px 20px;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,140,0,0.3);
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    transition: all 0.3s;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
}

.category-option input[type="radio"]:checked + .category-card {
    background: rgba(255,140,0,0.8);
    color: white;
    border-color: #FF8C00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,140,0,0.5);
}

.category-card:hover {
    border-color: #FF8C00;
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Options Input (Step 2) */
.option-input {
    margin-bottom: 20px;
}

.option-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 16px;
    color: rgba(255,255,255,0.9);
}

.option-input textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 15px;
    border: 2px solid rgba(255,140,0,0.3);
    border-radius: 8px;
    font-family: inherit;
    min-height: 80px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s;
}

.option-input textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.option-input textarea:focus {
    outline: none;
    border-color: #FF8C00;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

#add-option-btn {
    margin-bottom: 30px;
}

/* Consequence Explorer (Step 3) */
.consequence-explorer {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid rgba(255,140,0,0.2);
}

.consequence-explorer h3 {
    color: #FFD700;
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,140,0,0.3);
}

.consequences-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.consequence-section {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.consequence-section h4 {
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
    font-size: 16px;
}

.consequence-section.short-term {
    border-left: 4px solid #4a9eff;
    background: rgba(74,158,255,0.1);
}

.consequence-section.long-term {
    border-left: 4px solid #9b4aff;
    background: rgba(155,74,255,0.1);
}

.consequence-input {
    margin-bottom: 20px;
}

.consequence-input label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.consequence-input textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 2px solid rgba(255,140,0,0.3);
    border-radius: 6px;
    font-family: inherit;
    min-height: 70px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    transition: all 0.3s;
}

.consequence-input textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.consequence-input textarea:focus {
    outline: none;
    border-color: #FF8C00;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 10px rgba(255,140,0,0.3);
}

/* Feeling Selector (Emoji) */
.feeling-selector {
    margin-top: 15px;
}

.feeling-selector label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.emoji-options {
    display: flex;
    gap: 10px;
}

.emoji-options label {
    cursor: pointer;
    position: relative;
}

.emoji-options input[type="radio"] {
    display: none;
}

.emoji-options .emoji {
    display: block;
    font-size: 32px;
    padding: 8px;
    border: 3px solid transparent;
    border-radius: 50%;
    transition: all 0.3s;
}

.emoji-options label:hover .emoji {
    transform: scale(1.2);
}

.emoji-options label.selected .emoji,
.emoji-options input[type="radio"]:checked + .emoji {
    border-color: #FF8C00;
    background: rgba(255,140,0,0.2);
    box-shadow: 0 0 10px rgba(255,140,0,0.5);
}

/* Key Lessons */
.key-lessons {
    background: rgba(255,140,0,0.15);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 2px solid rgba(255,140,0,0.3);
}

.key-lessons label {
    font-size: 16px;
    color: #FFD700;
}

.save-consequence-btn {
    width: 100%;
    margin-top: 15px;
    font-size: 16px;
    padding: 12px;
}

.option-divider {
    border: none;
    border-top: 2px dashed rgba(255,140,0,0.3);
    margin: 40px 0;
}

/* Comparison Grid (Step 4) */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.comparison-card {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    border: 2px solid rgba(255,140,0,0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.comparison-card:hover {
    border-color: #FF8C00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,140,0,0.3);
}

.comparison-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.9);
}

.comparison-summary {
    margin: 15px 0;
}

.comparison-summary .time-period {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,140,0,0.2);
    color: rgba(255,255,255,0.8);
}

.comparison-summary .feeling {
    font-size: 24px;
}

.lessons-preview {
    margin-top: 15px;
    padding: 12px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
}

/* Decision Options */
.decision-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.decision-option {
    cursor: pointer;
}

.decision-option input[type="radio"] {
    display: none;
}

.decision-card {
    display: block;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border: 3px solid rgba(255,140,0,0.3);
    border-radius: 8px;
    text-align: center;
    min-width: 150px;
    transition: all 0.3s;
    color: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
}

.decision-option input[type="radio"]:checked + .decision-card {
    background: rgba(255,140,0,0.8);
    color: white;
    border-color: #FF8C00;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255,140,0,0.5);
}

.decision-card:hover {
    border-color: #FF8C00;
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

/* Sessions List (Start Page) */
.sessions-list {
    margin-bottom: 30px;
}

.sessions-list h3 {
    color: #FFD700;
    margin-bottom: 15px;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.session-card {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #FF8C00;
    backdrop-filter: blur(5px);
    transition: all 0.3s;
}

.session-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.session-card h4 {
    margin: 0 0 10px 0;
    color: rgba(255,255,255,0.9);
    font-size: 15px;
}

.session-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 12px;
}

.session-meta .category {
    background: rgba(255,140,0,0.3);
    padding: 2px 8px;
    border-radius: 12px;
    color: rgba(255,255,255,0.9);
}

.session-meta .date {
    color: rgba(255,255,255,0.6);
}

/* Start New Session */
.start-new-session {
    text-align: center;
    padding: 30px;
    background: rgba(255,140,0,0.15);
    border-radius: 8px;
    border: 2px solid rgba(255,140,0,0.3);
}

.start-new-session h3 {
    color: #FFD700;
    margin-bottom: 10px;
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255,140,0,0.3);
}

.wizard-navigation .button {
    padding: 12px 30px;
    font-size: 16px;
    background: rgba(255,140,0,0.8);
    color: white;
    border: 2px solid #FF8C00;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.wizard-navigation .button:hover {
    background: rgba(255,140,0,1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,140,0,0.5);
}

.wizard-navigation .button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wizard-navigation .button.secondary {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
}

.wizard-navigation .button.secondary:hover {
    background: rgba(255,255,255,0.15);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .consequence-thinker-student {
        padding: 20px;
    }
    
    .consequences-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .wizard-navigation .button {
        width: 100%;
    }
    
    .category-selector {
        flex-direction: column;
    }
    
    .category-card {
        text-align: center;
    }
}
