.only_for_question_accordian {
    transition: transform 0.3s ease;
}

.faq-answer p {
    margin-bottom: 0px !important;
    text-align: justify;
    font-size: 14px !important;
    font-weight: 400 !important;
}

ul.answers.faq-answer {
    margin-bottom: 15px !important;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    background: #ffffff;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.faq-answer {
    display: none;
    padding: 15px;
    background: #fff;
    margin: 10px 20px !important;
}


.hfe-before-footer-wrap {
    display: none !important;
}


.accordion-header {
    width: 100%;
    padding: 20px 50px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    background-color: white;
    border: none;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}


.accordion-header:focus {
    outline: none;
}

.dropdown-icon {
    font-size: 16px;
    color: #666;
    transition: transform 0.3s ease;
}

.accordion-header.active {
    background-color: #0078d7;
    color: white;
    border: none;
    border-color: #0078d7;
}

.accordion-content {
    display: none;
    padding: 15px 20px;
    border-top: none;
    border-radius: 0 0 10px 10px;
    background-color: white;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Styling for answers */
.answers {
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}

.answers li {
    margin-bottom: 10px;
    font-size: 16px;
}

.answers li input {
    margin-right: 10px;
}

/* Optional: Add a subtle shadow effect for the accordion */
.accordion-item {
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.questionnaire-questions .heading_2_answer {
    transform: scale(1.6);
    margin-right: 20px;
}







.cke_notifications_area {
    display: none !important;
    pointer-events: none;
}

.blue-color {
    color: rgb(0, 102, 204) !important;
}

.min_max_error {
    color: red !important;
    font-size: 18px !important;
    text-align: center !important;
}

.questionnaire-questions {
    max-width: 55%;
    margin: 20px auto;
    padding: 50px;
    background-color: rgb(245, 247, 248);
    border-radius: 8px;
}

.questionnaire-questions h2 {
    margin-bottom: 30px;
    font-size: 45px;
    color: rgb(152, 30, 37);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    text-align: center;
}

.questionnaire-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.questionnaire-form label {
    font-weight: bold;
    color: #555;
}

.questionnaire-form textarea {
    width: 100%;
    height: 60px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: none;
    font-size: 16px;
    color: #333;
}

.answers {
    list-style-type: none;
    padding: 0;
    margin: 10px 0;
}

.answers li {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 18px;
    color: #555;
}

.answers input {
    margin-right: 10px;
    transition: accent-color 0.3s;
}

input[type="radio"]:focus,
input[type="radio"]:checked,
input[type="checkbox"]:focus,
input[type="checkbox"]:checked {
    border: none;
    outline: none;
    accent-color: rgb(152, 30, 37);
}

input[type="radio"]:not(:checked):hover,
input[type="checkbox"]:not(:checked):hover {
    border: 1px solid #ccc;
}

.question_input {
    background-color: transparent;
    border: none !important;
    outline: none;
    font-size: 20px;
    color: #333;
}

.questionnaire-questions .submit-btn {
    padding: 12px 20px;
    background-color: transparent !important;
    color: rgb(152, 30, 37);
    border: 1px solid rgb(152, 30, 37);
    border-radius: 5px;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
}

.questionnaire-questions .preview_btn {
    padding: 18px 20px;
    margin-top: 20px;
    width: 100%;
    background-color: transparent !important;
    color: rgb(152, 30, 37);
    border: 1px solid rgb(152, 30, 37);
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
    text-decoration: none;
}

.submit-btn:hover {
    background-color: rgb(152, 30, 37) !important;
    color: white;
}

.preview_btn:hover {
    background-color: rgb(152, 30, 37) !important;
    color: white;
}

.min_max_error {
    font-size: 16px;
    color: red;
}












/* Main Tabs */
.questionnaire-tabs .main-tabs {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

.questionnaire-tabs .main-tabs li {
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid #ddd;
    margin-right: 5px;
    background: #f9f9f9;
}

.questionnaire-tabs .main-tabs li.active {
    background: #2271b1;
    color: #fff;
    border-bottom: 1px solid #fff;
}

/* Sub Tabs */
.questionnaire-tabs .sub-tabs {
    display: flex;
    list-style-type: none;
    margin: 20px 0 0;
    padding: 0;
    border-bottom: 1px solid #ddd;
}

/* General action button styles */
.action-btn {
    padding: 5px 15px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

/* Edit Button Styles */
.edit-btn {
    background-color: #007bff;
    color: white;
}

.edit-btn:hover {
    background-color: #0056b3;
    color: white;
}

/* Delete Button Styles */
.delete-btn {
    background-color: #dc3545;
    color: white;
}

.delete-btn:hover {
    background-color: #c82333;
}

.questionnaire-tabs .sub-tabs li {
    padding: 8px 15px;
    cursor: pointer;
    border: 1px solid #ddd;
    margin-right: 5px;
    background: #f9f9f9;
}

.questionnaire-tabs .sub-tabs li.active {
    background: #fff;
    border-bottom: 1px solid #fff;
}

/* Tab and Sub-tab Content */
.questionnaire-tabs .tab-content,
.questionnaire-tabs .sub-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-top: none;
}

.questionnaire-tabs .tab-content.active,
.questionnaire-tabs .sub-tab-content.active {
    display: block;
}

#business-plan-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.percentage-field {
    gap: 10px;
    margin-bottom: 10px;
}

.percentage-input,
.percentage-label {
    width: 100%;
}

.add-percentage-field {
    padding: 5px 10px;
}


/* Field Group Styling */
.field-group {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.field-group .add-field-group {
    margin-top: 10px;
}

/* Container styling for the form */
#planning {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Form styling */
#business-plan-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form group styling */
.form-group {
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

/* Input styling */
input[type="text"],
input[type="number"],
select {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-top: 5px;
}

/* Input focus effect */
input[type="text"]:focus,
input[type="number"]:focus,
select:focus {
    border-color: #007bff;
    outline: none;
}

/* Select styling */
select {
    background-color: #fff;
    cursor: pointer;
}

/* Range input fields */
.range-fields {
    display: flex;
    align-items: center;
    gap: 10px;
}

.range-fields input {
    width: 100px;
}

.range-fields span {
    color: #333;
}

/* Percentage fields styling */
#percentage-fields {
    margin-top: 20px;
}

.percentage-field {
    gap: 10px;
}

.percentage-input,
.max-percentage-input {
    width: 30%;
    min-width: 150px;
}

.add-percentage-field {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

.add-percentage-field:hover {
    background-color: #0056b3;
}

/* Submit button styling */
button[type="submit"] {
    background-color: #28a745;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #218838;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .percentage-field {
        flex-direction: column;
        gap: 10px;
    }

    .percentage-input,
    .max-percentage-input,
    .percentage-label {
        width: 100%;
    }

    .range-fields {
        flex-direction: column;
    }

    .range-fields input {
        width: 100%;
    }
}


/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black with transparency */
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10;
    right: 15px;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.content-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
    /* Space between the button and the table */
}

button#open-form-btn {
    padding: 5px;
}

.wider-select {
    width: 100%;
    max-width: 596px !important;
    padding: 10px !important;
}

button.button.button-primary.primary-submit-button {
    padding: 8px;
}




/*   view button data */

.unique-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 400px;
    max-width: 90%;
}

