body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 85%;
  max-width: 700px;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header img {
  max-width: 220px;
  height: auto;
}

h1 {
  color: #2c3e50;
  margin-top: 10px;
}

p {
  color: #7f8c8d;
}

main {
  margin-bottom: 30px;
}

form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 20px;
}

label {
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #34495e;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #bdc3c7;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  color: #34495e;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-row .form-group {
  width: 50%;
}

button {
  background-color: #3498db;
  color: white;
  padding: 14px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

footer {
  text-align: center;
  margin-top: 30px;
  color: #95a5a6;
}

#countdown {
  font-size: 1.2em;
  font-weight: bold;
  color: #e74c3c;
  margin-top: 10px;
}

#security-info {
  text-align: center;
  color: #27ae60;
  margin-bottom: 20px;
  font-weight: bold;
}

#security-info i {
  margin-right: 5px;
}

#payment-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

#payment-buttons button {
  flex: 1 1 auto;
  background-color: #f39c12;
  color: white;
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
  text-align: center;
}

#payment-buttons button:hover {
  background-color: #29e622;
}
#payment-buttons .selected {
  background-color: #29e622;
}
#payment-buttons i {
  margin-right: 5px;
}

#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 1000;
}

.notification {
  background-color: #2ecc71;
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.5s ease-out, slideOut 0.5s 4.5s ease-in;
  white-space: nowrap;
}

#pix-fields,
#boleto-fields {
  margin-top: 20px;
  text-align: center;
}

.pix-code,
.boleto-code {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pix-code span,
.boleto-code span {
  font-size: 0.9em;
  word-break: break-all;
}

#error-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1001;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#error-page img {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}


#loading-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 1001;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#loading-page img {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}


#progress-bar-container {
  width: 80%;
  height: 10px;
  background-color: #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
}

#progress-bar {
  width: 0%;
  height: 100%;
  background-color: #4CAF50;
  border-radius: 5px;
  transition: width 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }

  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .form-group {
    width: 100%;
  }

  #payment-buttons {
    flex-direction: column;
  }

  #payment-buttons button {
    flex: 1 1 100%;
  }
}

#error-message {
  color: red;
  text-align: center;
  margin-top: 10px;
}