.user-presentation-card {
  --upm-accent: #3d6ef5;
  --upm-accent-hover: #2f55d4;
  --upm-notch-pad: 80px;
  --upm-mask-ranura: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 530 100' preserveAspectRatio='none'%3E%3Cpath fill='black' fill-rule='evenodd' d='M0%200H530V100H0Z%20M215%2024H315A7.5%207.5%200%200%201%20322.5%2031.5A7.5%207.5%200%200%201%20315%2039H215A7.5%207.5%200%200%201%20207.5%2031.5A7.5%207.5%200%200%201%20215%2024Z'/%3E%3C/svg%3E");
  --upm-mask-ranura-sm: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 530 100' preserveAspectRatio='none'%3E%3Cpath fill='black' fill-rule='evenodd' d='M0%200H530V100H0Z%20M195%2024H335A7.5%207.5%200%200%201%20342.5%2031.5A7.5%207.5%200%200%201%20335%2039H195A7.5%207.5%200%200%201%20187.5%2031.5A7.5%207.5%200%200%201%20195%2024Z'/%3E%3C/svg%3E");
  padding-top: var(--upm-notch-pad);
}

.user-presentation-card .card-info {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  height: auto;
  max-width: 530px;
  max-height: none;
  margin: 0 auto;
  background: transparent;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(7, 18, 41, .08),
    0 18px 40px rgba(7, 18, 41, .22),
    0 0 0 1px rgba(255, 255, 255, .06);
  overflow: visible;
}

.user-presentation-card .card-info:before {
  position: absolute;
  z-index: 2;
  content: '';
  left: 50%;
  top: -50px;
  margin: 0 0 0 -40px;
  width: 80px;
  height: 80px;
  background: rgba(200, 199, 199, .3);
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(200, 199, 199, .8);
  opacity: .7;
}

.user-presentation-card .card-info:after {
  position: absolute;
  content: '';
  z-index: 2;
  width: 20px;
  height: 20px;
  top: -40px;
  left: 50%;
  margin: 0 0 0 -10px;
  border-radius: 50%;
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, .6),
    0 0 10px rgba(0, 0, 0, .7),
    inset 2px 2px 2px rgba(0, 0, 0, .5);
}

.user-presentation-card .card-info-header {
  position: relative;
  flex: 0 0 auto;
  background: transparent;
  height: 100px;
  width: 100%;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  padding: 42px 20px 12px;
}

.user-presentation-card .card-info-header:after {
  position: absolute;
  content: '';
  inset: 0;
  z-index: 0;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  background-color: #0c1a3d;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%236ea8ff' stroke-opacity='.22' stroke-width='.8'%3E%3Crect x='28' y='48' width='92' height='124'/%3E%3Cpath d='M28 88h92M74 48v124M120 72l52 28-52 28z'/%3E%3Cpath d='M28 128h52'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(ellipse 90% 120% at 100% 0%, rgba(110, 168, 255, .42) 0%, transparent 58%),
    radial-gradient(ellipse 70% 90% at 0% 100%, rgba(20, 45, 120, .55) 0%, transparent 52%),
    linear-gradient(128deg, #071229 0%, #122654 38%, #1e3f8f 72%, #3d6ef5 100%);
  background-size: 220px 220px, cover, cover, cover;
  background-position: right -20px top -30px, center, center, center;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, .12),
    inset 0 -24px 48px rgba(0, 0, 0, .18),
    0 1px 2px rgba(0, 0, 0, .4);
  -webkit-mask: var(--upm-mask-ranura) center / 100% 100% no-repeat;
  mask: var(--upm-mask-ranura) center / 100% 100% no-repeat;
}

.user-presentation-card .label-titulo {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: Poppins-Medium, Cabin, sans-serif;
  font-weight: 600;
  line-height: 1.15;
  font-size: 17px;
  letter-spacing: .02em;
  text-shadow: 0 2px 8px rgba(4, 12, 40, .45);
  margin: 2px 0 0;
  max-width: calc(100% - 58px);
  position: relative;
  z-index: 2;
  transform: translateY(2px);
}

.user-presentation-card .presentation-header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid rgba(255, 255, 255, .95);
  background: #fff;
  box-shadow: 0 6px 16px rgba(4, 12, 40, .28);
  flex: 0 0 auto;
}

.user-presentation-card .presentation-header-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Poppins-Medium, Cabin, sans-serif;
  font-weight: 600;
  letter-spacing: .015em;
}

.user-presentation-card .article {
  flex: 0 0 auto;
  background: #fff;
  padding: 20px 20px 18px;
  margin: 0;
  overflow: visible;
}

.user-presentation-card .card-info > .article:last-child {
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.user-presentation-card .presentation-descripcion-wrap {
  border-left: 3px solid var(--upm-accent);
  padding: 4px 0 4px 16px;
  margin-bottom: 0;
}

.user-presentation-card .label-descripcion {
  display: block;
  font-size: 15px;
  font-family: Cabin, Poppins-Regular, sans-serif;
  font-weight: 400;
  color: #3a4152;
  margin: 0;
  padding: 0;
  line-height: 1.65;
  letter-spacing: .015em;
  white-space: pre-line;
  word-break: break-word;
}

.user-presentation-card .label-descripcion--fallback {
  font-style: italic;
  color: #7d8796;
}

.user-presentation-card .presentation-card-footer {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  justify-content: stretch;
  align-items: stretch;
  padding: 12px 20px 16px;
  margin: 0;
  border-top: none;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 42%, #eef2f9 100%);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}

.user-presentation-card .presentation-card-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 120% at 50% 110%, rgba(30, 63, 143, .14) 0%, transparent 58%),
    radial-gradient(ellipse 55% 70% at 85% 20%, rgba(61, 110, 245, .1) 0%, transparent 55%),
    radial-gradient(ellipse 45% 55% at 10% 30%, rgba(18, 38, 84, .06) 0%, transparent 50%);
  pointer-events: none;
}

