.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
  }
  
  .modal.oculto {
    display: none;
  }
  
  .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
  }
  
  .modal-cerrar {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
  }
  
  .form-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .form-login input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 6px;
  }
  
  .btn-login {
    padding: 0.8rem;
    background: var(--color-primary, #000);
    color: black;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
  
  .modal-footer-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .modal-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .tab-btn {
    flex: 1;
    padding: 0.6rem;
    background: #eee;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .tab-btn.activo {
    background: var(--color-primary, #000);
    color: white;
  }
  
  .tab-content {
    display: block;
  }
  
  .tab-content.oculto {
    display: none;
  }
  