body {
  background: linear-gradient(135deg, #155c78 0%, #0f4c63 100%);
  min-height: 100vh;
  margin: 0;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

.container {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
  padding: 3rem 2.5rem 2.5rem 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #155c78, #0f4c63, #1e7bb8);
  border-radius: 24px 24px 0 0;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  letter-spacing: -0.025em;
}

.bio {
  color: #64748b;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 400;
  line-height: 1.6;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.links a {
  background: linear-gradient(135deg, #155c78 0%, #0f4c63 100%);
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(21, 92, 120, 0.3);
}

.links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.links a:hover::before {
  left: 100%;
}

.links a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 92, 120, 0.4);
  background: linear-gradient(135deg, #0f4c63 0%, #0a3d52 100%);
}

.links a:active {
  transform: translateY(0);
}

/* Efeito especial para o primeiro botão (WhatsApp) */
.links a:first-child {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.links a:first-child:hover {
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 20px;
  }
  
  .avatar {
    width: 100px;
    height: 100px;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .bio {
    font-size: 1rem;
  }
  
  .links a {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  animation: fadeInUp 0.6s ease-out;
}

/* Estilos para a página 2ª Via */
.form-section {
  margin: 2rem 0;
  text-align: left;
}

.form-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
  text-align: center;
}

.form-description {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.fatura-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #155c78;
  box-shadow: 0 0 0 3px rgba(21, 92, 120, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.submit-btn {
  background: linear-gradient(135deg, #155c78 0%, #0f4c63 100%);
  color: #fff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 4px 12px rgba(21, 92, 120, 0.3);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21, 92, 120, 0.4);
  background: linear-gradient(135deg, #0f4c63 0%, #0a3d52 100%);
}

  .submit-btn:active {
    transform: translateY(0);
  }
  
  /* Estilos para a fatura detalhada */
  .fatura-section {
    margin: 2rem 0;
    text-align: center;
  }
  
  .fatura-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.5rem;
  }
  
  .fatura-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .fatura-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
  }
  
  .fatura-info {
    margin-bottom: 2rem;
  }
  
  .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .info-row:last-child {
    border-bottom: none;
  }
  
  .info-row .label {
    font-weight: 600;
    color: #374151;
    font-size: 0.95rem;
  }
  
  .info-row .value {
    font-weight: 500;
    color: #1f2937;
    font-size: 0.95rem;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
  }
  
  .info-row .valor {
    color: #059669;
    font-weight: 700;
    font-size: 1.1rem;
  }
  
  .info-row .status-vencido {
    color: #dc2626;
    font-weight: 700;
    font-size: 1rem;
  }
  
  .info-row .status-ok {
    color: #059669;
    font-weight: 700;
    font-size: 1rem;
  }
  
  /* Estilos para a seção PIX */
  .pix-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
  }
  
  .pix-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .pix-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .qr-code-container {
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .qr-code-container canvas {
    border-radius: 4px;
  }
  
  .pix-details {
    width: 100%;
  }
  
  .pix-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .pix-copy label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
  }
  
  .copy-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  
  .copy-container textarea {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: 'Courier New', monospace;
    resize: none;
    height: 80px;
    background: white;
    color: #374151;
  }
  
  .copy-container textarea:focus {
    outline: none;
    border-color: #155c78;
  }
  
  .copy-btn {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #155c78 0%, #0f4c63 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
  }
  
  .copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 92, 120, 0.3);
  }
  
  .copy-btn:active {
    transform: translateY(0);
  }
  
  .copy-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }
  
  .copy-btn:disabled:hover {
    transform: none;
    box-shadow: none;
  }
  
  .fatura-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .action-btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
  }
  
  .whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }
  
  .whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  }
  
  .print-btn {
    background: linear-gradient(135deg, #155c78 0%, #0f4c63 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(21, 92, 120, 0.3);
  }
  
  .print-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(21, 92, 120, 0.4);
    background: linear-gradient(135deg, #0f4c63 0%, #0a3d52 100%);
  }
  
  .new-btn {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
  }
  
  .new-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 114, 128, 0.4);
    background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
  }
  
  .action-btn:active {
    transform: translateY(0);
  }
  
  /* Estilos para impressão */
  @media print {
    .container {
      box-shadow: none;
      background: white;
    }
    
    .links,
    .action-btn {
      display: none;
    }
    
    .fatura-card {
      box-shadow: none;
      border: 2px solid #000;
    }
    
    .info-row {
      border-bottom: 1px solid #000;
    }
  }
  
  /* Responsividade para a seção PIX */
  @media (max-width: 480px) {
    .pix-section {
      padding: 1rem;
    }
    
    .pix-section h3 {
      font-size: 1.1rem;
    }
    
    .qr-code-container {
      padding: 0.75rem;
    }
    
    .qr-code-container canvas {
      width: 150px !important;
      height: 150px !important;
    }
    
    .copy-container {
      flex-direction: column;
    }
    
    .copy-container textarea {
      height: 60px;
      font-size: 0.75rem;
    }
    
    .copy-btn {
      padding: 0.625rem 0.875rem;
      font-size: 0.85rem;
      width: 100%;
    }
  }
  
  /* Responsividade para a fatura */
  @media (max-width: 480px) {
    .fatura-header h2 {
      font-size: 1.5rem;
    }
    
    .fatura-card {
      padding: 1.5rem;
    }
    
    .info-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.25rem;
    }
    
    .info-row .value {
      text-align: left;
      max-width: 100%;
    }
    
    .action-btn {
      padding: 0.875rem 1.25rem;
      font-size: 0.95rem;
    }
  }
  
  /* Animação de entrada da fatura */
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fatura-section {
    animation: slideInUp 0.5s ease-out;
  }
  
  /* Responsividade para o formulário */
@media (max-width: 480px) {
  .form-section h2 {
    font-size: 1.25rem;
  }
  
  .form-description {
    font-size: 0.9rem;
  }
  
  .form-group input,
  .form-group select {
    padding: 0.625rem 0.875rem;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
} 