.instagr-story-views,
.instagr-story-views-count {
  white-space: nowrap;
}

.instagr-story-views {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

.instagr-username-wrap{
  display:flex;
  align-items:center;
  gap:6px;
  flex:1;
  min-width:0;
}


.instagr-opt-badgebtn{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}
.instagr-opt-badgebtn img{
  width: 18px;
  height: 18px;
  display: block;
}
.instagr-opt-badgebtn.is-active{
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 2px rgba(59,150,247,.25);
}

.instagr-username-badge{
  width: 10px;
  height: auto;
  margin-left: 0px;
  vertical-align: middle;
}


  .instabouton{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:8px 14px;
    border-radius:999px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#000;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
    user-select:none;
    text-decoration:none;
  }
  .instabouton--sm{ padding:6px 12px; font-size:13px; }
  .instabouton--danger{ border-color:#ef4444; color:#ef4444; }
  .instabouton--success{ border-color:#22c55e; color:#22c55e; }
  .instabouton:active{ transform:scale(0.98); }

  /* radio -> style actif */
  .btn-check:checked + .instabouton{
    background:#3b82f6;
    border-color:#3b82f6;
    color:#ffffff;
  }
  
/* Scope: ne touche qu'à .instagr-* */
.instagr-root, .instagr-root * { box-sizing: border-box; }
.instagr-root {
  font-family: 'SF Pro Display Medium';
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: #000;
}

/* ---------- TOP (stories preview) ---------- */
.instagr-top {
  background: #f3f4f6;
  padding: 12px 0px 0 0px;
}
.instagr-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 2px 0px 2px;
  Height:18px;
}
.instagr-iconbtn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.instagr-iconbtn:active { transform: scale(0.98); }
.instagr-icon {
  width: 16px;
  height: auto;
  display: block;
}






.instagr-stories-area {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.instagr-stories-track {
  display: flex;
  align-items: flex-end;
  gap: 5px;
}
.instagr-story {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.10);
  background: #000;
}
.instagr-story--side {
  width: 42px;
  height: 75px;
  flex: 0 0 42px;
  border-radius: 8px;

}

.instagr-story--active {
  width: 55px;
  height: 95px;
  flex: 0 0 55px;
  border-radius: 8px;  
}
.instagr-story--placeholder {
  width: 42px;
  height: 75px;
  background: #000;
  display: grid;
  place-items: center;
}


.instagr-story-media {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.instagr-camera-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 2px solid rgba(255,255,255,0.65);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.9);
  font-size: 26px;
  line-height: 1;
}

.instagr-story-views {
  position: absolute;
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0px 8px;
  border-radius: 999px;
}
.instagr-story-views-icon { width: 10px; height: auto; display: block; }
.instagr-story-views-count {
    color: #fefefe;
    font-size: 10px;
    font-family: 'SF Pro Display Regular';
}
.instagr-notch-wrap{
  position: relative;
  height: 0;                 /* ne crée pas de “bande” */
  background: #f3f4f6;
  overflow: visible;         /* autorise le dépassement sur .instagr-tabs */
  z-index: 20;               /* au-dessus des tabs */
}

.instagr-notch-img{
  position: absolute;
  bottom: 0px;             
  width: 100%;              
  height: auto;
  display: block;
  pointer-events: none;
}


/* ---------- TABS ---------- */
.instagr-tabs{
  position: relative;
  background: #ffffff;
  padding: 0px 0px 0 0px; /* laisse de la place sous le notch */
  z-index: 1;
}

.instagr-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.instagr-tab {
  flex: 1;
  height: 35px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
}
.instagr-tab:active { transform: scale(0.99); }

.instagr-tab-icon { width: 16px; height: auto; display: block; }
.instagr-tab-count {
  font-size: 11px;
  font-weight: 500;
  color: #000;
}

/* Show/hide icons depending on state */
.instagr-icon--on { display: none; }
.instagr-icon--off { display: block; }

.instagr-active--stats #instagr-tab-stats .instagr-icon--on { display: block; }
.instagr-active--stats #instagr-tab-stats .instagr-icon--off { display: none; }

.instagr-active--viewers #instagr-tab-viewers .instagr-icon--on { display: block; }
.instagr-active--viewers #instagr-tab-viewers .instagr-icon--off { display: none; }

.instagr-active--viewers #instagr-tab-viewers-count { color: #3b82f6; }

.instagr-tabs-underline {
  height: 1px;
  background: #f3f4f6;
  margin: 0px 0 0 0;
}
.instagr-tabs-indicator{
  position:absolute;
  bottom:0;
  height: 1px;
  background:#3b82f6;
  border-radius:999px;

  left: 0;                 /* sera posé en JS */
  width: 0;                /* sera posé en JS */
  transform: translateX(-50%); /* left = centre */
  transition: left .15s ease, width .15s ease;
}


.instagr-tabs-indicator{
  left: 0;               /* sera calculé en px */
  transform: translateX(-50%);
}


/* ---------- PANEL (scroll inside) ---------- */
.instagr-panel {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  background: #ffffff;
  padding: 12px 14px 24px 12px;
}

/* Pages: affichage CSS only */
.instagr-panelpage { display: none; }
.instagr-active--stats #instagr-panel-stats { display: block; }
.instagr-active--viewers #instagr-panel-viewers { display: block; }

.instagr-h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 7px;
      font-family: 'SF Pro Display Regular';
}
.instagr-h2--big { font-size: 14px; font-family: 'SF Pro Display Regular'; margin: 0px 0 0px 0; }
.instagr-infoicon {
  width: 14px;
  height: auto;
  display: inline-block;
  margin-bottom:-2px;
}

