@charset "UTF-8";

/* ==========================================================================
   COMPONENTĂ — ANTETUL CONTULUI CONECTAT  (.ps-identitate-cont)
   --------------------------------------------------------------------------
   Randat de: Views/Shared/_IdentitateCont.cshtml, în meniul lateral al
              contului (SidebarCont) și în sertarul hamburger (Navbar/_SertarMeniu).

   Global (din _Layout), pentru că sertarul apare pe orice pagină.
   ========================================================================== */

/* --- 2.1 antetul: avatar + identitate ------------------------------------ */

.ps-identitate-cont {
  display: flex;
  align-items: center;
  gap: var(--ps-space-10);
  padding-block-end: var(--ps-space-15);
  border-block-end: var(--ps-border-width) solid var(--ps-border-soft);
}

.ps-identitate-cont__avatar {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 40px;
  block-size: 40px;
  border-radius: var(--ps-radius-full);
  background: var(--ps-primary-soft);
  color: var(--ps-green-dark);
  text-decoration: none;
  transition: box-shadow var(--ps-duration-fast) var(--ps-ease);
}

.ps-identitate-cont__avatar:hover { box-shadow: 0 0 0 2px var(--ps-primary-soft), 0 0 0 3px var(--ps-green-link); }

.ps-identitate-cont__initiale {
  font: var(--ps-type-label);
  font-weight: var(--ps-fw-semibold);
  line-height: 1;
}

.ps-identitate-cont__date {
  display: flex;
  flex-direction: column;
  gap: var(--ps-space-2);
  min-width: 0;
}

.ps-identitate-cont__nume {
  font: var(--ps-type-body-medium);
  color: var(--ps-text-strong);
  text-decoration: none;

  /* numele de firmă poate fi lung: o singură linie, cu elipsă */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ps-identitate-cont__nume:hover,
.ps-identitate-cont__nume:focus-visible { text-decoration: underline; }

.ps-identitate-cont__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ps-space-5);
}

.ps-identitate-cont__tip {
  font: var(--ps-type-micro);
  color: var(--ps-text-secondary);
}


/* --- 2.2 indemnul de completare a înregistrării -------------------------- */

.ps-identitate-cont__anunt {
  display: flex;
  align-items: center;
  gap: var(--ps-space-6);

  padding: var(--ps-space-10);
  border-radius: var(--ps-radius-control);
  background: var(--ps-warning-bg);
  color: var(--ps-text);
  font: var(--ps-type-small);
  text-decoration: none;
}

.ps-identitate-cont__anunt > .material-symbols-outlined { color: var(--ps-warning); }

.ps-identitate-cont__anunt:hover { text-decoration: underline; }


/* --- 2.3 logo-ul contului și statutul firmei (Cont.Master) --------------- */

.ps-identitate-cont__logo {
  inline-size: 100%;
  block-size: 100%;
  border-radius: var(--ps-radius-full);
  object-fit: cover;
}

.ps-identitate-cont__statut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--ps-space-5);
  font: var(--ps-type-micro);
}

.ps-identitate-cont__statut-partener {
  font-weight: 600;
  color: var(--ps-green-dark);
}

.ps-identitate-cont__statut-free {
  font-weight: 600;
  color: var(--ps-danger);
}

.ps-identitate-cont__devino {
  color: var(--ps-green-link);
  text-decoration: underline;
}
