@charset "UTF-8";
/*!
 * Custom Css for Uplay project
 * Copyright 2025 Andrianandraina Marijaona RAKOTONDRASOLO 
 */

body {
    font-family: 'Poppins', sans-serif;
}
a {
    text-decoration: none;
}
.custom-text-light {
    color: #8e93a8;
}
.fs-7 {
    font-size: 14px;
}

.text-kikof,
.bg-kikof {
    color: #1c4b5d !important;
}
/* Negative margin */
.marg-n-5 {
    margin-left: -5px;
    margin-right: -5px;
}
.mv-n-8 {
    margin-left: -8px;
    margin-right: -8px;
}
.marg-n-15 {
    margin-left: -15px !important;
    margin-right: -15px !important;
}
.form-check-input:checked {
    background-color: #1c4b5d;
    border-color: #1c4b5d;
}

/* Color */
.color-1 {
    color: #0c0c0c;
}
.color-2 {
    color: #ffffff;
}
.color-3 {
    color: #033244;
}
.color-4 {
    color: #858585;
}
.color-5 {
    color: #dddddd;
}
.color-6 {
    color: #1c4b5d;
}

/* Background */
.custom-bg-light {
    opacity: 1;
    background-color: #f5f6f8;
}

#notification-badge {
    font-size: 0.55rem;
    padding: 0.2em 0.35em;
    min-width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 9px;
    right: 0px;
    transform: translate(0, 0); /* On retire le translate précédent */
}

/* Cacher le badge quand il est à 0 */
#notification-badge:empty {
    display: none;
}

/* Animation avec le nouveau positionnement */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.notification-pulse {
    animation: pulse 0.6s ease-in-out;
}

/* Pour les nombres à 2 chiffres */
#notification-badge.double-digit {
    min-width: 15px;
    height: 16px;
    font-size: 0.55rem;
    right: -4px;
}

/* Pour 99+ */
#notification-badge.triple-digit {
    min-width: 24px;
    height: 18px;
    font-size: 0.5rem;
    padding: 0.1em 0.25em;
}

