/* ==============================
   CUSTOM CSS — Louis Schuhler v2
   ============================== */

:root {
  --accent: #9CCE76;
  --accent-dark: #7ab355;
  --bg-card: rgba(16, 18, 27, 0.55);
  --bg-card-hover: rgba(25, 28, 42, 0.80);
  --border: rgba(146, 151, 179, 0.15);
  --text-muted: rgba(249, 250, 251, 0.50);
  --critical: #ff4d4d;
  --warning: #ffb347;
  --info: #64b5f6;
  --gap: 20px;
}

/* =========================
   PRELOADER — centrage
   ========================= */
.ls-preloader {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   BLOG — meta & tags
   ========================= */
.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.blog-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(156, 206, 118, 0.10);
  border: 1px solid rgba(156, 206, 118, 0.25);
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
}

.blog-date {
  font-size: 10px;
  color: var(--text-muted);
}

.blog-reading-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.blog-reading-time i {
  margin-right: 4px;
  color: var(--accent);
}

/* Blog filter — active state */
.blog-tag-filter.active {
  color: var(--accent) !important;
}

/* =========================
   FLASH CYBER — news feed
   ========================= */
#news-feed-section {
  margin-top: 10px;
  padding-bottom: 10px;
}

.news-feed-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.news-feed-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(146, 151, 179, 0.25);
  border-radius: 8px;
  padding: 18px 22px;
  transition: border-left-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
}

.news-feed-item:hover {
  border-left-color: var(--accent);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.news-feed-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-feed-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
  flex-shrink: 0;
}

.news-feed-badge.critical {
  background: rgba(255, 77, 77, 0.15);
  color: var(--critical);
  border: 1px solid rgba(255, 77, 77, 0.30);
}

.news-feed-badge.warning {
  background: rgba(255, 179, 71, 0.15);
  color: var(--warning);
  border: 1px solid rgba(255, 179, 71, 0.30);
}

.news-feed-badge.info {
  background: rgba(100, 181, 246, 0.15);
  color: var(--info);
  border: 1px solid rgba(100, 181, 246, 0.30);
}

.news-feed-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-left: auto;
}

.news-feed-date i {
  margin-right: 4px;
}

.news-feed-content h5 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #fafafc;
  line-height: 1.4;
}

.news-feed-content p {
  font-size: 12px;
  color: rgba(249, 250, 251, 0.72);
  line-height: 1.65;
  margin: 0;
}

.news-feed-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.news-feed-tag {
  font-size: 9px;
  color: var(--text-muted);
  background: rgba(146, 151, 179, 0.07);
  padding: 2px 7px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

.news-feed-tag i {
  margin-right: 3px;
  font-size: 8px;
}

.news-feed-footer .ls-link {
  margin-left: auto;
  font-size: 10px;
}

.news-feed-footer .ls-link i {
  font-size: 9px;
  margin-left: 3px;
}

/* =========================
   VAULT — bibliothèque
   ========================= */
#vault-section {
  margin-top: 10px;
}

/* Search */
.vault-search-wrap {
  position: relative;
}

.vault-search-input {
  background: rgba(16, 18, 27, 0.6);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: #f9fafb;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  padding: 6px 30px 6px 14px;
  outline: none;
  width: 200px;
  transition: border-color 0.3s, width 0.3s;
}

.vault-search-input:focus {
  border-color: var(--accent);
  width: 260px;
}

.vault-search-input::placeholder {
  color: var(--text-muted);
}

.vault-search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 11px;
  pointer-events: none;
}

/* Tabs */
.vault-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.vault-tab {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 5px 9px;
  transition: all 0.22s;
}

.vault-tab i {
  margin-right: 4px;
  font-size: 9px;
}

.vault-tab:hover {
  border-color: rgba(156, 206, 118, 0.4);
  color: var(--accent);
}

.vault-tab.active {
  background: rgba(156, 206, 118, 0.10);
  border-color: var(--accent);
  color: var(--accent);
}

