.elementor-element #labelg {
    color: #47767E;
    font-size: 32px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

#containerg {
    background-color: #47767E;
    max-height: 60px; /* Ajuste para o valor desejado */
    margin: 0 auto; /* Centraliza o contêiner */
}

#containerg h2 {
    color: #edf6f9;
}

#containergname,
#containerglabel {
    color: #ffffff;
}

/* ---------------------*/
/* Botoes 
/* ---------------------*/

/* Contêiner principal para os botões */
.tuzzello-buttons {
    display: flex;
    gap: 15px; /* Espaçamento entre botões */
    justify-content: center; /* Centraliza os botões */
    align-items: center; /* Alinha verticalmente */
    margin: 20px 0; /* Margem superior e inferior */
    text-align: center;
}

/* Botões individuais */
.tuzzello-buttons .tuzzello-button {
    padding: 8px 16px;
    border: 2px solid #edf6f9; /* Borda branca */
    border-radius: 25px; /* Bordas arredondadas */
    text-decoration: none; /* Remove o sublinhado */
    color: #edf6f9; /* Cor do texto */
    font-family: 'Poppins', sans-serif; /* Fonte padrão */
    font-size: 13px; /* Tamanho da fonte */
    font-weight: bold; /* Texto em negrito */
    background-color: transparent; /* Fundo transparente */
    transition: all 0.3s ease; /* Animação suave */
}

/* Hover dos botões */
.tuzzello-buttons .tuzzello-button:hover {
    background-color: #f35b04; /* Fundo laranja no hover */
    border-color: #f35b04; /* Borda laranja no hover */
    color: #ffffff; /* Texto branco no hover */
    transform: scale(1.05); /* Efeito de zoom suave */
}

/* Corrigir conflitos com Elementor */
.elementor-widget-container .tuzzello-buttons .tuzzello-button {
    box-sizing: border-box;
    display: inline-block;
}

/* Ajuste extra para centralizar os botões corretamente */
.elementor-shortcode .tuzzello-buttons {
    text-align: center;
}

/* Remover barra do Google Translate */
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf {
    display: none !important;
}

.grpms-platform-commission-form {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    margin: 20px auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.grpms-platform-commission-label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
    color: #333;
}

.grpms-platform-commission-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
}

.grpms-platform-commission-button {
    background-color: #47767E;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.grpms-platform-commission-button:hover {
    background-color: #365c64;
}

.grpms-platform-commission-display {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
    color: #424242;
}

.grpms-platform-commission-success {
    color: #4CAF50;
    text-align: center;
    font-weight: bold;
}

.grpms-platform-commission-error {
    color: #F44336;
    text-align: center;
    font-weight: bold;
}

#grpms-login h2,
#grpms-login label {
    color: #edf6f9;
}

/* ===========================
   Popup de feedback GRPMS (toast)
   =========================== */

.grpms-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    min-width: 260px;
    max-width: 320px;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: Poppins, sans-serif;
    font-size: 13px;
    color: #edf6f9;
    z-index: 999999;
    animation: fadeInUp 0.4s ease;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Variações de status */
.grpms-popup.success {
    background-color: #47767E; /* cor principal */
}

.grpms-popup.error {
    background-color: #f35b04; /* cor vib para erro */
}

.grpms-popup.info {
    background-color: #424242; /* cor escura */
}

.grpms-popup.warning {
    background-color: #ffa500; /* aviso */
}

/* Conteúdo do popup */
.grpms-popup-content {
    flex: 1;
    margin-right: 12px;
    line-height: 1.4;
}

/* Botão de fechar */
.grpms-popup-close-btn {
    background: transparent;
    border: none;
    color: #edf6f9;
    font-weight: bold;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.grpms-popup-close-btn:hover {
    transform: scale(1.2);
}

.grpms-product-ok-popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1000000;
    padding: 20px;
}

.grpms-product-ok-popup-box {
    width: min(420px, 100%);
    background: #47767E;
    color: #edf6f9;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    font-family: Poppins, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    padding: 24px 28px;
    text-align: center;
}

.grpms-product-ok-popup-box.error {
    background: #f35b04;
}

.grpms-product-ok-popup-box.warning {
    background: #f35b04;
}

.grpms-product-ok-popup-box p {
    margin: 0 0 18px;
}