/* form floating */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-control-plaintext ~ label,
.form-floating > .form-select ~ label {
    transform: scale(1) translateY(-0.9rem) translateX(0.15rem) !important;
    background-color: #ffffff;
    padding: 0 0.35rem;
    margin: 0rem 0.25rem;
    height: auto;
}
.form-floating > .form-control,
.form-floating > .form-control-plaintext {
    padding: 0.75rem !important;
}
.form-control:focus {
    box-shadow: none;
    border-color: var(--bs-gray-500);
}
.float-end {
    float: none !important;
}
/* Bg color */
.bg-color-primary {
    background: #1c4b5d;
}
/* Onboarding */
.btn-ignorer {
    border: 1px solid #1c4b5d;
    border-radius: 15px;
    color: #1c4b5d;
    background: transparent;
    padding: 5px 25px;
    position: absolute;
    top: 35px;
    right: 15px;
}
.btn-decouvrez {
    border: none;
    border-radius: 10px;
    color: #1c4b5d;
    background-color: #ffffff;
    padding-top: 12px;
    padding-bottom: 12px;
    position: relative;
    bottom: 81px;
    display: block;
    margin: 10px 15px;
}
.btn-ignorer:hover {
    border: 1px solid #1c4b5d;
    color: #ffffff;
    background-color: #1c4b5d;
}
.mobile_screen {
    max-width: 390px;
    height: 100vh;
    align-content: center;
    background: linear-gradient(162.45deg, #1c4b5d 5.52%, #00182a 78.92%);
    background-image: url('../images/onboarding_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

.fgfg {
    height: 100vh;
    background-image: url('../images/onboarding_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}
.logo {
    width: 68px;
    height: 96px;
}
/* Zoom In/Out animation Image */
#logo2 {
    display: none;
}
.display-none {
    display: none;
}
.display-block {
    display: block !important;
}
.zoom-in {
    animation: zoomIn 1s ease forwards;
}

.zoom-out {
    animation: zoomOut 1s ease forwards;
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1);
        opacity: 1;
    }
    to {
        transform: scale(0.5);
        opacity: 0;
    }
}

/* Sign In */
.border {
    border: 1px solid red;
}
/*.form-signin {
  padding: 1rem;
}*/
.signin-logo {
    width: 120px;
    height: auto;
    margin: 0 auto;
}

.form-signin .form-floating:focus-within {
    z-index: 2;
}

.form-signin input[type='email'] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.form-signin input[type='password'] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.header-signin h3 {
    font-family: Poppins;
    font-weight: 600;
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: normal;
    text-align: center;
}
.header-signin span {
    font-family: Poppins;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

/* Box field */
.left-box {
    width: 30%;
}

/* Bouton */
.uplay-btn-primary {
    background: #1c4b5d;
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
}
.uplay-btn-primary:hover {
    background: #397c5e;
    color: #ffffff;
}

.floatingIcon {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: larger;
}

/* Right Box */
.right-box {
    height: 90vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 10px !important;
    padding: 0;
    overflow: hidden;
}

/* Right Box Forgotten Pass */
.form-forgoten-pass .right-box {
    height: 90vh;
    background-image: url('../images/onboarding_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

/* Right Box Forgotten Pass Success */
.form-forgoten-pass-success .right-box {
    height: 90vh;
    background-image: url('../images/onboarding_3.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}
.form-forgoten-pass-success .left-box {
    background-image: none;
}
.form-forgoten-pass-success .congrate {
    width: 100px;
    height: auto;
    display: block;
    margin: auto;
}
/* Register */
.register-body .right-box {
    height: 90vh;
    background-image: url('../images/onboarding_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
    overflow: hidden;
}

/* OPT code */
.opt-form {
    font-size: 16px;
    padding: 10px;
    width: 43px;
    text-align: center;
    margin: 0 6px;
}
.opt-form::placeholder {
    color: var(--bs-gray-500);
}

.carousel-inner {
    bottom: 0px !important;
}

/* Main Feed Page */
.menu-icon {
    color: #676e85;
}
.sidebar {
    height: auto;
    z-index: 3;
}
.menu {
    width: auto;
    height: auto;
    background-color: #ffffff;
    color: #1c4b5d;
    border-radius: 24px;
    margin: 15px 5px;
    border: 2px solid #e6e7ec;
    top: 15px;
}

.aside-head {
    padding: 17px 5px 7px 17px;
    display: flex;
    justify-content: space-between;
}

.aside-head > img {
    height: 25px;
    width: auto;
}
.aside-head > button {
    height: 24px;
    width: 24px;
    padding: 0;
    margin: -12px 10px;
    border: none;
    background: none;
}
.search .input-group > span,
.search .input-group > input {
    background-color: #f5f6f8;
    border: 0;
    height: 40px;
}
.search .input-group > input {
    border-radius: 12px;
    padding: 12px 12px 12px 5px;
}
.search .input-group > span {
    border-radius: 12px;
    padding: 12px 0 12px 12px;
}
.aside-body {
    padding-top: 1rem;
    padding-left: 0.45rem;
    padding-right: 0.45rem;
}
.aside-body a {
    display: flex;
    align-items: center;
    padding: 11px 13px;
    color: #0a1b39;
    text-decoration: none;
    border-radius: 12px;
    margin: 0 7px;
    font-size: 15px;
    border: 1px solid transparent;
    height: 42px;
}
.aside-body a img {
    opacity: 0.3;
}
.aside-body a.active img {
    opacity: 1;
}
.aside-body a.active {
    background-color: #33187214;
    color: #033244;
    border-radius: 12px;
    font-weight: 600;
    border: 1px solid transparent;
}
.aside-body a:hover {
    border-radius: 12px;
    border: 1px solid #e6e7ec;
    box-shadow: 0px 15px 29px 0px #596c9412;
}
.aside-body a:hover img {
    opacity: 1;
}
.aside-body .input-group {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 15px;
    height: 40px;
}
.aside-body a .icon {
    margin-right: 7px;
    opacity: 0.5;
}
.aside-body a.active .icon,
.aside-body a:hover .icon {
    margin-right: 7px;
    opacity: 1;
}
/* aside footer */
.aside-footer {
    padding: 1rem;
}

.aside-footer .language-switcher {
    width: 240px; /* largeur proche de votre capture */
    justify-content: space-between;
    border-radius: 12px;
}

.aside-footer .flag-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%; /* arrondi parfait */
    object-fit: cover;
}
.aside-footer .language-switcher span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Theme toggle */
.aside-footer .theme-toggle {
    width: 240px; /* largeur proche de la capture */
    justify-content: space-between;
    background-color: #f5f6f8; /* onglet actif */
    border-radius: 12px;
}

.aside-footer .btn-toggle {
    flex: 1;
    border: none;
    background: transparent;
    font-weight: 600;
    color: #6c757d;
    border-radius: 12px;
    transition: all 0.25s ease;
}

.aside-footer .btn-toggle.active {
    background: #fff; /* onglet actif */
    color: #000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
/*
.search-input {
  height: 44px;
  border-radius: 12px;
}
.search-box {
  width: 633px;
  margin-right: 15px;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, ">");
  font-size: 20px;
  line-height: 24px;
  color: #1c4b5d;
}*/

.content .header {
    background-color: transparent;
    top: 15px;
    right: 15px;
    border: none;
    z-index: 99;
    width: auto;
}
.content-head button.notify {
    width: 42px;
    height: 42px;
    object-fit: cover;
    padding: 0;
    margin-right: 5px;
    border: 1px solid #ccc;
    background-color: white;
}
.content-head a > img {
    width: 31px;
    height: 31px;
    object-fit: cover;
    padding: 0;
}
.content-head .profile-box {
    padding: 5px;
    border: 1px solid #ccc;
    background-color: white;
    align-items: center;
    display: flex;
}
.content-head .col button > i {
    font-size: 17px;
}
/* user and notification */
.box-head {
    padding: 15px 15px 11px 15px;
    font-size: 14px;
}
.box-head a {
    text-decoration: underline;
}
.box-content {
    padding: 0 15px;
}
.box-content .item {
    height: auto;
    width: 25px;
}
.video-content {
    margin-top: 15px;
}
.hr {
    margin: 12px;
}

/* video */
.video-menu {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 90;
}
.video-menu li {
    margin-bottom: 11px;
    text-align: center;
    position: relative;
}
.video-menu button.btn-close-panel {
    width: 45px;
    height: 45px;
    object-fit: cover;
    padding: 0;
    border: none;
    background-color: rgba(255, 255, 255, 0.3);
}
.video-menu img {
    width: auto;
    height: 21px;
    padding: 0;
    border: none;
}
.reaction button {
    width: 45px;
    height: 45px;
    border: none;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.2);
}

.reaction button.liked,
.reaction button.saved {
    background-color: #033244 !important;
    color: white;
}
.reaction button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.reaction img {
    width: 27px;
    height: 27px;
}
.reaction img.rounded-circle {
    width: 45px;
    height: 45px;
    object-fit: cover;
    padding: 2px;
    border: 1px solid #fff;
}
.reaction li {
    margin-bottom: 11px;
    text-align: center;
    position: relative;
}
.reaction li .count {
    font-size: 12px;
    color: #ffffff;
    margin-bottom: 0;
}
.reaction {
    position: absolute;
    bottom: 11px;
    right: 11px;
    z-index: 20;
}
.add-profile {
    background-color: #ffffff;
    color: #000000;
    height: 15px;
    width: 15px;
    position: absolute;
    right: 15px;
    bottom: -5px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.caption-content {
    position: absolute;
    bottom: 0;
    padding: 15px 11px;
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 10% 5%, #343a4059 75%);
    margin-bottom: 7px;
    width: 100%;
    border-radius: 0 0 0.5rem 0.5rem;
}

.video-box {
    width: 360px !important;
    height: 600px !important;
    background-color: #636364;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
    padding: 5px !important;
}

.video-box video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.image-box {
    width: 360px !important;
    height: 600px !important;
    background-color: #033244ce;
    border-radius: 15px !important;
}

.image-box .img-feed {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}
.caption-content p {
    margin: 1px 5px;
}
#video-overlay:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
.video-overlay {
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.play-icon {
    height: 41px;
    width: auto;
    color: #ffffff;
}
.modal-backdrop.show {
    position: relative;
}
.floating-panel.card {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 240px;
    z-index: 1050;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: none;
    overflow: hidden;
}
.video-menu button.btn-close-panel {
    width: 25px;
    height: 25px;
    background-color: #033244;
    color: #ffffff;
    font-size: 18px;
}
.video-menu .header-info {
    border-bottom: 1px solid #aaa;
    padding-bottom: 7px;
}
.video-menu .header-info strong {
    font-size: 15px;
}
.video-menu .card {
    border: none;
    text-align: left;
    font-size: 10px;
}
.video-menu .card hr {
    border-bottom: 1px solid #ddd;
}
.video-menu .card .info-item h6 {
    font-size: 13px;
}
.video-menu .card .info-item i {
    font-size: 14px;
    font-weight: 500;
    color: #462e7f;
}
.video-menu .modal-dialog {
    position: relative;
}
.modal-content {
    border-radius: 10px;
    box-shadow: none; /* Pas d'ombre */
}

/* Signal modal */
.floating-panel-signal.signal-modal,
.floating-panel-signal.send-signal-modal {
    position: absolute;
    width: 100%;
    height: 99%;
    display: none;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    z-index: 99;
}
button.signal-btn {
    border: 1px solid #aaa;
    background-color: transparent;
    border-radius: 9px;
    color: #000;
    font-size: 15px;
    height: 35px;
    font-size: 15px;
    padding: 0 21px;
}
button.signal-btn:hover {
    background-color: #33187214;
    border-color: 1px solid transparent !important;
    color: #000;
}
button.btn.btn-outline-light.rounded-circle.open-signal {
    height: 42px;
    width: 42px;
}

button.btn.btn-outline-light.rounded-circle.open-signal.signaled {
    color: rgba(255, 0, 0, 0.753);
    border-color: rgba(255, 0, 0, 0.753);
}
button.close-btn {
    align-items: center;
    color: #dc3545;
    background-color: #fce7e7;
    border-radius: 9px;
    border: 1px solid #e5e5e5;
    height: 35px;
    font-size: 15px;
    padding: 0 23px;
}
.signal-body {
    position: relative;
    width: 240px;
    height: auto;
    background-color: #ffffff;
    padding: 12px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
}
/* Send signal */
.floating-panel-signal.send-signal-modal {
    vertical-align: middle;
}
.floating-panel-signal.send-signal-modal .signal-body {
    width: 90%;
}
.friend-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 0.75rem;
}
.friend-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    cursor: pointer;
}
.btn-send {
    background-color: #1e4a52;
    color: #fff;
    border-radius: 0.75rem;
    width: 100%;
    padding: 0.6rem;
    font-weight: 500;
}
.copy-link {
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.copy-link i {
    margin-right: 0.5rem;
    font-size: 17px;
}
.friend-box {
    background-color: #f6f6f6;
    border: 1px solid #eae7e7;
    border-radius: 12px;
    padding: 9px;
}
.friend-box .input-group > span,
.friend-box .input-group > input {
    border-radius: 10px;
}
.friend-box .form-control {
    border: 1px solid #eae7e7;
}
.friend-box .form-control::placeholder {
    color: #000000; /* Red color */
    opacity: 0.4; /* For Firefox */
}
/* Menu deroullant */
.user-dropdown .dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 4px 11px 0px #00000038;
    padding: 0.75rem;
    min-width: 220px;
    width: 254px;
    margin-right: 0;
}
.user-dropdown .profile-pic {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}
.dropdown-item.profile-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.dropdown-item.settings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    height: 44px;
}
.dropdown-item.login {
    display: flex;
    align-items: center;
    color: whitesmoke;
    gap: 0.5rem;
    background-color: #033244;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    height: 44px;
}
.dropdown-item.logout,
.cancel-delete-comments {
    display: flex;
    align-items: center;
    color: #dc3545;
    gap: 0.5rem;
    background-color: #fce7e7;
    border-radius: 12px;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    height: 44px;
}
.dropdown-item.logout:hover,
.cancel-delete-comments:hover {
    background-color: #f8d7da;
    color: #b02a37;
}

.dropdown-item.signin {
    display: flex;
    align-items: center;
    background-color: #1c4b5d;
    gap: 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    height: 44px;
    padding: 10px 10px;
    color: white;
}
.dropdown-item.signin:hover {
    color: white;
}
.bell-btn {
    border: none;
    background: none;
    position: relative;
}

.btn-signin-comment {
    background-color: #1c4b5d;
    color: white;
}
.btn-signin-comment:hover {
    background-color: #1c4b5d;
    color: white;
}

/* Version avec animation */
.checkbox-circle {
    display: block;
    position: relative;
    cursor: pointer;
    width: 22px;
    height: 22px;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checkbox-circle:hover .checkmark {
    border-color: #1c4b5d;
    transform: scale(1.1);
}

.checkbox-circle input:checked ~ .checkmark {
    background-color: #1c4b5d;
    border-color: #1c4b5d;
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(28, 75, 93, 0.2);
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-circle input:checked ~ .checkmark:after {
    display: block;
    animation: checkAnim 0.2s ease;
}

@keyframes checkAnim {
    0% {
        transform: rotate(45deg) scale(0);
    }
    100% {
        transform: rotate(45deg) scale(1);
    }
}

/* Comment box */
.comment-box {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 485px;
    z-index: 9999;
}

.comment-box.active {
    display: block;
}

.comment-box .card {
    width: 100%;
    max-width: 485px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    max-height: 95vh;
    min-height: 95vh;
}

.comment-box .btn-close-comment {
    background-color: #1c4b5d;
    width: 21px;
    height: 21px;
    border-radius: 0.25rem;
    position: relative;
    font-size: 0;
    opacity: 1;
    border: none;
}

.comment-box .btn-close-comment::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bs-btn-close-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 8px;
    filter: invert(1);
}

.list-comments-main-feed {
    overflow-y: auto;
    max-height: 70vh !important;
    padding: 15px !important;
}

.comment-box h6.fw-normal {
    color: #161616;
    font-size: 14px;
}

.comment-box .form-control::placeholder {
    color: #000000;
    opacity: 0.4;
    font-size: 14px;
}

.comment-box .btn-send-comment {
    background-color: #1c4b5d;
    color: #ffffff;
    border: none;
    height: 45px;
    width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.comment-box .input-group span.input-group-text {
    background-color: transparent;
    border-left: none;
    padding: 12px 15px;
    border-top-left-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom-left-radius: 0;
}

.comment-box .input-group input.form-control {
    border-right: none;
    padding: 11px 15px;
    border-radius: 12px;
}

.comment-box small,
.comment-box .small {
    font-size: 0.785em;
}

.comment-box .comment-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 7px;
    border: 1px solid #e5e5e5;
    height: 35px;
    font-size: 14px;
}

.comment-box ul.dropdown-menu.show {
    top: -25px !important;
}

.comment-box .dropdown-item.delete {
    background-color: #e5e5e54a;
}

.comment-box .after-delete-box {
    background-color: #1c4b5d;
    color: #ffffff;
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 0.5rem;
    position: absolute;
    bottom: 35px;
    font-size: 14px;
    width: calc(100% - 15px);
    max-width: 453px;
    z-index: -10;
}

/* Styles pour les réponses */
.comment-replies {
    display: none;
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid #e9ecef;
}

.comment-replies.active {
    display: block;
}

.reply-item {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.reply-item:last-child {
    border-bottom: none;
}

.btn-show-replies {
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-show-replies:hover {
    background-color: #f8f9fa !important;
}

/* Images de commentaires plus petites */
.comment-image-small {
    max-width: 100px;
    max-height: 50px;
    object-fit: cover;
}

/* Preview d'image */
.comment-preview-container {
    text-align: start;
    margin-top: 15px !important;
}

.preview-wrapper {
    position: relative;
    display: inline-block;
}

.preview-cancel-btn {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.cursor-pointer {
    cursor: pointer;
}
/* Recherche */
/* .sidebar.collapsed,
.sidebar.collapsed .menu {
  width: 70px;
} */
.sidebar.collapsed .aside-box {
    border: 2px solid #e6e7ec;
    border-radius: 18px;
    margin: 10px;
    width: 70px;
}
.sidebar.collapsed .aside-head {
    margin: 10px;
}
.sidebar.collapsed .aside-head > button {
    height: 31px;
    width: 31px;
    padding: 0;
    margin: -12px 5px;
    border: none;
    background: none;
}
.logo-to-show {
    display: none;
}
.sidebar.collapsed .aside-head .logo-to-show {
    display: block !important;
}
.sidebar.collapsed .language-switcher,
.sidebar.collapsed .theme-toggle {
    width: auto;
}
.sidebar.collapsed .language-switcher > div,
.sidebar.collapsed .language-switcher > div img,
.sidebar.collapsed .theme-toggle > button,
.sidebar.collapsed .theme-toggle > button i {
    margin-right: 0 !important;
}
/* Cacher le texte quand la sidebar est réduite */
.sidebar.collapsed .aside-head .to-hide,
.sidebar.collapsed .aside-body a span,
.sidebar.collapsed .aside-body a.active span,
.sidebar.collapsed .aside-footer span,
.sidebar.collapsed .aside-body .to-hide,
.sidebar.collapsed .aside-footer .to-hide {
    display: none !important;
}
/* Centrer les icônes quand réduit */
.sidebar.collapsed .aside-body a,
.sidebar.collapsed .language-switcher,
.sidebar.collapsed .theme-toggle {
    justify-content: center;
    padding: 0;
}
.sidebar.collapsed .aside-body a .icon,
.sidebar.collapsed .aside-body a.active .icon,
.sidebar.collapsed .aside-body a:hover .icon {
    margin-right: 0 !important;
}
.search-box.col {
    display: none;
}
.sidebar.collapsed .menu .search-box {
    display: block;
    width: auto;
    padding: 10px 10px 10px 0;
}
.found-box {
    padding: 0 15px;
    height: 94%;
}
.found-box .item {
    height: auto;
    width: 35px;
}
form.search > div > a {
    font-size: 20px;
    padding: 5px 9px;
    color: gray;
}
.sidebar.collapsed .search .input-group > span {
    border-radius: 12px !important;
    padding: 7px;
}

/* Notifications */
.offcanvas {
    width: 445px !important;
    border-radius: 12px 0 0 12px;
}
.offcanvas-header button {
    border: 1px solid #000;
    font-size: small;
    color: #1c4b5d;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon {
    font-size: 1.3rem;
    color: #555;
}

.notification-text strong {
    font-weight: 600;
    color: #1c4b5d;
    font-size: 16px;
}

.notification-time {
    font-size: 0.8rem;
    color: #888;
}

.notification-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.offcanvas-header {
    border-bottom: 1px solid #eee;
}

.offcanvas-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.notification-link {
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #e5e5e5;
}

.notification-link:hover {
    background-color: #f5f5f5;
    border-radius: 10px;
    transition: 0.2s;
}
.notification-text {
    color: #8f8f8f;
    font-size: 13px;
}

/* Version Mobile */
@media (max-width: 575.98px) {
    .float-xs-start {
        float: left !important;
    }
    .float-xs-end {
        float: right !important;
    }
    .float-xs-none {
        float: none !important;
    }
    .float-end {
        float: right !important;
    }
    .object-fit-xs-contain {
        -o-object-fit: contain !important;
        object-fit: contain !important;
    }
    .object-fit-xs-cover {
        -o-object-fit: cover !important;
        object-fit: cover !important;
    }
    .object-fit-xs-fill {
        -o-object-fit: fill !important;
        object-fit: fill !important;
    }
    .object-fit-xs-scale {
        -o-object-fit: scale-down !important;
        object-fit: scale-down !important;
    }
    .object-fit-xs-none {
        -o-object-fit: none !important;
        object-fit: none !important;
    }
    .d-xs-inline {
        display: inline !important;
    }
    .d-xs-inline-block {
        display: inline-block !important;
    }
    .d-xs-block {
        display: block !important;
    }
    .d-xs-grid {
        display: grid !important;
    }
    .d-xs-inline-grid {
        display: inline-grid !important;
    }
    .d-xs-table {
        display: table !important;
    }
    .d-xs-table-row {
        display: table-row !important;
    }
    .d-xs-table-cell {
        display: table-cell !important;
    }
    .d-xs-flex {
        display: flex !important;
    }
    .d-xs-inline-flex {
        display: inline-flex !important;
    }
    .d-xs-none {
        display: none;
    }
    .flex-xs-fill {
        flex: 1 1 auto !important;
    }
    .flex-xs-row {
        flex-direction: row !important;
    }
    .flex-xs-column {
        flex-direction: column !important;
    }
    .flex-xs-row-reverse {
        flex-direction: row-reverse !important;
    }
    .flex-xs-column-reverse {
        flex-direction: column-reverse !important;
    }
    .flex-xs-grow-0 {
        flex-grow: 0 !important;
    }
    .flex-xs-grow-1 {
        flex-grow: 1 !important;
    }
    .flex-xs-shrink-0 {
        flex-shrink: 0 !important;
    }
    .flex-xs-shrink-1 {
        flex-shrink: 1 !important;
    }
    .flex-xs-wrap {
        flex-wrap: wrap !important;
    }
    .flex-xs-nowrap {
        flex-wrap: nowrap !important;
    }
    .flex-xs-wrap-reverse {
        flex-wrap: wrap-reverse !important;
    }
    .justify-content-xs-start {
        justify-content: flex-start !important;
    }
    .justify-content-xs-end {
        justify-content: flex-end !important;
    }
    .justify-content-xs-center {
        justify-content: center !important;
    }
    .justify-content-xs-between {
        justify-content: space-between !important;
    }
    .justify-content-xs-around {
        justify-content: space-around !important;
    }
    .justify-content-xs-evenly {
        justify-content: space-evenly !important;
    }
    .align-items-xs-start {
        align-items: flex-start !important;
    }
    .align-items-xs-end {
        align-items: flex-end !important;
    }
    .align-items-xs-center {
        align-items: center !important;
    }
    .align-items-xs-baseline {
        align-items: baseline !important;
    }
    .align-items-xs-stretch {
        align-items: stretch !important;
    }
    .align-content-xs-start {
        align-content: flex-start !important;
    }
    .align-content-xs-end {
        align-content: flex-end !important;
    }
    .align-content-xs-center {
        align-content: center !important;
    }
    .align-content-xs-between {
        align-content: space-between !important;
    }
    .align-content-xs-around {
        align-content: space-around !important;
    }
    .align-content-xs-stretch {
        align-content: stretch !important;
    }
    .align-self-xs-auto {
        align-self: auto !important;
    }
    .align-self-xs-start {
        align-self: flex-start !important;
    }
    .align-self-xs-end {
        align-self: flex-end !important;
    }
    .align-self-xs-center {
        align-self: center !important;
    }
    .align-self-xs-baseline {
        align-self: baseline !important;
    }
    .align-self-xs-stretch {
        align-self: stretch !important;
    }
    .order-xs-first {
        order: -1 !important;
    }
    .order-xs-0 {
        order: 0 !important;
    }
    .order-xs-1 {
        order: 1 !important;
    }
    .order-xs-2 {
        order: 2 !important;
    }
    .order-xs-3 {
        order: 3 !important;
    }
    .order-xs-4 {
        order: 4 !important;
    }
    .order-xs-5 {
        order: 5 !important;
    }
    .order-xs-last {
        order: 6 !important;
    }
    .m-xs-0 {
        margin: 0 !important;
    }
    .m-xs-1 {
        margin: 0.25rem !important;
    }
    .m-xs-2 {
        margin: 0.5rem !important;
    }
    .m-xs-3 {
        margin: 1rem !important;
    }
    .m-xs-4 {
        margin: 1.5rem !important;
    }
    .m-xs-5 {
        margin: 3rem !important;
    }
    .m-xs-auto {
        margin: auto !important;
    }
    .mx-xs-0 {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .mx-xs-1 {
        margin-right: 0.25rem !important;
        margin-left: 0.25rem !important;
    }
    .mx-xs-2 {
        margin-right: 0.5rem !important;
        margin-left: 0.5rem !important;
    }
    .mx-xs-3 {
        margin-right: 1rem !important;
        margin-left: 1rem !important;
    }
    .mx-xs-4 {
        margin-right: 1.5rem !important;
        margin-left: 1.5rem !important;
    }
    .mx-xs-5 {
        margin-right: 3rem !important;
        margin-left: 3rem !important;
    }
    .mx-xs-auto {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    .my-xs-0 {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .my-xs-1 {
        margin-top: 0.25rem !important;
        margin-bottom: 0.25rem !important;
    }
    .my-xs-2 {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }
    .my-xs-3 {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
    .my-xs-4 {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    .my-xs-5 {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }
    .my-xs-auto {
        margin-top: auto !important;
        margin-bottom: auto !important;
    }
    .mt-xs-0 {
        margin-top: 0 !important;
    }
    .mt-xs-1 {
        margin-top: 0.25rem !important;
    }
    .mt-xs-2 {
        margin-top: 0.5rem !important;
    }
    .mt-xs-3 {
        margin-top: 1rem !important;
    }
    .mt-xs-4 {
        margin-top: 1.5rem !important;
    }
    .mt-xs-5 {
        margin-top: 3rem !important;
    }
    .mt-xs-auto {
        margin-top: auto !important;
    }
    .me-xs-0 {
        margin-right: 0 !important;
    }
    .me-xs-1 {
        margin-right: 0.25rem !important;
    }
    .me-xs-2 {
        margin-right: 0.5rem !important;
    }
    .me-xs-3 {
        margin-right: 1rem !important;
    }
    .me-xs-4 {
        margin-right: 1.5rem !important;
    }
    .me-xs-5 {
        margin-right: 3rem !important;
    }
    .me-xs-auto {
        margin-right: auto !important;
    }
    .mb-xs-0 {
        margin-bottom: 0 !important;
    }
    .mb-xs-1 {
        margin-bottom: 0.25rem !important;
    }
    .mb-xs-2 {
        margin-bottom: 0.5rem !important;
    }
    .mb-xs-3 {
        margin-bottom: 1rem !important;
    }
    .mb-xs-4 {
        margin-bottom: 1.5rem !important;
    }
    .mb-xs-5 {
        margin-bottom: 3rem !important;
    }
    .mb-xs-auto {
        margin-bottom: auto !important;
    }
    .ms-xs-0 {
        margin-left: 0 !important;
    }
    .ms-xs-1 {
        margin-left: 0.25rem !important;
    }
    .ms-xs-2 {
        margin-left: 0.5rem !important;
    }
    .ms-xs-3 {
        margin-left: 1rem !important;
    }
    .ms-xs-4 {
        margin-left: 1.5rem !important;
    }
    .ms-xs-5 {
        margin-left: 3rem !important;
    }
    .ms-xs-auto {
        margin-left: auto !important;
    }
    .p-xs-0 {
        padding: 0 !important;
    }
    .p-xs-1 {
        padding: 0.25rem !important;
    }
    .p-xs-2 {
        padding: 0.5rem !important;
    }
    .p-xs-3 {
        padding: 1rem !important;
    }
    .p-xs-4 {
        padding: 1.5rem !important;
    }
    .p-xs-5 {
        padding: 3rem !important;
    }
    .px-xs-0 {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    .px-xs-1 {
        padding-right: 0.25rem !important;
        padding-left: 0.25rem !important;
    }
    .px-xs-2 {
        padding-right: 0.5rem !important;
        padding-left: 0.5rem !important;
    }
    .px-xs-3 {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
    .px-xs-4 {
        padding-right: 1.5rem !important;
        padding-left: 1.5rem !important;
    }
    .px-xs-5 {
        padding-right: 3rem !important;
        padding-left: 3rem !important;
    }
    .py-xs-0 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .py-xs-1 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    .py-xs-2 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    .py-xs-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    .py-xs-4 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .py-xs-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .pt-xs-0 {
        padding-top: 0 !important;
    }
    .pt-xs-1 {
        padding-top: 0.25rem !important;
    }
    .pt-xs-2 {
        padding-top: 0.5rem !important;
    }
    .pt-xs-3 {
        padding-top: 1rem !important;
    }
    .pt-xs-4 {
        padding-top: 1.5rem !important;
    }
    .pt-xs-5 {
        padding-top: 3rem !important;
    }
    .pe-xs-0 {
        padding-right: 0 !important;
    }
    .pe-xs-1 {
        padding-right: 0.25rem !important;
    }
    .pe-xs-2 {
        padding-right: 0.5rem !important;
    }
    .pe-xs-3 {
        padding-right: 1rem !important;
    }
    .pe-xs-4 {
        padding-right: 1.5rem !important;
    }
    .pe-xs-5 {
        padding-right: 3rem !important;
    }
    .pb-xs-0 {
        padding-bottom: 0 !important;
    }
    .pb-xs-1 {
        padding-bottom: 0.25rem !important;
    }
    .pb-xs-2 {
        padding-bottom: 0.5rem !important;
    }
    .pb-xs-3 {
        padding-bottom: 1rem !important;
    }
    .pb-xs-4 {
        padding-bottom: 1.5rem !important;
    }
    .pb-xs-5 {
        padding-bottom: 3rem !important;
    }
    .ps-xs-0 {
        padding-left: 0 !important;
    }
    .ps-xs-1 {
        padding-left: 0.25rem !important;
    }
    .ps-xs-2 {
        padding-left: 0.5rem !important;
    }
    .ps-xs-3 {
        padding-left: 1rem !important;
    }
    .ps-xs-4 {
        padding-left: 1.5rem !important;
    }
    .ps-xs-5 {
        padding-left: 3rem !important;
    }
    .gap-xs-0 {
        gap: 0 !important;
    }
    .gap-xs-1 {
        gap: 0.25rem !important;
    }
    .gap-xs-2 {
        gap: 0.5rem !important;
    }
    .gap-xs-3 {
        gap: 1rem !important;
    }
    .gap-xs-4 {
        gap: 1.5rem !important;
    }
    .gap-xs-5 {
        gap: 3rem !important;
    }
    .row-gap-xs-0 {
        row-gap: 0 !important;
    }
    .row-gap-xs-1 {
        row-gap: 0.25rem !important;
    }
    .row-gap-xs-2 {
        row-gap: 0.5rem !important;
    }
    .row-gap-xs-3 {
        row-gap: 1rem !important;
    }
    .row-gap-xs-4 {
        row-gap: 1.5rem !important;
    }
    .row-gap-xs-5 {
        row-gap: 3rem !important;
    }
    .column-gap-xs-0 {
        -moz-column-gap: 0 !important;
        column-gap: 0 !important;
    }
    .column-gap-xs-1 {
        -moz-column-gap: 0.25rem !important;
        column-gap: 0.25rem !important;
    }
    .column-gap-xs-2 {
        -moz-column-gap: 0.5rem !important;
        column-gap: 0.5rem !important;
    }
    .column-gap-xs-3 {
        -moz-column-gap: 1rem !important;
        column-gap: 1rem !important;
    }
    .column-gap-xs-4 {
        -moz-column-gap: 1.5rem !important;
        column-gap: 1.5rem !important;
    }
    .column-gap-xs-5 {
        -moz-column-gap: 3rem !important;
        column-gap: 3rem !important;
    }
    .text-xs-start {
        text-align: left !important;
    }
    .text-xs-end {
        text-align: right !important;
    }
    .text-xs-center {
        text-align: center !important;
    }
    /* Box field */
    .left-box {
        height: 100vh;
        width: 100% !important;
        background-image: url('../images/font-mobile.png');
        background-color: rgba(28, 75, 93, 1);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0;
        overflow: hidden;
    }
    .register-body .left-box {
        height: 100vh;
        background-image: url('../images/onboarding_1.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0;
        overflow: hidden;
    }
    /* Box field forgotten pass */
    .form-forgoten-pass .left-box {
        height: 100vh;
        background-image: url('../images/onboarding_3.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0;
        overflow: hidden;
    }
    .form-forgoten-pass-success .left-box {
        height: 100vh;
        background-image: url('../images/onboarding_3.jpg') !important;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        padding: 0;
        overflow: hidden;
    }

    .form-xs-box {
        margin: 0 -4px;
        background-color: white;
        border-radius: 12px 12px 0 0;
        padding: inherit;
        position: absolute;
        right: 4px;
        left: 4px;
        bottom: 0;
    }
    .header-signin h3,
    .header-signin span {
        color: #ffffff;
    }
    .form-forgoten-pass-success .header-signin h3,
    .form-forgoten-pass-success .header-signin span {
        color: #858585;
    }

    /* Onboarding */
    .btn-ignorer {
        border: 1px solid #ffffff;
        border-radius: 15px;
        color: #ffffff;
        background: transparent;
        padding: 5px 25px;
        position: absolute;
        top: 35px;
        right: 15px;
    }
    .btn-ignorer:hover {
        border: 1px solid #1c4b5d;
        color: #ffffff;
        background-color: #1c4b5d;
    }

    /* OPT code */
    .opt-body .form-xs-box {
        bottom: 0;
    }
    /* Contenu */
    .item.first {
        margin-top: 75px !important;
    }
    .item {
        margin-top: 15px !important;
    }
    .content-head {
        padding: 11px !important;
        background-color: white !important;
        left: 0;
        top: 0 !important;
        right: 0 !important;
        z-index: 99;
        width: 100%;
    }
    .content-head.rounded-5 {
        border-radius: 0 !important;
    }
    .content.marg-n-5 {
        margin-left: 0;
        margin-right: 0;
    }
    .logo-mobile {
        height: 52px;
        width: auto;
    }
    .logo-mobile > img {
        height: inherit;
        width: auto;
    }

    .content .header {
        top: 0;
        left: 0;
        right: 0;
        z-index: 99;
        padding: 0;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .custom-hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 42px;
        height: 42px;
        border: 1px solid #ccc;
        padding: 11px;
    }
    .custom-hamburger div {
        height: 2px;
        background-color: #1c4b5d;
    }
    .custom-hamburger .middle {
        width: 70%; /* barre du milieu plus courte */
        align-self: self-start;
    }
    .custom-hamburger .top,
    .custom-hamburger .bottom {
        width: 100%;
    }
    .content-head .col button > i {
        font-size: 15px;
    }
    .video-content.pe-2 {
        padding-right: 0 !important;
    }
    .video-content {
        margin-top: 7px;
        position: relative;
    }
    .video-menu {
        z-index: auto;
    }
    .floating-panel.card {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1050;
        background-color: rgba(0, 0, 0, 0.7);
        height: 100vh;
        width: 100%;
        border-radius: 0;
        padding: 0 !important;
    }

    .floating-panel .mobile-card {
        border-top-left-radius: 12px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 12px;
        height: 100%;
        background-color: #ffffff;
        width: 240px;
        padding: 35px 15px;
    }
    .send-signal-modal .signal-body {
        position: absolute;
        width: 100% !important;
        height: fit-content;
        transform: translate(-50%, -21%) !important;
    }
    /* Comment box */
    .comment-box {
        position: fixed;
        bottom: -17px !important;
        z-index: 999;
    }
    .comment-box ul.list-unstyled.mb-3 {
        overflow: scroll;
    }
    .comment-box .card {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        position: fixed;
        right: 0;
        bottom: 0;
        width: 100%;
        top: auto;
        margin-bottom: 0 !important;
    }
    .comment-box .after-delete-box {
        bottom: 0;
        right: 0;
        position: fixed;
        margin: 15px;
        width: -webkit-fill-available;
    }
    .menu {
        width: 289px;
        display: block !important;
        position: fixed !important;
        top: -16px;
        left: -7px;
        border-radius: 0;
        border: none;
    }
    /* Menu */
    .sidebar.floating-panel {
        position: fixed;
        width: 100%;
        height: 100vh;
        display: block;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        border-radius: 0;
        z-index: 999;
        margin-top: 0;
    }
    .aside-box {
        overflow: scroll;
        height: 100vh;
    }
    .search-box {
        position: fixed !important;
        top: 0;
        z-index: 999999 !important;
        background: white;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        border-radius: 0;
        padding: 10px;
        display: none; /* cachée par défaut */
        width: 100%;
        padding-top: 15px;
    }
    .custom-bg-light {
        margin-top: 15px;
    }
    .for-mobile-search {
        padding: 15px;
        background-color: rgba(28, 75, 93, 1);
        margin: -15px -10px 15px;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    .for-mobile-search a {
        color: white;
    }
    /* Notification */
    .offcanvas-title {
        color: #1c4b5d;
    }
    .offcanvas {
        width: 100% !important;
        border-radius: 0;
        border-left: 0 !important;
        top: 75px !important;
    }
    .offcanvas-header button {
        display: none;
    }
    .logo-for-mobile {
        margin-top: 105px;
    }
}
