/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.vincula-home .profesionales-section { background: #fff; }

.vincula-footer {
  background: var(--vincula-purple, #785ef0);
  color: #fff;
  padding: 72px 0 28px;
  border-top: 1px solid rgb(0 0 0 / 12%);
}

.vincula-footer__content { align-items: flex-start; }
.vincula-footer__brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.vincula-footer__brand img { object-fit: contain; }
.vincula-footer__description { max-width: 440px; margin: 0; color: rgb(255 255 255 / 82%); line-height: 1.75; }

.vincula-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
}

.vincula-footer ul { padding: 0; margin: 0; list-style: none; }
.vincula-footer li + li { margin-top: 11px; }
.vincula-footer a { color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; }
.vincula-footer a:hover { color: var(--vincula-yellow, #ffb000); }
.vincula-footer__account p { margin: 0 0 18px; color: rgb(255 255 255 / 82%); font-size: .9rem; line-height: 1.6; }
.vincula-footer__account-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.vincula-footer__link-button { padding: 0; border: 0; background: transparent; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.vincula-footer .vincula-footer__cta { padding: 10px 17px; border-radius: 50px; background: var(--vincula-yellow, #ffb000); color: #000; }
.vincula-footer .vincula-footer__cta:hover { background: #e6a000; color: #000; }

.vincula-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 24%);
}
.vincula-footer__bottom p { margin: 0; font-size: .78rem; font-weight: 600; }

@media (max-width: 767.98px) {
  .vincula-footer { padding-top: 56px; }
  .vincula-footer__bottom { align-items: flex-start; flex-direction: column; margin-top: 42px; }
}

/* Notificaciones Vincula */
.vincula-flashes {
  position: fixed;
  z-index: 1100;
  top: 108px;
  right: clamp(16px, 3vw, 42px);
  display: grid;
  width: min(430px, calc(100vw - 32px));
  gap: 12px;
  pointer-events: none;
}

.vincula-flash {
  --flash-accent: var(--vincula-purple, #785ef0);
  --flash-icon-bg: var(--vincula-yellow, #ffb000);
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 14px;
  padding: 15px 14px 15px 16px;
  overflow: hidden;
  border: 1px solid rgb(120 94 240 / 20%);
  border-left: 5px solid var(--flash-accent);
  border-radius: 18px;
  background: #fff;
  color: #000;
  box-shadow: 0 18px 50px rgb(37 28 73 / 20%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  pointer-events: auto;
  animation: vincula-flash-in .36s ease both;
}

.vincula-flash--error {
  --flash-accent: #e4579d;
  --flash-icon-bg: #e4579d;
  border-color: rgb(228 87 157 / 25%);
}

.vincula-flash__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--flash-icon-bg);
  color: #000;
}

.vincula-flash--error .vincula-flash__icon {
  color: #fff;
}

.vincula-flash__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.vincula-flash__content strong {
  display: block;
  margin-bottom: 3px;
  color: var(--flash-accent);
  font-size: .77rem;
  font-weight: 850;
  letter-spacing: .25px;
}

.vincula-flash__content p {
  margin: 0;
  color: #3f3f3f;
  font-size: .82rem;
  line-height: 1.5;
}

.vincula-flash__close {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  align-self: start;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #646464;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background .2s ease, color .2s ease;
}

.vincula-flash__close:hover {
  background: #f1eef8;
  color: #000;
}

.vincula-flash__close:focus-visible {
  outline: 3px solid rgb(120 94 240 / 35%);
  outline-offset: 2px;
}

.vincula-flash--leaving {
  animation: vincula-flash-out .22s ease forwards;
}

@keyframes vincula-flash-in {
  from { opacity: 0; transform: translateY(-12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes vincula-flash-out {
  to { opacity: 0; transform: translateX(18px) scale(.98); }
}

@media (max-width: 767.98px) {
  .vincula-flashes {
    top: 92px;
    right: 12px;
    width: calc(100vw - 24px);
  }

  .vincula-flash {
    grid-template-columns: 38px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 13px 11px 13px 13px;
    border-radius: 15px;
  }

  .vincula-flash__icon {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vincula-flash,
  .vincula-flash--leaving {
    animation: none;
  }
}
