.custom-box {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 600px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}
.custom-box h2 {
    color: #222;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}
.custom-box h3 {
    color: #555;
    margin-bottom: 15px;
    text-align: center;
}
.custom-box p {
    margin-bottom: 15px;
    color: #666;
}
.live-time.text-active {
    position: relative;
    color: #8e8e8e;
    font-size: 13px;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
}
.live-time.text-active::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #2c8441;
    /* rond vert */
    margin-right: 4px;
    /* espace avant le texte */
    align-self: center;
    /* centre verticalement */
    margin-bottom: 1px;
}
/* ======== IMAGES POUR LE MODE DISCORD ======== */
/* Image du hashtag (diez.png) */
.discord-header-img {
    width: 20px !important;
    height: auto !important;
    border-radius: 0 !important;
    /* ❌ pas de cercle */
    border: none !important;
    box-shadow: none !important;
    object-fit: contain !important;
    /* pour bien centrer */
}
/* Loupe (icone de recherche Discord) */
.discord-right-icon {
    width: 22px;
    height: auto;
    filter: none !important;
    opacity: 0.9;
    object-fit: contain;
}
.footer-bar {
    height: 4px;
    width: 35%;
    /* Largeur de 50% */
    background-color: #000;
    /* Barre noire */
    margin: 20px auto 0;
    /* Centre la barre horizontalement */
    border-radius: 2px;
    /* Arrondi les coins */
}
/* Conteneur conversation */
.discord-body {
    padding: 16px 16px 24px;
    min-height: 400px;
}
/* ==== BANNIÈRE DE DATE DISCORD AUTHENTIQUE ==== */
.discord-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #72767d;
    font-weight: 600;
    font-size: 13px;
    margin: 10px 8px 0 8px;
    position: relative;
    cursor: move;
}
.discord-date-separator::before,
.discord-date-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #e3e5e8;
    /* gris clair */
    margin: 0 0px;
}
.discord-date-separator .text-date {
    color: #4f545c;
    /* gris foncé */
    font-weight: 600;
    background: none;
    margin: 0px 10px 0px 10px;
    border: none;
}
.discord-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 10px 10px 0px 10px;
    position: relative;
    cursor: move;
}
/* Si c’est le même auteur (message continu) → on réduit l’espace */
.discord-message.continued {
    margin-top: 0px;
}
/* Avatars dissociés */
.discord-avatar,
.discord-avatar1,
.discord-avatar2 {
    width: 40px;
    flex: 0 0 40px;
    margin-top: 2px;
}
.discord-avatar img,
.discord-avatar1 img,
.discord-avatar2 img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
}
.discord-avatar.spacer,
.discord-avatar1.spacer,
.discord-avatar2.spacer {
    visibility: hidden;
}
/* Colonne contenu */
.discord-content {
    flex: 1 1 auto;
    min-width: 0;
}
/* En-tête */
.discord-header {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}
.discord-username {
    font-weight: bold;
    font-size: 14px;
}
.discord-timestamp {
    color: #3e3f40;
    font-size: 12px;
    font-weigh: 500;
}
/* Texte + pièces jointes */
.discord-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 2px 0 2px;
    color: #313338;
}
.discord-attachment {
    margin-top: 6px;
}
.discord-attachment img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
}
/* Delete (hover) */
.discord-delete {
    position: absolute;
    right: 6px;
    top: 6px;
    display: none;
    background: transparent;
    color: #bbb;
    border: none;
    cursor: pointer;
    font-size: 13px;
}
.discord-message:hover .discord-delete,
.discord-date-separator:hover .discord-delete {
    display: block;
}
.discord-delete:hover {
    color: #fff;
}
/* Effets drag */
.discord-ghost {
    opacity: .5;
}
.discord-drag {
    outline: 1px dashed #555;
}
.checkbox-grp {
    margin-top: 10px;
}
.checkbox-container {
    display: flex;
    flex-wrap: wrap;
    /* Permet d'ajuster sur plusieurs lignes si nécessaire */
    gap: 10px;
    /* Ajoute un espace entre les éléments */
}
.checkbox-container .checkbox {
    flex: 1 1 45%;
    /* Les cases à cocher prennent 45% de la largeur, ce qui permet d'avoir 2 colonnes */
}
.fb_post_d_block {
    margin-bottom: 10px;
    font-weight: bold;
}
.insta-user-online2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 18px;
    height: 18px;
    background-color: #25832d;
    border-radius: 50%;
    border: 3px solid white;
}
/* 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(0, 0, 0, 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: 15px;
    /* Distance du bas de la zone de chat */
    right: 15px;
    /* Distance du bord droit */
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    z-index: 100;
    /* Suffisant pour apparaître au-dessus des messages */
    display: flex;
    /* ✅ Permet de centrer le contenu */
    align-items: center;
    /* ✅ Centre verticalement */
    justify-content: center;
    /* ✅ Centre horizontalement */
}
.scroll-icon-image {
    width: 16px;
    height: auto;
}
/* Style pour l'icône de certification dans la section principale */
.certif-main {
    max-width: 13px;
    height: auto;
}
/* Style pour l'icône de certification à droite de l'utilisateur */
.certif-profile {
    max-width: 15px;
    height: auto;
    margin-bottom: 2px;
}
.custom-footer-wrapper {
    background-color: #fff;
    /* Fond blanc */
    border-top: 1px solid rgb(128 128 128 / 31%);
    padding-bottom: 10px;
    /* Espace blanc en dessous */
}
.footer-photo-icon {
    max-width: 30px;
    height: auto;
    margin-right: 10px;
}
.custom-footer {
    padding: 8px 10px 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}