.instagr-h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 16px 0 10px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.instagr-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 16px;
}
.instagr-row-label { color: #000; font-size: 13px; font-family: 'SF Pro Display regular'; }
.instagr-row-val { color: #000; font-weight: 400; font-size: 13px; font-family: 'SF Pro Display regular';}

.instagr-section-divider {
  height: 6px;
  background: #f8f9f9;
  margin: 14px -18px;
}

/* ---------- DONUT ---------- */
.instagr-donut-wrap {
  margin: 10px 0 10px 0;
  display: flex;
  justify-content: center;
}
.instagr-donut-box {
  position: relative;
  width: 240px;
  height: 240px;
}
.instagr-donut {
  width: 240px;
  height: 240px;
  display: block;
}
.instagr-donut-center{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
  text-align:center;
  pointer-events:none;
}

.instagr-donut-center-label{
  margin:0;
  font-size:10px;
  font-weight:500;
  color:#000;
  line-height:1.1;
}

.instagr-donut-center-val{
  margin:0;
  font-size:35px;      /* ajuste si tu veux */
  font-weight:500;
  letter-spacing:3px;
  color:#000;
  line-height:1;
}


/* Legend */
.instagr-legend {
  margin-top: 6px;
  display: grid;
  gap: 10px;
}
.instagr-legend-row {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  align-items: center;
  column-gap: 0px;
  font-size: 13px;
  font-family: 'SF Pro Display regular';
}
.instagr-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
}
.instagr-dot--pink { background: #d301c6; }
.instagr-dot--purple { background: #5706df; }
.instagr-legend-val { font-weight: 400; color: #000; font-family: 'SF Pro Display regular'; }

.instagr-row--spaced { padding-top: 14px; }

/* ---------- Audience segmented ---------- */
.instagr-seg {
  display: inline-flex;
  gap: 6px;
  margin: 8px 0 10px 0;
}
.instagr-segbtn {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #000;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
}
.instagr-segbtn--active {
  background: #f3f4f6;
  border-color: #f3f4f6;
}

/* Bars */
.instagr-metric {
  margin-top: 10px;
}
.instagr-metric-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  padding: 10px 0 8px 0;
}
.instagr-metric-label { font-weight: 400; }
.instagr-metric-val { font-weight: 400; }
.instagr-bar {
  width: 100%;
  height: 8px;
  background: #f3f4f6;
  border-radius: 2px 2px 2px 2px;
  overflow: hidden;
}
.instagr-barfill {
  height: 100%;
  border-radius: 2px 2px 2px 2px;
  background: #8b5cf6;
}

#instagr-nav-total {
font-size:16px; 
font-weight: 600;
}

#instagr-stickers-total {
font-size:16px; 
font-weight: 600;
}

#instagr-profile-total {
font-size:16px; 
font-weight: 600;
}

#instagr-interactions-total {
font-size:16px; 
font-weight: 600;
}

/* ---------- Viewers list ---------- */
.instagr-optional.instagr-hidden { display: none !important; }

.instagr-viewers-list {
  list-style: none;
  padding: 0;
  margin: 5px 0 0 0;
}
.instagr-viewer-item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  column-gap: 2px;
  padding: 5px 0;
}
.instagr-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e5e7eb;
  background-size: cover;
  background-position: center;
}
.instagr-username {
  font-size: 12px;
  font-weight: 500;
  color: #000;
}
.instagr-viewer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.instagr-morebtn {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 26px;
  line-height: 1;
  color: #000;
  cursor: pointer;
}
.instagr-actionicon {
  width: 42px;
  height: auto;
  display: block;
}

