* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #504970;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('../Faqs/assets/images/background-pattern-desktop.svg');
    overflow-y: auto;
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', sans-serif;
}

.logo {
    position: absolute;
    top: 15px; 
    left: 35px; 
    width: 300px; 
    height: auto;
    z-index: 1000; 
}

@media (max-width: 767px) {
    .logo {
        position: fixed; 
        top: 15%; 
        left: 50%; 
        transform: translate(-50%, -50%); 
        width: 250px; 
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.hidden {
    display: none;
}

.three-body {
    --uib-size: 35px;
    --uib-speed: 0.8s;
    --uib-color: #5D3FD3;
    position: relative;
    display: inline-block;
    height: var(--uib-size);
    width: var(--uib-size);
    animation: spin78236 calc(var(--uib-speed) * 2.5) infinite linear;
}

.three-body__dot {
    position: absolute;
    height: 100%;
    width: 30%;
}

.three-body__dot:after {
    content: '';
    position: absolute;
    height: 0%;
    width: 100%;
    padding-bottom: 100%;
    background-color: var(--uib-color);
    border-radius: 50%;
}

.three-body__dot:nth-child(1) {
    bottom: 5%;
    left: 0;
    transform: rotate(60deg);
    transform-origin: 50% 85%;
}

.three-body__dot:nth-child(1)::after {
    bottom: 0;
    left: 0;
    animation: wobble1 var(--uib-speed) infinite ease-in-out;
    animation-delay: calc(var(--uib-speed) * -0.3);
}

.three-body__dot:nth-child(2) {
    bottom: 5%;
    right: 0;
    transform: rotate(-60deg);
    transform-origin: 50% 85%;
}

.three-body__dot:nth-child(2)::after {
    bottom: 0;
    left: 0;
    animation: wobble1 var(--uib-speed) infinite
        calc(var(--uib-speed) * -0.15) ease-in-out;
}

.three-body__dot:nth-child(3) {
    bottom: -5%;
    left: 0;
    transform: translateX(116.666%);
}

.three-body__dot:nth-child(3)::after {
    top: 0;
    left: 0;
    animation: wobble2 var(--uib-speed) infinite ease-in-out;
}

@keyframes spin78236 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes wobble1 {
    0%, 100% {
        transform: translateY(0%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-66%) scale(0.65);
        opacity: 0.8;
    }
}

@keyframes wobble2 {
    0%, 100% {
        transform: translateY(0%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(66%) scale(0.65);
        opacity: 0.8;
    }
}

@media (max-width: 48rem) {
    .loader {
        padding: 10px; 
    }

    .three-body {
        --uib-size: 25px; 
    }
}


.container-faq {
    background-color: #ffff;
    border-radius: 15px;
    padding: 30px;
    color: #37334B;
    width: 550px;
    height: auto;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.faq h2 {
    text-align: start;
    margin-bottom: 20px;
    margin-left: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #37334B;
    position: relative;
}

.star-icon {
    height: 30px;
    width: 31px;
    position: absolute;
    left: -40px;
    top: 50%;
    transform: translateY(-50%);
}

.item-faq {
    margin-bottom: 20px;
}

.pergunta-faq {
    background-color: #ffffff;
    color: #2a2626;
    border: none;
    outline: none;
    padding: 15px;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 5px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
     font-family: "Inter", sans-serif;
}

.icon {
    width: 20px;
    height: 20px;
}

.plus-icon {
    display: block;
}

.minus-icon {
    display: none;
}

.pergunta-faq.ativo .plus-icon {
    display: none;
}

.pergunta-faq.ativo .minus-icon {
    display: block;
}

.resposta-faq {
    background-color: white;
    color: #3d3951;
    padding: 15px;
    border-radius: 5px;
    margin-top: 5px;
    display: none;
    font-weight: 300;
}

.resposta-faq p {
    margin: 0;
}

.suporte {
    color: #7B2ABB;
}

@media (max-width: 600px) {
    body {
        padding: 20px;
    }

    .container-faq {
        width: 100%;
        padding: 20px;
    }

    .faq h2 {
        margin-left: 40px;  
        font-size: 28px;
    }

    .star-icon {
        left: -30px;  
    }

    .pergunta-faq {
        font-size: 14px;
        padding: 10px;
    }

    .resposta-faq {
        padding: 10px;
    }
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 200px; 
        opacity: 1;
    }
}

.resposta-faq {
    animation: none;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.pergunta-faq.ativo + .resposta-faq {
    animation: slideDown 0.3s ease forwards;
    max-height: 200px; 
    opacity: 1;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.item-faq {
    animation: slideInUp 0.5s ease-out;
}



