/* 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;
}

/* Responsive Design */
@media screen and (max-width: 600px) {
    .impact-table th, .impact-table td {
        font-size: 0.9rem;
    }
    .question-icon {
        font-size: 1rem;
    }
}
/* Add these styles to your specific_sdg.css file if they don't already exist */

/* Question Icon Styling */
.question-icon {
    font-size: 1.2rem;
    background: #3498db;
    color: white;
    padding: 4px 8px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* 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.hidden {
    display: none;
}

.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;
    max-height: 90vh;
    overflow-y: auto;
}

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

/* Responsive Design */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
        padding: 15px;
    }

    .question-icon {
        font-size: 1rem;
        padding: 3px 6px;
    }
}