/* Estilos básicos para el modal de autenticación */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.auth-modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.auth-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.auth-tab {
  padding: 10px 20px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  color: #666;
  transition: all 0.3s;
}

.auth-tab.active {
  color: #007bff;
  border-bottom: 2px solid #007bff;
}

.auth-form {
  margin-top: 20px;
}

.auth-form h3 {
  margin-bottom: 20px;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-check {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-auth-submit {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-auth-submit:hover {
  background-color: #0056b3;
}

.btn-auth-submit:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.auth-links {
  margin-top: 15px;
  text-align: center;
}

.auth-links a {
  color: #007bff;
  text-decoration: none;
}

.auth-links a:hover {
  text-decoration: underline;
}

.auth-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-social {
  margin-top: 30px;
  text-align: center;
}

.auth-social p {
  color: #666;
  margin-bottom: 15px;
}

.social-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s;
}

.social-btn.google:hover {
  background-color: #f1f1f1;
}

.social-btn.facebook {
  background-color: #4267B2;
  color: white;
  border: none;
}

.social-btn.facebook:hover {
  background-color: #365899;
}
/* Estilo para el enlace de recuperación de contraseña */
.forgot-password-link {
    text-align: right;
    margin: 10px 0 15px;
}

.forgot-password-link a {
    color: #e83083;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password-link a:hover {
    color: #8e0000;
    text-decoration: underline;
}