/* ============================================
   SHADOWPAY - AUTH PAGES (LOGIN/REGISTER)
   ============================================ */

/* Keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
  }
}

@keyframes float-shape {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(10deg);
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes border-glow {
  0%,
  100% {
    border-color: rgba(34, 197, 94, 0.3);
  }
  50% {
    border-color: rgba(34, 197, 94, 0.8);
  }
}

/* Page Styles */
.auth-page {
  min-height: 100vh;
  background: #0a0a0a;
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}

/* Animated Background */
.auth-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.auth-bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(34, 197, 94, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(34, 197, 94, 0.05) 0%,
      transparent 40%
    );
}

.auth-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Floating Shapes */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.2),
    rgba(34, 197, 94, 0.05)
  );
  animation: float-shape 6s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  right: -50px;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: -50px;
  left: -50px;
  animation-delay: 1s;
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 50%;
  left: 30%;
  animation-delay: 2s;
}

.shape-4 {
  width: 60px;
  height: 60px;
  top: 20%;
  right: 30%;
  animation-delay: 3s;
}

.shape-5 {
  width: 80px;
  height: 80px;
  bottom: 30%;
  right: 10%;
  animation-delay: 4s;
}

/* Auth Wrapper */
.auth-wrapper {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Branding Side */
.auth-branding {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  max-width: 600px;
  position: sticky;
  top: 0;
  height: 100vh;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.auth-brand-logo .green {
  color: #22c55e;
}

.auth-brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
}

.auth-brand-title {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
}

.auth-brand-title .gradient-text {
  background: linear-gradient(135deg, #22c55e 0%, #4ade80 50%, #86efac 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 3s ease infinite;
}

.auth-brand-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Auth Features */
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.auth-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.auth-brand-footer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.auth-brand-footer .highlight {
  color: #22c55e;
  font-weight: 600;
}

/* Form Side */
.auth-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 100vh;
  overflow-y: auto;
}

.auth-form-card {
  width: 100%;
  max-width: 440px;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  margin: auto;
}

.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.auth-form-subtitle {
  color: rgba(255, 255, 255, 0.5);
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-icon {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
  z-index: 2;
}

.form-input-wrapper.focused .form-icon {
  color: #22c55e;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input-focus {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #22c55e, transparent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.form-input-wrapper.focused .form-input-focus {
  width: 100%;
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: #22c55e;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.checkbox-label input {
  display: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input:checked + .checkbox-custom {
  background: #22c55e;
  border-color: #22c55e;
}

.checkbox-custom::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.checkbox-label input:checked + .checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.forgot-link {
  color: #22c55e;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #4ade80;
}

/* Submit Button */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  margin-top: 0.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social Login */
.social-login {
  display: flex;
  gap: 1rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Auth Footer */
.auth-footer {
  text-align: center;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.auth-link {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: #4ade80;
}

/* Alert */
.alert {
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

/* Animations */
.animate-slide-left {
  animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-shake {
  animation: shake 0.5s ease;
}

.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-5 {
  animation-delay: 0.5s;
  opacity: 0;
  animation-fill-mode: forwards;
}
.delay-6 {
  animation-delay: 0.6s;
  opacity: 0;
  animation-fill-mode: forwards;
}

/* ============================================
   REGISTER PAGE SPECIFIC STYLES
   ============================================ */

.register-page .auth-form-card {
  max-width: 520px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Step Progress */
.step-progress {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: #22c55e;
  transform: scale(1.2);
}

.step-dot.completed {
  background: #22c55e;
}

/* File Upload */
.file-upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.file-upload-zone:hover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.05);
}

.file-upload-zone.dragover {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.file-upload-icon {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #22c55e;
}

.file-upload-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.file-upload-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
}

.file-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  margin-top: 1rem;
}

.file-preview-icon {
  width: 40px;
  height: 40px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
}

.file-preview-info {
  flex: 1;
}

.file-preview-name {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
}

.file-preview-size {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.file-preview-remove {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.file-preview-remove:hover {
  color: #ef4444;
}

/* Select Styles */
.form-select {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23666' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px;
  transition: all 0.3s ease;
}

.form-select:focus {
  outline: none;
  border-color: #22c55e;
  background-color: rgba(34, 197, 94, 0.05);
}

.form-select option {
  background: #1a1a1a;
  color: #fff;
}

/* Password Strength */
.password-strength {
  display: flex;
  gap: 4px;
  margin-top: 0.5rem;
}

.strength-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.strength-bar.weak {
  background: #ef4444;
}

.strength-bar.medium {
  background: #f59e0b;
}

.strength-bar.strong {
  background: #22c55e;
}

.password-hint {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

/* Terms Checkbox */
.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}

.terms-checkbox .checkbox-custom {
  margin-top: 2px;
}

.terms-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.5;
}

.terms-text a {
  color: #22c55e;
  text-decoration: none;
}

.terms-text a:hover {
  text-decoration: underline;
}

/* ============================================
   SALES NOTIFICATIONS
   ============================================ */

.sales-notifications {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
}

.sales-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.sales-title .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  position: relative;
}

.sales-title .pulse-dot::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(2);
    opacity: 0;
  }
}

.sales-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 280px;
  overflow: hidden;
}

.sale-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sale-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sale-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sale-icon.pix {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.sale-icon.card {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.sale-info {
  display: flex;
  flex-direction: column;
}

.sale-amount {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.sale-method {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

@keyframes slideInSale {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-sale {
  animation: slideInSale 0.5s ease forwards;
}

.animate-sale.delay-1 {
  animation-delay: 0.1s;
  opacity: 0;
}
.animate-sale.delay-2 {
  animation-delay: 0.2s;
  opacity: 0;
}
.animate-sale.delay-3 {
  animation-delay: 0.3s;
  opacity: 0;
}
.animate-sale.delay-4 {
  animation-delay: 0.4s;
  opacity: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .auth-branding {
    display: none;
  }

  .auth-form-container {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .auth-page {
    min-height: 100%;
    height: auto;
  }

  .auth-wrapper {
    min-height: 100%;
    height: auto;
  }

  .auth-form-container {
    min-height: 100vh;
    height: auto;
    align-items: flex-start;
    padding: 1rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .auth-form-card {
    padding: 1.5rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .auth-form-title {
    font-size: 1.5rem;
  }

  .auth-form-subtitle {
    font-size: 0.875rem;
  }

  .form-input {
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 16px; /* Previne zoom no iOS */
  }

  .form-label {
    font-size: 0.8rem;
  }

  .btn-submit {
    padding: 0.875rem;
    font-size: 0.9rem;
  }

  /* Step Progress Bar Mobile */
  .step-progress-bar {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    gap: 0.25rem;
  }

  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }

  .step-item span {
    font-size: 0.65rem;
  }

  .step-line {
    width: 30px;
  }

  /* Form buttons mobile */
  .form-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-back {
    justify-content: center;
    order: 2;
    padding: 0.875rem;
  }

  .form-buttons .btn-submit {
    order: 1;
  }

  /* File upload mobile */
  .file-upload-zone {
    padding: 1.25rem;
  }

  .file-upload-icon {
    width: 48px;
    height: 48px;
  }

  .file-upload-text {
    font-size: 0.875rem;
  }

  .file-preview {
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .file-preview-icon {
    width: 36px;
    height: 36px;
  }

  .file-preview-name {
    font-size: 0.8rem;
  }

  /* Terms mobile */
  .terms-checkbox {
    margin-top: 0.5rem;
  }

  .terms-text {
    font-size: 0.8rem;
  }

  /* Auth footer */
  .auth-footer {
    margin-top: 1rem;
    font-size: 0.8rem;
  }

  /* Alert mobile */
  .alert {
    padding: 0.75rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-form-container {
    padding: 0.75rem;
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }

  .auth-form-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .auth-form {
    gap: 1rem;
  }

  .form-group {
    gap: 0.35rem;
  }

  /* Form row mobile small */
  .form-row {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
  }

  .form-row .form-group:first-child {
    flex: 1;
  }

  .form-row .form-group[style*="max-width: 100px"] {
    flex: 0 0 80px;
    max-width: 80px !important;
  }

  .form-row .form-group[style*="max-width: 80px"] {
    flex: 0 0 60px;
    max-width: 60px !important;
  }

  /* Step progress smaller */
  .step-progress-bar {
    gap: 0.15rem;
  }

  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .step-item span {
    font-size: 0.6rem;
  }

  .step-line {
    width: 20px;
  }

  /* Password strength */
  .password-strength {
    margin-top: 0.35rem;
  }

  .strength-bar {
    height: 3px;
  }
}

/* Safe area para iPhones com notch */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .auth-form-container {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

/* Fix para teclado mobile */
@media (max-height: 600px) and (max-width: 768px) {
  .auth-form-container {
    align-items: flex-start;
  }

  .auth-form-card {
    margin-top: 1rem;
  }
}
