.qrg-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.qrg-generator-box {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.qrg-generator-box h2 {
  margin: 0 0 8px 0;
  font-size: 24px;
  color: #111827;
}

.qrg-generator-box p {
  margin: 0 0 20px 0;
  color: #6b7280;
  font-size: 15px;
}

#qrg-url {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.2s;
  box-sizing: border-box;
  margin-bottom: 12px;
}

#qrg-url:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#qrg-generate {
  margin-top: 0;
  width: 100%;
  height: 48px;
  padding: 0 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  text-transform: none !important;
  line-height: 48px !important;
  text-decoration: none !important;
  padding-top: 2px !important;
  position: relative;
}

.qrg-button-text-full,
.qrg-button-text-short {
  display: block;
}

.qrg-button-text-short {
  display: none !important;
}

#qrg-generate:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

#qrg-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* QR-Code Tooltip */
.qrg-qr-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  background: white;
  border: 2px solid #3b82f6;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  pointer-events: none;
}

#qrg-generate:hover .qrg-qr-tooltip {
  opacity: 1;
  visibility: visible;
}

.qrg-qr-tooltip img {
  width: 200px;
  height: 200px;
  display: block;
  margin: 0 auto 8px;
  background: white;
}

.qrg-qr-tooltip-text {
  text-align: center;
  font-size: 12px;
  color: #374151;
  font-weight: 500;
}

.qrg-qr-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #3b82f6;
}

.qrg-error-box {
  margin-top: 16px;
  padding: 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-left: 4px solid #ef4444;
  border-radius: 8px;
  color: #991b1b;
}

/* Responsive */
@media (max-width: 768px) {
  .qrg-button-text-short {
    display: inline !important;
  }
  
  .qrg-button-text-full {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .qrg-generator-box {
    padding: 16px;
    border-radius: 10px;
  }
  
  #qrg-generate {
    height: 50px;
    font-size: 14px;
  }
  
  .qrg-generator-box h2 {
    font-size: 20px;
  }
  
  .qrg-generator-box p {
    font-size: 14px;
  }
}
