/* ===============================
   LombongoExchange - Estilo do Cartão e Layout
   =============================== */

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

body {
  font-family: 'Segoe UI', sans-serif;
  background: aliceblue;
  color: darkred;
  padding: 10px;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ==== Cartão ==== */
.cartao {
  background: linear-gradient(135deg, #0f2027, #203a43, #f8b500); 
  /* background: linear-gradient(135deg, #6a11cb, #2575fc);*/
  /* background: linear-gradient(135deg, #11998e, #38ef7d);*/


  border-radius: 20px;
  color: #fff;
  padding: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  max-width: 420px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.3s ease;
}

.cartao:hover {
  transform: scale(1.02);
}
.logo-img {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px;
  height: auto;
  object-fit: contain;
  background-color: darkred;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0); /* realce sutil */
}

/*
@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
*/
.bandeira {
  font-size: 1.2rem;
  font-weight: 600;
  color: #00cfff;
  text-shadow: 1px 1px 2px #000;
}
.chip {
  width: 60px;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e0c36f, #b98d1b, #f5e396);
  box-shadow: inset 0 0 3px rgba(0,0,0,0.4), 0 2px 6px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

/* Linhas horizontais no chip */
.chip::before, .chip::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 80%;
  background: rgba(0,0,0,0.2);
  left: 10%;
  border-radius: 1px;
}

.chip::before {
  top: 12px;
}

.chip::after {
  bottom: 12px;
}

/* Linhas verticais simulando circuitos */
.chip-lines {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 52px;
  height: 32px;
  display: flex;
  justify-content: space-between;
}

.chip-lines span {
  width: 2px;
  background: rgba(0,0,0,0.3);
  border-radius: 1px;
}

.numero-cartao {
  font-size: 1.6rem;
  letter-spacing: 3px;
  font-weight: bold;
  font-family: 'Tahoma';

}

.dados-cartao {
  display: flex;
  flex-direction: column;
  position: relative;
}

.titular {
  text-align: center;
  margin-top: 10px;
}

.titular label {
  font-size: 0.75rem;
  opacity: 0.7;
}

.titular div {
  font-size: 1rem;
  font-weight: bold;
}

.validade {
  position: absolute;
  bottom: -10px;
  left: 0;
}

.validade label {
  font-size: 0.75rem;
  opacity: 0.7;
  display: block;
}

.validade div {
  font-size: 0.9rem;
  font-weight: bold;
}

/* ==== Botões de ação ==== */
.acoes {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.acoes button {
  background: #00c853;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.acoes button:hover {
  background: #00a743;
}

/* ==== Responsividade ==== */
@media (max-width: 768px) {
  .cartao {
    padding: 20px;
    border-radius: 16px;
  }

  .logo-img {
    width: 60px;
  }

  .numero-cartao {
    font-size: 1.4rem;
  }

  .titular div {
    font-size: 0.9rem;
  }

  .acoes button {
    width: 85%;
  }
}

/* espaço para trabalhar com os dados da leteral esquerda do sistema e 
providenciar para que não transborda ou sobreponha */
/* ===============================
   LombongoExchange - Menu Lateral Responsivo
   =============================== */

/* Botão para abrir o menu */
.menu-btn {
  position: fixed;
  top: 5px;
  left: 5px;
  font-size: 28px;
  background-color: #004e92;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  z-index: 1001;
  cursor: pointer;
  transition: background 0.3s ease;
}

.menu-btn:hover {
  background-color: #00336e;
}

/* Sidebar fechada por padrão */
.sidebar {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background: linear-gradient(145deg, rgba(2, 10, 23, 0.85), rgba(30, 41, 59, 0.85));
  color: #f8fafc;
  backdrop-filter: blur(12px);
  padding: 20px;
  box-shadow: 5px 0 15px rgba(0,0,0,0.3);
  transition: left 0.3s ease;
  z-index: 1000;
}

/* Sidebar visível quando ativada */
.sidebar.active {
  left: 0;
}
/* Lista de opções */
.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 80px;
}

.sidebar ul li {
  margin: 15px 0;
}
.sidebar ul li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  padding: 10px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.sidebar ul li a:hover {
  background-color: #0074D9;
}

/* Botão de apagar usuário */
#apagarUsuario {
  margin-top: 30px;
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

#apagarUsuario:hover {
  background-color: #c0392b;
}

/* Para garantir que o conteúdo principal não sobreponha */
.main {
  padding-top: 60px;
  transition: margin-left 0.3s ease;
}

@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    left: -100%;
  }

  .sidebar.active {
    left: 0;
  }

  .main {
    padding-top: 80px;
  }
}
/* processo para a estilização dos campos de processo de compra e venda */
/* ===============================
   LombongoExchange - Formulários Responsivos e Profissionais
   =============================== */

/* Container de cada formulário */
#comprar,
#vender {
  background: #ffffff;
  padding: 25px;
  margin: 20px auto;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  transition: all 0.3s ease-in-out;
}

