/* Basic Page Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Container Styling */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Section and Question Titles */
h2, h3 {
    color: #2c3e50;
    margin-top: 20px;
}

h3 .required {
    color: #e74c3c;
    margin-left: 5px;
}

/* Impact Tables */
.impact-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.impact-table th,
.impact-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.impact-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 800px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
    color: #999;
}

/* Question Icon Styling */
.question-icon {
    font-size: 1.2rem;
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 50%;
    cursor: pointer;
}

/* Navigation Buttons */
.navigation-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.nav-button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.nav-button:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .impact-table th, .impact-table td {
        font-size: 0.9rem;
    }
    .question-icon {
        font-size: 1rem;
    }
    .navigation-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    .nav-button {
        width: 100%;
        margin-top: 10px;
    }
}