.instagr-tabs-row{
  justify-content:flex-start;
  gap: 15px;
  padding: 0 15px 0px 13px;
}
#instagr-tab-trash{
  margin-left:auto;
  flex: 0 0 auto;
}
#instagr-tab-stats,
#instagr-tab-viewers{
  flex: 0 0 auto;
}

.instagr-stories-area{
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0px 0px 20px 0px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.instagr-stories-area::-webkit-scrollbar{ height: 0; }

/* track: align CENTER (vertical) + nowrap + padding pour centrer l'active */
.instagr-stories-track{
  display: flex;
  align-items: center;       
  gap: 4px;                  
  flex-wrap: nowrap;
}

/* empêche l'étirement/bug "super large" */
.instagr-story{
  flex: 0 0 auto;
}






/* placeholder noir + icône photo */
.instagr-story--placeholder{
  background: #000;
  display: grid;
  place-items: center;
}
.instagr-placeholder-icon{
  width: 18px;
  height: auto;
  display: block;
  opacity: 0.95;
}

/* bonus : snap au centre pour chaque item */
.instagr-story{
  scroll-snap-align: center;
}

.instagr-opt-collapsed .instagr-opt-collapse {
  display: none;
}

/* FIX centrage: le scroll container ne doit PAS centrer son enfant */
#instagr-stories-area{
  display: block;            /* annule le flex */
}

/* le track doit avoir une largeur "contenu" pour que scrollLeft soit fiable */
#instagr-stories-track{
  width: max-content;
}

/* IMPORTANT : enlève le padding fixe du track (il sera géré par JS) */
.instagr-stories-track{
  padding-left: 0;
  padding-right: 0;
}

/* Cache la scrollbar du panel (mais conserve le scroll) */
.instagr-panel{
  -ms-overflow-style: none;   /* IE/Edge legacy */
  scrollbar-width: none;      /* Firefox */
}

.instagr-panel::-webkit-scrollbar{
  width: 0;
  height: 0;
  display: none;              /* Chrome/Safari */
}

#instagr-gender-men-bar { background: #d301c6 !important; }   /* rose */
#instagr-gender-women-bar { background: #5706df !important; } /* violet */

#mainContainer{
  position: relative;
}

#mainContainer::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:8px;
  transform:translateX(-50%);
  width:120px;       /* ajuste si tu veux */
  height:4px;        /* demandé: 3px */
  background:#000;
  border-radius:999px;
  z-index:9999;
  pointer-events:none;
}

/* évite que le contenu touche la barre */
#instagr-panel{
  padding-bottom: 44px;
}



.instagr-avatar-wrap{
  position:relative;
  width:38px;
  height:38px;
  flex:0 0 42px;
}

/* ring */
.instagr-avatar-ring{
  --ring: 1px;
  --gap: 1px; /* gap = épaisseur du cercle */
  width:100%;
  height:100%;
  border-radius:999px;
  padding:var(--ring);
  background:none;
}

.instagr-avatar-wrap.is-story .instagr-avatar-ring{
  background: conic-gradient(from 30deg, #da3ed3, #fd1d1d, #ee8031, #f7d046, #ee8031, #fd1d1d, #da3ed3);
}

.instagr-avatar-gap{
  width:100%;
  height:100%;
  border-radius:999px;
  padding:var(--gap);
  background:#fff;
}

.instagr-avatar{
  width:100%;
  height:100%;
  border-radius:999px;
  background-size:cover;
  background-position:center;
  background-color:#000;
}

.instagr-avatar-badge{
  position:absolute;
  right:0px;
  bottom:0px;
  width:16px;
  height:16px;
}

.instagr-opt-viewer-card{
  margin-bottom:8px;
}

.instagr-opt-viewer-body{
  padding:8px 10px;
}

.instagr-opt-viewer-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}

.instagr-opt-drag{
  font-size:12px;
  color:#999;
  cursor:grab;
  user-select:none;
}

.instagr-opt-delx{
  border:0;
  background:transparent;
  color:#dc3545;
  font-size:18px;
  line-height:1;
  padding:0;
  cursor:pointer;
}

.instagr-opt-viewer-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.instagr-opt-viewer-row2{
  display:flex;
  align-items:center;
  gap:10px;
}

