* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f2f5;
  padding: 20px;
}

section {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

.row {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.sizes {
  width: 120px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 16px;
  text-align: center;
}

.qr-text {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  margin-bottom: 25px;
  text-align: center;
}

#qr-code {
  width: 400px;
  height: 400px;
  margin: 0 auto 25px;
  background: white;
  border: 15px solid #f0f2f5;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#qr-code > img,
#qr-code > canvas {
  width: 100% !important;
  height: 100% !important;
  border-radius: 5px;
}

.fixed-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: white;
  padding: 5px;
  border: 2px solid #000;
  border-radius: 10px;
  pointer-events: none;
  object-fit: contain;
}

.action-container {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.download {
  background: #4CAF50;
  color: white;
}

.download:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.share-btn {
  background: #2196F3;
  color: white;
}

.share-btn:hover {
  background: #0b7dda;
  transform: translateY(-2px);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 20px;
  color: white;
}

@media (max-width: 480px) {
  section {
    padding: 20px 15px;
  }
  
  #qr-code {
    width: 100%;
    height: auto;
    max-width: 400px;
    aspect-ratio: 1/1;
    border-width: 10px;
  }
  
  .action-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Estilo para o botão do WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: white;
}

.whatsapp-btn:hover {
  background: #128C7E;
}

/* Ajuste no layout da linha */
.row {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 15px;
}

.row select.sizes {
  flex-grow: 1;
}

/* Adicione estas regras ao seu arquivo CSS */

.input-group {
  margin-bottom: 20px;
}

.input-row {
  margin-bottom: 15px;
}

.input-row label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #555;
}

.input-row input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.toggle-whatsapp-btn {
  background: #25D366;
  color: white;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
  gap: 8px; /* espaço entre o texto e o ícone */
  text-align: center;
  width: 100%; /* ou ajuste conforme desejado */
  padding: 10px 20px;
}

.toggle-whatsapp-btn:hover {
  background: #128C7E;
}

.generate-whatsapp-btn {
  background: #075E54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* espaço entre o texto e o ícone */
  text-align: center;
  width: 100%; /* ou ajuste conforme desejado */
  padding: 10px 20px;

}


.generate-whatsapp-btn:hover {
  background: #128C7E;
}

.whatsapp-fields {
  transition: all 0.3s ease;
}

.default-fields {
  transition: all 0.3s ease;
}

/* Estilo do botão de instalação */
        #installButton {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 12px 24px;
            background-color: #25D366;
            color: white;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            font-weight: bold;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
            z-index: 1000;
            display: none; /* Inicialmente escondido */
            cursor: pointer;
        }
        
        #installButton:hover {
            background-color: #128C7E;
            transform: translateY(-2px);
        }
