/* Container for the FAQ */
.ct-faq-container {
    margin: 20px;
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    border-radius: 5px;
    padding: 15px;
}

/* Style for each FAQ item */
.ct-faq-item {
    background-color: #007c8c;
    color: #ffffff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center; /* Align the text and icon */
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

/* Hover effect for FAQ items */
.ct-faq-item:hover {
    background-color: #005f66;
}

/* Style for FAQ question */
.ct-faq-question {
    font-weight: bold;
    font-size: 16px;
    padding-right: 20px;
}

/* Style for the icon (before each FAQ item) */
.ct-faq-item::after {
    content: "+";
    font-size: 20px;
    margin-right: 10px;
    font-weight: bold;
    color: white;
    transition: transform 0.3s ease;
    position: absolute;
    top: 10px;
    z-index: 99999;
    right: 10px;
}

/* When FAQ is expanded, change the icon to '-' */
.ct-faq-item.active::after {
    content: "-";
}

/* Style for FAQ answer (hidden by default) */
.ct-faq-answer {
    display: none;
    margin-top: 10px;
    background-color: #f9f9f9;
    color: #333;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

/* Active class to show answer when clicked */
.ct-faq-item.active .ct-faq-answer {
    display: block !important;
}

/* Button styling for "Copy Shortcode" */
button, .button {
    padding: 8px 15px;
    background-color: #007c8c;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

button:hover, .button:hover {
    background-color: #005f66;
}

/* Styling for the copy shortcode input */
input[type="text"] {
    width: 100%;
    padding: 8px;
    font-size: 14px;
    margin-bottom: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/* Add some spacing between FAQ items */
.ct-faq-item + .ct-faq-item {
    margin-top: 10px;
}
