/* Button */
#nfc-consulta-saldo .button-verificar {
  background-color: #029fb2;
  background: #029fb2;
  color: white;
  padding: 12px 25px 12px 10px !important;
  font-size: 16px !important;
  cursor: pointer;
  display: block;
  border: 2px solid #029fb2;
  border-radius: 0px 5px 5px 0px;
}

#nfc-consulta-saldo .button-verificar:hover {
  background-color: #174c62;
  background: #174c62;
  color: white;
  border: 2px solid #174c62;
}

#nfc-consulta-saldo .button-close {
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 5px;
}

#nfc-consulta-saldo .button-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#nfc-consulta-saldo .button-consultar-saldo {
  background-color: #029fb2;
  background: #233d7e;
    color: white;
    padding: 14px 15px 14px 15px !important;
    font-size: 20px !important;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    width: 87%;
    box-shadow: 2px 2px 5px black;
}

#nfc-consulta-saldo .button-consultar-saldo:hover {
  background-color: #174c62;
  background: #b51f34;
}

/* Form */
#nfc-consulta-saldo .data-container {
  text-align: center;
  margin: 20px 0;
}

#nfc-consulta-saldo .input-cpf {
  padding: 10px;
  font-size: 16px;
  text-align: center;
  margin: 0;
  border: 2px solid #029fb2;
  border-radius: 5px 0px 0px 5px;
  background-color: white;
  color: #333;
  flex: auto;
}

/* Modal */
#nfc-consulta-saldo .modal-container {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

#nfc-consulta-saldo .modal-content {
  background: #fff;
  margin: 15% auto;
  padding: 0px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

#nfc-consulta-saldo .modal-header {
  background-image: linear-gradient(180deg, #029fb2 0%, #006d80 100%);
  padding: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px 10px 0px 0px;
}

#nfc-consulta-saldo .modal-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
  margin: 0;
  flex: auto;
}

#nfc-consulta-saldo .modal-body {
  padding: 20px 20px 20px 20px;
}

#nfc-consulta-saldo .form-group {
  margin: 0px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

#nfc-consulta-saldo .modal-footer {
  display: flex;
  justify-content: center;
}

#nfc-consulta-saldo .modal-message {
  padding: 20px 20px 20px 20px;
  font-size: 20px;
  color: #333;
  background-color: #eee;
  border-radius: 0px 0px 10px 10px;
  width: 100%;
}

#nfc-consulta-saldo .modal-message.success {
  color: green;
}

#nfc-consulta-saldo .modal-message.error {
  color: red;
}

#nfc-consulta-saldo .link-sistema {
  color: #029fb2;
  text-decoration: none;
  font-weight: bold;
}

#nfc-consulta-saldo .link-sistema:hover {
  color: #006d80;
}

/* Responsive Design */
@media (max-width: 600px) {
  #nfc-consulta-saldo .modal-content {
    width: 95%;
    padding: 0;
  }
  #nfc-consulta-saldo .modal-body {
    padding: 10px;
  }
  #nfc-consulta-saldo .modal-title {
    font-size: 18px;
  }
  #nfc-consulta-saldo .modal-message {
    font-size: 16px;
    padding: 10px 0;
  }
}