﻿/* GED-WEB-2E6 — Centre de notifications */

html.circ-2e6-open,
html.circ-2e6-open body {
  overflow: hidden;
}

.circ-2e6-launch {
  position: relative;
}

.circ-2e6-launch.has-unread {
  border-color: #b5c9e4;
  background: #f7faff;
}

.circ-2e6-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 5px;
  border-radius: 999px;
  background: #c54e4e;
  padding: 0 5px;
  color: #fff;
  font-size: 7px;
  font-weight: 900;
}

.circ-2e6-modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  background: rgba(16, 30, 50, .46);
  padding: 14px;
}

.circ-2e6-dialog {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  width: min(1180px, 100%);
  height: min(820px, calc(100vh - 28px));
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10, 24, 45, .28);
}

.circ-2e6-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e4eaf1;
  padding: 13px 15px;
}

.circ-2e6-head-main {
  display: grid;
  gap: 2px;
}

.circ-2e6-head-main > span {
  color: #5a7ead;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.circ-2e6-head h2 {
  margin: 0;
  color: #2d4058;
  font-size: 17px;
}

.circ-2e6-head p {
  margin: 0;
  color: #7d899a;
  font-size: 9px;
}

.circ-2e6-head-actions {
  display: flex;
  gap: 6px;
}

.circ-2e6-close {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  background: #fff;
  color: #6d7b8f;
  font: inherit;
  font-size: 16px;
  cursor: pointer;
}

.circ-2e6-toolbar {
  display: flex;
  align-items: end;
  gap: 8px;
  border-bottom: 1px solid #e5eaf1;
  background: #fafbfd;
  padding: 8px 12px;
}

.circ-2e6-toolbar label {
  display: grid;
  gap: 3px;
}

.circ-2e6-toolbar label > span {
  color: #7c899a;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.circ-2e6-toolbar select {
  min-height: 31px;
  border: 1px solid #d1dbe6;
  border-radius: 8px;
  background: #fff;
  padding: 5px 8px;
  color: #42536a;
  font: inherit;
  font-size: 9px;
}

.circ-2e6-toolbar-note {
  margin-left: auto;
  color: #8290a2;
  font-size: 8px;
}

.circ-2e6-loading {
  height: 2px;
  overflow: hidden;
}

.circ-2e6-loading.is-visible::before {
  content: "";
  display: block;
  width: 28%;
  height: 100%;
  background: #2467c7;
  animation: circ2e6load .8s linear infinite alternate;
}

@keyframes circ2e6load {
  from { transform: translateX(0); }
  to { transform: translateX(255%); }
}

.circ-2e6-workspace {
  display: grid;
  grid-template-columns: minmax(430px, .95fr) minmax(0, 1.05fr);
  min-height: 0;
}

.circ-2e6-list-pane {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 0;
  border-right: 1px solid #e5eaf1;
}

.circ-2e6-list {
  min-height: 0;
  overflow: auto;
  padding: 10px;
}

.circ-2e6-row {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 130px;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin-bottom: 6px;
  border: 1px solid #e1e7ef;
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
  color: #3b4d64;
  text-align: left;
  cursor: pointer;
}

.circ-2e6-row:hover {
  border-color: #abc1dc;
  background: #f9fbff;
}

.circ-2e6-row.is-selected {
  border-color: #94b5df;
  background: #f3f8ff;
}

.circ-2e6-row.is-read {
  opacity: .72;
}

.circ-2e6-row.is-unread {
  border-left: 3px solid #2d6ec8;
}

.circ-2e6-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c9d1db;
}

.circ-2e6-row.is-unread .circ-2e6-dot {
  background: #2d6ec8;
}