.instagr-opt-viewer-center{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.instagr-opt-viewer-right{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}

.instagr-opt-viewer-row3{
  display:flex;
  align-items:flex-start;
  gap:10px;
}

.instagr-opt-viewer-left{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  flex:0 0 auto;
}

.instagr-opt-photobtn--under{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.instagr-opt-viewer-right2{
  flex:1;
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
}

.instagr-opt-viewer-bottom{
  display:flex;
  align-items:center;
  gap:8px;
}

.instagr-opt-reaction--tiny{
  width:100px;          /* petit */
  padding-top:2px;
  padding-bottom:2px;
}

.instagr-opt-storyswitch2{
  margin-left:2px;
}


.instagr-opt-storyswitch{
  display:flex;
  align-items:center;
  gap:6px;
}

.instagr-opt-avatar{
  width:30px;
  height:30px;
  border-radius:50%;
  background: #000;
  background-size:cover;
  background-position:center;
  flex:0 0 auto;
}

.instagr-opt-namecol{
  flex:1;
  min-width:0;
}

.instagr-opt-subrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:6px;
}

.instagr-opt-reaction{
  max-width:180px;
}

.instagr-opt-photobtn{
  width:34px;
  height:34px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f2f2f2;
  cursor:pointer;
  user-select:none;
}

/* ===== Audience panels (preview) ===== */
.instagr-audience-panel{ display:none; }
.instagr-audience-panel.is-active{ display:block; }

/* bars like screenshot (pink + “flat-ish” start + round end) */
.instagr-bar.instagr-bar--aud{
  height:8px;
  background:#f3f4f6;
  border-radius:2px 999px 999px 2px;
  overflow:hidden;
}
.instagr-barfill.instagr-barfill--aud{
  height:100%;
  background:#d301c6; /* rose foncé */
  border-radius:2px 5px 5px 2px;
}

/* ===== Options audience compact ===== */
#instagr-opt-audseg{
  display:flex;
  gap:8px;
}
#instagr-opt-audseg .instagr-opt-audbtn{
  border:1px solid #e5e7eb;
  background:#fff;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
}
#instagr-opt-audseg .instagr-opt-audbtn.is-active{
  background:#f3f4f6;
  border-color:#f3f4f6;
}

.instagr-opt-countryrow{
  display:flex;
  gap:8px;
  align-items:center;
}
.instagr-opt-countryrow .instagr-opt-pctgrp{
  width:110px;
  flex:0 0 110px;
}

/* ===== Stories options: compact cards ===== */
.instagr-opt-story-card{ margin-bottom:8px; }
.instagr-opt-story-body{ padding:8px 10px; }

.instagr-opt-story-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:6px;
}

.instagr-opt-story-top-left{
  display:flex;
  align-items:center;
  gap:8px;
}

.instagr-opt-eye{
  border:0;
  background:transparent;
  padding:0 6px;
  cursor:pointer;
  font-size:16px;
  line-height:1;
}

