/* assets/css/tera-wallet-style.css */

.wallet-terawrapper {
  background-color: #111827;
  color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  font-family: 'Montserrat', sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.wallet-terawrapper h2,
.wallet-terawrapper h3 {
  color: #ffffff;
  margin-bottom: 35px;
}

.wallet-balance {
  font-size: 30px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.wallet-return {
  font-size: 1rem;
  color: #34d399;
  margin-bottom: 30px;
}

.wallet-coin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1f2937;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.wallet-coin .info {
  font-size: 1.2rem;
  font-weight: 600;
}

.wallet-coin .info span {
  display: block;
  font-size: 0.9rem;
  color: #9ca3af;
}

.wallet-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.wallet-buttons a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.wallet-buttons .btn-primary {
  background-color: #3b82f6;
  color: white;
}

.wallet-buttons .btn-primary:hover {
  background-color: #2563eb;
}

.wallet-buttons .btn-secondary {
  background-color: #4b5563;
  color: white;
}

.wallet-buttons .btn-secondary:hover {
  background-color: #374151;
}

.wallet-transacoes {
  background-color: #1f2937;
  border-radius: 8px;
  padding: 20px;
}

.wallet-transacoes h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #f9fafb;
}

.transacao-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #374151;
  padding: 10px 0;
  color: #e5e7eb;
}

.transacao-item:last-child {
  border-bottom: none;
}

.transacao-item .detalhes {
  max-width: 70%;
}

.transacao-item .tipo {
  display: block;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.transacao-item .data {
  font-size: 0.9rem;
  color: #9ca3af;
  font-family: 'Montserrat', sans-serif;
}

.transacao-item .valor {
  font-weight: bold;
  font-size: 1.1rem;
  color: #10b981;
  font-family: 'Montserrat', sans-serif;
}

.woocommerce .col2-set,
.woocommerce-checkout .col2-set {
    display: block;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2 {
    width: 100%;
    float: none;
    margin: 0 0 20px 0;
}

.woocommerce #place_order {
    background-color: #FACC14 !important; /* Amarelo */
    color: #fff !important;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 16px;
}

.woocommerce h3,
.woocommerce-checkout h3 {
    color: #fff !important;
}

/* ✅ Força layout em uma coluna no checkout */
.woocommerce form.checkout .col2-set {
    display: block !important;
}

.woocommerce form.checkout .col2-set .col-1,
.woocommerce form.checkout .col2-set .col-2 {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
}

/* ✅ Esconde botão de cupom e login inicialmente */
.woocommerce .checkout_coupon,
.woocommerce .login {
    display: none !important;
}

/* ✅ Força mostrar texto/campos em uma coluna harmonizada */
.woocommerce-checkout .form-row {
    width: 100% !important;
}

/* === Simulador Recifes Dark === */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');
.simulador-rec-dark {
    font-family: 'Montserrat', Arial, sans-serif;
    background: rgba(30, 34, 45, 0.85);
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.28);
    padding: 32px 28px 24px 28px;
    color: #f1f3fa;
    max-width: 470px;
    margin: 10px auto;
    border: 1.5px solid rgba(80,125,255,0.08);
    backdrop-filter: blur(7px);
    transition: box-shadow .2s;
}
.simulador-rec-dark label {
    font-size: 1.07rem;
    color: #17DBBA;
    margin-bottom: 12px;
    display: block;
    font-weight: 600;
    letter-spacing: .03em;
}
.simulador-rec-dark input[type="number"] {
    width: 100%;
    padding: 13px 16px;
    margin: 8px 0 18px 0;
    border: none;
    border-radius: 8px;
    background: rgba(50, 55, 70, 0.97);
    color: #f9f9fc;
    font-size: 1.12rem;
    font-family: inherit;
    outline: none;
    box-shadow: 0 2px 8px 0 rgba(20,20,28,0.12);
    transition: background .15s;
}
.simulador-rec-dark input[type="number"]:focus {
    background: #191c28;
    color: #e9eafe;
}
.simulador-rec-dark p {
    margin: 10px 0 0 0;
    font-size: 1.03rem;
    color: #b8c2e0;
}
.simulador-rec-dark strong {
    color: #17DBBA;
    font-size: 1.13rem;
    font-weight: 600;
}
.simulador-rec-dark #total-rec-dark {
    font-size: 1.22rem;
    color: #17DBBA;
    letter-spacing: .01em;
}
@media (max-width: 540px) {
    .simulador-rec-dark {padding:18px 5vw;}
}

/* === Formulário Pré-compra === */

.recifes-pre-cadastro-box {
    background: rgba(30, 34, 45, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.28);
    border: 1.5px solid rgba(80,125,255,0.08);
    max-width: 450px;
    padding: 28px 22px 18px 22px;
    margin: 24px auto;
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.recifes-pre-cadastro-box input {
    background: rgba(30, 34, 45, 0.85);
    border: 1px solid #184e29;
    border-radius: 7px;
    color: #cfffd6;
    padding: 0px;
    font-size: 1rem;
}
.recifes-pre-cadastro-box button {
    background: #22d46c;
    border: none;
    color: #143c22;
    border-radius: 7px;
    font-weight: 700;
    padding: 10px 0

.afiliado-recifes-box {
    text-align: center;
    margin: 32px auto 30px auto;
    max-width: 500px;
    padding: 26px 12px 18px 12px;
    background: transparent;
}

.afiliado-recifes-box h4 {
    color: #E5E7EB;
    font-size: 1.12rem;
    font-weight: 600;
    margin-bottom: 22px;
    line-height: 1.5;
}

.afiliado-recifes-linkbox {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

.afiliado-recifes-linkbox input[type="text"] {
    width: 100%;
    max-width: 340px;
    padding: 10px;
    font-size: 1rem;
    border-radius: 7px;
    border: 1px solid #184e29;
    background: #132e1c;
    color: #51ff6a;
    font-weight: 600;
    text-align: center;
}

.afiliado-recifes-linkbox button {
    background: #51ff6a;
    color: #142c18;
    border: none;
    border-radius: 7px;
    font-weight: 700;
    padding: 10px 18px;
    cursor: pointer;
    transition: background .18s;
}

.afiliado-recifes-linkbox button:hover {
    background: #3ae06d;
}

.verde-recifes {
    color: #51ff6a;
    font-weight: 700;
}

.woocommerce td.product-subtotal,
.woocommerce td.product-total,
.woocommerce .order-total .amount {
    min-width: 90px;
}
