  @font-face {
    font-family: SFPRODISPLAYMEDIUM;
    src: url(./SFPRODISPLAYMEDIUM.OTF);
  }

  .SFPRODISPLAYBOLD {
    font-family: SFPRODISPLAYMEDIUM;
  }
  
 .insta-audio-wave-bar--p1,
.insta-audio-wave-bar--p2 {
  width: 3px !important;
}

.reaction-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200000;
  /* au-dessus du téléphone */
}

.reaction-modal {
  width: min(420px, 92vw);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  padding: 12px;
}

.reaction-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 x 4 => 20 emojis */
  gap: 6px;
}

.reaction-grid button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 8px;
  border-radius: 10px;
}

.reaction-grid button:hover {
  background: rgba(0, 0, 0, .06);
}

.message .message-bubble {
  position: relative;
  /* ancre du chip */
}

.reaction-chip {
  position: absolute;
  bottom: -19px;
  width: 28px;
  height: 23px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25292e;
  border: 1px solid #000;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  z-index: 5;
  pointer-events: none;
  font-size: 14px;
}

.reaction-chip.is-p1 {
  left: 5px;
  right: auto;
}

.reaction-chip.is-p2 {
  right: auto;
  left: 5px;
}

.message.has-reaction {
  margin-bottom: 28px !important;
}

#colorP2Gradient .gradient-choice.active {
  box-shadow: 0 0 0 2px #00000033;
}

.custom-footer.footer-translucide {
  background-color: rgba(28, 28, 30, 0.58);
  /* iOS dark translucide */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Safari */
}

.insta-audio {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Ligne principale : play + waves + temps / 1,5x */
.insta-audio-main {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
}

/* ------- PLAY / PAUSE (simple <img>) ------- */
.insta-audio-play {
  flex: 0 0 auto;
  width: 25px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.insta-audio-icon {
  width: 13px;
  height: auto;
  display: block;
}

/* au repos : on ne voit que PLAY */
.insta-audio-icon-pause {
  display: none;
}

/* en lecture : icône pause visible */
.insta-audio-play.is-playing .insta-audio-icon-play {
  display: none;
}

.insta-audio-play.is-playing .insta-audio-icon-pause {
  display: block;
}

/* ------- WAVEFORM ------- */
.insta-audio-wave {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  /* centré verticalement */
  justify-content: center;
  /* centré horizontalement */
  gap: 2px;
  height: 0px;
  /* zone de dessin */
}

.insta-audio-wave-bar {
  width: 3px;
  border-radius: 999px;
  transform-origin: center center;
}

/* P1 : noir (passé), gris #64676b (futur) */
.insta-audio-wave-bar--p1 {
  background: #fff;
}

.insta-audio-wave-bar--p1.is-future {
  background: #64676b;
}

.insta-audio-wave-bar--p1.is-past {
  background: #fff;
}

/* P2 : blanc (passé), violet #ffffff61 (futur) */
.insta-audio-wave-bar--p2 {
  background: #ffffff;
}

.insta-audio-wave-bar--p2.is-future {
  background: #ffffff61;
}

.insta-audio-wave-bar--p2.is-past {
  background: #ffffff;
}

/* ------- TEMPS + 1x / 1,5x ------- */
/* Colonne temps + vitesse, largeur/hauteur fixes pour éviter que la bulle bouge */
.insta-audio-right {
  position: relative;
  flex: 0 0 auto;
  width: 35px;
  /* ajuste si tu veux */
  height: 36px;
  /* assez haut pour time + chip */
  margin-left: 2px;
}

.insta-audio-p1 .insta-audio-time {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #fff;
}

.insta-audio-p2 .insta-audio-time {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #ffffffba;
}

.insta-audio-speed {
  position: absolute;
  margin-top: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  width: 35px;
  height: 20px;
  padding: 0;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s linear;
}

/* couleurs */
.message-received .insta-audio-speed {
  background: #0b1014;
  color: #fff;
  font-weight: 600;
}

.message-sent .insta-audio-speed {
  background: #ffffff45;
  color: #ffffff;
  font-weight: 600;
}

/* Quand l’audio est en lecture */
.insta-audio-right.is-active .insta-audio-time {
  top: 2px;
  /* le temps monte un peu */
  transform: none;
}

.insta-audio-right.is-active .insta-audio-speed {
  opacity: 1;
  /* la puce apparaît en dessous */
  pointer-events: auto;
}

/* Personne 1 (messages reçus) */
.insta-audio-p1 .insta-audio-transcription-label {
  font-size: 13px;
  color: #a2aab4;
  /* par ex : gris foncé dans bulle claire */
  margin: 3px 0 3px 8px;
}

/* Personne 2 (messages envoyés) */
.insta-audio-p2 .insta-audio-transcription-label {
  font-size: 13px;
  color: #ffffffba;
  /* ton blanc transparent comme tu voulais */
  margin: 3px 0 3px 8px;
}

.android-header .status-bar .status-time {
  color: #fff;
}

.ios-header .status-bar {
  background: #0e0f14
}

.ios-header .iphone-moblie-network span {
  color: #fff;
}

.modal-content {
  background-color: #0b1014 !important;
}

/* Styles pour la section Abonnement Mensuel */
.subscription-section {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

.subscription-section h3 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 18px;
  margin-bottom: 10px;
}

.subscription-section .info-icon {
  cursor: pointer;
  color: #007bff;
  font-size: 20px;
  margin-left: 10px;
}

.subscription-section .subscription-message {
  background-color: #e9ecef;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #495057;
}

.code-input-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

#subscription-code {
  flex: 1;
  padding: 8px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 12px;
}

#submit-code {
  font-size: 12px;
  cursor: pointer;
}