.instagr-opt-eye.is-active{ color:#3b82f6; }

.instagr-opt-story-row{
  display:flex;
  align-items:center;
  gap:8px;
}

.instagr-opt-story-field{
  flex:1;
  min-width:0;
}

.instagr-opt-story-photo{
  background:#f2f2f2;
  background-size:cover;
  background-position:center;
}



.combined-container {
  display: flex;
  flex-direction: column;
  max-height: 560px; /* Hauteur maximale pour le défilement global */
  overflow-y: auto; /* Active le défilement pour l'ensemble du conteneur */
}

/* Ajustement pour que l'avatar-container ne se rétrécisse pas */
.avatar-container {
  flex-shrink: 0; /* Empêche le rétrécissement de l'avatar-container */
  padding: 10px;
  display: flex;
  gap: 1rem;
  overflow-x: auto; /* Défilement horizontal si nécessaire */
  max-height: 100px; /* Limite la hauteur de l'avatar-container */
}

/* Ajustement pour transaction-container */
.transaction-container {
  flex-shrink: 0; /* Empêche le rétrécissement de transaction-container */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.avatar-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: scroll;
  position: relative;
  left: 0; /* Décale le conteneur pour compenser le padding gauche */
  width: calc(100% + 1.4rem); /* Compense le padding des deux côtés */
  background-color: white;
  padding: 0px 10px 10px 10px;
  margin: 5px 12px 0px 12px;
  height: auto;
  box-shadow: none;
  border-radius: 0;
  gap:30px;
}

.avatar-container::-webkit-scrollbar {
  height: 0px;
  background: transparent;
}

.avatar-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* Pour ajuster la largeur si nécessaire */
.avatar-container {
  width: 100%;
}

.transaction-component {
  background-color: white;
  padding-block: 8px;
  border-radius: 2px;
  padding-inline: 15px 20px;
}

.transaction-component-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Style pour l'icône de transaction */
.transaction-icon {
  width: 12px; /* Ajustez la taille selon vos besoins */
  height: auto;
   margin-top: 3px;
  /* Optionnel : ajouter des marges ou d'autres styles */
}

/* Optionnel : Style pour le conteneur date et icône si nécessaire */
.date-and-icon-container {
  display: flex;
  align-items: center;
  gap: 3px; /* Espace entre l'icône et la date */
}

/* Assurez-vous que sender-details-container utilise Flexbox si nécessaire */
.sender-details-container {
  display: flex;
  flex-direction: column; /* Gardez le nom et montant en colonne */
}

/* Vous pouvez également ajuster les styles des paragraphes si besoin */
.date-para {
  margin: 0; /* Retirez les marges par défaut si nécessaire */
}

.watermark {
  user-select: none;
  pointer-events: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
  z-index: 1000; /* S'assurer qu'il est devant tout */
}
#countdownTimer {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}
.btn.remove-watermark {
  background-color: #343434;
  color: white;
  padding: 0.7rem 1rem;
  border: none;
  outline: none;
  margin-top: 10px;
}
.delete-button {
  background-color: red;
  color: white;
  border: none; 
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
  position: absolute;
  z-index: 1000;
}
.bezzel-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
	padding: 3px 23px 0px 32px;
    height: fit-content;
    width: 100%;
	background-color: #f3f4f6;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    height: 90px;
    width: 100%;
    position: absolute;
    z-index: -1;
    border-top-right-radius: 36px;
    border-top-left-radius: 36px;
    padding: 34px 0px 0px 0px;
    border-bottom: #00000024 0.4px solid;
}



.user-name {
    font-size: 11px; /* Taille de police constante */
}

.main-screen {
    top: 90px;
}


/* Global container */
.icons-container1 {
  display: flex;
  align-items: center; /* Align vertically */
  justify-content: flex-start; /* Align icons to the left */
  gap: 4px; /* Consistent spacing between icons */
  height: 30px; /* Set consistent height for container */
}

.single-avatar-container > img {
    width: 35px;
    height: 35px;
}

  .message-container {
    margin-top: 5px;
	margin-bottom: 10px;
  }


/* Signal Icon */
.new-header-iphone-signal-icon {
  width: 13px; /* Specific size for signal icon */
  height: auto;
}

/* Network Icon */
.new-header-iphone-network-icon {
  width: 13px; /* Specific size for network icon */
  height: auto;
}

/* WiFi Icon */
.new-header-iphone-wifi-icon {
  width: 13px; /* Specific size for WiFi icon */
  height: auto;
}

/* Airplane Mode Icon */
.new-header-iphone-airplane-icon {
  width: 13px; /* Specific size for airplane mode icon */
  height: auto;
}

/* Normal Battery Icon */
.new-header-iphone-battery-normal {
  width: 20px; /* Specific size for normal battery icon */
  height: auto;
}

/* Charging Battery Icon */
.new-header-iphone-battery-charge {
  width: 20px; /* Specific size for charging battery icon */
  height: auto;
}

/* Percentage Battery Icon */
.new-header-iphone-battery-percent {
  width: 20px; /* Specific size for percentage battery icon */
  height: auto;
}


/* Hide initially for WiFi, Airplane Mode, and alternate battery icons */
.new-header-iphone-wifi-container,
.new-header-iphone-airplane-container,
.new-header-iphone-battery-charge-container,
.new-header-iphone-battery-percent-container {
  display: none;
}




.time-icon {
  width: 9px; /* Adjust icon size */
  height: auto;
  display: inline-block;
  vertical-align: middle;
margin-left: 3px;  
}

/* Style for dropdown menu */
#iconSelect {
  width: 150px;
  font-size: 14px;
}




  .time-container {
    margin-inline: auto;
    margin-top: 5px;
    width: fit-content;
    text-align: center;
    color: #949494;
    font-size: 8px;
    line-height: 1.2;
	letter-spacing: 0.2px;
  }

  .waveform-container {
    flex-grow: 1;
  }

  .yours .waveform-container svg > rect {
    fill: #c3c2c7;
  }



