@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
/* Global CSS */
.form-annotation {
  font-size: 0.8rem;
  color: #505050;
}

.info-name {
  font-weight: bold;
}

.profile-contact-disclaimer-ul {
  margin-bottom: 10px;
}
.profile-contact-disclaimer-ul li {
  list-style-type: disc !important;
  margin-left: 40px;
}

.profile-contact .icon-green {
  background-color: #45CB85 !important;
}
.profile-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.profile-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #d0b0bb;
  color: #6b4455;
  background: #fdf6f8;
  transition: background 0.15s, color 0.15s;
}
.profile-secondary-btn:hover {
  background: #f5dde5;
  color: #cf6c85;
  text-decoration: none;
}
.profile-secondary-btn--danger {
  border-color: #f5c6cb;
  color: #c0392b;
  background: #fff5f5;
}
.profile-secondary-btn--danger:hover {
  background: #fde0e0;
  color: #c0392b;
}

#cgu_content ul li {
  list-style-type: disc !important;
  margin-left: 40px;
}
#cgu_content p {
  margin-bottom: 2px !important;
}

.custom-btn {
  background-color: #df314d !important;
  color: white;
}
.custom-btn:hover {
  color: white;
}

/*.custom-btn-light{
    background-color: #ededed !important;
    color: #575757;

    &:hover{
        color: #df314d;
    }
}

.custom-btn, .custom-btn-light{
    padding: 10px;
    box-shadow: none !important;
}*/
.not-allowed {
  cursor: not-allowed;
}

.verify-identity {
  background: orange !important;
  color: white !important;
}

#cookie-consent-box {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 320px;
  background-color: #fff;
  color: #333;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  font-family: Arial, sans-serif;
  display: none;
  animation: fadeInUp 0.5s ease;
}

#cookie-consent-box h4 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #222;
}

