/* Main Area */
#area-principal-pix {
    background-color: #ffffff;
    color: #333;
    width: 100%;
    min-height: 100vh;
}

.centralizar {
    max-width: 1200px;
    margin: 0 auto;
}

/* First Section */
.pix-info {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.pix-area-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    background-color: #F8F8F8;
    border-radius: 16px;
    max-width: 850px;
    padding: 20px 32px;
}

.pix-area-info .nome-agradecimento {
    color: #3C89FC;
    font-size: 24px;
}

.pix-area-info .texto-info {
    font-size: 16px;
}

/* Second Section */
.pix-area-QR {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
}

.pix-area-QR .titulo-pix-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pix-area-QR svg {
    height: 100%;
    max-height: 32px;
}

.pix-area-QR .titulo-QR-pix {
    font-size: 32px;
}

.pix-area-QR .QR-imagem img {
    max-width: 300px;
}

.pix-area-QR .info-pix-QR {
    font-size: 16px;
    color: #2A549F;
    font-weight: 600;
    padding: 4px 32px;
    border: 2px solid #2A549F;
    border-radius: 16px;
}

/* Third Section */
.pix-codigo-copiar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0 80px 0;
}

.codigo-pix-input {
    background-color: #FFF;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.15));
    padding: 4px 20px;
    padding-right: 4px;
    border-radius: 12px;
}

.none-pix {
    font-size: 16px;
    font-weight: 500;
    max-width: 350px;
    margin-right: 8px;
    color: #333;
    border: none;
    background-color: transparent;
}

.none-pix:focus {
    outline: none;
}

.copiar-codigo-pix {
    background-color: #3C89FC;
    color: #F8F8F8;
    border: none;
    border-radius: 8px;
    height: 100%;
    font-size: 16px;
    font-weight: 500;
    padding: 8px;
    cursor: pointer;
}

/* Responsive Styling */
@media (max-width: 400px) {
    .pix-area-QR .titulo-QR-pix {
        font-size: 24px;
    }

    .pix-area-QR .QR-imagem img {
        max-width: 200px;
    }

    .centralizar {
        max-width: 200px;
        margin: 0 auto;
    }

    .pix-area-info {
        padding: 16px 24px;
    }

    .pix-area-QR .titulo-pix-area {
        gap: 4px;
    }

    .pix-area-QR svg {
        max-height: 24px;
    }

    .pix-area-info .nome-agradecimento {
        font-size: 20px;
    }

    .pix-area-info .texto-info,
    .pix-area-QR .info-pix-QR {
        font-size: 12px;
    }
}

/* Alert Box */
.alert-box {
    padding: 15px;
    margin-top: 24px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    display: none;
}

/* QR Code Button */
.gera-qrcode {
    display: none;
    background-color: #3C89FC;
    color: #F8F8F8;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    padding: 8px;
    cursor: pointer;
    margin-top: 15px;
}
.done-pix{
    display: none;
}
/* Loading Spinner */
.lds-ring {
    display: none;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #cef;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #cef transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