.user-presentation-card .presentation-card-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  z-index: 1;
  background: linear-gradient(90deg, transparent 0%, rgba(61, 110, 245, .16) 22%, rgba(61, 110, 245, .16) 78%, transparent 100%);
  pointer-events: none;
}

.user-presentation-card .presentation-ver-perfil {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  margin: 0;
  padding: 13px 22px;
  border-radius: 14px;
  font-family: Poppins-Medium, Cabin, sans-serif;
  text-decoration: none;
  color: var(--upm-accent);
  background: rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(110, 168, 255, .22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .55) inset,
    0 1px 0 rgba(255, 255, 255, .75) inset,
    0 6px 20px rgba(18, 38, 84, .08);
  overflow: hidden;
  transition: background .28s ease, box-shadow .28s ease, transform .22s ease, border-color .28s ease;
}

.user-presentation-card .presentation-ver-perfil::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, .06) 50%, transparent 100%);
  pointer-events: none;
}

.user-presentation-card .presentation-ver-perfil:hover {
  color: var(--upm-accent-hover);
  background: rgba(255, 255, 255, .62);
  border-color: rgba(110, 168, 255, .32);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .65) inset,
    0 1px 0 rgba(255, 255, 255, .85) inset,
    0 8px 24px rgba(18, 38, 84, .1);
  transform: translateY(-1px);
  text-decoration: none;
}

.user-presentation-card .presentation-ver-perfil:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .35) inset,
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 10px 32px rgba(26, 50, 112, .14),
    0 0 0 3px rgba(61, 110, 245, .35);
}

.user-presentation-card .presentation-ver-perfil__text {
  position: relative;
  z-index: 1;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .025em;
}

.user-presentation-card .presentation-ver-perfil__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 12px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(110, 168, 255, .2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

.user-presentation-card .presentation-ver-perfil__chevron {
  position: relative;
  z-index: 1;
  font-size: 12px;
  opacity: .8;
  transition: transform .22s ease, opacity .22s ease;
}

.user-presentation-card .presentation-ver-perfil:hover .presentation-ver-perfil__chevron {
  transform: translateX(4px);
  opacity: 1;
}

.user-presentation-card .presentation-ver-perfil--action {
  width: 100%;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.user-presentation-card .presentation-ver-perfil--action:focus {
  outline: none;
}

.user-presentation-card .presentation-adjuntos {
  margin-top: 16px;
}

.user-presentation-card .presentation-adjuntos-inner {
  border: 1px solid #d5dcec;
  color: #223C61;
  padding: 0;
  text-align: center;
  border-radius: 0.3rem;
}

.user-presentation-modal .user-presentation-card {
  width: 100%;
  max-width: 530px;
  margin-left: auto;
  margin-right: auto;
  max-height: none;
}

.user-presentation-modal .user-presentation-card .card-info {
  width: 100%;
  max-width: 530px;
  max-height: none;
  animation: userPresentationCardZoomIn 0.42s cubic-bezier(0.18, 0.86, 0.28, 1.08);
  transform-origin: center top;
}

.user-presentation-modal .card-info-header .user-presentation-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: rgba(255, 255, 255, .18);
  color: #ffffff;
  font-family: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .28),
    0 8px 18px rgba(18, 31, 87, .18);
  backdrop-filter: blur(8px);
  transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
  z-index: 4;
}

.user-presentation-modal .card-info-header .user-presentation-modal__close:hover {
  background: rgba(255, 255, 255, .92);
  color: #2f4fd8;
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .7),
    0 10px 22px rgba(18, 31, 87, .24);
}

.user-presentation-modal .card-info-header .user-presentation-modal__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .9);
  outline-offset: 3px;
}

@keyframes userPresentationCardZoomIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .user-presentation-card .presentation-ver-perfil {
    background: rgba(255, 255, 255, .78);
  }
}

@media (max-width: 565px) {
  .user-presentation-card .card-info-header:after {
    -webkit-mask: var(--upm-mask-ranura-sm) center / 100% 100% no-repeat;
    mask: var(--upm-mask-ranura-sm) center / 100% 100% no-repeat;
  }
}

@media (max-width: 459px) {
  .user-presentation-card {
    --upm-notch-pad: 72px;
  }

  .user-presentation-modal {
    --upm-dialog-pad: 0.75rem;
  }

  .user-presentation-modal .user-presentation-card .card-info {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }

  .user-presentation-card .card-info {
    width: 100%;
    max-width: 100%;
  }

  .user-presentation-card .label-titulo {
    font-size: 14px;
    gap: 10px;
  }

  .user-presentation-card .presentation-header-name {
    font-size: 14px;
    letter-spacing: .01em;
  }

  .user-presentation-card .presentation-header-avatar {
    width: 36px;
    height: 36px;
  }

  #info .user-presentation-card {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    box-sizing: border-box;
  }
}

@media (prefers-reduced-motion: reduce) {
  .user-presentation-modal .user-presentation-card .card-info {
    animation: none;
  }
}