#cookie-consent-box p {
  font-size: 14px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.cookie-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-buttons button {
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.cookie-buttons .accept {
  background-color: #cf6c85;
  color: white;
}

.cookie-buttons .reject {
  background-color: #e74c3c;
  color: white;
}

.lab-thumb {
  width: 100%;
  height: 200px; /* ou 250px selon la taille souhaitée */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border-radius: 10px; /* ou 50% pour une image ronde */
}

.lab-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 400px) {
  #cookie-consent-box {
    width: 90%;
    left: 5%;
    bottom: 10px;
  }
}
.profile-table-correspondance th {
  background-color: #fff;
  padding-bottom: 15px;
  padding-top: 15px;
  color: #210053;
  font-size: 1.3em;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.flex {
  display: flex;
}
.flex.items-center {
  align-items: center;
}
.flex.items-end {
  align-items: flex-end;
}
.flex.justify-between {
  justify-content: space-between;
}

.me2 {
  margin-right: 0.5rem;
}

.ms4 {
  margin-left: 1rem;
}

.me4 {
  margin-right: 1rem;
}

.match-key {
  background-color: rgba(137, 200, 53, 0.25);
}

.nomatch-key {
  background-color: rgba(235, 105, 105, 0.25);
}

.btn-disabled {
  background-color: #7e7e7e !important;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════
   Chat / Messages
═══════════════════════════════════════════════ */

/* ── Page liste conversations ── */
.nd-chat-page {
  max-width: 680px;
  margin: 0 auto;
}
.nd-chat-header h4 { color: #cf6c85; }
.nd-chat-empty-icon { font-size: 4rem; color: #ddd; display: block; }

.nd-conv-list {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.nd-conv-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f3f3;
  transition: background .15s;
}
.nd-conv-item:last-child { border-bottom: none; }
.nd-conv-item:hover { background: #fdf4f6; }
.nd-conv-item--unread .nd-conv-name { font-weight: 700; }
.nd-conv-item--unread .nd-conv-preview { color: #333; font-weight: 500; }

.nd-conv-avatar {
  position: relative;
  flex-shrink: 0;
}
.nd-conv-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.nd-conv-badge {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #cf6c85;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.nd-conv-body { flex: 1; min-width: 0; }
.nd-conv-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.nd-conv-name { font-size: 15px; color: #222; }
.nd-conv-time { font-size: 12px; color: #aaa; white-space: nowrap; }
.nd-conv-preview {
  font-size: 13px;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nd-conv-sent-icon { color: #cf6c85; margin-right: 4px; font-size: 11px; }

/* ══ Layout splitté Messages ══════════════════════════════════════════════ */

.nd-split-wrap {
  display: flex;
  height: calc(100vh - 150px);
  min-height: 500px;
  background: #f5f5f5;
}

/* ── Sidebar gauche ── */
.nd-split-sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-right: 1px solid #ececec;
  overflow-y: auto;
}

.nd-split-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1;
}
.nd-split-sidebar-header h5 { color: #cf6c85; font-size: 16px; }

.nd-split-empty-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 24px;
  color: #bbb;
  text-align: center;
}
.nd-split-empty-sidebar i { font-size: 3rem; display: block; margin-bottom: 10px; }

/* Conversation active surlignée dans la sidebar */
.nd-conv-item--active {
  background: #fdf4f6 !important;
  border-right: 3px solid #cf6c85;
}
.nd-conv-item--active .nd-conv-name { color: #cf6c85; }

/* ── Panneau droit ── */
.nd-split-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.nd-split-chat--empty {
  align-items: center;
  justify-content: center;
}

.nd-split-chat-placeholder {
  text-align: center;
  color: #ccc;
}
.nd-split-chat-placeholder i  { font-size: 4rem; display: block; margin-bottom: 12px; }
.nd-split-chat-placeholder p  { font-size: 15px; }

/* Dans le contexte split, le chat-window prend toute la place dispo */
.nd-split-chat .nd-chat-window {
  max-width: unset;
  width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  height: 100%;
  flex: 1;
}

/* ── Responsive split ── */
@media (max-width: 767px) {
  .nd-split-wrap { height: calc(100vh - 120px); }
  .nd-split-sidebar { width: 100%; border-right: none; }
  /* Sur mobile : index → sidebar visible ; view → sidebar masquée, chat visible */
  .nd-split-wrap.nd-split--has-conv .nd-split-sidebar { display: none; }
  .nd-split-wrap:not(.nd-split--has-conv) .nd-split-chat  { display: none; }
}

/* ── Page chat (ancienne route standalone, conservée) ── */
/* ── Wrapper page chat (évite padding-tb du layout) ── */
.nd-chat-page-wrap {
  background: #f9f9f9;
  padding: 24px 16px 0;
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
}

.nd-chat-window {
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex: 1;
  height: calc(100vh - 178px);
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
  overflow: hidden;
}

/* ── Topbar ── */
.nd-chat-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
  min-height: 64px;
}
.nd-chat-back {
  color: #cf6c85;
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
  flex-shrink: 0;
}

/* Conteneur dédié pour l'avatar — isole les règles img globales */
.nd-chat-topbar-avatar-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}
.nd-chat-topbar-avatar-wrap img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.nd-chat-topbar-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.nd-chat-topbar-name { font-weight: 600; font-size: 15px; color: #222; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-chat-topbar-status { font-size: 12px; color: #aaa; }
.nd-status--ok  { color: #89c835; }
.nd-status--err { color: #eb6969; }
.nd-chat-topbar-profile {
  font-size: 20px;
  color: #cf6c85;
  text-decoration: none;
  padding: 4px 6px;
  flex-shrink: 0;
}

/* ── Bouton bloquer ── */
.nd-chat-topbar-block {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: #888;
  cursor: pointer;
  padding: 5px 10px;
  flex-shrink: 0;
  transition: color .2s, border-color .2s, background .2s;
}
.nd-chat-topbar-block i { font-size: 16px; }
.nd-chat-topbar-block:hover {
  color: #cf6c85;
  border-color: #cf6c85;
  background: #fff0f3;
}
.nd-chat-topbar-block--active {
  color: #cf6c85;
  border-color: #cf6c85;
  background: #fff0f3;
}
.nd-chat-topbar-block-label { font-size: 12px; font-weight: 500; }

/* ── Bannières blocage ── */
.nd-chat-blocked-notice {
  background: #fff8f8;
  border-top: 1px solid #f5d5da;
  padding: 10px 16px;
  font-size: 13px;
  color: #a04a5e;
  flex-shrink: 0;
}
.nd-chat-blocked-notice--them {
  background: #fdf2f2;
  color: #7a3a4a;
}
.nd-chat-blocked-notice a { color: #cf6c85; text-decoration: underline; cursor: pointer; }
.nd-chat-input-area--blocked .nd-chat-input { background: #f5f5f5; color: #bbb; cursor: not-allowed; }
.nd-chat-input-area--blocked .nd-chat-send  { background: #ddd; cursor: not-allowed; }

/* ── Zone messages ── */
.nd-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fafafa;
}

.nd-msg { display: flex; flex-direction: column; max-width: 72%; }
.nd-msg--mine  { align-self: flex-end;  align-items: flex-end; }
.nd-msg--theirs{ align-self: flex-start; align-items: flex-start; }

.nd-msg-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
  white-space: pre-wrap;
}
.nd-msg--mine   .nd-msg-bubble { background: #cf6c85; color: #fff; border-bottom-right-radius: 4px; }
.nd-msg--theirs .nd-msg-bubble { background: #fff; color: #333; border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

.nd-msg-meta {
  font-size: 11px;
  color: #bbb;
  margin-top: 3px;
  padding: 0 4px;
}
.nd-msg-read { color: #89c835; }

/* ── Zone de saisie ── */
.nd-chat-input-area {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.nd-chat-input {
  flex: 1;
  resize: none;
  border: 1px solid #e8e8e8;
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.4;
  outline: none;
  background: #f8f8f8;
  transition: border-color .2s;
  max-height: 120px;
  overflow-y: auto;
}
.nd-chat-input:focus { border-color: #cf6c85; background: #fff; }
.nd-chat-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #cf6c85;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.nd-chat-send:disabled { background: #ddd; cursor: not-allowed; }
.nd-chat-send:not(:disabled):hover { background: #b85570; }

/* ── Responsive ── */
@media (max-width: 767px) {
  .nd-chat-page-wrap { padding: 0; }
  .nd-chat-window { height: calc(100vh - 120px); border-radius: 0; }
}

/*# sourceMappingURL=front.css.map */
