/* core/static/core/css/contact_actions.css */
/*
  Popover ligero para acciones de teléfono (copiar / llamar).
  - Se usa en Contacto (supervisor) y Servicio técnico.
*/

.contact-popover{
  position: fixed;
  z-index: 9999;
  min-width: 240px;
  max-width: calc(100vw - 24px);
  padding: 12px;
  border-radius: 16px;

  background: rgba(6, 24, 33, .92);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);

  color: #fff;
}

.contact-popover[hidden]{
  display: none !important;
}

.contact-popover__title{
  margin: 0 28px 10px 0;
  font-weight: 900;
  font-size: .95rem;
  color: rgba(255,255,255,.92);
}

.contact-popover__meta{
  margin: -6px 28px 10px 0;
  font-size: .92rem;
  color: rgba(255,255,255,.72);
  word-break: break-word;
}

.contact-popover__row{
  display: grid;
  gap: 10px;
}

.contact-popover__action{
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: .45rem;

  border-radius: 14px;
  padding: .75rem 1rem;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  text-decoration: none;

  transition: transform .15s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
}

.contact-popover__action:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.10);
}

.contact-popover__action:active{
  transform: translateY(0);
  opacity: .96;
}

.contact-popover__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  cursor: pointer;
}

.contact-popover__close:hover{
  background: rgba(255,255,255,.10);
}

/* En pantallas chicas, lo pegamos abajo tipo "bottom sheet" */
@media (max-width: 560px){
  .contact-popover{
    left: 12px !important;
    right: 12px !important;
    top: auto !important;
    bottom: 12px !important;
    min-width: 0;
  }
}
