/* Acceso Google del formulario propio del Dashboard. */
app-dashboard .gf-dashboard-google-auth {
  margin-top: 14px;
}

app-dashboard .gf-dashboard-google-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 14px;
  color: #8a8f98;
  font-size: 13px;
  line-height: 1;
}

app-dashboard .gf-dashboard-google-divider::before,
app-dashboard .gf-dashboard-google-divider::after {
  content: '';
  flex: 1 1 auto;
  height: 1px;
  background: #e1e4e8;
}

app-dashboard .gf-dashboard-google-button {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: #fff;
  color: #263142;
  box-shadow: 0 1px 2px rgba(24, 33, 47, 0.08);
  cursor: pointer;
  font-family: var(--ion-font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease;
}

app-dashboard .gf-dashboard-google-button:hover:not(:disabled) {
  border-color: #9aa4b2;
  background: #fafbfc;
  box-shadow: 0 2px 6px rgba(24, 33, 47, 0.12);
}

app-dashboard .gf-dashboard-google-button:focus-visible {
  outline: 3px solid rgba(66, 133, 244, 0.25);
  outline-offset: 2px;
}

app-dashboard .gf-dashboard-google-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

app-dashboard .gf-dashboard-google-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #4285f4;
}

app-dashboard .gf-dashboard-google-button.is-loading .gf-dashboard-google-icon {
  display: none;
}

app-dashboard .gf-dashboard-google-button.is-loading::before {
  content: '';
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #c9ced6;
  border-top-color: #4285f4;
  border-radius: 50%;
  animation: gf-dashboard-google-spin 0.75s linear infinite;
}

app-dashboard .gf-dashboard-google-help,
app-dashboard .gf-dashboard-google-error {
  margin: 9px 0 0;
  font-size: 12.5px;
  line-height: 1.35;
}

app-dashboard .gf-dashboard-google-help {
  color: #747b86;
}

app-dashboard .gf-dashboard-google-error {
  color: #b4232a;
}

@keyframes gf-dashboard-google-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  app-dashboard .gf-dashboard-google-button {
    min-height: 46px;
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  app-dashboard .gf-dashboard-google-button {
    transition: none;
  }

  app-dashboard .gf-dashboard-google-button.is-loading::before {
    animation-duration: 1.5s;
  }
}