#comprar h2,
#vender h2 {
  font-size: 1.5rem;
  color: #004e92;
  margin-bottom: 20px;
  text-align: center;
}

  /* Logo no canto superior direito */
.cartao .logo-img {
  position: absolute;
  top: 8px;
  right: 35px;
  width: 150px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;

}
.logo-img {
  animation: girar 5s linear infinite;
}
/*
@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
*/
.logo-img {
  mix-blend-mode: multiply;
  background-color: transparent;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-box {
  background-color: white;
  padding: 30px;
  border-radius: 14px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  animation: fadeIn 0.3s ease;
}

.modal-box h2 {
  color: #e53935;
  margin-bottom: 10px;
}

.modal-box p {
  color: #555;
  margin-bottom: 25px;
  font-size: 1rem;
}

.modal-box .botoes {
  display: flex;
  justify-content: space-around;
}

.btn-sair {
  background-color: #d32f2f;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-voltar {
  background-color: #388e3c;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-sair:hover {
  background-color: #b71c1c;
}

.btn-voltar:hover {
  background-color: #2e7d32;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
/* processamento de ocultar ou mostrar os dados do cartao*/
.botoes-cartao {
  margin: 15px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.botoes-cartao button {
  background-color: #1976d2;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.botoes-cartao button:hover {
  background-color: #125ea5;
}



  .redes_sociais {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-width: 300px;
    margin: auto;
  }

  .redes_sociais h5 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
  }

  .redes_sociais i {
    font-size: 24px;
    margin: 0 12px;
    color: #555;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
  }

  .redes_sociais i:hover {
    transform: scale(1.2);
  }

  .fa-facebook-f:hover { color: #1877f2; }   /* azul do Facebook */
  .fa-youtube:hover    { color: #ff0000; }   /* vermelho do YouTube */
  .fa-linkedin-in:hover{ color: #0a66c2; }   /* azul do LinkedIn */


  #sairsistema {
  background-color: #e63946;
  color: #fff;
  border: none;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 0 20px 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: block;
  width: 90%;
  text-align: center;
}

#sairsistema:hover {
  background-color: #c1121f;
  transform: translateY(-1px);
}

#sairsistema:active {
  background-color: #a10e1b;
  transform: scale(0.98);
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  background: #f2f4f8;
  color: #333;
  margin: 0;
  padding: 0;
}

#comprar, #vender {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  transition: all 0.3s ease;
}

#comprar h2, #vender h2 {
  text-align: center;
  color: #1a1a1a;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

#comprar select,
#vender select,
#comprar input,
#vender input,
#comprar textarea,
#vender textarea {
  width: 100%;
  padding: 12px 14px;
  margin: 0.5rem 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fafafa;
  transition: border-color 0.3s ease;
}

#comprar input:focus,
#vender input:focus,
#comprar textarea:focus,
#vender textarea:focus,
#comprar select:focus,
#vender select:focus {
  outline: none;
  border-color: #0077ff;
  background: #fff;
}

.dados-bancarios {
  margin-top: 1.5rem;
  background: #f9f9f9;
  padding: 1rem 1.2rem;
  border: 1px dashed #ccc;
  border-radius: 10px;
}

.dados-bancarios h3 {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  color: #444;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.3rem;
}

.dados-bancarios div {
  margin: 0.6rem 0;
  font-size: 0.95rem;
  color: #555;
}

/* Botões */
.enviar-whatsapp, .btn-limpar {
  display: inline-block;
  padding: 12px 24px;
  margin: 0.8rem 0.4rem 0 0;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.enviar-whatsapp {
  background: #28a745;
  color: white;
}

.enviar-whatsapp:hover {
  background: #218838;
}

.btn-limpar {
  background: #dc3545;
  color: white;
}

.btn-limpar:hover {
  background: #c82333;
}

/* Responsividade */
@media screen and (max-width: 768px) {
  #comprar, #vender {
    padding: 1.5rem;
    margin: 1.5rem 1rem;
  }

  .enviar-whatsapp, .btn-limpar {
    width: 100%;
    margin: 0.5rem 0;
  }
}
#splash-processamento {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.splash-box {
  text-align: center;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  animation: zoomIn 0.4s ease;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #25D366;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  animation: spin 1s linear infinite;
}

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

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
/* estilo de processamento do novo dados de compra e venda */
.moedas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  background: #f5f5f5;
  padding: 20px;
}

.card-moeda {
  background: #fff;
  border-radius: 14px;
  width: 230px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s;
}

.card-moeda:hover {
  transform: translateY(-5px);
}

