
* {
    font-family: "Noto Sans", sans-serif !important;
    font-display: swap;
}
a {
    text-decoration: none;
    color: #1565C0;
}
a:hover {
    background-color: #1565C020;
}
.alt_border {
    border-color: #e0e0e0 !important;
}
.sdw_1 {
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 18px !important;
}

.sdw_2 {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 3px 8px !important;
}

.sdw_menu {
    box-shadow: rgba(100, 100, 100, 0.4) 0px 8px 16px , rgba(208, 208, 208, 0.3) 0px 0px 0px 1px !important;
}
.sdw_reaction {
    box-shadow: rgba(100, 100, 100, 0.4) 0px 4px 8px , rgba(208, 208, 208, 0.3) 0px 0px 0px 1px !important;
}

.lg_filter {
    backdrop-filter: blur(4px) saturate(150%) !important;
}

.mention {
    background-color: #1565C030 !important;
    border-radius: 6px;
    padding-left: 4px;
    padding-right: 4px;
    font-weight: bold !important;
}

code {
    background-color: rgba(100, 100, 100, 0.6);
    border-radius: 6px;
    padding-left: 4px;
    padding-right: 4px;
}

blockquote {
    background-color: rgba(255, 255, 255, 0.4);
    border-left: 4px solid #FFFFFF50;
    border-radius: 6px;
    padding-left: 4px;
    padding-right: 4px;
}

.dropzone-container {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(58, 58, 58, 0.2) !important;
    transition: .5s;
    overflow: hidden;
    position: relative;
}
.dropzone-container:hover {
    background-color: rgba(0, 96, 215, 0.06) !important;
    border: 1px dashed rgba(58, 58, 58, 0.4) !important;
    transition: .5s;
}
.dropzone-container_active {
    background-color: rgba(0, 96, 215, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(0, 96, 215, 0.8) !important;
    border: 1px dashed #0060d7 !important;
    transition: .5s;
}
.dragging, .dragging:hover {
    background: rgba(182, 182, 182, 0.3) !important;
    box-shadow: 0 0 0 2px rgba(122, 122, 122, 0.5) inset !important;
    transition: .5s;
    overflow: hidden;
    opacity: 0.3;
    filter: grayscale(1) brightness(0.90);
}
.drop_here {
    background-color: rgba(104, 255, 58, 0.209) !important;
    box-shadow: 0 0 0 0px rgba(73, 225, 27, 0.6) inset !important;
    transition: .5s !important;
}
.drop_none {
    background-color: rgba(225, 27, 27, 0.178) !important;
    box-shadow: 0 0 0 2px rgba(225, 27, 27, 0.423) inset !important;
    transition: .5s !important;
    cursor: not-allowed !important;
}
.dragging *, .drop_here *, .drop_none * {
    pointer-events: none !important;
}
.dragging .dg-bt {
    display: none !important;
}

input::-webkit-calendar-picker-indicator{
    display: none;
}

input[type="date"]::-webkit-input-placeholder{ 
    visibility: hidden !important;
}

.priority-highlight{
    animation: highlight 0.35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes highlight {
    0% { transform: scale(1.08); opacity: 0.9; }
    60% { transform: scale(0.98); opacity: 1; }
    100% { transform: scale(1); }
}

.resize-handle {
    position: absolute;
    left: 0;
    top: 0;
    width: 8px;
    height: 100%;
    cursor: ew-resize;
    z-index: 10;
    transition: background-color 0.1s;
}

.resize-handle:hover {
    background-color: rgba(0,0,0,0.1);
}

.resize-handle.active {
    background-color: rgba(0,0,0,0.2);
}

body.resizing {
    cursor: ew-resize !important;
    user-select: none !important;
}

.message-actions {
    width: 40px; /* reserva espaço fixo */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.message-sticker {
    width: 90px;
    height: 90px;
    border-radius: 8px;
}
.message-image {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
}

.message-image:hover {
  transform: scale(1.02);
  filter: brightness(0.95);
}

/* aparece só no hover */
.d-flex:hover .message-actions {
    opacity: 1;
}

.reply_chat {
    border-left: 4px solid #4FC3F7 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

.bottom-images {
    position: absolute;
    bottom: 100px; /* 🔥 cola na base da imagem */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between; /* um na esquerda, outro na direita */
    align-items: flex-end;
    padding: 0 20px 10px;
    pointer-events: none;
}

.img_shadow {
    -webkit-filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.4));
    filter: drop-shadow(0px 8px 12px rgba(0,0,0,0.3));
}
.img-right {
    margin-left: auto;
}