.feedback-message {
  margin-top: 10px;
  font-size: 14px;
}

.feedback-message.success {
  color: green;
}

.feedback-message.error {
  color: red;
}

#delete-prankshit {
  margin-left: 10px;
  background-color: #ff4d4f;
  /* Rouge vif */
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 15px;
}

#delete-prankshit:hover {
  background-color: #ff7875;
}

/* Styles pour la boîte de paiement */
#payment-box {
  display: none;
  /* Caché par défaut */
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
  position: relative;
}

#payment-box h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#payment-box h3 .info-icon1 .info-icon2 .info-icon3 {
  cursor: pointer;
  color: red;
  font-size: 18px;
  margin-left: 10px;
}

#payment-message {
  display: none;
  /* Caché par défaut */
  margin-bottom: 10px;
  color: #ff4d4f;
  font-size: 14px;
}

/* Styles pour les filigranes */
.watermark {
  position: absolute;
  color: rgba(255, 255, 255, 0.03);
  font-size: 25px;
  font-weigh: bold;
  pointer-events: none;
  /* Empêche l'interaction avec les filigranes */
  user-select: none;
  /* Empêche la sélection du texte */
  z-index: 1;
  /* Au-dessus de tous les autres éléments */
}

.watermark.top {
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
}

.watermark.middle {
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
}

.watermark.bottom {
  top: 80%;
  left: 50%;
  transform: translateX(-50%);
}

/* Styles pour le compte à rebours */
#countdown {
  margin-top: 10px;
  font-size: 16px;
  color: #ff4d4f;
}

/* Style personnalisé pour le bouton de toggle */
#toggle-button {
  margin-bottom: 20px;
}

/* Transition fluide pour le conteneur */
#toggle-section {
  transition: all 0.3s ease;
}

.scroll-icon {
  position: absolute;
  bottom: 90px;
  right: 10px;
  width: 35px;
  height: 35px;
  background: #fff;
  /* Rond blanc */
  border-radius: 50%;
  /* Forme arrondie */
  display: flex;
  /* Centre l’image */
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* L’image reste dans le rond */
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  /* Léger shadow noir */
  z-index: 1000;
}

.scroll-icon img {
  width: 40%;
  /* Image centrée et réduite */
  height: auto;
  object-fit: contain;
  /* Pas de crop, image entière */
  pointer-events: none;
  /* Ne bloque pas les clics */
}

/* Style pour l'icône de certification dans la section principale */
.certif-main {
  max-width: 13px;
  height: auto;
}

/* Conteneur pour aligner le nom de l'utilisateur et l'icône de certification */
.custom-user-container {
  display: flex;
  align-items: center;
  gap: 3px;
  /* Espacement entre le texte et l'icône, ajustez si nécessaire */
}

/* Style pour l'icône de certification à droite de l'utilisateur */
.certif-profile {
  max-width: 17px;
  height: auto;
}

.footer-content {
  display: flex;
  align-items: center;
  width: 100%;
}

.footer-photo-icon {
  max-width: 28px;
  height: auto;
  margin-right: 10px;
}

.footer-message {
  flex-grow: 1;
  font-size: 14px;
  color: #a2aab4;
  /* Couleur du texte */
  font-weight: normal;
}

.footer-right-icon {
  max-width: 115px;
  height: auto;
  margin-right: 13px;
}

.insta-arrow {
  max-width: 5px;
  /* Ajustez la taille de l'image selon vos besoins */
  height: auto;
  margin-left: 2px;
  /* Espace entre la flèche et les autres éléments */
  margin-bottom: 1px;
}

.custom-profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.custom-modal-title-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
}

.custom-modal-title-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.custom-profile-image {
  width: 100%;
  height: auto;
  border-radius: 50%;
}

.custom-profile-user {
  font-size: 17px;
  font-weight: bold;
  color: #ffffff;
  margin: 0px 0;
}

.custom-profile-pseudo {
  font-size: 15px;
  color: #a3aab4;
  margin: 0px 0;
}

.custom-profile-text {
  font-size: 15px;
  color: #a3aab4;
  margin: 0px 0;
}