/* Content panels */
.vault-content {
  display: none;
}

.vault-content.active {
  display: block;
}

/* Grid */
.vault-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vault-entry {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  transition: background 0.22s, border-color 0.22s;
}

.vault-entry:hover {
  background: var(--bg-card-hover);
  border-color: rgba(156, 206, 118, 0.20);
}

.vault-entry.hidden {
  display: none;
}

.vault-entry-icon {
  width: 38px;
  height: 38px;
  background: rgba(156, 206, 118, 0.07);
  border: 1px solid rgba(156, 206, 118, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 14px;
}

.vault-entry-info {
  flex: 1;
  min-width: 0;
}

.vault-entry-info h6 {
  font-size: 12px;
  font-weight: 600;
  color: #fafafc;
  margin-bottom: 3px;
}

.vault-entry-meta {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 5px;
}

.vault-entry-info p {
  font-size: 11px;
  color: rgba(249, 250, 251, 0.65);
  margin: 0;
  line-height: 1.5;
}

.vault-entry-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.vault-btn {
  background: rgba(146, 151, 179, 0.08);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: #f9fafb;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  padding: 5px 10px;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.vault-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.vault-btn i {
  margin-right: 4px;
}

.vault-entry-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
}

.vault-entry-badge.external {
  background: rgba(100, 181, 246, 0.10);
  color: var(--info);
  border: 1px solid rgba(100, 181, 246, 0.25);
}

.vault-entry-badge.local {
  background: rgba(156, 206, 118, 0.10);
  color: var(--accent);
  border: 1px solid rgba(156, 206, 118, 0.25);
}

.vault-entry-badge.warning-badge {
  background: rgba(255, 179, 71, 0.10);
  color: var(--warning);
  border: 1px solid rgba(255, 179, 71, 0.25);
}

/* =========================
   LEAK CHECKER
   ========================= */
#leak-checker-section {
  /* Séparation nette avec le Vault */
  margin-top: 40px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.leak-checker-card {
  padding: 26px !important;
}

.leak-checker-intro {
  margin-bottom: 22px;
}

.leak-checker-intro p {
  font-size: 12px;
  color: rgba(249, 250, 251, 0.70);
  margin-bottom: 14px;
  line-height: 1.65;
}

.leak-checker-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.leak-source-badge {
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: rgba(156, 206, 118, 0.07);
  border: 1px solid rgba(156, 206, 118, 0.20);
  padding: 3px 10px;
  border-radius: 20px;
}

.leak-source-badge i {
  margin-right: 4px;
  font-size: 9px;
}

/* Input group */
.leak-input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
}

.leak-input-wrap {
  position: relative;
  flex: 1;
}

.leak-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 13px;
  pointer-events: none;
}

.leak-email-input {
  width: 100%;
  background: rgba(16, 18, 27, 0.6);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: #f9fafb;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  padding: 11px 14px 11px 38px;
  outline: none;
  transition: border-color 0.3s;
}

.leak-email-input:focus {
  border-color: var(--accent);
}

.leak-email-input::placeholder {
  color: var(--text-muted);
}

.leak-check-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Loading */
.leak-loading {
  padding: 20px 0;
}

.leak-loading-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leak-step {
  font-size: 11px;
  color: var(--text-muted);
  transition: color 0.3s;
}

.leak-step.active {
  color: var(--accent);
}

.leak-step.done {
  color: rgba(156, 206, 118, 0.55);
}

.leak-step i {
  margin-right: 6px;
  width: 14px;
  display: inline-block;
  text-align: center;
}

