/* Make the survey modal wider */
#surveysModal .custom-modal-content {
    max-width: 800px; /* Increased from standard badge modal width */
    width: 90%;
    padding: 30px;
}

/* Fix spacing between questions */
.survey-question {
    margin-bottom: 25px; /* Adds space before the next question */
    padding-bottom: 15px;
    border-bottom: 1px solid #eee; /* Optional: adds a subtle separator */
}

.survey-question p {
    font-weight: bold;
    margin-bottom: 10px; /* Space between text and inputs */
}

.survey-description {
    font-style: italic;
    color: #666;
    margin-bottom: 20px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

.survey-notice-header {
    background: linear-gradient(135deg, #355C7D, #C56C86);
    color: white;
    padding: 12px 15px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.survey-description-box {
    background-color: var(--card-bg);
    border: 1px solid #ddd;
    border-top: none;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 0 0 8px 8px;
    max-height: 250px; /* Limits height so questions stay visible */
    overflow-y: auto;  /* Adds a scrollbar for long text */
    font-size: 0.95rem;
    line-height: 1.5;
    white-space: pre-line; /* Respects line breaks from your database */
}

/* Custom Scrollbar for the description */
.survey-description-box::-webkit-scrollbar {
    width: 6px;
}
.survey-description-box::-webkit-scrollbar-thumb {
    background-color: #C56C86;
    border-radius: 10px;
}

.likert-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
    background: var(--sidebar-bg); /* Slight contrast background */
    padding: 10px 15px;
    border-radius: 8px;
    width: fit-content;
}

.likert-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.8;
}

.likert-options {
    display: flex;
    gap: 12px;
}

.likert-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}

.likert-option input {
    margin-bottom: 5px;
    cursor: pointer;
}
