.gd-title {
  background: linear-gradient(104.04deg,
      #1472ff -4%,
      #47a9ff 23%,
      #adc3ff 50%,
      #ffadc9 77%,
      #ff476b 104%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: fit-content;
}

@keyframes slides {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.animate-slides {
  animation: slides 30s infinite linear;
}

.hero-brand {
  mask-image: linear-gradient(to right,
      rgba(0, 0, 0, 0) 0%,
      rgb(0, 0, 0) 25%,
      rgb(0, 0, 0) 75%,
      rgba(0, 0, 0, 0) 100%);
}

.hero-brand:hover .animate-slides {
  animation-play-state: paused;
}

.b-active {
  background-image: linear-gradient(180deg, rgba(152, 161, 174, 0.08) 0%, rgba(152, 161, 174, 0.08) 0.01%, rgba(20, 114, 255, 0) 100%);
  border: 1px solid #98a1ae14;
  color: #47a9ff;
}

@media screen and (max-width: 991px) {
  .hero-brand .inline-flex.logo_items.animate-slides:first-child {
    display: none;
  }
}

.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
}

.accordion-content.show {
  max-height: auto;
}

.accordion-header svg {
  transition: transform 0.5s ease;
  -webkit-transition: transform 0.5s ease;
  -moz-transition: transform 0.5s ease;
  -ms-transition: transform 0.5s ease;
  -o-transition: transform 0.5s ease;
}

.accordion-header svg {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}

.accordion-header svg.rotate-180 {
  transform: rotate(0);
  -webkit-transform: rotate(0);
  -moz-transform: rotate(0);
  -ms-transform: rotate(0);
  -o-transform: rotate(0);
}

.glowing-button-gradient {
  animation: spin 4s linear infinite;
  background: conic-gradient(rgb(20, 114, 255) 0deg,
      rgb(71, 169, 255) 60deg,
      rgb(173, 195, 255) 120deg,
      rgb(255, 173, 201) 180deg,
      rgb(255, 71, 107) 240deg,
      rgb(20, 114, 255) 300deg);
  z-index: 1;
  height: 500%;
  width: 120%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10%;
  right: 0;
}

.glowing-button-inner {
  z-index: 3;
}

.glowing-button {
  z-index: 4;
}

.glowing-button-inner-overlay {
  z-index: 1;
  width: 99%;
  height: 99%;
  position: absolute;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Login/Register Modal Styles - z-index acima do header/menu mobile (z-50) */
.login-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 20px;
}

.login-modal-overlay.show {
  display: flex !important;
}

.login-modal-container {
  position: relative;
  background-color: #111827;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 100%;
  border: 1px solid rgba(55, 65, 81, 1);
  max-width: 450px;
  max-height: 90vh;
  overflow-y: auto;
}

.login-modal-close-wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 1rem;
  border-left: 1px solid rgba(55, 65, 81, 1);
  min-width: 3rem;
}

.login-modal-close {
  background: none;
  border: none;
  padding: 0;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  height: 100%;
}

.login-modal-close:hover {
  color: #ffffff;
}

.login-modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
  display: block;
  margin: 0;
}

.login-modal-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(55, 65, 81, 1);
  position: relative;
}

.login-modal-tab {
  flex: 1;
  padding: 1rem 1.5rem;
  text-align: center;
  font-weight: 500;
  transition: all 0.2s;
  border-bottom: 2px solid transparent;
}

.login-modal-tab.active {
  color: #ffffff;
  border-bottom-color: #3b82f6;
}

.login-modal-tab.inactive {
  color: #9ca3af;
}

.login-modal-tab.inactive:hover {
  color: #ffffff;
}

.login-modal-content {
  padding: 2rem;
}

.login-modal-container > form {
  padding: 0;
}

.login-modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
  padding: 2rem 2rem 0 2rem;
}

.login-modal-subtitle {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
}

.login-modal-footer {
  padding: 0 2rem 2rem 2rem;
  text-align: center;
  margin-top: 1rem;
}

.login-link {
  color: #3b82f6;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.login-link:hover {
  color: #60a5fa;
  text-decoration: underline;
}

#recaptcha-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

#recaptcha-container > div {
  margin: 0 auto;
}

.login-form-group {
  margin-bottom: 1rem;
}

.login-form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d1d5db;
}

.login-form-label-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.login-form-label-wrapper .login-form-label {
  margin-bottom: 0;
}