/* Results */
.leak-summary {
  border-radius: 8px;
  padding: 14px 20px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.leak-summary.safe {
  background: rgba(156, 206, 118, 0.10);
  border: 1px solid rgba(156, 206, 118, 0.30);
  color: var(--accent);
}

.leak-summary.pwned {
  background: rgba(255, 77, 77, 0.10);
  border: 1px solid rgba(255, 77, 77, 0.30);
  color: var(--critical);
}

.leak-summary i {
  margin-right: 8px;
}

.leak-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.leak-source-result {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
}

.leak-source-result.found {
  border-left: 3px solid var(--critical);
}

.leak-source-result.clean {
  border-left: 3px solid var(--accent);
}

.leak-source-result.error {
  border-left: 3px solid var(--text-muted);
}

.leak-source-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.leak-source-name {
  font-size: 12px;
  font-weight: 600;
  color: #fafafc;
}

.leak-source-status {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.leak-source-status.found {
  background: rgba(255, 77, 77, 0.15);
  color: var(--critical);
}

.leak-source-status.clean {
  background: rgba(156, 206, 118, 0.15);
  color: var(--accent);
}

.leak-source-status.error {
  background: rgba(146, 151, 179, 0.10);
  color: var(--text-muted);
}

.leak-source-detail {
  font-size: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.leak-breach-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0;
}

.leak-breach-list li {
  font-size: 10px;
  color: rgba(249, 250, 251, 0.65);
  padding: 2px 0;
}

.leak-breach-list li::before {
  content: '• ';
  color: var(--critical);
}

.leak-disclaimer {
  background: rgba(146, 151, 179, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 14px;
  line-height: 1.55;
}

.leak-disclaimer i {
  color: var(--info);
  margin-top: 1px;
  flex-shrink: 0;
}

.leak-actions {
  display: flex;
  gap: 8px;
}

.leak-error {
  background: rgba(255, 77, 77, 0.08);
  border: 1px solid rgba(255, 77, 77, 0.25);
  border-radius: 8px;
  padding: 14px;
  color: var(--critical);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .vault-tabs {
    gap: 4px;
  }
  .vault-tab {
    font-size: 10px;
    padding: 5px 8px;
  }
  .vault-entry {
    flex-direction: column;
  }
  .vault-entry-actions {
    flex-direction: row;
    align-items: center;
  }
  .leak-input-group {
    flex-direction: column;
  }
  .leak-check-btn {
    width: 100%;
  }
  .vault-search-input {
    width: 150px;
  }
  .vault-search-input:focus {
    width: 180px;
  }
  .news-feed-date {
    display: none;
  }
}

/* Opinion highlight */
.news-opinion {
  font-size: 11px !important;
  color: rgba(156, 206, 118, 0.80) !important;
  border-left: 2px solid rgba(156, 206, 118, 0.30);
  padding-left: 8px;
  margin-top: 8px !important;
  margin-bottom: 0 !important;
}

/* Gap between feed items in columns */
.col-lg-6 .news-feed-item + .news-feed-item {
  margin-top: 10px;
}

/* Ensure feed items stretch full height in col */
.col-lg-6 .news-feed-item {
  height: auto;
}

/* =========================
   PRELOADER — fix décalage
   Le preloader est dans .ls-content qui a padding-right:80px
   On force fixed pour l'affranchir du parent
   ========================= */
.ls-preloader {
  position: fixed !important;
  top: 15px !important;
  left: 15px !important;
  width: calc(100vw - 30px) !important;
  height: calc(100vh - 30px) !important;
  margin: 0 !important;
}

/* =========================
   FLASH CYBER — ticker style
   ========================= */
.flash-subtitle {
  font-size: 10px;
  color: rgba(249,250,251,0.45);
  font-style: italic;
}

.flash-ticker-wrap {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 14px;
  /* custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: rgba(156,206,118,0.35) rgba(16,18,27,0.4);
}
.flash-ticker-wrap::-webkit-scrollbar {
  height: 4px;
}
.flash-ticker-wrap::-webkit-scrollbar-track {
  background: rgba(16,18,27,0.4);
  border-radius: 2px;
}
.flash-ticker-wrap::-webkit-scrollbar-thumb {
  background: rgba(156,206,118,0.35);
  border-radius: 2px;
}

.flash-ticker-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 4px 2px 6px;
}

.flash-item {
  background: rgba(16,18,27,0.55);
  border: 1px solid rgba(146,151,179,0.14);
  border-radius: 8px;
  padding: 14px 16px;
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: border-color 0.22s, background 0.22s;
  cursor: default;
}
.flash-item:hover {
  background: rgba(25,28,42,0.80);
  border-color: rgba(156,206,118,0.22);
}

/* Badge */
.flash-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  align-self: flex-start;
}
.flash-badge.critical {
  background: rgba(255,77,77,0.14);
  color: #ff4d4d;
  border: 1px solid rgba(255,77,77,0.28);
}
.flash-badge.warning {
  background: rgba(255,179,71,0.14);
  color: #ffb347;
  border: 1px solid rgba(255,179,71,0.28);
}
.flash-badge.info {
  background: rgba(100,181,246,0.14);
  color: #64b5f6;
  border: 1px solid rgba(100,181,246,0.28);
}

/* Date */
.flash-date {
  font-size: 9px;
  color: rgba(249,250,251,0.38);
  margin-top: -4px;
}

/* Title */
.flash-title {
  font-size: 12px;
  font-weight: 600;
  color: #fafafc;
  line-height: 1.4;
}

/* Body */
.flash-body {
  font-size: 11px;
  color: rgba(249,250,251,0.65);
  line-height: 1.6;
  flex: 1;
}

/* Tags */
.flash-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}
.flash-tags span {
  font-size: 9px;
  color: rgba(249,250,251,0.40);
  background: rgba(146,151,179,0.06);
  border: 1px solid rgba(146,151,179,0.12);
  padding: 1px 6px;
  border-radius: 3px;
}

/* Source link */
.flash-src {
  font-size: 10px;
  color: var(--accent);
  text-decoration: none;
  margin-top: 2px;
  align-self: flex-start;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.flash-src:hover {
  opacity: 1;
  text-decoration: none;
  color: var(--accent);
}

/* =========================
   Blog tag filter active
   ========================= */
.blog-tag-filter.active {
  color: var(--accent) !important;
}

/* =========================
   FLASH CYBER — tweet style
   ========================= */
.flash-subtitle {
  font-size: 10px;
  color: rgba(249,250,251,0.38);
  font-style: italic;
}

/* Feed : 2 colonnes grille */
.flash-feed {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 900px) {
  .flash-feed { grid-template-columns: 1fr; }
}

/* Carte tweet */
.flash-tweet {
  background: rgba(16,18,27,0.52);
  border: 1px solid rgba(146,151,179,0.13);
  border-radius: 10px;
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: border-color 0.22s, background 0.22s;
}
.flash-tweet:hover {
  background: rgba(22,25,38,0.75);
  border-color: rgba(156,206,118,0.20);
}

/* Header */
.flash-tweet-header {
  display: flex;
  align-items: center;
  gap: 9px;
}

.flash-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(156,206,118,0.10);
  border: 1px solid rgba(156,206,118,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 13px;
  flex-shrink: 0;
}

.flash-tweet-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
  min-width: 0;
}

.flash-handle {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}

.flash-ts {
  font-size: 9px;
  color: rgba(249,250,251,0.32);
}

.flash-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
  flex-shrink: 0;
}
.flash-badge.critical {
  background: rgba(255,77,77,0.13);
  color: #ff4d4d;
  border: 1px solid rgba(255,77,77,0.25);
}
.flash-badge.warning {
  background: rgba(255,179,71,0.13);
  color: #ffb347;
  border: 1px solid rgba(255,179,71,0.25);
}
.flash-badge.info {
  background: rgba(100,181,246,0.13);
  color: #64b5f6;
  border: 1px solid rgba(100,181,246,0.25);
}

/* Corps */
.flash-tweet-body {
  font-size: 12px;
  color: rgba(249,250,251,0.78);
  line-height: 1.6;
  padding-left: 41px; /* aligne sous l'avatar */
}
.flash-tweet-body strong {
  color: #fafafc;
  font-weight: 600;
}

/* Footer */
.flash-tweet-footer {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-left: 41px;
  flex-wrap: wrap;
}

.flash-tag {
  font-size: 10px;
  color: rgba(156,206,118,0.60);
  font-weight: 500;
}

.flash-link {
  margin-left: auto;
  font-size: 10px;
  color: rgba(249,250,251,0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.flash-link:hover {
  color: var(--accent);
  text-decoration: none;
}
.flash-link i {
  font-size: 9px;
  margin-right: 3px;
}

/* Bouton "voir plus" */
.flash-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.flash-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(249,250,251,0.55);
  border: 1px solid rgba(146,151,179,0.18);
  border-radius: 20px;
  padding: 7px 18px;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.flash-more-btn:hover {
  color: var(--accent);
  border-color: rgba(156,206,118,0.35);
  text-decoration: none;
}
.flash-more-btn i { font-size: 12px; }

/* Monospace pour les > be GitHub style */
.flash-tweet-body br + br { display: none; }

/* Avatar photo dans les tweets */
.flash-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Image simple */
.flash-tweet-img {
  margin-top: 4px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(146,151,179,0.12);
}
.flash-tweet-img img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: opacity 0.2s;
}
.flash-tweet-img img:hover { opacity: 0.88; }
.flash-tweet-img a { display: block; }

/* Double image */
.flash-tweet-img-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.flash-tweet-img-double img {
  max-height: 140px;
}
.flash-tweet-img-double img:first-child { border-radius: 8px 0 0 8px; }
.flash-tweet-img-double img:last-child  { border-radius: 0 8px 8px 0; }

/* Triple image */
.flash-tweet-img-triple {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3px;
}
.flash-tweet-img-triple img {
  max-height: 110px;
  border-radius: 4px;
}

/* Tweets cachés par défaut */
.flash-tweet-hidden {
  display: none;
}

/* Bouton toggle */
.flash-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.flash-toggle-btn {
  background: transparent;
  border: 1px solid rgba(146,151,179,0.18);
  border-radius: 20px;
  color: rgba(249,250,251,0.50);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  padding: 8px 20px;
  transition: color 0.2s, border-color 0.2s;
}
.flash-toggle-btn:hover {
  color: var(--accent);
  border-color: rgba(156,206,118,0.35);
}
.flash-toggle-btn i {
  margin-left: 5px;
  font-size: 10px;
  transition: transform 0.3s;
}
.flash-toggle-btn.open i {
  transform: rotate(180deg);
}

/* Animation apparition */
.flash-tweet.flash-appearing {
  animation: flashAppear 0.3s ease forwards;
}
@keyframes flashAppear {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   VAULT BUILDERS GRID
   =========================== */
.vault-builders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.vault-builders-count {
  font-size: 11px;
  color: var(--text-muted);
}

.vault-builders-count i {
  color: var(--accent);
  margin-right: 5px;
}

.vault-builders-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vault-builder-tag {
  font-size: 10px;
  font-weight: 500;
  color: rgba(249,250,251,0.70);
  background: rgba(16,18,27,0.50);
  border: 1px solid rgba(146,151,179,0.13);
  padding: 3px 9px;
  border-radius: 4px;
  cursor: default;
  transition: color 0.18s, border-color 0.18s, background 0.18s;
}

.vault-builder-tag:hover {
  color: var(--accent);
  border-color: rgba(156,206,118,0.30);
  background: rgba(156,206,118,0.06);
}

.vault-builder-tag.hidden {
  display: none;
}

/* =========================
   PASSWORD RESET
   ========================= */
.reset-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.reset-platform-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgb(146 151 179 / 8%);
  border: 1px solid rgb(146 151 179 / 15%);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.reset-platform-item:hover {
  background: rgb(146 151 179 / 15%);
  border-color: rgba(156, 206, 118, 0.3);
}

.reset-platform-item.selected {
  background: rgba(156, 206, 118, 0.1);
  border-color: rgba(156, 206, 118, 0.4);
}

.reset-platform-checkbox {
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(156, 206, 118, 0.4);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.reset-platform-item.selected .reset-platform-checkbox {
  background: #9CCE76;
  border-color: #9CCE76;
}

.reset-platform-checkbox i {
  font-size: 9px;
  color: #0d0f14;
  display: none;
}

.reset-platform-item.selected .reset-platform-checkbox i {
  display: block;
}

.reset-platform-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.reset-platform-name {
  font-size: 12px;
  color: #f0f0f0;
  font-weight: 500;
}

/* =========================
   LEAK CHECKER TABS
   ========================= */
.leak-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.leak-type-tab {
  background: rgb(146 151 179 / 8%);
  border: 1px solid rgb(146 151 179 / 15%);
  border-radius: 8px;
  color: rgba(249,250,251,0.5);
  padding: 7px 14px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.leak-type-tab:hover {
  border-color: rgba(156,206,118,0.3);
  color: #f9fafb;
}

.leak-type-tab.active {
  background: rgba(156,206,118,0.12);
  border-color: rgba(156,206,118,0.4);
  color: #9CCE76;
  font-weight: 600;
}

/* Reset action tabs */
.reset-action-tab {
  background: rgb(146 151 179 / 8%);
  border: 1px solid rgb(146 151 179 / 15%);
  border-radius: 8px;
  color: rgba(249,250,251,0.5);
  padding: 8px 16px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.reset-action-tab:hover {
  border-color: rgba(156,206,118,0.3);
  color: #f9fafb;
}

.reset-action-tab.active {
  background: rgba(156,206,118,0.12);
  border-color: rgba(156,206,118,0.4);
  color: #9CCE76;
  font-weight: 600;
}

.reset-action-tab[data-action="delete"].active {
  background: rgba(220,50,50,0.10);
  border-color: rgba(220,50,50,0.35);
  color: #e05555;
}


/* ============================================================
   RADAR CHART CTF
   ============================================================ */
.ls-radar-wrap {
  width: 100%;
  padding: 10px 0 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ls-radar-wrap canvas {
  max-width: 220px;
  max-height: 220px;
}


/* ============================================================
   TIMELINE TEXT — Parcours scolaire
   ============================================================ */
.ls-timeline-text {
  font-size: 12.5px;
  color: rgba(200, 200, 200, 0.7);
  line-height: 1.6;
  margin: 8px 0 12px;
  font-style: italic;
}

/* ============================================================
   LEAK CHECKER — Secondaires toggle
   ============================================================ */
.leak-secondary-toggle {
  background: transparent;
  border: 1px solid rgba(156, 206, 118, 0.3);
  border-radius: 6px;
  color: rgba(156, 206, 118, 0.7);
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-left: 4px;
  align-self: center;
}
.leak-secondary-toggle:hover {
  border-color: rgba(156, 206, 118, 0.7);
  color: rgba(156, 206, 118, 1);
  background: rgba(156, 206, 118, 0.08);
}
.leak-secondary-toggle i {
  transition: transform 0.3s ease;
}
.leak-secondary-toggle.open i {
  transform: rotate(180deg);
}
.leak-secondary-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(156, 206, 118, 0.1);
  animation: fadeInDown 0.25s ease;
}
.leak-soon {
  font-size: 9px;
  background: rgba(156, 206, 118, 0.15);
  color: rgba(156, 206, 118, 0.7);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 4px;
  vertical-align: middle;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.leak-example {
  font-size: 9px;
  opacity: 0.6;
  font-style: italic;
  margin-left: 3px;
}