@font-face {
  font-family: 'SF Pro Display Medium';
  src: url('/story-insta/SFPRODISPLAYMEDIUM.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'SF Pro Display Regular';
  src: url('/story-insta/SFPRODISPLAYREGULAR.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

.time-para {
  font-family: 'SF Pro Display Medium';
  font-size: 13px; /* Ajustez la taille de la police selon vos besoins */
  margin: 0;
  color: black;
}

.icons-container span {
  font-family: 'SF Pro Display Medium', sans-serif;
  font-size: 11px;
  font-weight: 500;
}

#progress {
display:none !important;
}

#myProgress {
  margin-bottom: 20px; /* Espacement avant les boutons */
}

.button-container {
  margin-top: auto; /* Place les boutons en bas */
  text-align: center;
  width: 100%; /* Prend toute la largeur du parent */
  padding: 10px;
}

.button-container .btn {
  margin: 5px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.button-container .btn:hover {
  background-color: #0056b3;
}

.completed-section {
    position: relative;
    width: 100%;
    background-color: #f5f5f5;
    padding: 3px 5px;
    box-sizing: border-box;
    margin-bottom: -10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 50px;
}

.completed-text {
  font-size: 11px; /* Taille du texte plus petite */
  color: #636363 !important;
  margin-left: 10px; /* Espacement à gauche */
  padding-bottom: 5px; /* Espacement pour éloigner le texte du haut */
  margin-top:26px;
}




/* Style du switch - plus petit */
.switch {
  position: relative;
  display: inline-block;
  width: 40px !important; /* Taille réduite */
  height: 20px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 14px; /* Réduction de la taille */
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Style de l'icône loupe */
.loupe-icon {
    width: 24px;
    height: auto;
    position: absolute;
    right: 70px;
}



.footer-cashapp {
    position: relative; /* Nécessaire pour que l'élément total soit positionné à l'intérieur du footer */
    background-color: white;
    box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.2);  /* Ombre uniquement en haut */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    position: relative;
    width: 100%;  /* Prend toute la largeur du parent */
    box-sizing: border-box;  /* Inclut les padding dans la largeur totale */
}

.total-display {
    position: absolute; /* Indépendant des autres éléments */
    bottom: 15px; /* Place en bas à gauche de la section footer */
    left: 0; /* Aligne à gauche */
    width: 100px; /* Largeur fixe */
    font-size: 18px;
    color: #bababa;
    z-index: 1000; /* Pour être au-dessus de tout */
    pointer-events: none; /* Pour éviter d'interagir avec le texte */
    visibility: hidden; /* Caché par défaut */
    text-align: center; /* Centrage du texte dans la boîte */
    white-space: nowrap; /* Empêche le texte de passer à la ligne suivante */
    overflow: hidden; /* Cache l'excédent si le texte dépasse la largeur définie */
    line-height: 1.2;
	font-weight: 600;
}


#homeIcon.hidden {
    visibility: hidden; /* Cache l'icône home sans affecter la mise en page */
}




.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-dialog {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    width: 80%;
    max-width: 400px;
    max-height: 100%; /* Limite la hauteur de la boîte de dialogue */
    display: flex;
    flex-direction: column;
}

.custom-modal-header {
    background: #343434;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-modal-title {
    margin: 0;
}

.custom-btn-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.custom-modal-body {
    padding: 20px;
    overflow-y: auto; /* Rend le contenu défilable */
    flex: 1; /* Prend tout l'espace disponible */
    max-height: calc(100vh - 130px); /* Ajuste la hauteur maximale en fonction de la taille de l'écran */
}

.conditions-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.info-icon {
    cursor: pointer;
    color: red;
}

.info-box-payment {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    background: #f9f9f9;
}

.footer-cashapp {
    background-color: white;
    box-shadow: 0 -4px 4px -4px rgba(0, 0, 0, 0.2);  /* Ombre uniquement en haut */
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 0;
    position: absolute;
    bottom: 0;
    left: 0;  /* Alignement à gauche */
    width: 100%;  /* Prend toute la largeur du parent */
    box-sizing: border-box;  /* Inclut les padding dans la largeur totale */
}




.footer-cashapp img {
    max-width: 20px;
    max-height: 20px;
}

.images-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px; /* Espace sous les éléments */
}

.activity-text {
    font-size: 19px;
    font-weight: bold;
    color: #363636;
}

#userImageContainer {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%; /* Pour un conteneur circulaire */
}

