/* Questions container */
.questions-container {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    background-color: #f0f0f0;
}

.questions-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.questions-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

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

.question-section.collapsed ul {
    display: none;
}

.question-section h3 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    cursor: pointer;
    user-select: none;
}

.question-section h3::before {
    content: '▼ ';
    font-size: 0.8rem;
}

.question-section.collapsed h3::before {
    content: '▶ ';
    font-size: 0.8rem;
}

.toggle-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.remodel-category {
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.remodel-category:first-of-type {
    margin-top: 0.5rem;
}

#questionsList {
    list-style: none;
    padding: 0;
}

#questionsList li {
    background-color: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

#questionsList li:hover {
    background-color: #e9ecef;
}

.remodel-list {
    list-style: none;
    padding: 0;
    margin-bottom: 0.5rem;
}

.remodel-list li {
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    font-size: 1rem;
    line-height: 1.5;
}

.remodel-now li {
    background-color: #ffe0e0;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.remodel-now li::before {
    content: "🔴 ";
    margin-right: 0.5rem;
}

.remodel-later li {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.remodel-later li::before {
    content: "🟡 ";
    margin-right: 0.5rem;
}

.remodel-future li {
    background-color: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.remodel-future li::before {
    content: "🟢 ";
    margin-right: 0.5rem;
}

.question-text {
    flex: 1;
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.5;
}

.no-questions {
    color: #6c757d;
    font-style: italic;
    border-left-color: #6c757d !important;
}

.remove-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    margin-left: 1rem;
}

.remove-btn:hover {
    background-color: #c0392b;
}

.add-question-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #ecf0f1;
}

.add-question-section h3 {
    color: #34495e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

#newQuestion {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 1rem;
}

#newQuestion:focus {
    outline: none;
    border-color: #3498db;
}

.add-btn {
    background-color: #27ae60;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-btn:hover {
    background-color: #229954;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .questions-container {
        padding: 1rem;
    }

    .questions-content {
        padding: 1.5rem;
    }

    .questions-content h2 {
        font-size: 1.5rem;
    }

    .question-section h3,
    .add-question-section h3 {
        font-size: 1.1rem;
    }

    #questionsList li {
        flex-direction: column;
        align-items: flex-start;
    }

    .remove-btn {
        margin-top: 0.5rem;
        margin-left: 0;
        align-self: flex-end;
    }

    #newQuestion {
        min-height: 80px;
    }
}

@media (max-width: 480px) {
    .questions-content {
        padding: 1rem;
    }

    .questions-content h2 {
        font-size: 1.3rem;
    }

    .add-btn {
        width: 100%;
    }
}
