/* =========================================
   PARTE 1: SEUS DADOS (INPUTS PESSOAIS)
   ========================================= */

#mp_checkout_box {
  background: rgba(0, 0, 0, 0.85) !important; 
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  font-family: 'Butler_Bold', sans-serif;
  border: 1px solid #e8dc8c; /* Dourado Oficial */
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  box-sizing: border-box; 
}

#mp_checkout_box h2 {
  font-size: 26px;
  color: #e8dc8c; 
  margin-bottom: 20px;
  text-align: center;
  font-family: 'Butler_Bold', serif;
}

#mp_checkout_box label {
  font-weight: normal;
  color: #ffffff; /* Labels em Branco */
  margin-top: 15px;
  display: block;
  font-size: 16px;
  text-align: left;
}

#mp_checkout_box input[type="text"],
#mp_checkout_box input[type="email"],
#mp_checkout_box input[type="tel"] {
  width: 100% !important;
  padding: 12px !important;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #111;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box !important; 
}

#mp_checkout_box input:focus {
    border-color: #e8dc8c; 
    outline: none;
    background: #000;
}


/* =========================================
   PARTE 2: O BOX DO MERCADO PAGO (SEU PREFERIDO)
   ========================================= */
/* Aqui entra exatamente a lógica que você gostou, ajustada para o Dourado Oficial */

#paymentBrick_container {
    max-width: 500px !important;  
    margin: 20px auto 0 auto !important;    
    display: block !important;
}

/* Força transparência para não vazar azul no fundo geral */
#paymentBrick_container > div,
#paymentBrick_container div[class*="svelte-"] {
    background-color: transparent !important; 
    background: transparent !important;
    box-shadow: none !important; 
    border: none !important;     
}

/* CRIA O "BOX" DENTRO DO PAGAMENTO (O que você gostou!) */
#paymentBrick_container form {
    background-color: rgba(0, 0, 0, 0.6) !important; /* Fundo interno mais escuro */
    padding: 20px !important;
    border-radius: 10px !important;
    border: 0px solid #e8dc8c !important; /* Borda Dourada Interna */
}

/* VARIÁVEIS DE COR (Atualizadas para #e8dc8c) */
#paymentBrick_container {
    --button-background-color: #e8dc8c !important;
    --button-text-color: #000000 !important;
    --button-border-color: #e8dc8c !important;
    
    --primary-color: #e8dc8c !important; 
    --base-color: #e8dc8c !important;

    /* Inputs do Cartão */
    --input-background-color: #000000 !important;
    --input-text-color: #ffffff !important;      
    --input-placeholder-color: #777777 !important;
    --input-border-color: #444444 !important;    
    --input-label-color: #e8dc8c !important;      
    --input-focused-background-color: #111111 !important;
    
    /* Textos secundários */
    --secondary-text-color: #ffffff !important;
}

/* BOTÃO PAGAR */
/* AJUSTE FINAL DO BOTÃO PAGAR (COM TRAVA DE LARGURA) */
    #paymentBrick_container button[type="submit"] {
        /* 1. Força Bruta de Tamanho */
        width: 100% !important;
        min-width: 100% !important; /* AQUI ESTÁ O SEGREDO DO PC */
        max-width: 100% !important;
        
        /* 2. Centralização */
        display: block !important;
        margin: 20px auto !important;
        
        /* 3. Visual (Seu Dourado) */
        background-color: #e8dc8c !important;
        color: #000000 !important; 
        font-weight: 800 !important;
        font-size: 16px !important;
        text-transform: uppercase !important;
        border-radius: 6px !important;
        border: none !important; 
        height: 50px !important;
        cursor: pointer !important;
        box-shadow: 0 0 15px rgba(232, 220, 140, 0.4) !important; 
    }

    /* Efeito ao passar o mouse */
    #paymentBrick_container button[type="submit"]:hover {
        background-color: #dcb374 !important;
        transform: scale(1.01); 
        transition: all 0.3s ease;
    }

/* TÍTULOS DO MP (Para garantir fonte e cor) */
#paymentBrick_container h1, 
#paymentBrick_container h2, 
#paymentBrick_container h3 {
    color: #e8dc8c !important;
    font-family: 'Butler_Bold', serif !important;
    text-align: center !important;
}

/* MOBILE */
@media (max-width: 768px) {
  #mp_checkout_box {
    width: 94% !important;
    padding: 20px 15px;
  }
  
#paymentBrick_container h1, 
#paymentBrick_container h2, 
#paymentBrick_container h3 {
    color: #e8dc8c !important;
    font-family: 'Butler_Bold', serif !important;
    text-align: center !important;
}