#userImageContainer img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit le conteneur tout en conservant ses proportions */
    border-radius: 50%; /* Pour une image circulaire */
    margin-left: 0 !important;
	
}


.search-container {
    display: flex;
    align-items: center;
    background-color: #f5f5f5; /* Gris foncé */
    border-radius: 25px; /* Coins arrondis */
    padding: 5px 14px;
	margin: 12px 12px 8px 12px;
}

.search-icon {
    width: 13px;
    height: auto;
    margin-right: 10px; /* Espace entre l'icône et le texte */
}

.search-text {
    color: #bebebe;
    font-size: 15px;
}





.layout {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1170px;
  margin: auto;
}

.special-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    padding: 20px;
    margin-top: 1rem;
    height: auto;
    min-height: 800px;
}


.upper-bezzel {
  position: absolute;
  background-color: #000000;
  height: 20px;
  right: 106px;
  top: -2px;
  width: 180px;
  z-index: 99;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

/* .iphone-background{
  position: absolute;
  background: url("/assets/images/iphone\ mockup.png");
  top: -8px;
  bottom: -10px;
  right: -25px;
  left: -20px;
  width: calc(100% + 20px);
  background-size: cover;
} */

.main-container {
    width: 370px;
    height: 700px;
    position: relative;
    background-color: #f3f4f6;
    overflow: hidden; /* Empêche l'agrandissement vertical de .main-container */
	box-shadow: 0 0px 10px rgba(0, 0, 0, 0.30);
}





.task-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding-inline: 0.4rem;
  margin-top: 5px;
}
.task-bar .time-para {
  font-size: 13px;
  margin-left: 15px;
  margin-top: 1px;
}

.icons-container {
  display: flex;
  gap: 2px;
  align-items: center;
  margin-right: 5px;
}
.icons-container > img {
  height: 16px;
  width: auto;
}
.icons-container > span {
  font-size: 15px;
  margin-top: 1px; 
}

.images-container {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
      padding-left: 20px;
    padding-right: 18px;
}

.tx-display-image{
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 20px;
}

.images-container .profile-image {
  width: 30px;
  height: auto;
  border-radius: 100%;
  object-fit: cover;
  margin-left: 5px;
}
.images-container .qr-image {
  width: 35px;
  height: 35px;
  border-radius: 100%;
  margin-right: 5px;
}



/* Masquer la barre de défilement sur WebKit (Chrome, Safari) */
.combined-container::-webkit-scrollbar {
  width: 0px;
  background: transparent; /* Facultatif, si vous souhaitez masquer totalement la zone de la barre de défilement */
}

/* Masquer la barre de défilement sur Internet Explorer et Edge */
.combined-container {
  -ms-overflow-style: none; /* IE et Edge */
  scrollbar-width: none; /* Firefox */
}

/* Masquer la barre de défilement sur Firefox */
.combined-container {
  scrollbar-width: none; /* Firefox */
}



.name-and-amount-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.name-para {
    font-weight: bold;
    flex-grow: 1; /* Le nom prend tout l'espace disponible */
}

.date-para {
  display: flex;
  align-items: center;
  font-size: 13px;
  margin-top: 3px;
  color: #545d68 !important;
}

.date-para img {
  width: 16px !important; /* Réduisez la taille de l'icône */
  height: 16px !important; /* Assurez-vous que la hauteur correspond à la largeur */
  margin-right: 5px; /* Espace entre l'icône et le texte */
}



.transaction-component .transaction-component-top > img {
  width: 39px;
  height: 39px;
  border-radius: 100%;
  object-fit: cover;
}

.transaction-component .transaction-component-bottom {
  display: flex;
  justify-content: space-between;
}

.payment-para {
  color: #545d68 !important;
  font-size: 13px;
}
.amount-para {
  color: #0f7013;
  font-weight: bolder;
  font-size: 16px;
    margin-left: 10px; /* Espace entre le nom et le montant */
}

