body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: #f3f3f3;
  font-family: Arial, sans-serif;
  padding: 0;
  margin: 0;
}


#conteudo {
  width: 100%;
  max-width: 400px;
  position: relative;
  margin: auto;
  display: table;
}

.g-recaptcha {
  display: flex;
  align-items: center;
  border: 1px solid #d3d3d3;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  max-width: 200px;
  flex-direction: row;
  margin: auto;
}

.checkbox-container {
  position: relative;
  margin-right: 10px;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.recaptcha-text {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.recaptcha-text span {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.recaptcha-text img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.recaptcha-box {
  width: 100%;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
  display: none;
  margin-top: 15px;
  position: absolute;
}

.recaptcha-header {
  background-color: #4A90E2;
  padding: 1.5rem 1.2rem;
  font-size: 14px;
  border-bottom: 1px solid #ccc;
  color: #fff;
}

.recaptcha-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #ccc;
}

.recaptcha-cell {
  width: 100%;
  background: #fff;
  cursor: pointer;
}

.recaptcha-cell img {
  width: 100%;
  display: block;
}

.recaptcha-cell.selected {
  opacity: 0.5;
  cursor: default;
  position: relative;
}

.recaptcha-cell.selected::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background-image: url('img/check.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.recaptcha-footer {
  padding: 10px;
  text-align: right;
}

.recaptcha-footer button {
  background: #4A90E2;
  color: white;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 2px;
}

.recaptcha-links {
  margin-top: 15px;
  text-align: center;
  font-size: 14px;
}
.recaptcha-links a {
  color: #0066cc;
  text-decoration: none;
}
.recaptcha-links a:hover {
  text-decoration: underline;
}


.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-conteudo {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-radius: 4px;
  position: relative;
}

.fechar {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
.fechar:hover {
  color: #000;
}

/* Responsivo FODA */
@media (max-width: 550px) {

  #conteudo {
    max-width: 90%;
  }

  .recaptcha-text span {
    font-size: 13px;
  }
}

@media (max-width: 300px) {

  .g-recaptcha {
    max-width: 100%;
  }
}