.grpms-product-confirm-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn,
body.dark-theme .grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn {
    min-width: 92px;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #47767E !important;
    border: 0 !important;
    border-radius: 5px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 24px;
    text-transform: uppercase;
    opacity: 1 !important;
    visibility: visible !important;
}

.grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn:hover,
.grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn:focus,
body.dark-theme .grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn:hover,
body.dark-theme .grpms-product-ok-popup-overlay .grpms-product-ok-popup-btn:focus {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #f35b04 !important;
    border: 0 !important;
    opacity: 1 !important;
}

.grpms-product-ok-popup-box.error .grpms-product-ok-popup-btn,
.grpms-product-ok-popup-box.warning .grpms-product-ok-popup-btn,
body.dark-theme .grpms-product-ok-popup-box.error .grpms-product-ok-popup-btn,
body.dark-theme .grpms-product-ok-popup-box.warning .grpms-product-ok-popup-btn {
    color: #f35b04 !important;
}

.grpms-product-confirm-cancel-btn,
body.dark-theme .grpms-product-confirm-cancel-btn {
    min-width: 92px;
    background: #47767E !important;
    background-color: #47767E !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 5px;
    cursor: pointer;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    font-weight: 700;
    opacity: 1 !important;
    padding: 10px 24px;
    text-transform: uppercase;
    visibility: visible !important;
}

.grpms-product-confirm-cancel-btn:hover,
.grpms-product-confirm-cancel-btn:focus,
body.dark-theme .grpms-product-confirm-cancel-btn:hover,
body.dark-theme .grpms-product-confirm-cancel-btn:focus {
    background: #47767E !important;
    background-color: #47767E !important;
    color: #ffffff !important;
    opacity: 1 !important;
}

body.dark-theme .grpms-product-ok-popup-box,
body.dark-theme .grpms-popup-box {
    background: #213238 !important;
    border: 1px solid rgba(199, 240, 228, 0.22) !important;
    color: #c7f0e4 !important;
}

body.dark-theme .grpms-product-ok-popup-box p,
body.dark-theme .grpms-popup-box p,
body.dark-theme .grpms-popup-box label,
body.dark-theme .grpms-popup-box li {
    color: rgba(199, 240, 228, 0.82) !important;
}

body.dark-theme .grpms-product-ok-popup-box h1,
body.dark-theme .grpms-product-ok-popup-box h2,
body.dark-theme .grpms-product-ok-popup-box h3,
body.dark-theme .grpms-popup-box h1,
body.dark-theme .grpms-popup-box h2,
body.dark-theme .grpms-popup-box h3 {
    color: #c7f0e4 !important;
}

/* Animação para aparecer de baixo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* (Opcional) animação para desaparecer */
@keyframes fadeOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Animação para desaparecer para a direita */
@keyframes fadeOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

/* Help modal used by product display popup */
.grp-help-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2147483647;
    padding: 28px;
    pointer-events: none;
}

.grp-help-modal.is-open {
    display: flex;
}

.grp-help-backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    animation: grpHelpFade 0.35s ease both;
}

.grp-help-shell {
    position: relative;
    z-index: 1;
    width: min(384px, 36vw);
    height: min(59.2vh, 541px);
    border-radius: 26px;
    background: linear-gradient(160deg, #0f2024 0%, #1e3a40 55%, #f35b04 130%);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 35px 90px rgba(0,0,0,0.45);
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    transform: translateY(10px) scale(0.98);
    animation: grpHelpIn 0.35s ease forwards;
    pointer-events: auto;
}

.grp-help-header {
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #f8fafc;
    backdrop-filter: blur(4px);
}

.grp-help-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grp-help-kicker {
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.75;
}

.grp-help-title h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.grp-help-close {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.grp-help-close:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.05);
}

.grp-help-body {
    padding: 16px 16px 20px;
    background: rgba(255,255,255,0.06);
}

.grp-help-frame {
    position: relative;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #f7fafc;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.3);
}

.grp-help-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.grp-help-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: #0f2a2e;
    background: radial-gradient(circle, rgba(255,255,255,0.96), rgba(244,247,248,0.96));
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.grp-help-modal.is-loading .grp-help-loading {
    opacity: 1;
    pointer-events: auto;
}

.grp-help-spinner {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.4);
    border-top-color: #f35b04;
    animation: grpSpin 0.7s linear infinite;
}

@keyframes grpSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes grpHelpFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes grpHelpIn {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 900px) {
    .grp-help-shell {
        width: 96vw;
        height: 90vh;
    }
}
