/* 
This file contains styles for the public-facing part of the plugin. 
You can add your CSS rules below to style the FAQ entries as needed.
*/ 

.faq-entry {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
}

.faq-question {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
}

.faq-answer {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
}

.zacoder-faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.zacoder-faq-item {
    margin-bottom: 10px;
    border: 1px solid  #F3F4FE;
    border-radius: 4px;
}

.zacoder-faq-question {
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    position: relative;
    font-weight: bold;
}

.zacoder-faq-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

/* SVG toggle icons */
.zacoder-faq-toggle .toggle-open {
    display: none;
}

.zacoder-faq-toggle .toggle-closed {
    display: inline-block;
}

.zacoder-faq-question.active .toggle-open {
    display: inline-block;
}

.zacoder-faq-question.active .toggle-closed {
    display: none;
}

/* Remove Font Awesome specific styling */
.zacoder-faq-toggle .caret-up,
.zacoder-faq-toggle .caret-down {
    display: none;
}

.zacoder-faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.2s ease, opacity 0.2s ease, padding 0.2s ease;
    box-sizing: border-box;
}

.zacoder-faq-answer.active {
    padding: 15px;
    padding-left: 70px !important;
    max-height: 2000px; /* Increased to accommodate larger content */
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.2s ease;
}

.zacoder-faqs-container {
    margin: 0px;
}
.zacoder-faqs-list {
    width: 1199px;
    padding-top: 0;
    display: flex;
    
}
.zacoder-faq-question {
    background: #F9F9F9 !important;
    border: none !important;
    font-family: nunito;
    font-size: 18px;
    font-weight: 700;
    padding-left: 70px !important;
    text-transform: capitalize;
    
}
.zacoder-faq-answer {
    background-color: #F9F9F9;
    font-family: nunito;
    font-size: 18px;
    font-weight: 400;
    padding-left: 70px !important;
}
.zacoder-faq-item {
    border: 1px solid #F3F4FE;
}
.zacoder-faqs-list {
    display: flex
;
    flex-direction: column;
    gap: 10px;
}
.zacoder-faq-toggle {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
  
    width: 40px;
    height: 40px;
    padding-left: 0px;
    padding-top: 2px;
    font-size: 25px;
    border-radius: 8px;
    color: #C12664;
}
 @media (max-width: 767px) {
           .zacoder-faqs-list {
    width: 325px;
    padding-top: 0;
    display: flex;
    
} 
.zacoder-faq-question {
    background: #F9F9F9 !important;
    border: none !important;
    font-family: nunito;
    font-size: 16px;
    font-weight: 700;
    padding-left: 70px !important;
    text-transform: capitalize;
        }
        .zacoder-faq-answer {
    background-color: #F9F9F9;
    font-family: nunito;
    font-size: 15px;
    font-weight: 400;
    padding-left: 10px !important;
        }
        .zacoder-faq-answer.active {
        padding-left: 10px !important;
    }
}