.payment-disable {
    opacity: .4
}

.payment-not-available {
    opacity: .7
}

.color-red {
    color: red
}

::-webkit-scrollbar {
    display: none
}

.requests-message {
    padding-top: 20px;
    padding-right: 5px;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 200px;
    max-height: calc(100vh - 200px);
}

.test span.select2.select2-container {
    position: absolute;
}

.requests-message::-webkit-scrollbar:horizontal,
#code_user .select2-container--default .select2-selection--multiple:-webkit-scrollbar:horizontal {
    display: none;
}

.requests-message::-webkit-scrollbar-corner,
#code_user .select2-container--default .select2-selection--multiple::-webkit-scrollbar-corner {
    background: transparent;
}

.requests-message::-webkit-scrollbar:vertical,
#code_user .select2-container--default .select2-selection--multiple::-webkit-scrollbar:vertical {
    display: block;
    width: 8px;
}

.requests-message::-webkit-scrollbar-track,
#code_user .select2-container--default .select2-selection--multiple::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 50px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.requests-message::-webkit-scrollbar-thumb,
#code_user .select2-container--default .select2-selection--multiple::-webkit-scrollbar-thumb {
    background: #e4e8e4;
    border-radius: 50px;
}

.requests-message::-webkit-scrollbar-thumb:hover,
#code_user .select2-container--default .select2-selection--multiple::-webkit-scrollbar-thumb:hover {
    background: #B2B2B8;
}

.color-primary {
    color: #2c59f5
}

.disabled-nav {
    opacity: .5
}

.color-secondary {
    color: #d2cff2
}

@media (max-width: 1074px) {
    .logo-menu {
        display: block !important
    }
}

.btn-secondary1 {
    color: #FFF;
    background-color: #02723b;
    border-color: #02723b
}

.btn-secondary1:hover {
    color: #FFF;
    background-color: #02723b;
    border-color: #02723b
}

.logo-ibilling {
    width: 100%
}

.card.login {
    border-radius: 30px;
    transition: none;
    box-shadow: 0 0 212.5px 37.5px rgba(255, 255, 255, 0.2)
}

.form-control.login {
    padding: 0 27px;
    box-shadow: 0 0 67.5px 7.5px rgba(44, 89, 245, 0.25)
}

.input-sf:disabled {
    background-color: rgba(52, 83, 51, 0.15) !important;
    opacity: 0.7;
}

.logo-menu {
    display: none
}

.logo-menu.is-active {
    display: initial
}

body.test-mode .header {
    background-color: #313131
}

body.test-mode .nav-header {
    background-color: #313131
}

body.test-mode .nk-sidebar {
    background-color: #313131
}

body.test-mode .nk-sidebar .metismenu {
    background-color: #313131
}

.card-sf {
    background: #FFF;
    box-shadow: none !important;
}

.card-pf-grey {
    background: rgb(250, 250, 250);
    box-shadow: none !important;
}

.card-h100 {
    height: 100%;
}

.is-invalid {
    border-radius: 10px!important;
    border: 1px solid #E11433 !important;
    border-color: #E11433 !important;
}

.cg {
    margin-left: -4px;
    margin-right: -4px;
}

.cg > [class*='col-'] {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 8px;
}

.cg-4 {
    margin-left: -4px;
    margin-right: -4px;
}

.cg-4 > [class*='col-'] {
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 8px!important;
}

.cg-4 > [class*='col-']:nth-last-child(-n+2) {
    padding-bottom: 0 !important;
}

.cg-8 {
    margin-left: -8px;
    margin-right: -8px;
}

.cg-8 > [class*='col-'] {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 16px;
}

.mt-auto {
    margin-top: auto !important;
}

.mr-auto {
    margin-right: auto !important;
}

/* Custom table */
thead {
    background-color: #FFFFFF;
    color: #000000;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #000000 !important;
}

th:first-child {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 8px;
}

th:last-child {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 8px;
}

table.dataTable thead th {
    letter-spacing: initial !important;
    text-transform: initial !important;
    font-size: 10px !important;
}

.test .select2-selection.select2-selection--multiple {
    opacity: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}


