/**
 * Glucosoral FAQ Styles
 * Follows the design from Figma
 */

.glucosoral-faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.glucosoral-faq-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.glucosoral-faq-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.glucosoral-faq-column {
    flex: 0 0 50%;
    padding: 0 15px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

/* Responsive para móvil */
@media (max-width: 767px) {
    .glucosoral-faq-column {
        flex: 0 0 100%;
    }
}

.glucosoral-faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

.glucosoral-faq-item.active {
    background-color: #ff3333;
    color: white;
}

.glucosoral-faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
}

.faq-number {
    font-weight: bold;
    margin-right: 8px;
}

.faq-title {
    flex-grow: 1;
}
span.faq-title {
    max-width: 83%;
}
.faq-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    cursor: pointer;
    border-radius: 50%;
    background-color: #FF3333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.faq-toggle:before {
    content: '';
    width: 12px;
    height: 2px;
    background-color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.faq-toggle:after {
    content: '';
    width: 2px;
    height: 12px;
    background-color: white;
    position: absolute;
    transition: all 0.3s ease;
}

.active .faq-toggle {
    background-color: #ff3333;
}

.active .faq-toggle:after {
    transform: rotate(90deg);
    opacity: 0;
}

.glucosoral-faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.active .glucosoral-faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .glucosoral-faq-column {
        flex: 0 0 100%;
    }
    
    .glucosoral-faq-question {
        font-size: 16px;
        padding: 15px;
    }
    
    .active .glucosoral-faq-answer {
        padding: 0 15px 15px;
    }
}