.unique-modal-content {
    position: relative;
}

.unique-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}



/* Basic table styling */
.percentage-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.percentage-data-table th,
.percentage-data-table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
    font-size: 14px;
}

.percentage-data-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

.percentage-data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.percentage-data-table tr:hover {
    background-color: #f1f1f1;
}

.percentage-data-table td {
    font-size: 14px;
    color: #333;
}




/* Edit model css Start */

/* Style for Edit Question Modal */
.edit-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    /* Semi-transparent background */
}

.edit-modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
}

.edit-modal-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    margin-left: 582px;
}

.edit-modal-close:hover,
.edit-modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.edit-modal h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.edit-modal label {
    display: block;
    margin-top: 10px;
}

.edit-modal input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.edit-modal button {
    padding: 10px 20px;
    background-color: #2271b1;
    /* Green button */
    color: white;
    border: none;
    cursor: pointer;
}

.edit-modal button:hover {
    background-color: #2271b1;
}


/* Edit model css End*/

/* Percentage Data Row Layout */
#percentage-data-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Space between each row */
    margin-top: 10px;
}

/* Style for each percentage data row */
.percentage-data-row {
    display: flex;
    justify-content: space-between;
    /* Space out the items */
    align-items: center;
}

.percentage-data-row div {
    width: 30%;
    /* Each column takes 30% of the available space */
}

label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="number"] {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
    width: 100%;
}

.field-set textarea {
    min-height: 100px;
    resize: none;
    width: 100%;
}

/* Ensure inputs are aligned and look consistent */
input[type="number"]:disabled {
    background-color: #f9f9f9;
    /* Light background for disabled inputs */
    color: #666;
    /* Light gray text for disabled */
}

/* For mobile responsiveness - stack columns on smaller screens */
@media (max-width: 768px) {
    .percentage-data-row {
        flex-direction: column;
        /* Stack the percentage columns vertically */
        align-items: flex-start;
        /* Align to the left */
    }

    .percentage-data-row div {
        width: 100%;
        /* Full width on mobile */
    }
}

button#add-percentage-field {
    min-height: 40px;
}

.answers {
    counter-reset: answer-counter;
    /* Initialize counter */
    list-style-type: none;
    /* Remove default numbers */
    padding-left: 0;
}

.answers li {
    counter-increment: answer-counter;
    /* Increment counter */
    position: relative;
    padding-left: 30px;
}

.answers li label::before {
    content: counter(answer-counter, upper-alpha) ".";
    /* Show as A., B., etc. */
    position: absolute;
    left: 0;
    font-weight: bold;
    margin-top: -3px;
    font-size: 22px;
}


/* Style for disabled anchor tag */
a.submit-btn.disabled {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.6;
    text-decoration: none;
}

/* Style for enabled anchor tag */
a.submit-btn:not(.disabled) {
    cursor: pointer;
    pointer-events: auto;
    opacity: 1;
}

/* Style for disabled button */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.terms-container {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* my changes */

button.accordion-header span {
    /* display: flex !important; */
    gap: 5px !important;
}

span.larg {
    font-size: 22px;
    font-weight: 600;
}

span.bold {
    font-size: 20px;
    font-weight: 600;
}

small.size {
    font-size: 13px;
    font-weight: 500;
}

.add-new {
    display: flex;
    justify-content: center;
    margin-top: 20px;

}

/* my changes */


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-5px);
    }

    40%,
    80% {
        transform: translateX(5px);
    }
}

/* Optional: Style for when checkbox is invalid */
input[type="checkbox"]:invalid {
    outline: 2px solid red;
}