/* ====== LOGIN MODERNO ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

.login-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* ====== RODAPÉ COM SELEÇÃO DE IDIOMA ====== */
.login-footer {
  background: #f8f9fa;
  border-top: 1px solid #e1e5e9;
  padding: 20px 0;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left p {
  color: #6c757d;
  font-size: 0.8rem;
  margin: 0;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-apps {
  display: flex;
  gap: 10px;
  align-items: center;
}

.app-btn-footer {
  display: block;
  transition: transform 0.3s ease;
  height: 30px;
}

.app-btn-footer:hover {
  transform: translateY(-2px);
}

.app-btn-footer img {
  height: 30px;
  width: auto;
}

.lang-dropdown {
  position: relative;
  display: inline-block;
}

.lang-dropdown-btn {
  background: white;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 0.8rem;
  font-weight: 400;
  min-width: 120px;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lang-dropdown-btn:hover {
  background: #f8f9fa;
  border-color: #667eea;
  color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.lang-dropdown-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.lang-dropdown-btn.active i:last-child {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #e1e5e9;
  min-width: 160px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
  margin-bottom: 8px;
}

.lang-dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
  font-size: 0.9rem;
  text-align: left;
}

.lang-option:hover {
  background: #f8f9fa;
  color: #667eea;
}

.lang-option.active {
  background: #667eea;
  color: white;
}

.lang-option i {
  color: #667eea;
  font-size: 0.8rem;
}

.lang-option.active i {
  color: white;
}

/* ====== LAYOUT PRINCIPAL ====== */
.login-wrapper {
  display: flex;
  min-height: 100vh;
  flex: 1;
}

/* ====== LADO ESQUERDO - BRANDING ====== */
.login-left {
  flex: 1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
}

.login-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.login-left-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  max-width: 500px;
}

.brand-logo {
  width: 250px;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.brand-section p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 25px;
  line-height: 1.5;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* ====== SEÇÃO DE ESTATÍSTICAS ====== */
.stats-section {
  margin-top: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-title {
  text-align: center;
  margin-bottom: 20px;
}

.stats-title h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

.stats-title p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #48c9b0;
  margin-bottom: 5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.feature-item i {
  font-size: 2rem;
  color: #48c9b0;
  min-width: 40px;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.feature-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.login-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  opacity: 0.2;
  z-index: 0;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ====== LADO DIREITO - FORMULÁRIOS ====== */
.login-right {
  flex: 1;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 25px;
  position: relative;
  overflow-y: auto;
}

.login-forms {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

/* ====== FORMULÁRIOS ====== */
.login-form,
.signup-form {
  display: none;
  animation: fadeIn 0.5s ease;
}

.login-form.active,
.signup-form.active {
  display: block;
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.form-header p {
  color: #6c757d;
  font-size: 0.9rem;
}

/* ====== CAMPOS DE FORMULÁRIO ====== */
.form-group {
  margin-bottom: 12px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  z-index: 2;
  font-size: 0.8rem;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 38px;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
  box-sizing: border-box;
}

.input-wrapper input:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 4px;
  font-size: 0.8rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Campo de senha com ícone do olho */
.password-field {
  padding-right: 40px !important;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #6c757d;
  cursor: pointer;
  padding: 4px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 3;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.password-toggle:hover {
  background: #f8f9fa;
  color: #667eea;
}

.password-toggle svg {
  display: block;
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ====== OPÇÕES DO FORMULÁRIO ====== */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  cursor: pointer;
  font-size: 0.65rem;
  color: #6c757d;
  line-height: 1.1;
  position: relative;
  user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 14px;
  height: 14px;
  border: 1.5px solid #e1e5e9;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
  background: #667eea;
  border-color: #667eea;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: white;
  font-size: 8px;
  font-weight: bold;
}

/* Checkbox do Remember Me com mesmo tamanho - regras específicas */
.form-options .checkbox-wrapper {
  font-size: 0.65rem !important;
  line-height: 1.1 !important;
  gap: 6px !important;
}

.form-options .checkmark {
  width: 14px !important;
  height: 14px !important;
  border: 1.5px solid #e1e5e9 !important;
  border-radius: 3px !important;
  margin-top: 1px !important;
}

.form-options .checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
  font-size: 8px !important;
}


#aceitaTermos:checked + .checkmark::after {
  font-size: 8px !important;
}

/* Texto dos termos menor e alinhado */
label[for="aceitaTermos"],
.checkbox-wrapper:has(#aceitaTermos) {
  font-size: 0.65rem !important;
  line-height: 1.1 !important;
  gap: 6px !important;
  align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
}

/* Alinhamento específico do checkbox dos termos */
#aceitaTermos + .checkmark {
  width: 14px !important;
  height: 14px !important;
  border: 1.5px solid #e1e5e9 !important;
  border-radius: 3px !important;
  margin-top: 0px !important;
  flex-shrink: 0 !important;
  align-self: center !important;
  margin-top: 0px !important;
}

/* Garantir que o checkbox dos termos funcione */
.checkbox-wrapper:has(#aceitaTermos) {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.checkbox-wrapper:has(#aceitaTermos) input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  cursor: pointer !important;
  height: 14px !important;
  width: 14px !important;
  margin: 0 !important;
  z-index: 1 !important;
}

/* Animações modernas para notificações */
@keyframes slideInRight {
  0% {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translateX(-10%) scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  0% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(100%) scale(0.8);
    opacity: 0;
  }
}

/* Animação de pulse para notificações importantes */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Animação de gradiente animado */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Estilos para notificações simples */
.toast-notification {
  transition: all 0.3s ease;
}

.toast-notification:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(0, 0, 0, 0.1);
}

.forgot-link {
  color: #667eea;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #764ba2;
}

/* ====== BOTÕES ====== */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn-primary::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;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(2px);
}

/* Botão secundário para cadastro */
.btn-secondary {
  width: 100%;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
  transition: left 0.4s;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.btn-secondary i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-secondary:hover i {
  transform: translateX(2px);
}

/* ====== LOGIN SOCIAL ====== */
.social-login {
  margin-top: 12px;
}

.divider {
  text-align: center;
  margin: 12px 0;
  position: relative;
  color: #6c757d;
  font-size: 0.75rem;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e1e5e9;
  z-index: 1;
}

.divider span {
  background: white;
  padding: 0 16px;
  position: relative;
  z-index: 2;
}

.social-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  background: white;
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-width: 2px;
}

.social-btn:hover::before {
  left: 100%;
}

.social-btn:active {
  transform: translateY(-1px);
}

.social-btn i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.social-btn:hover i {
  transform: scale(1.1);
}

.google-btn {
  border-color: #e1e5e9;
  color: #5f6368;
}

.google-btn:hover {
  border-color: #db4437;
  color: #db4437;
  background: #fef7f7;
}

.apple-btn {
  border-color: #e1e5e9;
  color: #5f6368;
}

.apple-btn:hover {
  border-color: #000;
  color: #000;
  background: #f8f8f8;
}

/* ====== RESPONSIVIDADE PARA BOTÕES ====== */
@media (max-width: 768px) {
  .btn-primary,
  .btn-secondary {
    padding: 16px 20px;
    font-size: 1rem;
    border-radius: 14px;
  }
  
  .social-buttons {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .social-btn {
    padding: 14px 18px;
    font-size: 0.85rem;
    border-radius: 12px;
  }
  
  .social-btn i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .btn-primary,
  .btn-secondary {
    padding: 18px 20px;
    font-size: 1.1rem;
  }
  
  .social-btn {
    padding: 16px 20px;
    font-size: 0.9rem;
  }
}

/* ====== TOGGLE ENTRE FORMULÁRIOS ====== */
.form-toggle {
  text-align: center;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e1e5e9;
}

.form-toggle p {
  color: #6c757d;
  font-size: 0.8rem;
}

.form-toggle a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.form-toggle a:hover {
  color: #764ba2;
}

/* ====== FORMULÁRIO DE RESET ====== */
.reset-form {
  display: none;
  animation: fadeIn 0.5s ease;
}

.reset-form.active {
  display: block;
}

.reset-info {
  margin-top: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #667eea;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #6c757d;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  color: #667eea;
  font-size: 0.9rem;
}

/* ====== APPS MOBILE ====== */
.mobile-apps {
  text-align: center;
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid #e1e5e9;
}

.mobile-apps p {
  color: #6c757d;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.app-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.app-btn {
  display: block;
  transition: transform 0.3s ease;
}

.app-btn:hover {
  transform: translateY(-2px);
}

.app-btn img {
  height: 30px;
  width: auto;
}

/* ====== LOADING OVERLAY ====== */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-spinner {
  text-align: center;
  color: white;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVIDADE ====== */
@media (max-width: 1024px) {
  .login-wrapper {
    flex-direction: column;
  }
  
  .login-left {
    padding: 40px 20px;
    min-height: 50vh;
  }
  
  .login-right {
    padding: 40px 20px;
  }
  
  .brand-section h1 {
    font-size: 2rem;
  }
  
  .features {
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  
  .feature-item {
    min-width: 200px;
  }
  
  .stats-section {
    margin-top: 20px;
    padding: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stats-title h4 {
    font-size: 1.1rem;
  }
  
  .stats-title p {
    font-size: 0.8rem;
  }
}

/* Media query para tablets em landscape */
@media (max-width: 900px) and (min-width: 769px) {
  .features {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  /* Ocultar cards informativos no mobile */
  .features {
    display: none !important;
  }
  
  .login-left {
    padding: 30px 20px;
    min-height: 40vh;
  }
  
  .login-right {
    padding: 30px 20px;
  }
  
  .login-forms {
    max-width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .social-buttons {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .social-btn {
    padding: 8px 10px;
    font-size: 0.7rem;
    min-height: 40px;
  }
  
  .social-btn i {
    font-size: 0.9rem;
  }
  
  .social-btn span {
    font-size: 0.7rem;
  }
  
  .app-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  /* Mostrar estatísticas em mobile de forma compacta */
  .stats-section {
    display: block;
    margin-top: 15px;
    padding: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .stat-item {
    padding: 10px;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}

/* Media query para tablets - manter estatísticas visíveis */
@media (max-width: 1024px) and (min-width: 769px) {
  .stats-section {
    display: block;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stats-title h4 {
    font-size: 1.1rem;
  }
  
  .stats-title p {
    font-size: 0.8rem;
  }
}
  
  .footer-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-right {
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-apps {
    justify-content: center;
  }
  
  .footer-left p {
    font-size: 0.75rem;
  }
  
  .lang-dropdown-btn {
    padding: 6px 10px;
    min-width: 100px;
    font-size: 0.75rem;
  }
  
  .lang-dropdown-menu {
    min-width: 140px;
  }
  
  /* Mostrar features em tablets */
  .features {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .footer-right {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .footer-apps {
    gap: 8px;
  }
  
  .app-btn-footer img {
    height: 25px;
  }
  
  .lang-dropdown-btn {
    padding: 6px 8px;
    min-width: 90px;
    font-size: 0.7rem;
  }
}

/* ====== ALERTAS ====== */
.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}

.alert-error {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

.alert-success {
  background: #efe;
  border: 1px solid #cfc;
  color: #3c3;
}

.alert i {
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .login-left {
    padding: 20px 15px;
    min-height: 35vh;
  }
  
  .login-right {
    padding: 20px 15px;
  }
  
  .brand-section h1 {
    font-size: 1.5rem;
  }
  
  .brand-section p {
    font-size: 1rem;
  }
  
  /* Ocultar features em mobile */
  .features {
    display: none !important;
  }
  
  .form-header h2 {
    font-size: 1.5rem;
  }
  
  .input-wrapper input {
    padding: 14px 40px 14px 44px;
  }
  
  .btn-primary {
    padding: 14px 20px;
  }
}