.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 400px;
  padding: 30px 24px;
  color: #333;
}

#overlay {
  position: fixed;
  display: none;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.form-group input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #fff;
  color: #333;
}

.form-group input:focus {
  outline: none;
  border-color: #007BFF;
}

.form-group input::placeholder {
  color: #888;
}

button[type="submit"] {
  background-color: #008c44;
  color: white;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-weight: bold;
  width: 100%;
}

button[type="submit"]:hover {
  background-color: #00703a;
}

#toggleText {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #000;
  text-align: center;
}

#toggleText a {
  color: #00703a;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
}

#toggleText a:hover {
  text-decoration: underline;
}

.error-message {
  color: #d9534f;
  font-size: 12px;
  display: none;
}

.blurred {
  filter: blur(3px);
  pointer-events: none;
}

.modal-open {
  overflow: hidden;
}

.phone-input .whatsapp-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.phone-input .prefix {
  padding: 8px 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-weight: bold;
}

.phone-input input[type="text"] {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 0 4px 4px 0;
  outline: none;
}

.card-content {
  display: relative;
  flex-direction: column; /* empilha os itens verticalmente */
  align-items: center;    /* centraliza horizontalmente */
  justify-content: center; /* centraliza verticalmente se o container tiver altura fixa */
  text-align: center;     /* centraliza texto */
  gap: 8px;               /* espaço entre os elementos */
  padding: 16px;
  height: 100%;           /* opcional, caso o card tenha altura definida */
}

/* container do ícone */
.game-icon-container {
  position: absolute; /* Position relative to card-banner */
  bottom: 10px;       /* Position at bottom */
  left: 10px;         /* Position at left */
  width: 56px;        /* Slightly smaller container */
  height: 56px;
  border-radius: 8px; /* Adjust radius */
  background: rgba(255, 255, 255, 0.8); /* Slightly less opaque */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Softer shadow */
  z-index: 1; /* Ensure it's above the banner image if needed */
}

/* Ícone do jogo dentro do container */
.game-icon {
  /* Remove all absolute positioning, margins, transforms */
  max-width: 40px;   /* Adjust size within container */
  max-height: 40px;
  object-fit: contain;
  border-radius: 4px; /* Smaller radius */
  display: block; /* Ensure it behaves as a block element */
  margin-right: 120px;
  margin-bottom: -33px;
  
}

/* Tag do provedor (PG) dentro do container */
.provider-tag {
  position: absolute;
  top: -5px; /* Position relative to container */
  right: -5px;
  background-color: #ffc107; /* Example color */
  color: #333;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 4px;
  z-index: 2; /* Above the icon container */
}

/* Removed the old media query for .game-icon */


/* título do jogo */
.game-title h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  margin-left: 55px;
}

.game-title p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.progress-bar-container {
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  height: 8px;
}

.progress-bar {
  height: 100%;
  width: 100%;
  border-radius: 10px;
  transition: width 0.3s ease;
}