.custom-profile-button-container {
  display: flex;
  justify-content: center;
  /* Centre le bouton horizontalement */
  width: 100%;
  /* Facultatif, pour que la div prenne toute la largeur disponible */
  margin-top: 10px;
}

.custom-profile-button {
  padding: 7px 15px;
  /* Ajustez le padding si besoin */
  width: auto;
  /* Assurez-vous que la largeur est auto pour s'adapter au contenu */
  background-color: #25282d;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  font-size: 13px;
}

.message-avatar {
  visibility: visible;
}

.avatar-hidden {
  visibility: hidden;
  height: 0;
  width: 0;
}

/* Messages de la personne 1 (reçus) */
.message-received .message-text.single,
.message-received .message-image.single {
  border-radius: 20px;
}

.message-received .message-text.first,
.message-received .message-image.first {
  border-radius: 20px 20px 20px 5px;
}

.message-received .message-text.middle,
.message-received .message-image.middle {
  border-radius: 5px 20px 20px 5px;
}

.message-received .message-text.last,
.message-received .message-image.last {
  border-radius: 5px 20px 20px 20px;
}

/* Messages de la personne 2 (envoyés) */
.message-sent .message-text.single,
.message-sent .message-image.single {
  border-radius: 20px;
}

.message-sent .message-text.first,
.message-sent .message-image.first {
  border-radius: 20px 20px 5px 20px;
}

.message-sent .message-text.middle,
.message-sent .message-image.middle {
  border-radius: 20px 5px 5px 20px;
}

.message-sent .message-text.last,
.message-sent .message-image.last {
  border-radius: 20px 5px 20px 20px;
}

.message-image {
  max-width: 200px;
  display: block;
  border-radius: 15px;
  margin-right: -7px;
  margin-bottom: -4px;
}

.message-image-container {
  position: relative;
  display: inline-block;
}

.download-icon {
  position: absolute;
  top: 50%;
  left: 100%;
  max-width: 30px;
  height: 30px;
  transform: translate(40%, -50%);
}

.person2-share-icon {
  position: absolute;
  top: 50%;
  right: 100%;
  /* On met l'icône à gauche de l'image */
  max-width: 30px;
  height: 30px;
  transform: translate(-40%, -50%);
}

.message.new-sender {
  margin-top: 10px;
  /* Ajustez la valeur selon vos besoins */
}

/* ======================================================
   Base Styles
====================================================== */
.instagram {
  position: relative;
}

.modal-body {
  max-height: 800px;
  /* Définissez la hauteur maximale souhaitée */
  overflow-y: auto;
  /* Activer le défilement vertical */
  scrollbar-width: none;
  /* Désactiver les barres de défilement natives pour Firefox */
  position: relative;
  padding: 15px;
  min-height: 400px;
}

/* Masquer les barres de défilement natives dans Chrome, Edge, et Safari */
.modal-body::-webkit-scrollbar {
  display: none;
}

.main_iphone_titel_msg {
  position: relative;
  display: block;
  text-align: center;
  margin: -7px 0 6px 0;
}

.main_iphone_titel_msg p {
  display: block;
  color: #606060;
  text-transform: uppercase;
  margin-bottom: 0;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
}

.main_iphone_titel_msg p span {
  display: inline-block;
}

.main_iphone_titel_msg p span.msg-time {
  margin-left: 0px;
}

/* ======================================================
   Instachat Header
====================================================== */
.instachat-header {
  padding: 34px 15px 25px 22px;
  height: 55px;
  background: #0d0f14;
  display: flex;
  align-items: center;
  width: 100%;
  border-bottom: 0.1px solid #26292e;
  overflow: hidden;
  position: relative;
}

.instachat-header .header-icon-arrow {
  display: inline-flex;
  margin: 9px 0;
  width: 20px;
}

.instachat-header .header-icon-arrow img {
  height: 19px;
  width: auto;
}

.instachat-header .insta-title {
  margin-left: 25px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  position: relative;
  white-space: nowrap;
}

.instachat-header .insta-title .modal-title-img {
  display: inline-block;
  position: relative;
}

.instachat-header .insta-title .modal-title-img img {
  height: 35px;
  width: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0e0f14;
  overflow: hidden;
  position: relative;
}

.instachat-header .insta-title .insta-content {
  padding-left: 10px;
  display: inline-block;
  vertical-align: middle;
}

.instachat-header .insta-title .insta-content .text-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.instachat-header .insta-title .insta-content .live-time {
  font-size: 12px;
  font-weight: normal;
  color: #a2aab4;
  display: block;
  width: 120px;
  white-space: nowrap;
}

