﻿#container,
.container {
  margin-top: 10px;
  margin-inline: 10px;
  padding-block: 0;
}
#connecteurs-container {
  text-align: left;
  background-color: white;
}
#connecteurs-container .hide {
  display: none !important;
  width: 85vw;
}
.hide {
  display: none !important;
}
ul.connecteurs {
  margin: 0;
  padding: 0;
  display: flex;
  width: fit-content;
  flex-flow: row wrap;
  justify-content: center;
  max-height: calc(100vh - 220px);
  overflow: scroll;
}
ul.connecteurs li,
div#search {
  margin: 10px;
}
ul.connecteurs li {
  text-align: center;
}
ul.connecteurs li.selected a {
  border-color: #33BDEF;
  background-color: #eef6ff !important;
}
ul.connecteurs li:not(.indisponible) {
  display: inline-block;
  vertical-align: top;
  width: 160px;
  position: relative;
  height: fit-content;
}
ul.connecteurs.mobilelist li:not(.indisponible) {
  width: 130px;
}
ul.connecteurs li:not(.indisponible):not(.unclickable):hover {
  box-shadow: 0 0 10px silver;
}
ul.connecteurs li a {
  white-space: normal;
  text-decoration: none;
  height: 135px;
}
#listePA li a {
  height: auto;
  min-height: 100px;
  padding: 15px;
  background-color: white;
}
#listePA li .name {
  display: block;
  font-size: 14px;
  font-family: Roboto-Medium, Tahoma, sans-serif !important;
  font-weight: 500 !important;
  margin-top: 2px;
}
#popup-pdp-list .block,
#popup-pdp-hub-cf .block {
  flex: 1 1 auto;
  min-height: 0;
}
#listePA {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  align-content: flex-start;
}
#listePA li .nb {
  top: 5px;
  left: 5px;
  width: 24px;
  height: 24px;
}
ul.connecteurs li a,
#connecteurs-vides {
  display: block;
  border: 1px solid #d4d4d4;
  border-radius: 4px;
  padding: 10px;
  color: black;
}
ul.connecteurs li .logo {
  display: block;
  object-fit: contain;
  background-color: white;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 4px;
  margin: auto;
  margin-bottom: 10px;
  width: 100px;
  height: 100px;
}
ul.connecteurs li .smallLogo {
  display: block;
  object-fit: contain;
  background-color: white;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: 4px;
  margin: auto;
  margin-bottom: 10px;
  width: 55px;
  height: 55px;
}
ul.connecteurs li .pa-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 4px;
  margin: auto;
  margin-bottom: 10px;
  color: white;
  font-size: 1.4em;
  font-family: Roboto-Bold, Tahoma, sans-serif !important;
  font-weight: 600 !important;
  box-sizing: border-box;
}
ul.connecteurs li .nb,
ul.connecteurs li .pdfonly {
  position: absolute;
  top: -10px;
  width: 20px;
  height: 20px;
  display: inline-block;
  line-height: 20px;
  text-align: center;
}
ul.connecteurs li .nb {
  top: 5px;
  right: 5px;
  background: url("/Content/Images/Icons/circle-check.svg") center center no-repeat;
  filter: brightness(0) saturate(100%) invert(54%) sepia(63%) saturate(465%) hue-rotate(64deg) brightness(92%) contrast(81%);
  background-size: contain;
  width: 32px;
  height: 32px;
  color: transparent;
}
ul.connecteurs li .pdfonly {
  left: -10px;
  background: #96BF0D;
  border: 1px solid black;
  color: white;
  width: auto;
  padding: 0 4px;
  border-radius: 5px;
}
div#search input {
  font-size: 1.5em;
  width: 100%;
  max-width: 800px;
}
#connecteurs-vides {
  font-size: 2em;
  text-align: center;
}
#PopupConnecteurs_PW-1 {
  width: 50vw !important;
}
.client-info {
  flex: 1;
  min-width: 0;
}
.client-name {
  font-family: Roboto-Medium, Tahoma, sans-serif !important;
  font-weight: 500 !important;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}
.client-email-row {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.125rem;
}
.mail-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: #9ca3af;
  flex-shrink: 0;
}
.client-email {
  min-width: 0;
  font-size: 0.875rem;
  color: #6b7280;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.empty-state {
  text-align: center;
  padding: 3rem 0;
  color: #6b7280;
}
.empty-state.visible {
  display: block;
}
.empty-icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  opacity: 0.5;
  color: #9ca3af;
}
.footer-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: end;
  margin-top: 15px;
}
.check-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: white;
  display: none;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 0.25rem;
}
.client-card {
  position: relative;
  min-width: 0;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
}
.client-card:hover {
  border-color: #93c5fd;
  background-color: #f9fafb;
  transition: all 0.2s;
}
.client-card.selected {
  border-color: #3b82f6;
  background-color: #eff6ff;
}
.client-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.pa-help-banner {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  padding: 8px 10px;
  font-size: 0.85em;
  gap: 0 !important;
}
.pa-help-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  width: 100%;
}
.pa-help-toggle {
  display: flex !important;
  margin-left: auto;
  font-size: 0.85em;
  color: #29a7dc;
  white-space: nowrap;
  flex-shrink: 0;
}
.pa-help-toggle img {
  height: 0.8em;
  margin-left: 5px;
  margin-top: 2px;
  filter: brightness(0) saturate(100%) invert(63%) sepia(92%) saturate(1899%) hue-rotate(165deg) brightness(89%) contrast(92%);
}
.pa-help-body {
  text-align: justify;
  height: 95px;
  overflow: hidden;
  transition: height 0.3s ease-in-out;
}
.pa-help-body.pa-hidden {
  height: 0;
}
.pa-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.pa-search {
  width: 100%;
  max-width: 420px;
  height: 22px;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}