.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    border-radius: 6px !important;
    background-color: #345333 !important;
    color: white !important;
}

.select2-container--default .select2-results__option--selected {
    border-radius: 6px !important;
    background-color: #345333 !important;
    color: white !important;
}

.select2-dropdown {
    padding: 10px !important;
}

.select2-dropdown {
    border-radius: 10px !important;
    border: 1px solid #e0e0e0 !important;
}

.select2-results__option {
    padding: 8px 10px !important;
}

table.dataTable thead th, table.dataTable thead td {
    padding-right: 25px!important;
    padding-top: 13px!important;
    padding-bottom: 13px!important;
    padding-left: 12px!important;
}

.dataTables_wrapper input[type="search"], .dataTables_wrapper input[type="text"], .dataTables_wrapper select {
    border-radius: 10px;
    border: 0;
    color: #000000;
    font-size: 13px;
    padding: 11px 15px;
}

table.dataTable tbody tr, table.dataTable tbody td {
    background: #FFFFFF !important;
    color: #000000;
}

table.dataTable {
    border-collapse: separate !important;
    border-spacing: 0 5px !important;
}

table.dataTable.no-footer {
    border-bottom: 0 !important;
}

table.dataTable.row-border tbody th, table.dataTable.row-border tbody td, table.dataTable.display tbody th, table.dataTable.display tbody td {
    border: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white !important;
    background: #345333 !important;
    width: 35px;
    font-weight: 600;
}

table.dataTable tbody td {
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

table.dataTable tbody th, table.dataTable tbody td {
    padding: 13px 12px !important;
}

table.table-sf tbody tr td:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

table.table-sf tbody tr td:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

table.table-sf tbody tr:last-child td:first-child {
    border-bottom-left-radius: 20px;
}

table.table-sf tbody tr:last-child td:last-child {
    border-bottom-right-radius: 20px;
}

.dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_paginate {
    margin-top: 15px !important;
}

.dataTables_wrapper .dataTables_info {
    font-size: 11px;
}

.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    display: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    width: 40px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

table.dataTable tbody td:not(:last-child) {
    position: relative;
    padding-right: 25px !important;
}

table.dataTable tbody td:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 5px;
    width: 5px;
    background-color: #efeff5;
    border-radius: 8px;
}

table.dataTable thead th:not(:last-child) {
    position: relative;
    padding-right: 20px; /* un peu plus large pour la bordure et la flèche de tri */
}

table.dataTable thead th:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 5px;
    width: 5px;
    background-color: #efeff5;
    border-radius: 8px;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-position-x: calc(100% - 10px) !important;
}

#DataTables_Table_0_filter input[type="search"], #DataTables_Table_1_filter input[type="search"], #DataTables_Table_2_filter input[type="search"] {
    background-color: white;
    color: black;
    padding-left: 30px;
    background-image: url('/img/pictos/search.svg');
    background-repeat: no-repeat;
    background-position: 4% center;
    background-size: 12px 12px;
}

#DataTables_Table_0_filter input[type="search"]::placeholder, #DataTables_Table_1_filter input[type="search"]::placeholder, #DataTables_Table_2_filter input[type="search"]::placeholder {
    color: #000000B2;
}

.bt-20 {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
}

.btn-stats-usage-up {
    padding: 5px 12px !important;
    border-radius: 10px !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
}

/* Arrondi global */
.border-0 {
    border: 0 !important;
}

.border-radius-5 {
    border-radius: 5px !important;
}

.border-radius-16 {
    border-radius: 16px !important;
}

.border-radius-10 {
    border-radius: 10px !important;
}

.border-radius-8 {
    border-radius: 8px !important;
}