.instachat-header .insta-vedio-icon {
  margin: 7px 0;
  width: 40%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.instachat-header .insta-vedio-icon img {
  height: 20px;
  width: auto;
}

.mobile_view .i-insta-icon {
  display: none;
}

.visibleStory {
  position: relative;
}

.visibleStory:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  right: 0;
  bottom: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.desktop_view .visibleStory:before,
.tablet_view .visibleStory:before {
  height: 29px;
  width: 29px;
}

/* ======================================================
   User Online Indicator
====================================================== */
.insta-user-online {
  position: absolute;
  bottom: 0px;
  right: -1px;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #78de45;
  border: 3px solid #0e0f14;
}

.desktop_view .insta-user-online,
.tablet_view .insta-user-online {
  bottom: -2px;
  right: -3px;
}

/* ======================================================
   Message Styles
====================================================== */
.insta-chat .message-received {
  margin-bottom: 3px;
  position: relative;
}

.insta-chat .message-received .message-avatar {
  position: absolute;
  bottom: 0;
  left: 0;
}

.insta-chat .message-received .message-avatar img {
  height: 26px;
  width: 26px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  margin-left: -5px;
}

.insta-text {
  padding: 7px 12px 8px 12px;
  border-radius: 20px;
  background: #25282d;
}

.right-part .modal-body .message-received .message-bubble {
  background-color: #0e0f14;
  border-color: #0e0f14;
}

.right-part .insta-chat .modal-body .message-received .message-container {
  padding-left: 28px;
}

.right-part .insta-chat .modal-body .message-received.message-liked .message-footer,
.right-part .modal-body .message-received.message-liked .message-footer {
  display: none;
}

.insta-chat .message {
  margin-bottom: 3px;
}

.insta-sent-table {
  padding-right: 0 !important;
}

.insta-sent {
  background: #2488f6;
  border: none;
  margin-bottom: -8px;
  margin-right: -7px;
}

.insta-chat .modal-body {
  height: 660px;
}

.insta-chat .message .message-footer {
  font-size: 11px;
  line-height: 26px;
  color: #a2aab4;
}

.right-part .modal-body .message-received.message-liked {
  margin-bottom: 10px;
}

.right-part .modal-body .message-received .message-footer {
  display: none;
}

.right-part .modal-body .message-sent .message-footer.insta-message-footer {
  padding-right: 5px;
  margin-top: 7px;
}

.insta-chat .message-sent .message-footer {
  float: right;
}

.message-like {
  position: absolute;
  bottom: -14px;
  left: 0;
  height: 24px;
  width: 32px;
  background: #efefef;
  border: 2px solid #ffffff;
  border-radius: 11px;
  display: none;
}

.message-message {
  position: relative;
}

.message-like:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 15px;
  width: 15px;
  background-image: url(../../images/insta-sm-heart.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.desktop_view .message-like,
.tablet_view .message-like {
  height: 28px;
  width: 28px;
  border-radius: 50%;
}

.desktop_view .message-sent .message-like {
  left: auto;
  right: 2px;
}

.message-sent.message-liked .message-footer {
  margin-top: 15px;
}

.desktop_view .message-like:before,
.tablet_view .message-like:before {
  height: 14px;
  width: 14px;
  background-image: url(../../images/insta-lg-heart.png);
  background-repeat: no-repeat;
  background-size: 87%;
  background-position: center;
}

.download-icon {
  position: absolute;
  top: 50%;
  left: 100%;
  max-width: 30px;
  height: 30px;
  transform: translate(40%, -50%);
}

.person2-share-icon {
  position: absolute;
  top: 50%;
  right: 100%;
  /* On met l'icône à gauche de l'image */
  max-width: 30px;
  height: 30px;
  transform: translate(-40%, -50%);
}

.message-date-header {
  margin-top: 15px;
  text-align: center;
}

.message-date-header p {
  color: #a2aab4;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
}

/* ======================================================
   Post Write Comment
====================================================== */
.insta-chat .post_write_comment {
  background-color: #fff;
  padding: 0 15px 15px 15px;
}

.insta-chat .post_write_comment .txt .text_block .comment {
  height: 50px;
  border: 1px solid #ccd0d5;
  border-radius: 33px;
  padding: 5px;
}

.insta-chat .post_write_comment .txt .text_block .comment .camera-img {
  display: inline-block;
  float: left;
}

.insta-chat .post_write_comment .txt .text_block .comment .camera-img img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  overflow: hidden;
}

/* ======================================================
   Chat Footer
====================================================== */
.insta-chat-footer .instachat-lg-footer {
  display: none;
}

.insta-chat-footer .text-wrcommenttext {
  padding-left: 8px;
  display: inline-block;
  margin: 8px 0;
  color: #a0a0a0;
  line-height: unset;
  font-size: 16px;
}

.insta-chat-footer .comment-bar {
  padding: 5px 6px;
}

.insta-chat-footer .comment-bar img {
  height: 30px;
}

/* ======================================================
   Desktop View Specific Styles
====================================================== */
.desktop_view .all_header_wp {
  display: none !important;
}

.desktop_view .insta-user-online,
.tablet_view .insta-user-online {
  bottom: -2px;
  right: -3px;
}

.desktop_view .message-like,
.tablet_view .message-like {
  height: 28px;
  width: 28px;
  border-radius: 50%;
}

.desktop_view .message-sent .message-like {
  left: auto;
  right: 2px;
}

.desktop_view .message-like:before,
.tablet_view .message-like:before {
  height: 14px;
  width: 14px;
  background-image: url(../../images/insta-lg-heart.png);
  background-repeat: no-repeat;
  background-size: 87%;
  background-position: center;
}

.desktop_view .insta-chat .instachat-header,
.tablet_view .insta-chat .instachat-header {
  padding: 0 20px;
  height: 60px;
  background: #fff;
  border-color: #dbdbdb;
}

.desktop_view .instachat-header .insta-title,
.tablet_view .instachat-header .insta-title {
  margin-left: 8px;
}

.desktop_view .instachat-header .insta-title .modal-title-img img,
.tablet_view .instachat-header .insta-title .modal-title-img img {
  height: 26px;
  width: 26px;
}

.desktop_view .visibleStory:before,
.tablet_view .visibleStory:before {
  height: 29px;
  width: 29px;
}

.desktop_view .instachat-header .insta-title .insta-content .text-name,
.tablet_view .instachat-header .insta-title .insta-content .text-name {
  font-size: 15px;
}

.desktop_view .instachat-header .insta-vedio-icon img.insta-header-right,
.tablet_view .instachat-header .insta-vedio-icon img.insta-header-right {
  display: none;
}

.desktop_view .insta-chat .modal-body,
.tablet_view .insta-chat .modal-body {
  padding: 20px;
}

.desktop_view .modal-body .message-received.message-liked,
.tablet_view .modal-body .message-received.message-liked {
  margin-bottom: 10px;
}

.desktop_view .modal-body .message-received .message-footer,
.tablet_view .modal-body .message-received .message-footer {
  display: none;
}

.desktop_view .modal-body .message-sent .message-footer.insta-message-footer {
  padding-right: 5px;
  margin-top: 7px;
}

.desktop_view .insta-chat .message-received .message-avatar img,
.tablet_view .insta-chat .message-received .message-avatar img {
  height: 24px;
  width: 24px;
}

.desktop_view .insta-chat .message .message-container,
.tablet_view .insta-chat .message .message-container {
  max-width: 268px;
}

.desktop_view .insta-chat .insta-text,
.tablet_view .insta-chat .insta-text {
  padding: 12px 15px;
}

.desktop_view .insta-chat .insta-text p,
.tablet_view .insta-chat .insta-text p {
  line-height: 18px;
}

.insta-text p {
  color: white !important;
}

.right-part .modal-body .message-sent .message-bubble {
  background-color: #0e0f14;
  border-color: #0e0f14;
}

.desktop_view .insta-chat-footer .instachat-lg-footer,
.tablet_view .insta-chat-footer .instachat-lg-footer {
  display: block;
  width: 99%;
  margin: 0 auto;
}

.desktop_view .insta-chat-footer .post_write_comment,
.tablet_view .insta-chat-footer .post_write_comment {
  display: none;
}

.desktop_view .insta-chat .modal-body .message-received .message-container,
.tablet_view .insta-chat .modal-body .message-received .message-container {
  padding-left: 32px;
}

.desktop_view .insta-chat .instachat-header .insta-title .insta-content .live-time,
.tablet_view .insta-chat .instachat-header .insta-title .insta-content .live-time {
  /* Vous pouvez ajuster ou ajouter des styles spécifiques ici */
}

/* ======================================================
   Video Call Styles
====================================================== */
.insta-videocall .all_header_wp {
  position: absolute;
  top: 0;
  z-index: 10;
}

.instavideo-android-header .insta-video-android {
  position: relative;
}

.modal-body.insta-video-body {
  position: relative;
  height: 580px;
  background: gray;
}

.insta-videocall .android-header .status-bar,
.insta-videocall .ios-header .status-bar {
  background: rgba(0, 0, 0, 0.3);
}

.insta-video-android {
  padding: 15px;
  width: 100%;
  position: relative;
}

.insta-video-android .insta-video-icon img {
  width: 100%;
}

.insta-videocall .instavideo-android-header {
  display: block;
}

.insta-videocall .instavideo-ios-header {
  display: none;
}

.insta-videocall .instavideo-ios-header .ios-header {
  display: block;
}

.insta-videocall .insta-video-ios {
  display: block;
  width: 100%;
  position: relative;
}

.insta-videocall .insta-video-ios .insta-video-icon {
  padding: 15px 20px;
  position: relative;
}

.insta-videocall .insta-video-ios .insta-video-icon img {
  width: 100%;
}

.insta-video-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.insta-video-box .insta_profile_call_1 {
  background-image: url(../../images/profile-1.png);
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
}

.insta_profile_call_2 {
  background-image: url(../../images/insta-profile-2.png);
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  top: unset;
}

.insta_profile_call_3,
.insta_profile_call_4 {
  background-size: cover;
  background-position: center;
  position: absolute;
  z-index: 5;
}

.insta_profile_call_3 {
  bottom: 0;
  right: 0;
  width: 50%;
  height: 50%;
}

.insta_profile_call_4 {
  top: 0;
  right: 0;
  width: 50%;
  height: 50%;
}

.insta_profile_call_5,
.insta_profile_call_6 {
  background-size: cover;
  background-position: center;
  position: absolute;
}

.insta_profile_call_5 {
  top: 0;
  left: 0;
  width: 100%;
  height: 33.33%;
  z-index: 5;
}

.insta_profile_call_5_width_50 {
  width: 50% !important;
  background-size: cover;
  background-position: center;
}

.insta_profile_call_6 {
  top: 0;
  right: 0;
  width: 50%;
  height: 33.33%;
  z-index: 5;
}

.width-50 {
  width: 50% !important;
  height: 50% !important;
  background-size: cover;
  background-position: center;
}

.height-33 {
  height: 33.33% !important;
  background-size: cover;
  background-position: center;
}

.top-33 {
  top: 33.33% !important;
}

.insta-videocall .all_footer_wp {
  position: absolute;
  bottom: 0;
  z-index: 10;
}

.insta-videocall .all_footer_wp .instavideo-android-footer {
  position: relative;
  height: auto;
  padding: 10px;
  display: block;
}

.insta-videocall .all_footer_wp img {
  width: 100%;
}

.insta-videocall .all_footer_wp .instavideo-ios-footer {
  position: relative;
  height: auto;
  padding: 10px;
  display: none;
  text-align: center;
}

.insta-videocall .all_footer_wp .instavideo-ios-footer img {
  width: 95%;
  margin: 0 auto;
}

/* ======================================================
   Post Styles
====================================================== */
.insta-post {
  position: relative;
}

.insta-post .insta-android-header {
  display: block;
}

.insta-post .insta-ios-header {
  display: none;
}

.insta-post .insta-ios-header .ios-header {
  display: block;
}

.insta-post .instapost-android-header,
.insta-post .instapost-ios-header {
  position: relative;
  display: block;
  height: 49px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.insta-post .instapost-android-header img,
.insta-post .instapost-ios-header img {
  width: 100%;
  height: 100%;
}

.insta-post .insta-post-header {
  display: flex;
  align-items: center;
  color: #9197a3;
  font-size: 12px;
  height: 50px;
  max-height: 60px;
  padding: 11px;
  border-bottom: 1px solid #efefef;
  position: relative;
}

.insta-post .insta-user-img {
  display: inline-block;
  position: relative;
}

.insta-post .insta-user-img.visibleStory:before {
  height: 36px;
  width: 36px;
}

.insta-post .insta-user-img img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  position: relative;
}

.insta-post .insta-username {
  display: inline-block;
  vertical-align: middle;
  padding-left: 8px;
  width: 100%;
}

.insta-post .insta-username .text-name {
  font-size: 14px;
  color: #262626;
}

.insta-post .insta-username .user_follow_insta {
  position: relative;
  color: #3897f0;
  margin-left: 8px;
  display: none;
}

.insta-post .insta-username .user_follow_insta:before {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translate(0, -50%);
  height: 3px;
  width: 3px;
  background: #262626;
  border-radius: 50%;
  display: block;
}

.insta-post .insta-username .geo_location_insta {
  font-weight: 400;
  display: inline-block;
  width: 100%;
  color: #262626;
}

.insta-post .insta-post-info {
  position: relative;
}

.insta-post .img_message {
  position: relative;
}

.insta-post .img_message img {
  height: auto;
  max-height: 360px;
  width: 100%;
  object-fit: contain;
  object-position: top center;
}

.insta-message-text-like-imgs {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  width: 100%;
  position: relative;
}

.insta-post-bookmark,
.insta-post-like-comment-left {
  display: inline-flex;
  width: 49.99%;
}

.insta-post-bookmark {
  justify-content: flex-end;
}

.insta-post-like-comment-left {
  justify-content: flex-start;
}

.insta-post-like-comment-left img,
.insta-post-bookmark img {
  height: 23px;
  width: auto;
}

.insta-post-likes {
  display: flex;
  align-items: flex-start;
  padding: 0 14px;
  margin-bottom: 3px;
}

.insta-post-likes .like-text {
  display: inline-block;
  word-break: break-word;
}

.insta-post-likes .like-text b {
  color: #000;
  font-weight: 400;
  margin-right: 3px;
}

.insta-post-likes .like-text span {
  font-weight: 600;
  color: #262626;
  margin-right: 3px;
}

.insta-post-likes-imgs {
  display: inline-flex;
  align-items: center;
  margin-right: 5px;
}

.insta-post-likes-imgs img {
  position: relative;
  height: 18px;
  width: 18px;
  border: 2px solid #ffffff;
  object-fit: cover;
  border-radius: 50%;
}

.insta-post-likes-imgs img:nth-child(1) {
  z-index: 3;
}

.insta-post-likes-imgs img:nth-child(2) {
  z-index: 2;
  margin-left: -8px;
}

.insta-post-likes-imgs img:nth-child(3) {
  z-index: 1;
  margin-left: -8px;
}

.insta-post .insta-message-text {
  padding: 0 14px;
  display: block;
  word-break: break-word;
  position: relative;
}

.insta-post .insta-message-text .link {
  color: #003569;
  text-decoration: none;
}

.txtbottom.mob-textbottom {
  position: relative;
  display: block;
  padding: 0 14px;
  z-index: 1;
}

.insta-comment-top,
.insta-comment-bottom {
  padding: 2px 0 6px 0;
  position: relative;
}

.insta-post-comment .insta-comment-top span,
.insta-post-comment .insta-comment-bottom span {
  font-weight: 700;
  color: #262626;
}

.insta-post-comment .insta-comment-top .comment-text,
.insta-post-comment .insta-comment-bottom .comment-text {
  display: inline-block;
  color: #000;
  width: auto;
  max-width: 200px;
  height: 19px;
  margin: 0;
  vertical-align: top;
  overflow: hidden;
  word-break: break-all;
}

.insta-post-comment .insta-comment-top .comment-text p,
.insta-post-comment .insta-comment-bottom .comment-text p {
  margin: 0;
  line-height: unset;
}

.insta-post-like-more span,
.more-comment {
  font-size: 13px;
  font-weight: normal;
  color: #8e8e8e;
}

.insta-post-footer {
  display: block;
  padding: 5px 16px;
  position: relative;
}

.insta-comment-image {
  display: inline-block;
  position: relative;
}

.insta-comment-image img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.text-wrcommenttext {
  color: #8e8e8e;
  font-size: 13px;
  padding-left: 0px;
  line-height: 25px;
  display: inline-block;
}

.insta-comment-emoji {
  display: inline-block;
  float: right;
}

.insta-comment-emoji img {
  width: 66px;
}

.post-date {
  position: relative;
  margin-bottom: 5px;
  padding: 0 14px;
}

.post-date span {
  color: #8e8e8e;
  font-size: 11px;
}

.post-date.for-mob {
  display: block;
}

.post-date.for-dsk {
  display: none;
}

.instagram-post-footer {
  display: block;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.instagram-post-footer img {
  width: 100%;
  height: auto;
}

.instagram-post-footer .insta-footer-user {
  position: absolute;
  top: 10px;
  right: 25px;
  height: 25px;
  width: 25px;
  border-radius: 50%;
  overflow: hidden;
}

.instagram-post-footer .insta-footer-user img {
  height: 100%;
  width: auto;
}

.desktop_view .instagram-post-footer,
.tablet_view .instagram-post-footer {
  display: none;
}

.desktop_view .insta-post-likes-imgs,
.tablet_view .insta-post-likes-imgs {
  display: none;
}

.desktop_view .post-date.for-mob {
  display: none;
}

.desktop_view .post-date.for-dsk {
  display: block;
  padding: 5px 16px 7px 16px;
  text-transform: uppercase;
}

.desktop_view .post-date span {
  text-transform: uppercase;
}

.desktop_view .insta-comment-emoji:before {
  content: "Post";
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translate(0, -50%);
  color: #0095f6;
  font-size: 16px;
  font-weight: bold;
  opacity: 0.2;
}

.desktop_view .insta-comment-emoji img {
  display: none;
}

.desktop_view .insta-post-footer {
  padding: 16px;
  height: 56px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.desktop_view .text-wrcommenttext {
  padding: 0;
  font-size: 14px;
}

.desktop_view .insta-comment-image {
  display: none;
}

.tablet_view .insta-post .instapost-android-header,
.tablet_view .insta-post .instapost-ios-header {
  height: auto;
}

.tablet_view .instagram-post-footer .insta-footer-user {
  top: 15px;
  right: 30px;
  height: 32px;
  width: 32px;
}

.right-part.tablet_view #download.insta-post {
  width: 480px;
}

.right-part.desktop_view #download.insta-post {
  width: 614px;
}

.right-part.desktop_view #download.insta-chat,
.right-part.tablet_view #download.insta-chat {
  width: 583px;
  /* Ajustez si nécessaire */
}