.pa-filter-chip,
.pa-status-badge {
  --status-color: gray;
  --status-bg: rgba(128, 128, 128, 0.15);
}
.pa-filter-chip.on,
.pa-status-badge.on {
  --status-color: #2db015;
  --status-bg: rgba(45, 176, 21, 0.15);
}
.pa-filter-chip.wip,
.pa-status-badge.wip {
  --status-color: #D0A602;
  --status-bg: rgba(208, 166, 2, 0.15);
}
.pa-filter-chip.maintenance,
.pa-status-badge.maintenance {
  --status-color: #ea7900;
  --status-bg: rgba(234, 121, 0, 0.15);
}
.pa-filter-chip.refused,
.pa-status-badge.refused {
  --status-color: #E52621;
  --status-bg: rgba(229, 38, 33, 0.15);
}
.pa-filter-chip.requested,
.pa-status-badge.requested {
  --status-color: gray;
  --status-bg: rgba(128, 128, 128, 0.15);
}
.pa-filter-chip.unknown,
.pa-status-badge.unknown {
  --status-color: gray;
  --status-bg: rgba(128, 128, 128, 0.15);
}
#GridViewPdpConnections tr.pdp-connection-ok {
  background-color: #d7f9c7;
}
#GridViewPdpConnections tr.pdp-connection-ok.pdp-connection-message > td {
  background-color: #d7f9c7;
  color: #32800e;
  padding: 0 8px 4px 8px;
}
#GridViewPdpConnections tr.pdp-connection-disabled {
  background-color: #EAE8E8;
}
#GridViewPdpConnections tr.pdp-connection-disabled.pdp-connection-message > td {
  background-color: #EAE8E8;
  color: #544c4c;
  padding: 0 8px 4px 8px;
}
#GridViewPdpConnections tr.pdp-connection-pdpunavailable {
  background-color: #FFEFB1;
}
#GridViewPdpConnections tr.pdp-connection-pdpunavailable.pdp-connection-message > td {
  background-color: #FFEFB1;
  color: #7e6400;
  padding: 0 8px 4px 8px;
}
#GridViewPdpConnections tr.pdp-connection-expired {
  background-color: #FFE0B5;
}
#GridViewPdpConnections tr.pdp-connection-expired.pdp-connection-message > td {
  background-color: #FFE0B5;
  color: #824c00;
  padding: 0 8px 4px 8px;
}
#GridViewPdpConnections tr.pdp-connection-error {
  background-color: #FFCACB;
}
#GridViewPdpConnections tr.pdp-connection-error.pdp-connection-message > td {
  background-color: #FFCACB;
  color: #970003;
  padding: 0 8px 4px 8px;
}
#GridViewPdpConnections tr.pdp-connection-ok.pdp-connection-message {
  display: none;
}
.pa-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.pa-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid #D8DEE6;
  border-radius: 20px;
  font-size: 0.85em;
  cursor: pointer;
  background: white;
  user-select: none;
}
.pa-filter-chip:hover {
  border-color: #29a7dc;
}
.pa-filter-chip.active {
  border-color: #29a7dc;
  background-color: var(--status-bg);
  font-family: Roboto-Bold, Tahoma, sans-serif !important;
  font-weight: 600 !important;
}
.pa-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--status-color);
}
.pa-filter-count {
  font-family: Roboto-Bold, Tahoma, sans-serif !important;
  font-weight: 600 !important;
}
span.pa-status-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  max-width: 100%;
  padding: 3px 9px;
  border-radius: 10px;
  background-color: var(--status-bg);
  color: var(--status-color);
  font-size: 12px;
  font-family: Roboto-Medium, Tahoma, sans-serif !important;
  font-weight: 500 !important;
  width: fit-content;
  overflow-wrap: break-word;
}
ul.connecteurs span.pa-status-badge {
  margin: 4px auto 0;
  cursor: pointer !important;
}
button.pa-detail-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  box-sizing: border-box;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #D8DEE6;
  background: white;
  cursor: pointer !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  text-shadow: none;
}
.pa-detail-btn:hover {
  border-color: #29a7dc;
}
.pa-empty-state {
  text-align: center;
  padding: 2em 0;
  color: #777;
}
.pa-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.9em;
  color: #666;
}
.pa-reset {
  color: #29a7dc;
}
.pa-detail-description {
  margin: 8px 0 0;
  color: #444;
  font-size: 0.9em;
  font-weight: normal !important;
}
.pdp-cf-tabs {
  display: flex;
  flex-shrink: 0;
  margin-block: 15px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.pdp-cf-tab {
  all: unset;
  cursor: pointer;
  padding: 6px 15px;
  font-size: 16px;
  font-family: Roboto-Bold, Tahoma, sans-serif;
  border-bottom: 4px solid transparent;
}
.pdp-cf-tab.active {
  border-bottom-color: #59b448;
  color: #59b448;
}
.pdp-cf-panel-list {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.pdp-cf-panel-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}