div#user-quick-view-wrapper {
    /* background-color: #0000002b; */
    height: 100vh;
    width: 100vw;
    position: fixed;
    z-index: 9;
}

.user-quick-view {
  background-color: var(--white);
  border: var(--border);
  border-radius: var(--borderRadius);
  width: 320px;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  box-shadow: 1px 4px 5px #00000014;
  position: absolute;
  z-index: 1000;
}

.user-quick-view .header {
  border-bottom: var(--border);
  padding: 12px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.user-quick-view .header .user-photo {
    position: relative;
    cursor: default;
}

.user-quick-view .header .status {
    background-color: var(--green);
    width: 12px;
    height: 12px;
    display: block;
    border-radius: 100%;
    border: 2px solid var(--white);
    position: absolute;
    bottom: 0;
    right: 0;
    box-sizing: border-box;
}

.user-quick-view .header > div:nth-child(2) {
    flex: 1;
}

.user-quick-view .header p {
    font-weight: 500;
}

.user-quick-view .header button {
    padding: 0;
    border: none;
    font-size: 0.8rem;
    color: var(--darkgrey);
    margin-top: 2px;
}

.user-quick-view .header button:hover {
    border: none!important;
}

.user-quick-view .header .buttons {
    display: flex;
    gap: 4px;
}

.user-quick-view .header .buttons .icon-component {
    padding: 8px;
}

.user-quick-view .content {
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    flex-direction: column;
}

.user-quick-view .content .content-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px;
    font-size: 0.8rem;
    word-break: break-word;
}

.user-quick-view .content .label {
    font-weight: 500;
}

.user-quick-view .msteams-button {
    background-color: #4f52b2;
    color: var(--white);
    width: calc(100% - 32px);
    margin: 4px 16px 16px 16px;
    box-sizing: border-box;
}

.user-quick-view .msteams-button:hover {
    background-color: #5b5ebe;
}

.user-quick-view .msteams-button:active {
    background-color: #4f52b2;
}

#ms-status {
    color: var(--darkgrey);
    padding: 0px 16px 16px 16px;
    text-align: center;
    font-size: 0.8rem;
}

.user-quick-view img.user {
    width: 56px;
    height: 56px;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.user-quick-view-hover{
    cursor: pointer;
    transition: border-color 0.2s ease, filter 0.2s ease;
}

.user-quick-view-hover:hover {
    border-color: var(--mediumgrey);
    filter: brightness(1.1);
}

/* Bottom sheet mode */
.user-quick-view.is-sheet{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  max-width: none;
  border-radius: var(--borderRadius) var(--borderRadius) 0 0;
  top: auto; /* ignore inline top */
}

/* Slide-up transition */
.sheet-enter-from, .sheet-leave-to { transform: translateY(100%); }
.sheet-enter-active, .sheet-leave-active { transition: transform .25s ease; }
.sheet-enter-to, .sheet-leave-from { transform: translateY(0); }

/* Overlay */
.uv-overlay{
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9; /* below the panel */
}