.icon-titulo {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.valor h2 {
  font-size: 22px;
  margin: 10px 0 5px;
}

.variacao {
  font-size: 14px;
}

.variacao.down {
  color: red;
}

.variacao.up {
  color: green;
}

.grafico img {
  width: 100%;
  margin: 10px 0;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn-acao {
  flex: 1;
  background-color: #4f46e5;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-acao:hover {
  background-color: #3730a3;
}

@media (max-width: 768px) {
  .card-moeda {
    width: 90%;
  }
}
.grafico-moeda {
  width: 100%;
  max-width: 300px;
  height: 120px;
  margin: 10px auto;
  position: relative;
}
canvas {
  width: 100% !important;
  height: 100% !important;
}
.variacao.up {
  color: #00b894;
}
.variacao.down {
  color: #d63031;
}
/* Modal geral */
#modal-transacao {
  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;
}

/* Conteúdo do modal */
.modal-conteudo {
  background: #fff;
  padding: 30px 25px;
  width: 90%;
  max-width: 600px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow-y: auto;
  max-height: 90vh;
  animation: slideUp 0.3s ease-in-out;
}

/* Animação */
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Botão de fechar */
.fechar-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  color: #888;
  cursor: pointer;
  transition: 0.2s;
}
.fechar-modal:hover {
  color: #e74c3c;
}

/* Título */
.modal-conteudo h2 {
  margin-bottom: 20px;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* Botões de ação */
.botoes-acoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 25px;
}
.botoes-acoes button {
  padding: 10px 20px;
  font-weight: bold;
  background: #1976d2;
  border: none;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.botoes-acoes button:hover {
  background: #125ea7;
}

/* Formulários */
.formulario-transacao {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.formulario-transacao h3 {
  text-align: center;
  color: #1976d2;
  margin-bottom: 10px;
}
.formulario-transacao input,
.formulario-transacao textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  transition: 0.2s;
}
.formulario-transacao input:focus,
.formulario-transacao textarea:focus {
  border-color: #1976d2;
  outline: none;
}

/* Áreas de texto */
.formulario-transacao textarea {
  resize: vertical;
  min-height: 80px;
  font-family: Arial, sans-serif;
}

/* Texto de carteiras */
.formulario-transacao textarea[readonly] {
  background-color: #f1f1f1;
  color: #555;
  font-weight: bold;
  font-family: monospace;
  cursor: not-allowed;
}

/* Total em KZ */
.formulario-transacao p {
  font-weight: bold;
  color: #333;
  margin: 5px 0 0;
}
.formulario-transacao p strong {
  color: #2ecc71;
}

/* Botões de envio */
.envio {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.envio button {
  flex: 1;
  padding: 12px;
  font-weight: bold;
  background: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.envio button:last-child {
  background: #2980b9;
}
.envio button:hover {
  opacity: 0.9;
}

/* Responsivo */
@media (max-width: 500px) {
  .modal-conteudo {
    width: 95%;
    padding: 20px;
  }

  .botoes-acoes {
    flex-direction: column;
  }

  .envio {
    flex-direction: column;
  }
}
/*capsulamento de dados e entrada de valore por padrao em contextos gerais */


  .carteiras-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #dcdde1;
}

.carteira-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  font-size: 14px;
  position: relative;
}

.carteira-item span {
  font-weight: 500;
  color: #2d3436;
}

.carteira-item strong {
  font-family: monospace;
  background: #f1f2f6;
  padding: 5px 10px;
  border-radius: 6px;
  color: #2d3436;
  word-break: break-all;
}

.copiar-btn {
  background: transparent;
  border: none;
  color: #0984e3;
  font-size: 16px;
  cursor: pointer;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.copiar-btn:hover {
  transform: scale(1.2);
  color: #2e86de;
}

  .info-carteira {
  margin-top: 5px;
  font-size: 13px;
  display: block;
  font-weight: 500;
}

  .modal-transacao {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  .modal-conteudo {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    animation: fadeIn 0.4s ease;
    overflow-y: auto;
    max-height: 90vh;
  }
  .fechar-modal {
    float: right;
    font-size: 24px;
    cursor: pointer;
  }
  .botoes-acoes button {
    margin: 10px 5px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
  }
  .formulario-transacao {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
  }
  .formulario-transacao input,
  .formulario-transacao textarea {
    margin-bottom: 10px;
    padding: 8px;
    font-size: 14px;
  }
  .formulario-transacao textarea {
    resize: vertical;
  }
  .envio {
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .carteiras-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0;
  padding: 10px;
  background-color: #f4f6f7;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
}
.carteira-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #fff;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.carteira-item span {
  flex: 1;
  font-weight: 500;
}
.carteira-item strong {
  font-family: monospace;
  color: #2c3e50;
  flex: 2;
  font-size: 13px;
  user-select: all;
}
.copiar-btn {
  background: #1976d2;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
.copiar-btn:hover {
  background-color: #125ea7;
}

  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
  }

  .toast-copiado {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #2ecc71;
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
}

.toast-copiado.mostrar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#overlay-processando {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 18px;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#overlay-processando .loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  animation: spin 1s linear infinite;
}

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