/* === Base Styles === */
* { 
  font-family: 'Poppins', sans-serif; 
}

/* === Gradient Background === */
.gradient-bg {
  background: linear-gradient(135deg, #DC2626 0%, #991B1B 50%, #7F1D1D 100%);
}

/* === Glass Card === */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* === Input Field === */
.input-field {
  transition: all 0.3s ease;
  border: 2px solid #E5E7EB;
}

.input-field:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* === Tab Button === */
.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #DC2626;
  color: white;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

/* === Submit Button === */
.submit-btn {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* === Floating Shapes === */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s infinite ease-in-out;
}

.shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -100px;
  animation-delay: 0s;
}

.shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -50px;
  animation-delay: -5s;
}

.shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 10%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

/* === Fade In Animation === */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Pulse Icon Animation === */
.pulse-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* === Toast Animation === */
.toast {
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast.hide {
  animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}


/* === Body Box Sizing === */

body {
  box-sizing: border-box;
}





/* === Botão Home (Ícone de Casa) === */
.home-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 100;
}

.home-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  border-radius: 12px;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.home-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
}

.home-icon-link i {
  font-size: 20px;
}

/* Responsividade para o botão home */
@media (max-width: 768px) {
  .home-button {
    top: 12px;
    left: 12px;
  }
  
  .home-icon-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  
  .home-icon-link i {
    font-size: 16px;
  }
}
