/* assets/css/tabs/guides.css */

/* --- PROGRESS BAR (Fortschrittsanzeige) --- */
.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.progress-step {
    flex: 1;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #bbb;
    position: relative;
    transition: all 0.3s ease;
}

.progress-step.active {
    color: var(--primary-dark);
}

.progress-step::after {
    content: '';
    position: absolute;
    bottom: -22px; 
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
    border-radius: 4px;
}

.progress-step.active::after {
    width: 60%;
}

/* --- WIZARD SCHRITTE & ANIMATION --- */
.wizard-step {
    display: none;
    animation: fadeEffect 0.4s ease forwards;
}

.wizard-step.active {
    display: block;
}

/* --- OPTION BUTTONS (Indoor/Outdoor & Substrat) --- */
.wizard-options {
    display: grid;
    gap: 20px;
    margin: 0 auto;
    width: 100%;
}

.wizard-opt-btn {
    background: #f9fdfa;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    outline: none;
}

.wizard-opt-btn i {
    transition: transform 0.3s ease;
}

.wizard-opt-btn span {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-main);
    margin-top: 10px;
    margin-bottom: 5px;
}

.wizard-opt-btn small {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
}

/* Hover & Active Zustände */
.wizard-opt-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.wizard-opt-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: 0 5px 15px rgba(90, 125, 110, 0.2);
}

.wizard-opt-btn.active i {
    transform: scale(1.1);
}

/* Deaktivierte Buttons (z.B. Hydro bei Outdoor) */
.wizard-opt-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f5f5f5;
    border-color: #ddd;
}

/* --- AUSGEWÄHLTE PFLANZEN LISTE --- */
#wizardPlantList {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.selected-plant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.remove-plant-btn {
    background: #fff0f0;
    border: 1px solid #ffcccc;
    color: var(--danger);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.remove-plant-btn:hover {
    background: var(--danger);
    color: white;
}

/* --- RESULT GUIDE STYLING (Finaler Guide) --- */
.guide-header {
    background: var(--primary-light);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 5px solid var(--primary-color);
}

.guide-header h4 {
    margin: 0 0 10px 0;
    color: var(--primary-dark);
    font-size: 1.6rem;
}

.guide-phase-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.guide-phase-box h5 {
    margin: 0 0 15px 0;
    font-size: 1.3rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 12px;
}

.guide-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    font-size: 1.05rem;
    color: #444;
}

.guide-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MOBILE ANPASSUNGEN --- */
@media (max-width: 768px) {
    .wizard-progress-bar {
        flex-direction: column;
        gap: 8px;
        border: none;
        margin-bottom: 30px;
    }
    
    .progress-step {
        text-align: left;
        padding: 10px 15px;
        background: #f0f0f0;
        border-radius: 8px;
    }
    
    .progress-step::after {
        display: none;
    }
    
    .progress-step.active {
        background: var(--primary-color);
        color: white;
    }

    .wizard-options {
        grid-template-columns: 1fr !important;
    }
    
    .selected-plant-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-plant-btn {
        align-self: flex-end;
    }
}