.border-radius-top16-bottom40 {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.border-radius-tl40-tr8-bl16-br8 {
    border-top-left-radius: 40px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 8px;
}

.border-radius-tl8-tr40-bl8-br16 {
    border-top-left-radius: 8px;
    border-top-right-radius: 40px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 16px;
}

.border-radius-tl16-tr8-bl8-br8 {
    border-top-left-radius: 16px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.border-radius-tl8-tr8-bl8-br16 {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 16px;
}

/* Coins spécifiques */

/* Top Left */
.border-radius-tl-8 {
    border-top-left-radius: 8px !important;
}

.border-radius-tl-10 {
    border-top-left-radius: 10px !important;
}

.border-radius-tl-16 {
    border-top-left-radius: 16px !important;
}

.border-radius-tl-20 {
    border-top-left-radius: 20px !important;
}

.border-radius-tl-40 {
    border-top-left-radius: 40px !important;
}

/* Top Right */
.border-radius-tr-8 {
    border-top-right-radius: 8px !important;
}

.border-radius-tr-10 {
    border-top-right-radius: 10px !important;
}

.border-radius-tr-16 {
    border-top-right-radius: 16px !important;
}

.border-radius-tr-20 {
    border-top-right-radius: 20px !important;
}

.border-radius-tr-40 {
    border-top-right-radius: 40px !important;
}

/* Bottom Left */
.border-radius-bl-8 {
    border-bottom-left-radius: 8px !important;
}

.border-radius-bl-10 {
    border-bottom-left-radius: 10px !important;
}

.border-radius-bl-16 {
    border-bottom-left-radius: 16px !important;
}

.border-radius-bl-20 {
    border-bottom-left-radius: 20px !important;
}

.border-radius-bl-40 {
    border-bottom-left-radius: 40px !important;
}

/* Bottom Right */
.border-radius-br-8 {
    border-bottom-right-radius: 8px !important;
}

.border-radius-br-10 {
    border-bottom-right-radius: 10px !important;
}

.border-radius-br-16 {
    border-bottom-right-radius: 16px !important;
}

.border-radius-br-20 {
    border-bottom-right-radius: 20px !important;
}

.border-radius-br-40 {
    border-bottom-right-radius: 40px !important;
}

.mb-8px {
    margin-bottom: 8px !important;
}


.table-top-0, .table-top-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    margin-bottom: 16px;
}

/** Badge */
.badge {
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.badge-success {
    background-color: #34C759;
    color: #000000;
}

.badge-danger {
    background-color: #E11433;
    color: #FFFFFF;
}

.badge-black {
    background-color: #000000;
    color: #FFFFFF;
}

.badge-pill {
    border-radius: 10px !important;
    gap: 5px !important;
    padding: 3px 7px !important;
}


.campaign-img {
    border-radius: 20px;
    box-shadow: 0px 0px 51.158px 0px rgba(30, 71, 247, 0.40);
}

.campaign-img-badge {
    position: absolute;
    top: 13px;
    left: 13px;
    padding: 8px 13px;
    font-size: 13px !important;
}


#code_user .select2-container--default .select2-selection--multiple {
    border: 1px solid #dddfe1 !important;
    min-height: 3rem !important;
    border-radius: 10px !important;
    background-color: #FFFFFF !important;
    font-weight: 400 !important;
    max-height: 105px;
    overflow: scroll;
    padding-right: 10px;
    overflow-y: auto;
    overflow-x: hidden;
}

#code_user .select2-container--default .select2-selection--multiple .select2-selection__choice {
    border: 0 !important;
    color: #000 !important;
    background-color: rgba(239, 239, 244, 1) !important;
    border-radius: 10px !important;
}

#code_user .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: 0 !important;
    color: #000 !important;
    font-size: 18px !important;
    font-weight: normal !important;
    padding: 0px 5px !important;
}

#code_user .select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    font-size: 13px !important;
}


.sparkloom-intelligence-text-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.4em; /* optionnel : espace entre icône et texte */
    background: linear-gradient(to right, #345333, #1E47F7, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Syne', sans-serif;
}

.sparkloom-intelligence-text-white {
    display: inline-flex;
    align-items: center;
    gap: 0.4em; /* optionnel : espace entre icône et texte */
    background: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: 'Syne', sans-serif;
}

.billing-toggle {
    width: 100%; /* ✅ pleine largeur */
    display: inline-flex;
    background: #fafafa;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 16px;
}



.swiper-controls {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 40px;
}