.footer-content {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}
/* Icônes de gauche (caméra, galerie, micro) */
.footer-left-icon {
    width: 110px;
    height: auto;
}
/* Conteneur du message avec fond gris arrondi */
.footer-message-container {
    display: flex;
    align-items: center;
    padding: 7px 7px 7px 12px;
    background-color: #f2f2f3;
    /* Fond gris clair */
    border-radius: 30px;
    /* Bordures arrondies */
    flex-grow: 1;
    max-width: 55%;
    justify-content: space-between;
    /* Espace entre le texte et l'icône smile */
    overflow: hidden;
    /* ✅ Empêche tout dépassement */
}
/* ✅ Gestion du texte qui déborde */
.footer-message {
    font-size: 13px;
    color: #63666b;
    font-weight: 400;
    overflow: hidden;
    /* ✅ Cache ce qui dépasse */
    white-space: nowrap;
    /* ✅ Empêche le retour à la ligne */
    text-overflow: ellipsis;
    /* ✅ Affiche les "..." */
    flex: 1;
    /* ✅ Prend tout l’espace dispo avant l’icône */
    margin-right: 6px;
    /* Petit espace avant l’icône */
}
/* Icône smile à l'intérieur du rectangle arrondi */
.footer-smile-icon {
    max-width: 20px;
    height: auto;
    flex-shrink: 0;
    /* ✅ Empêche l'icône d'être compressée */
}
/* Icône de droite (Pouce) */
.footer-right-icon {
    max-width: 30px;
    height: auto;
}
.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: 3px;
}
.custom-modal-title-img {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
.custom-profile-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.custom-profile-user {
    font-size: 17px;
    font-weight: bold;
    color: #000;
    margin: 0px 0px 3px;
}
.custom-profile-pseudo {
    font-size: 15px;
    color: #4e5058;
    margin: 8px 0px 8px 0px;
    font-weight: 600;
}
.custom-profile-text {
    font-size: 14px;
    color: #4e5058;
    margin: 0px 0;
    font-weight: 500;
}
.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 13px;
    /* Ajustez le padding si besoin */
    width: auto;
    /* Assurez-vous que la largeur est auto pour s'adapter au contenu */
    background-color: #e2e5ea;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    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;
}
.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(-20%, -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: 8px 0px 0px 0px !important;
    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: 5px 12px;
    height: 50px;
    background: #ffffff;
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid rgb(128 128 128 / 31%);
    overflow: hidden;
    position: relative;
}
.instachat-header .header-icon-arrow {
    display: inline-flex;
    margin: 9px 0;
    width: 20px;
}
.instachat-header .header-icon-arrow img {
    height: 15px;
    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 #ffffff;
    overflow: hidden;
    position: relative;
}
.instachat-header .insta-title .insta-content {
    padding-left: 10px;
    display: inline-block;
    vertical-align: middle;
    line-height: 1.2;
}
.instachat-header .insta-title .insta-content .text-name {
    font-size: 14px;
    font-weight: 700;
    color: #0d0d0d;
}
.instachat-header .insta-title .insta-content .live-time {
    font-size: 12px;
    font-weight: normal;
    color: #63676a;
    display: block;
    width: 120px;
    white-space: nowrap;
}
.instachat-header .insta-vedio-icon img {
    height: 26px;
    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: 37px;
    height: 37px;
    border-radius: 50%;
    background: #2488f6;
}
.desktop_view .visibleStory:before,
.tablet_view .visibleStory:before {
    height: 29px;
    width: 29px;
}
/* ======================================================
   User Online Indicator
====================================================== */
.insta-user-online {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #747f8d;
    /* cercle gris externe */
    border: 2px solid #ffffff;
    /* bordure blanche autour */
    box-sizing: border-box;
}
.insta-user-online::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #ffffff;
    /* petit point blanc au centre */
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.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: #efefef;
    border: 1px solid #eaeaea;
}
.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: 560px;
}
.insta-chat .message .message-footer {
    font-size: 11px;
    line-height: 26px;
    color: #8899a6;
}
.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;
}
.message-image {
    max-width: 200px;
    display: block;
    border-radius: 15px;
    margin-right: -7px;
}
.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%);
}
.message-date-header {
    margin-top: 15px;
    text-align: center;
}
.message-date-header p {
    color: #999a9e;
    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;
}
.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;
}
/* ======================================================
   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: 12px;
    height: auto;
}
.certif-profile {
    max-width: 17px;
    height: auto;
}
/* Custom Profile Section */
.custom-profile-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    margin-left: 10px;
}
.custom-modal-title-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
}
.custom-profile-image {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.custom-profile-user {
    font-size: 25px;
    font-weight: bold;
    color: #000;
    margin: 0 0;
}
/* ======================================================
   Other Styles
====================================================== */
.message-date-header {
    margin-top: 15px;
    text-align: center;
}
.message-date-header span {
    /* Ajoutez des styles si nécessaire */
}
/* 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-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    background: red;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.message:hover .delete-btn {
    display: block;
}
.delete-button {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    /* Changez cette valeur si nécessaire pour ajuster la position */
    background-color: red;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}
.message:hover .delete-button {
    display: block;
}
img#myImage {
    margin-left: 3px;
}
.SFPRODISPLAYBOLD {
    font-size: 12px;
    position: relative;
    top: 1px;
}
span.status-time.SFPRODISPLAYBOLD {
    font-size: 14px;
}
.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;
}
