@charset "UTF-8";
:root {
  --assur-dark: #003566;
  --assur-main: #07598C;
  --assur-light: #669bbc;
  --assur-bg: #f7f9fc;
  --assur-gradient: linear-gradient(135deg, #003566, #07598C, #669bbc);
}

body {
  background-color: var(--assur-bg);
}

.full-height-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.login-card {
  border-radius: 20px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-left: 4px solid var(--assur-main) !important;
  background: white;
  height: 100%;
}

.login-title {
  font-weight: 800;
  color: var(--assur-dark);
}

.btn-assur {
  background: var(--assur-dark) !important;
  color: white !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  transition: 0.2s ease !important;
}

.btn-assur:hover {
  background: var(--assur-main) !important;
}

.link-assur {
  color: var(--assur-main);
  font-weight: 600;
}

.link-assur:hover {
  color: var(--assur-dark);
}

/* 🎨 PANEL GRAPHIQUE ASSUR-LINE */
.assurline-panel {
  height: 100%;
  border-radius: 20px;
  background: var(--assur-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Traits graphiques */
.assurline-panel::before,
.assurline-panel::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(-20deg);
}

.assurline-panel::before {
  top: 30%;
  left: -50%;
}

.assurline-panel::after {
  top: 60%;
  left: -30%;
  height: 3px;
}

/* Texte ASSUR-LINE */
.assurline-text {
  position: absolute;
  bottom: 10%;
  left: 10%;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bg-primary-assurline {
  background-color: #194267 !important;
  color: white !important;
}

.bg-primary-globale {
  background-color: #447dbd !important;
}

.bg-voir {
  background-color: #4c9ac5 !important;
}

.bg-modifier {
  background-color: #1e4881 !important;
}

.bg-supprimer {
  background-color: #71859c !important;
}

.bg-gradient-assurline {
  background: linear-gradient(135deg, #194267 0%, #1e4881 20%, #447dbd 40%, #4c9ac5 60%, #71859c 80%, #ffffff 100%) !important;
  color: #ffffff !important;
}

.bg-gradient-primary-assurline {
  background: linear-gradient(135deg, #194267 0%, #1e4881 20%, #447dbd 40%, #4c9ac5 60%) !important;
  color: #ffffff !important;
}

.bg-gradient-success-assurline {
  background: linear-gradient(135deg, #074a1f 0%, #074a1f 0%, #02270f 0%, #2e9342 20%, #bdd3b7 60%) !important;
  color: #ffffff !important;
}

.bg-gradient-danger-assurline {
  background: linear-gradient(135deg, #c50f2a 0%, #d51c1c 0%, #85041e 0%, #970e28 20%, #bdd3b7 60%) !important;
  color: #ffffff !important;
}

.text-primary-assurline {
  color: #194267 !important;
}

.text-secondary-assurline {
  color: #1e4881 !important;
}

.text-supprimer-assurline {
  color: #71859c !important;
}

.text-surligne-voir {
  font-family: "Open Sans", serif;
  border: none !important;
  padding-bottom: 3px;
  font-size: 12px;
  margin-left: 1px;
  border-bottom: 3px solid #194267 !important;
  color: #194267 !important;
  background-color: white !important;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
}

.text-surligne-voir:hover {
  border-bottom-width: 4px;
  transform: translateY(-1px);
  opacity: 0.9;
}

.text-surligne-modifier {
  font-family: "Open Sans", serif;
  padding-bottom: 3px;
  font-size: 12px;
  margin-left: 1px;
  border: none !important;
  border-bottom: 3px solid #1e4881 !important;
  color: #1e4881 !important;
  background-color: white !important;
  transition: all 0.25s ease-in-out;
}

.text-surligne-modifier:hover {
  border-bottom-width: 4px;
  transform: translateY(-1px);
  opacity: 0.9;
}

.text-surligne-supprimer {
  font-family: "Open Sans", serif;
  padding-bottom: 3px;
  font-size: 12px;
  margin-left: 1px;
  border: none !important;
  border-bottom: 3px solid #71859c !important;
  color: #71859c !important;
  background-color: white !important;
  transition: all 0.25s ease-in-out;
}

.text-surligne-supprimer:hover {
  border-bottom-width: 4px;
  transform: translateY(-1px);
  opacity: 0.9;
}

.btn-outline-primary-assurline {
  border: 2px solid #1e4881 !important;
  background-color: #ffffff !important;
  color: #1e4881 !important;
  font-weight: 500;
  transition: 0.2s ease-in-out;
}

/* Hover effect */
.btn-outline-primary-assurline:hover {
  background-color: #1e4881 !important;
  color: #ffffff !important;
  border-color: #1e4881 !important;
}

.btn-outline-danger-assurline {
  border: 2px solid #3a4b63 !important;
  background-color: #ffffff !important;
  color: #3a4b63 !important;
  font-weight: 500;
  transition: 0.2s ease-in-out;
}

.btn-outline-danger-assurline:hover {
  background-color: #3a4b63 !important;
  color: #ffffff !important;
  border-color: #3a4b63 !important;
}

.table-compact {
  font-size: 0.6rem;
  /* texte plus petit */
}

.table-compact th {
  font-size: 0.78rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.table-compact td {
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  vertical-align: middle;
}

.table-compact .badge {
  font-size: 0.75rem;
  padding: 4px 8px;
}

.table-compact .btn {
  font-size: 0.7rem !important;
}

.table-compact .btn i {
  font-size: 0.8rem !important;
}

.table-compact tr:hover {
  background-color: #f7f9fc !important;
}

/* ======================= */
/* WRAPPER PRINCIPAL */
/* ======================= */
.ddc-doc-wrapper {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 250px;
  background: #e7f0fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* ======================= */
/* IFRAME (fond du document) */
/* ======================= */
.ddc-doc-iframe {
  width: 100%;
  height: 100%;
  border: none;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Cas document manquant */
.ddc-doc-empty-bg {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dfe7f3, #b8c7d9);
}

/* ======================= */
/* OVERLAY SUPERPOSÉ */
/* ======================= */
.ddc-doc-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1));
  color: white;
}

/* ======================= */
/* Éléments du contenu */
/* ======================= */
.ddc-doc-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 22px;
  opacity: 0.9;
}

.ddc-doc-filename {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-shadow: 1px 1px 2px black;
}

.btn-basket-delete {
  background-color: transparent;
  border: 2px solid #71859c;
  color: #71859c;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.25s ease-in-out;
}

.btn-basket-delete i {
  font-size: 16px;
  /* Taille de l'icône */
}

.btn-basket-delete:hover {
  background-color: #71859c;
  color: white !important;
  transform: scale(1.1);
  border-color: #71859c;
}

.btn-basket-delete:active {
  transform: scale(0.95);
}

.fb-comment-wrapper {
  background: #f5f6f7;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.fb-comment-author {
  font-weight: 600;
  color: #1c1e21;
  font-size: 14px;
}

.fb-comment-date {
  color: #65676b;
  font-size: 13px;
}

.fb-comment-text {
  margin-top: 4px;
  font-size: 14px;
  color: #242526;
  line-height: 1.4;
}

/* Bouton supprimer style Facebook */
.fb-delete-btn {
  background: transparent;
  border: none;
  color: #71859c;
  font-size: 11px;
  padding: 2px 6px;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.2s ease-in-out;
}

.fb-delete-btn:hover {
  opacity: 1;
  color: #1e4881;
}

.small-card-header {
  height: 15px !important;
}

.medium-card-header {
  height: 30px !important;
}

.text-key-size {
  font-size: 13px !important;
}

.btn-mini {
  padding: 3px 5px !important;
  font-size: 0.72rem !important;
  border-radius: 5px !important;
  line-height: 1 !important;
  margin-right: 4px;
  color: #1e2b37;
}

.btn-mini i {
  font-size: 0.7rem !important;
  margin-right: 4px !important;
}

.active-assurline {
  z-index: 3;
  background: linear-gradient(135deg, #194267 0%, #1e4881 20%, #447dbd 40%, #71859c 80%) !important;
  color: #ffffff !important;
}

.card-client-header {
  height: 25px !important;
  /* ← hauteur personnalisée */
  display: flex !important;
  align-items: center !important;
  /* ← centre vertical */
  background-color: #1e4881 !important;
}

.client-photo {
  width: 140px;
  height: 180px;
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid #e1e1e1;
}

.h-same {
  height: 500px !important;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #333;
  text-decoration: none;
}

/* Couleurs pour chaque type de bouton */
.btn-nonpayment {
  background-color: #d0ebff;
  color: #0077b6;
}

.btn-viewpayment {
  background-color: #e7f5ff;
  color: #0096c7;
}

.btn-resiliation {
  background-color: #fff3db;
  color: #ff8c42;
}

.btn-viewresiliation {
  background-color: #f0f0f0;
  color: #495057;
}

/* Hover */
.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Icones SVG intégrées */
.action-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
