:root {
  --color-primary: #e50914;
  --color-secondary: #000000;
  --color-light: #f8f9fa;
  --color-gray: #6c757d;
  --border-radius: 12px;
}

/* Auth Container Styles */
.auth-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
}

.auth-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 900px;
  display: flex;
  min-height: 500px;
}

.auth-image {
  flex: 1;
  background:
    linear-gradient(rgba(229, 9, 20, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1625246335526-8715e8d41ecc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px;
  color: white;
  text-align: center;
}

.auth-image h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

.auth-image p {
  font-size: 1.1rem;
  max-width: 80%;
}

.auth-forms {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid #eee;
}

.auth-tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: var(--color-gray);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.auth-tab.active {
  color: var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.form-control {
  border-radius: 8px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.25);
}

.input-group-text {
  background: white;
  border-radius: 8px 0 0 8px;
}

.password-toggle {
  cursor: pointer;
  background: white;
  border-left: none;
  border-radius: 0 8px 8px 0;
}

.btn-auth {
  background-color: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-weight: 500;
  transition: all 0.3s;
  width: 100%;
}

.btn-auth:hover {
  background-color: #c40811;
  transform: translateY(-2px);
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 25px 0;
  color: var(--color-gray);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #ddd;
}

.auth-divider span {
  padding: 0 15px;
}

.social-auth {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.social-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.social-btn.facebook {
  background-color: #3b5998;
}

.social-btn.google {
  background-color: #db4a39;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  color: var(--color-gray);
}

.auth-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}

.form-text {
  font-size: 0.85rem;
  color: var(--color-gray);
}

/* Footer Styles (copiado del original) */
footer {
  background-color: var(--color-secondary);
  color: white;
  padding: 30px 0 15px;
  margin-top: auto;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 8px;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  margin-right: 15px;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .auth-card {
    flex-direction: column;
    max-width: 500px;
  }

  .auth-image {
    display: none;
  }
}

@media (max-width: 576px) {
  .auth-forms {
    padding: 25px;
  }

  .auth-tab {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .form-label {
    font-size: 0.8rem;
  }

  .form-control {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .form-check-label{
    font-size: 0.8rem;
  }

  .auth-footer {
    font-size: 0.8rem;
  }
}