.login-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #1f2937;
  border: 1px solid rgba(55, 65, 81, 1);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-form-input.password-input {
  padding-right: 3rem;
}

.login-form-input::placeholder {
  color: #6b7280;
}

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

.login-form-input-wrapper {
  position: relative;
}

.login-password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.login-password-toggle:hover {
  color: #ffffff;
}

.login-btn-primary {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-bottom: 1rem;
}

.login-btn-primary:hover {
  background-color: #1d4ed8;
}

.login-btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.login-divider {
  position: relative;
  margin: 1.5rem 0;
}

.login-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(55, 65, 81, 1);
}

.login-divider-text {
  position: relative;
  display: flex;
  justify-content: center;
  font-size: 0.875rem;
  padding: 0 0.5rem;
  background-color: #111827;
  color: #9ca3af;
}

.login-btn-google {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ffffff;
  color: #111827;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.login-btn-google:hover {
  background-color: #f3f4f6;
}

.login-btn-google:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.3);
}

.login-google-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Classe hidden específica para mensagens (não conflitar com Tailwind) */
.login-error-message.hidden,
.login-success-message.hidden,
.login-form-container.hidden {
  display: none !important;
}

.login-error-message {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: rgba(127, 29, 29, 0.5);
  border: 1px solid rgba(185, 28, 28, 0.3);
  border-radius: 0.5rem;
  color: #fca5a5;
  font-size: 0.875rem;
  display: none;
  margin-bottom: 1rem;
}

.login-error-message.hidden {
  display: none !important;
}

.login-error-message.show {
  display: block;
}

.login-error-message:not(.hidden):not(.show) {
  display: none;
}

.login-form-container {
  display: block;
}

.login-form-container.hidden {
  display: none;
}

.login-forgot-link {
  font-size: 0.875rem;
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s;
}

.login-forgot-link:hover {
  color: #93c5fd;
}

/* Verification Modal Styles */
.verification-modal {
  max-width: 500px;
}

.verification-content {
  padding: 2rem;
  text-align: center;
}

.verification-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #47A9FF 0%, #0042DA 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.verification-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.verification-text {
  color: #d1d5db;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.verification-text strong {
  color: #ffffff;
  font-weight: 600;
}

.verification-code-label {
  color: #47A9FF;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.verification-code-inputs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.verification-code-input {
  width: 50px;
  height: 60px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: rgba(20, 20, 20, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  transition: all 0.3s;
}

.verification-code-input:focus {
  outline: none;
  border-color: #47A9FF;
  box-shadow: 0 0 0 3px rgba(71, 169, 255, 0.1);
}

.verification-resend {
  color: #d1d5db;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.verification-resend strong {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 768px) {
  .login-modal-container {
    max-width: 100%;
    margin: 0 1rem;
  }
  
  .login-modal-content {
    padding: 1.5rem;
  }
  
  .verification-code-input {
    width: 45px;
    height: 55px;
    font-size: 1.25rem;
  }
  
  .verification-content {
    padding: 1.5rem;
  }
}

.login-success-message {
  margin-top: 1rem;
  padding: 0.75rem;
  background-color: rgba(21, 87, 36, 0.5);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 0.5rem;
  color: #86efac;
  font-size: 0.875rem;
  display: none;
  margin-bottom: 1rem;
}

.login-success-message.hidden {
  display: none !important;
}

.login-success-message:not(.hidden) {
  display: block;
}

/* Sistema de Notificações Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast-notification {
  min-width: 320px;
  max-width: 400px;
  background: rgba(31, 41, 55, 0.95);
  border: 2px solid;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(71, 169, 255, 0.3);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  animation: toastSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  position: relative;
  overflow: hidden;
}

.toast-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #47A9FF 0%, #0042DA 100%);
}

.toast-notification.success {
  border-color: rgba(52, 168, 83, 0.4);
  box-shadow: 0 4px 20px rgba(52, 168, 83, 0.2);
}

.toast-notification.error {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.2);
}

.toast-notification.success::before {
  background: linear-gradient(90deg, #34a853 0%, #2e7d32 100%);
}

.toast-notification.error::before {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.toast-notification.slide-out {
  animation: toastSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes toastSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(100%) scale(0.9);
  }
}

.toast-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-icon svg {
  width: 100%;
  height: 100%;
}

.toast-content {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.5;
}

.toast-close {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover {
  opacity: 1;
}

.toast-close svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}