.show-all-container {
  padding-block: 1rem;
  background-color: white;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.show-all-container > p {
  color: #126dc9 !important;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.footer-container {
  width: 100%;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.footer-container > img {
  width: 100%;
}

/* Form Styling */

h1 {
  text-align: center;
}

.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #007aff; /* iOS Blue */
  color: #ffffff;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;  /* Assurez-vous que l'image est circulaire */
}


@media (min-width: 768px) {
  .layout {
    grid-template-columns: 1fr 1fr;
	gap: 3rem;
  }
}

@media (max-width: 450px) {
  .special-container {
	padding: 0px;
  }
}

/* form design */

.form-container {
  padding: 1rem 1rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #f9f9f9;
  box-shadow: 0 0 2px #ccc;
  margin-top: 1rem;
}

.form-container > h1 {
  font-size: 2rem;
  color: rgb(14, 14, 14);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-control {
  display: flex;
  gap: 0.5rem;
}


input[type="text"] {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="text"]:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.btn {
  background-color: #343434;
  color: white;
  padding: 0.7rem 1rem;
  border: none;
  outline: none;
}

label {
  font-weight: bold;
  font-size: 14px;
}

.tx-display-image,
.profile-image {
  object-fit: cover;
}

        @font-face {
            font-family: 'SF Pro Display Medium';
            src: url('./SFPRODISPLAYMEDIUM.woff2') format('truetype');
            font-style: normal;
        }

.task-bar .time-para,
.icons-container > span {
  font-family: 'SFPRODISPLAYMEDIUM', sans-serif;
}

    .special-container p {
      line-height: normal;
	  color: #363636 !important;
    }

#myProgress {
  width: 80%;
  background-color: #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin: 15px auto;
  text-align: center;
  display: none;
}

#myBar {
  width: 1%;
  height: 24px;
  text-align: center;
  background-color: #373737;
  position: relative;
  border-radius: 8px;
}

#myBar span {
  color: #fff;
  line-height: 24px;
  font-size: 15px;
  font-weight: 500;
}

.sender-details-container {
    flex-grow: 1;
	margin-left: 10px;
}






.avatar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 60px;
}

.avatar-img, .avatar-initials {
    width: 35px;
    height: 35px; 
    border-radius: 50%;
    object-fit: cover;
    background-color: #007aff; /* Couleur de fond pour les initiales */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    text-transform: uppercase;
}

.avatar-name {
    margin-top: 10px;
    font-size: 10px;
    color: black;
    text-align: center;
	  white-space: normal;  /* Permettre à plusieurs mots de s'afficher */
  overflow: visible;  /* Assurez-vous que le texte n'est pas coupé */
}

.payment-info-text {
    font-size: 15px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 10px;
}

.instagr-metric{
  display: grid;
  grid-template-columns: 1fr auto; /* barre | % */
  grid-template-rows: auto auto;   /* label | ligne barre+% */
  column-gap: 16px;
  row-gap: 0px;
  align-items: center;
}


.instagr-metric-label{
  grid-column: 1 / -1;
  grid-row: 1;
  font-family: 'SF Pro Display Regular';
  font-size: 12px;
}



.instagr-metric{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px; /* barre | % (fixe) */
  grid-template-rows: auto auto;             /* label | (barre + %) */
  column-gap: 0px;
  row-gap: 0px;
  align-items: center;
}

.instagr-metric-head{ display: contents; }


.instagr-bar{
  grid-column: 1;
  grid-row: 2;
  margin: 0;
}

.instagr-metric-val{
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums; /* largeur chiffres stable */
    font-size: 11px;
}

/* === Film noir sur toutes les stories (lisibilité) === */
.instagr-story{ position: relative; }

.instagr-story::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 100%);
  z-index:1;
  pointer-events:none;
}

/* image en dessous du film */
.instagr-story-media{ position: relative; z-index:0; }

/* UI (texte/picto) au-dessus du film */
.instagr-story-views,
.instagr-camera-placeholder,
.instagr-placeholder-icon{
  z-index:2;
}

.instagr-sep{
  width: 100%;
  margin: 20px auto 10px auto;
  border: 0;
  height: 1px;
  background: #e6e6e6;
}

.instagr-acc-head{ position:relative; }

/* évite que la croix chevauche la flèche bootstrap */
.instagr-acc-head .accordion-button{ padding-right:3.25rem; }

.instagr-acc-x{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  font-size:22px;
  line-height:1;
  padding:6px 10px;
  cursor:pointer;
  opacity:.55;
  z-index:3;
}
.instagr-acc-x:hover{ opacity:1; }

/* si pas déjà présent chez toi */
.instagr-hidden{ display:none !important; }

/* Écran vide "Statistiques" */
#instagr-stats-empty{
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 18px;
}

#instagr-stats-empty .instagr-empty-icon{
  width: 80px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

#instagr-stats-empty .instagr-empty-title{
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 10px;
}

#instagr-stats-empty .instagr-empty-sub{
    font-size: 12px;
    color: #6d6e73;
    max-width: 230px;
    line-height: 1.2;
    font-family: 'SF Pro Display Regular';
}