.swiper {
    overflow: initial;
}

.swiper-button-prev.custom-nav,
.swiper-button-next.custom-nav {
    background: #EFEFF4;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: background 0.2s ease;
    position: static; /* override Swiper's absolute positioning */
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after {
    content: ''!important;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-next:after {
    content: ''!important;
}

.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
}

.swiper-button-next.custom-nav:hover,
.swiper-button-prev.custom-nav:hover {
    background: #ebebf2;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    font-weight: 600;
}

.toggle-option {
    flex: 1 1 0;
    border: none;
    background: transparent;
    padding: 7px;
    border-radius: 999px;
    font-weight: 400;
    color: #000;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stats-users-usage {
    display: flex;
    align-items: center;
    gap: 12px; /* espace entre barre et texte */
}

.progress {
    flex: 1; /* pour prendre l'espace dispo */
    height: 10px;
    background-color: #e4e8e4;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.stats-users-usage-text {
    font-size: 14px;
    white-space: nowrap;
}

.toggle-option.active {
    background: #345333;
    color: #FFF;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.plan-gradient-border {
    background: linear-gradient(135deg, #1E47F7, #345333);
    padding: 1px;
    border-radius: 17px;
}

.gradient-text {
    background: linear-gradient(90deg, #1d4ed8, #7e3af2, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: white!important;
}

.gradient-icon {
    background: linear-gradient(90deg, #1E47F7, #345333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.radius-left {
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.radius-middle {
    border-radius: 16px;
}

.radius-right {
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.list-group-item {
    box-shadow: none;
    background: white;
    padding: 15px 25px;
    border-radius: 15px !important;
    color: #345333;
    border: 0;
}

.list-group-item:hover {
    box-shadow: none;
    background: white;
    color: #345333;
}

.list-group-item.active {
    background: #345333;
    padding: 25px;
    border-top: 0;
    border-radius: 15px !important;
    color: white;
}

.pf-dot-new {
    width: 10px;
    height: 10px;
    background: rgb(195, 65, 65); /* success green */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(195, 65, 65, .2);
    margin-left: 10px;
}

.imessage {
    /* Variables for layout */
    --avatar: 50px;
    --gap: 10px;

    display: flex;
    flex-direction: column;
}

/* Le conteneur de la bulle + meta devient une colonne */
.msg-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* par défaut: à gauche */
}

/* Pour les messages de moi, on aligne tout à droite */
.msg-row.from-me .msg-wrap {
    align-items: flex-end;
}

/* Le bloc meta s’étire sur la largeur du wrap
   et s’aligne selon le côté du message */
.msg-meta {
    width: 100%;
    text-align: left;
}

.msg-row.from-me .msg-meta {
    text-align: right;
}

.msg-wrap {
    position: relative;
}

.reply-fab {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    background: color(srgb 0.8967 0.8967 0.915 / 0.39);
    color: #345333;
    z-index: 2;
    border: 0;
}

.msg-row.from-me .from-me .reply-fab {
    left: -60px;
}

.trash-fab {
    position: absolute;
    right: -70px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 15px;
    background: none;
    color: darkred;
    z-index: 2;
    border: 0;
}

.msg-row.from-me .from-me .trash-fab {
    left: -50px;
}

.msg-wrap {
    max-width: calc(100% - (var(--avatar) + var(--gap)));
}

.imessage p {
    max-width: 100%;
    min-width: 40px;
    display: inline-block;
    word-break: break-word;
    border-radius: 1.15rem;
    line-height: 1.25;
    padding: 1.5rem;
    position: relative;
    word-wrap: break-word;
}

.imessage p::before,
.imessage p::after {
    bottom: -0.1rem;
    content: "";
    height: 1rem;
    position: absolute;
}

p.from-me {
    margin-left: auto !important;
    align-self: flex-end;
    background-color: #2b4328;
    color: #fff;
}

p.from-me::before {
    border-bottom-left-radius: 0.8rem 0.7rem;
    border-right: 1rem solid #2b4328;
    right: -0.35rem;
    transform: translate(0, -0.1rem);
}

p.from-me::after {
    background-color: #fff;
    border-bottom-left-radius: 0.5rem;
    right: -40px;
    transform: translate(-30px, -2px);
    width: 10px;
}

/* Row that holds avatar + bubble */
.msg-row {
    display: flex;
    align-items: flex-end;
    gap: var(--gap);
}

/* Mirror to the right for messages "from-me" */
.msg-row.from-me {
    flex-direction: row-reverse;
}

/* Round avatar (image or initials) */
.msg-avatar {
    width: var(--avatar);
    height: var(--avatar);
    flex: 0 0 var(--avatar);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    background: #e5efe5;
    color: #345333;
    overflow: hidden;
}

.msg-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spacer to preserve horizontal space when avatar is not shown (uses variables) */
.msg-avatar-spacer {
    width: var(--avatar);
    height: 0; /* do not add extra vertical height */
    flex: 0 0 var(--avatar); /* reserve the same horizontal space as the avatar */
}

/* On small screens, scale down avatar size via variable */
@media (max-width: 1024px) {
    .imessage {
        --avatar: 25px; /* downscale avatar on small screens */
    }

    .msg-avatar {
        font-size: 10px !important;
    }
}

/* Wrap bubble + meta */
.msg-wrap {
    /* Same constraint as bubble: leave room for avatar column + gap */
    max-width: 75%
}

/* Put meta under the bubble */
.msg-meta {
    margin-top: 4px;
}

.msg-meta .msg-author {
    font-weight: 600;
}

p[class^="from-"] {
    margin: 0.5rem 0;
    width: fit-content;
}

p.from-me ~ p.from-me {
    margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:not(:last-child) {
    margin: 0.25rem 0 0;
}

p.from-me ~ p.from-me:last-child {
    margin-bottom: 0.5rem;
}

p.from-them {
    align-items: flex-start;
    background-color: #e5e5ea;
    color: #000;
}

p.from-them:before {
    border-bottom-right-radius: 0.8rem 0.7rem;
    border-left: 1rem solid #e5e5ea;
    left: -0.35rem;
    transform: translate(0, -0.1rem);
}

p.from-them::after {
    background-color: #fff;
    border-bottom-right-radius: 0.5rem;
    left: 20px;
    transform: translate(-30px, -2px);
    width: 10px;
}

p[class^="from-"].emoji {
    background: none;
    font-size: 2.5rem;
}

p[class^="from-"].emoji::before {
    content: none;
}


.comment {
    color: #222;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    max-width: 100%;
    padding: 0;
}

.reply-bar {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #f3f6f3;
    border-left: 3px solid #345333;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px
}

.reply-quote {
    max-width: 100%
}

.reply-author {
    font-weight: 700;
    font-size: .9rem
}

.reply-text {
    font-size: .9rem;
    opacity: .85
}

.reply-preview .reply-quote {
    background: #f7f7f7;
    border-left: 3px solid #ccc;
    border-radius: 6px;
    padding: 6px 10px
}

.message .message-meta {
    opacity: .7
}


@keyframes flash {
    0% {
        box-shadow: 0 0 0 rgba(52, 83, 51, 0)
    }
    20% {
        box-shadow: 0 0 0 6px rgba(52, 83, 51, .15)
    }
    100% {
        box-shadow: 0 0 0 rgba(52, 83, 51, 0)
    }
}

@media (max-width: 1023.98px) {
    /* The collapsible column should not take full page height */
    #channelsList {
        max-height: 60vh;
        overflow: auto;
        margin-bottom: .75rem;
    }

    /* Touch-friendly list items */
    #channelsList .list-group-item {
        padding: 14px 16px !important;
        border-radius: 14px !important;
    }

    #channelsList .list-group-item .material-symbols-rounded {
        font-size: 22px;
    }

    #channelsList .badge {
        transform: translateX(4px);
    }

    /* Tighter preview line */
    #channelsList small.text-truncate {
        display: inline-block;
        max-width: 60vw; /* keep preview on one line on small screens */
        vertical-align: middle;
    }

    .chat-col {
        height: calc(100vh - 130px);
    }
}
