/* ================================
   QR CODE GENERATOR TOOL STYLES
   ================================ */

.type-section {
  margin-bottom: 30px;
}

.type-section > label {
  display: block;
  color: #c3e8e4;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  text-align: center;
}

.type-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.type-btn {
  padding: 10px 18px;
  background: transparent;
  color: #c3e8e4;
  border: 1px solid #25545b;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.type-btn:hover {
  border-color: #22c7b8;
  color: #22c7b8;
  background: rgba(34, 199, 184, 0.1);
}

.type-btn.active {
  background: linear-gradient(135deg, #22c7b8 0%, #f4bd62 100%);
  color: white;
  border-color: transparent;
}

.input-section {
  margin: 20px 0;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 15px;
}

.input-group label {
  color: #c3e8e4;
  font-weight: 600;
  font-size: 14px;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 12px 15px;
  border: 1px solid #25545b;
  border-radius: 8px;
  background: #071c20;
  color: #e7fbf8;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #22c7b8;
  background: #0d2c33;
  box-shadow: 0 0 0 3px rgba(34, 199, 184, 0.12);
}

.privacy-notice {
  text-align: center;
  font-size: 13px;
  color: #8cb7b3;
  margin: 15px 0;
  font-style: italic;
}

.customization-section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #25545b;
}

.custom-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
}

.custom-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}

.custom-group label {
  color: #c3e8e4;
  font-weight: 600;
  font-size: 14px;
}

.custom-group input[type="color"] {
  width: 50px;
  height: 40px;
  padding: 0;
  border: 1px solid #25545b;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}

.custom-group select {
  padding: 10px 12px;
  border: 1px solid #25545b;
  border-radius: 8px;
  background: #071c20;
  color: #e7fbf8;
  font-size: 14px;
  cursor: pointer;
}

.preview-section {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preview-container {
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: inline-block;
}

#qrcode img {
  display: block;
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-download,
.btn-whatsapp {
  flex: 0 0 180px;
  width: 180px;
  height: 48px;
  min-height: 48px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: linear-gradient(135deg, #22c7b8 0%, #f4bd62 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-download:hover,
.btn-whatsapp:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.share-helper {
  color: #8cb7b3;
  font-size: 14px;
  margin-bottom: 10px;
  text-align: center;
}

@media (max-width: 768px) {
  .custom-row {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-group {
    width: 100%;
  }

  .btn-download,
  .btn-whatsapp {
    flex-basis: 260px;
    width: 100%;
    height: 48px;
    max-width: 260px;
  }
}