/* ======================================================
   Post Text and Links
====================================================== */
.insta-post .insta-message-text .link {
  color: #003569;
  text-decoration: none;
}

/* ======================================================
   Slider and Toggle Styles
====================================================== */
.custo-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #ddd;
  outline: none;
  opacity: 0.7;
  transition: opacity .15s ease-in-out;
  margin: 10px 0 5px 0;
}

.custo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
}

.slider-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.custo-slider-value {
  position: absolute;
  top: -25px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  display: none;
  /* Hidden by default */
}

.custo-toggle {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 15px;
  margin: 0 5px;
}

.custo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.custo-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: red;
  transition: .4s;
  border-radius: 34px;
}

.custo-toggle-slider:before {
  content: "";
  position: absolute;
  height: 11px;
  width: 11px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.custo-toggle-slider {
  background-color: green;
}

input:checked+.custo-toggle-slider:before {
  transform: translateX(17px);
}

/* ======================================================
   Additional Styles
====================================================== */
/* Certif Images */
.certif-main {
  max-width: 13px;
  height: auto;
}

.certif-profile {
  max-width: 17px;
  height: auto;
}

/* Custom Profile Section */
.custom-profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.custom-user-container {
  display: flex;
  align-items: center;
  gap: 3px;
  /* Espacement entre le texte et l'icône */
}

/* Footer Styles */
.custom-footer-wrapper {
  background-color: #0b1014;
  /* Fond blanc */
  padding-bottom: 10px;
  /* Espace blanc en dessous */
}

/* ======================================================
   Other Styles
====================================================== */
.message-date-header {
  margin-top: 15px;
  text-align: center;
}

.message-date-header span {
  font-size: 11px;
}

/* Style pour masquer les barres de défilement natives dans Chrome, Edge, et Safari */
.modal-body::-webkit-scrollbar {
  display: none;
}

.wp_iphone_options,
.wp_android_options {
  margin-top: 20px;
}

#wifi_icons {
  display: none;
}