.circ-2e6-row-main {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.circ-2e6-row-tags {
  display: flex;
  gap: 4px;
  align-items: center;
}

.circ-2e6-row-tags b,
.circ-2e6-row-tags em {
  display: inline-flex;
  border-radius: 999px;
  padding: 3px 6px;
  background: #eef3f8;
  color: #5c6d82;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.circ-2e6-row-tags em.is-urgent {
  background: #fff0f0;
  color: #a63d3d;
}

.circ-2e6-row-tags em.is-high {
  background: #fff7e8;
  color: #8d631d;
}

.circ-2e6-row-tags em.is-low {
  background: #f1f4f7;
  color: #7b8796;
}

.circ-2e6-row-main > strong {
  overflow: hidden;
  color: #34475f;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.circ-2e6-row-main > small {
  display: -webkit-box;
  overflow: hidden;
  color: #7e8b9c;
  font-size: 8px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.circ-2e6-row-side {
  display: grid;
  gap: 3px;
  justify-items: end;
}

.circ-2e6-row-side time {
  color: #8a96a5;
  font-size: 7px;
}

.circ-2e6-row-side b {
  color: #5e7086;
  font-size: 7px;
}

.circ-2e6-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border-top: 1px solid #e5eaf1;
  background: #fbfcfe;
}

.circ-2e6-pagination span {
  color: #718095;
  font-size: 8px;
}

.circ-2e6-detail-pane {
  min-height: 0;
  overflow: auto;
  padding: 13px;
}

.circ-2e6-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.circ-2e6-detail-head > div {
  min-width: 0;
}

.circ-2e6-detail-head span {
  color: #5e7fab;
  font-size: 7px;
  font-weight: 900;
  text-transform: uppercase;
}

.circ-2e6-detail-head h3 {
  margin: 2px 0;
  color: #31445c;
  font-size: 14px;
}

.circ-2e6-detail-head small {
  color: #8591a1;
  font-size: 8px;
}

.circ-2e6-read-state {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 7px;
  font-weight: 900;
}

.circ-2e6-read-state.is-unread {
  background: #e9f3ff;
  color: #2467c7;
}

.circ-2e6-read-state.is-read {
  background: #eff2f5;
  color: #748195;
}

.circ-2e6-message {
  margin: 12px 0;
  border: 1px solid #e2e8ef;
  border-radius: 10px;
  background: #fbfcfe;
  padding: 10px;
  color: #4a5d74;
  font-size: 9px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.circ-2e6-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.circ-2e6-detail-grid article {
  display: grid;
  gap: 2px;
  min-height: 65px;
  border: 1px solid #e1e7ef;
  border-radius: 9px;
  background: #fff;
  padding: 8px 9px;
}

.circ-2e6-detail-grid span {
  color: #8793a3;
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.circ-2e6-detail-grid strong {
  color: #3a4c63;
  font-size: 9px;
}

.circ-2e6-detail-grid small {
  color: #8591a1;
  font-size: 8px;
}

.circ-2e6-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.circ-2e6-error {
  margin-top: 9px;
  border: 1px solid #edbbbb;
  border-radius: 8px;
  background: #fff1f1;
  padding: 7px 8px;
  color: #a03939;
}

.circ-2e6-error strong,
.circ-2e6-error small {
  display: block;
}

.circ-2e6-error strong {
  font-size: 8px;
}

.circ-2e6-error small {
  margin-top: 2px;
  font-size: 7px;
}

.circ-2e6-empty {
  padding: 28px 12px;
  color: #7b8899;
  font-size: 9px;
  text-align: center;
}

@media (max-width: 950px) {
  .circ-2e6-workspace {
    grid-template-columns: 1fr;
  }

  .circ-2e6-list-pane {
    min-height: 330px;
    border-right: 0;
    border-bottom: 1px solid #e5eaf1;
  }
}

@media (max-width: 700px) {
  .circ-2e6-modal {
    padding: 0;
  }

  .circ-2e6-dialog {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }

  .circ-2e6-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .circ-2e6-toolbar label {
    flex: 1 1 150px;
  }

  .circ-2e6-toolbar-note {
    width: 100%;
    margin-left: 0;
  }

  .circ-2e6-row {
    grid-template-columns: 12px minmax(0, 1fr);
  }

  .circ-2e6-row-side {
    grid-column: 2;
    justify-items: start;
  }

  .circ-2e6-detail-grid {
    grid-template-columns: 1fr;
  }

  .circ-2e6-detail-actions > * {
    flex: 1 1 100%;
  }
}

[hidden] {
  display: none !important;
}