.custo-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #ddd;
  outline: none;
  opacity: 0.7;
  transition: opacity .15s ease-in-out;
  margin-top: 10px;
  margin-bottom: 5px;
}

.custo-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #4CAF50;
  cursor: pointer;
  border-radius: 50%;
}

.slider-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.custo-slider-value {
  position: absolute;
  top: -25px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 12px;
  display: none;
  /* Hidden by default */
}

.custo-toggle {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 15px;
  margin-right: 5px;
  margin-left: 5px;
}

.custo-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.custo-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: red;
  transition: .4s;
  border-radius: 34px;
}

.custo-toggle-slider:before {
  position: absolute;
  content: "";
  height: 11px;
  width: 11px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.custo-toggle-slider {
  background-color: green;
}

input:checked+.custo-toggle-slider:before {
  transform: translateX(17px);
}

.message-date-header {
  margin-top: 15px;
  text-align: center;
}

.delete-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 2px 5px 2px 5px;
  border-radius: 30%;
  border: none;
  background: #ff0000;
  color: #ffffff;
  font-size: 11px;
  line-height: 22px;
  text-align: center;
  cursor: pointer;
  display: none;
  /* montré seulement quand on clique sur le message */
}

.message-received .message-bubble .delete-button {
  right: -28px;
  /* ajuste la valeur si tu veux plus collé/éloigné */
}

.message-sent .message-bubble .delete-button {
  left: -28px;
  /* idem, à ajuster au pixel près si besoin */
}

img#myImage {
  margin-left: 3px;
}

.SFPRODISPLAYBOLD {
  font-size: 12px;
  position: relative;
  top: 1px;
  color: #fff;
}

span.status-time.SFPRODISPLAYBOLD {
  font-size: 15px;
}

.ios-header .iphone-moblie-network span {
  padding-left: 22px;
}

.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Espacement automatique entre les éléments */
}

.battery-container {
  display: flex;
  align-items: center;
}

.tiktok-verified {
  height: 13px;
  width: 13px;
  margin-left: -1px;
  margin-bottom: 2px;
}

.android-header,
.ios-header {
  display: none;
}

/* Le bloc carte Instagram */
.instagram.insta-chat .modal-content {
  position: relative;
  overflow: hidden;
}

/* Laisser de la place au footer dans la zone scrollable */
.instagram.insta-chat .modal-body {
  padding-bottom: 110px;
  /* ajuste si besoin */
}

.custom-footer-wrapper {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  z-index: 10;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 35%,
      #0b1014 20%,
      #0b1014 100%);
}

/* Conteneur interne : colonne footer + barre */
.custom-footer-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}

/* Bulle de footer */
.custom-footer {
  background-color: #1b1e1f;
  border-radius: 30px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

/* Barre noire iOS en bas */
.footer-homebar-wrapper {
  margin-top: 20px;
  /* 🔹 15px entre footer et barre */
  margin-bottom: -1px;
  /* 🔹 barre à 3px du bas de la carte */
  width: 100%;
  display: flex;
  justify-content: center;
}

.footer-homebar {
  width: 37%;
  max-width: 200px;
  height: 4px;
  border-radius: 999px;
  background: #fff;
}

.ios-header .status-bar {
  padding: 9px 10px 0 11px !important;
}