﻿/* ── Reset y variables ──────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #075E54;
    --secondary: #128C7E;
    --accent: #25D366;
    --bg: #f0f2f5;
    --white: #ffffff;
    --bubble-out: #DCF8C6;
    --bubble-in: #ffffff;
    --text: #111b21;
    --text-light: #667781;
    --border: #e9edef;
    --sidebar-w: 360px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

/* ── Auth ───────────────────────────────────────── */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1rem;
}

.auth-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.auth-logo {
    text-align: center;
    margin-bottom: 2rem;
}

    .auth-logo span {
        font-size: 3rem;
    }

    .auth-logo h1 {
        font-size: 1.8rem;
        color: var(--primary);
        margin-top: 0.5rem;
    }

    .auth-logo p {
        color: var(--text-light);
        margin-top: 0.25rem;
    }

.form-group {
    margin-bottom: 1.2rem;
}

    .form-group label {
        display: block;
        font-size: 0.85rem;
        font-weight: 600;
        color: var(--text-light);
        margin-bottom: 0.4rem;
    }

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.2s;
    outline: none;
}

    .form-input:focus {
        border-color: var(--accent);
    }

.btn-primary {
    width: 100%;
    padding: 0.85rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}

    .btn-primary:hover:not(:disabled) {
        background: var(--secondary);
    }

    .btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

    .auth-link a {
        color: var(--accent);
        text-decoration: none;
        font-weight: 600;
    }

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* ── Layout del chat ────────────────────────────── */
.chat-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── Sidebar ────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem;
    background: #f0f2f5;
    border-bottom: 1px solid var(--border);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.username {
    font-weight: 600;
    font-size: 1rem;
}

.header-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background 0.2s;
}

    .icon-btn:hover {
        background: var(--border);
    }

/* ── Buscador ───────────────────────────────────── */
.search-box {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: var(--bg);
    border: none;
    border-radius: 20px;
    font-size: 0.95rem;
    outline: none;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 250px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

    .search-result-item:hover {
        background: var(--bg);
    }

.result-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.result-email {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ── Conversaciones ─────────────────────────────── */
.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.2rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

    .conversation-item:hover {
        background: #f5f6f6;
    }

    .conversation-item.active {
        background: #f0f2f5;
    }

.conv-info {
    flex: 1;
    min-width: 0;
}

.conv-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.2rem;
}

.conv-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.conv-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.conv-last-msg-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.conv-last-msg {
    flex: 1;
    font-size: 0.82rem;
    color: var(--text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #25d366;
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
}

/* ── Avatar ─────────────────────────────────────── */
.avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--secondary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.avatar-sm {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
}

/* ── Ventana de chat ─────────────────────────────── */
.chat-window {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #efeae2;
    min-width: 0;
}

.no-chat-selected {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background: var(--white);
}

.no-chat-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.no-chat-selected h2 {
    color: var(--text);
    margin-bottom: 0.5rem;
}

/* ── Header del chat ────────────────────────────── */
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1.2rem;
    background: #f0f2f5;
    border-bottom: 1px solid var(--border);
}

.chat-header-info {
    flex: 1;
}

.chat-name {
    font-weight: 600;
}

.chat-status {
    font-size: 0.8rem;
    color: var(--text-light);
}

.typing-indicator {
    font-size: 0.8rem;
    color: var(--accent);
    font-style: italic;
}

.mobile-back {
    display: none;
}

/* ── Mensajes ───────────────────────────────────── */
.messages-container {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* ── Wrapper del mensaje — flex para burbuja + botón ⋮ ── */
.message-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 2px;
}

    .message-wrapper.mine {
        justify-content: flex-end;
    }

    .message-wrapper.theirs {
        justify-content: flex-start;
    }

/* ── Burbuja ─────────────────────────────────────── */
.message-bubble {
    max-width: min(65%, 460px);
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    position: relative;
    word-break: break-word;
    overflow-wrap: anywhere;
    overflow: hidden;
}

.bubble-mine {
    background: var(--bubble-out);
    border-radius: 8px 0 8px 8px;
}

.bubble-theirs {
    background: var(--bubble-in);
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.msg-sender {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.2rem;
}

.msg-content {
    font-size: 0.95rem;
    line-height: 1.4;
}

.msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
    margin-top: 0.25rem;
}

.message-time {
    font-size: 0.7rem;
    color: var(--text-light);
}

.msg-status {
    font-size: 0.75rem;
}

/* ── Botón ⋮ (menú contextual del mensaje) ─────── */
.msg-menu-btn {
    background: rgba(255, 255, 255, 0.07);
    border: none;
    color: #aaa;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    order: 2; /* a la DERECHA de la burbuja (mensajes ajenos) */
    transition: background 0.15s, color 0.15s;
}

    /* En mensajes propios el botón va a la IZQUIERDA */
    .msg-menu-btn.msg-menu-mine {
        order: -1;
    }

    .msg-menu-btn:hover {
        background: rgba(255, 255, 255, 0.22);
        color: #fff;
    }

/* ── Imagen en burbuja ──────────────────────────── */
.msg-image-wrapper {
    display: block;
    max-width: min(260px, 60vw);
    overflow: hidden;
    border-radius: 10px;
    line-height: 0;
    cursor: zoom-in;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .msg-image-wrapper:hover {
        transform: scale(1.04);
        box-shadow: 0 6px 24px rgba(0,0,0,0.25);
        z-index: 10;
        position: relative;
    }

.msg-image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity .15s;
    cursor: zoom-in;
}

    .msg-image:hover {
        opacity: 1;
    }
/* ── Vídeo adjunto ─────────────────────────────── */
.msg-video-wrapper {
    max-width: 320px;
    border-radius: 10px;
    overflow: hidden;
}

.msg-video {
    width: 100%;
    max-height: 280px;
    border-radius: 10px;
    display: block;
    background: #000;
}
/* ── Markdown en mensajes ───────────────────────── */
.msg-text p {
    margin: 0;
}

    .msg-text p + p {
        margin-top: 4px;
    }

.msg-text strong {
    font-weight: 700;
}

.msg-text em {
    font-style: italic;
}

.msg-text del {
    text-decoration: line-through;
    opacity: 0.7;
}

.msg-text a {
    color: #25D366;
    text-decoration: underline;
    word-break: break-all;
}

    .msg-text a:hover {
        opacity: 0.85;
    }

.msg-text ul, .msg-text ol {
    padding-left: 18px;
    margin: 4px 0;
}

.msg-text code {
    background: rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 0.85em;
    font-family: monospace;
}
.msg-caption {
    font-size: 0.9rem;
    margin-top: 4px;
    color: var(--text);
}

/* ── Fichero adjunto ────────────────────────────── */
.msg-file-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
}

.file-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ── Visor fullscreen ───────────────────────────── */
.image-viewer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.image-viewer-img {
    max-width: 92vw;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.image-viewer-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

    .image-viewer-close:hover {
        background: rgba(255,255,255,.3);
    }

/* ── Reply quote dentro de burbuja ──────────────── */
.reply-quote {
    background: rgba(0, 0, 0, 0.15);
    border-left: 3px solid #53bdeb;
    border-radius: 4px;
    padding: 4px 8px;
    margin-bottom: 6px;
    cursor: pointer;
    max-width: 100%;
}

    .reply-quote:hover {
        background: rgba(0,0,0,0.25);
    }

.reply-quote-sender {
    font-size: 0.72rem;
    font-weight: 600;
    color: #53bdeb;
    margin-bottom: 2px;
}

.reply-quote-content {
    font-size: 0.80rem;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Área de input ───────────────────────────────── */
.message-input-area {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
    background: #1f2c34;
    border-top: 1px solid #2a3942;
    gap: 0;
}

/* Fila inferior: botones + textarea + enviar */
.input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
}

/* ── Reply bar (fila superior) ───────────────────── */
.reply-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.06);
    border-left: 3px solid #53bdeb;
    border-radius: 6px 6px 0 0;
    padding: 6px 12px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 4px;
}

.reply-bar-content {
    flex: 1;
    overflow: hidden;
}

.reply-bar-sender {
    font-size: 0.78rem;
    font-weight: 600;
    color: #53bdeb;
    margin-bottom: 2px;
}

.reply-bar-text {
    font-size: 0.85rem;
    color: #e9edef;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.reply-bar-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.6;
    padding: 0 4px;
    margin-left: 8px;
    color: #e9edef;
}

    .reply-bar-close:hover {
        opacity: 1;
    }

/* ── Textarea auto-resize ───────────────────────── */
.message-input {
    flex: 1;
    min-height: 44px;
    max-height: 160px;
    padding: 10px 14px;
    background: var(--white);
    border: 1.5px solid #e0e0e0;
    border-radius: 22px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: none;
    overflow-y: hidden;
    line-height: 1.45;
    outline: none;
    transition: border-color .2s, height .1s ease;
    box-sizing: border-box;
    vertical-align: bottom;
}

    .message-input:focus {
        border-color: var(--secondary);
    }

/* ── Botones adjuntar ───────────────────────────── */
.attach-btn {
    pointer-events: auto;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* ── Preview archivo pendiente ──────────────────── */
.file-preview {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
    font-size: 0.82rem;
    flex-wrap: nowrap;
    max-width: 100%;
    overflow: hidden;
}

.img-preview {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* ── Barra de progreso ──────────────────────────── */
.upload-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.progress-bar {
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    transition: width .3s;
}

/* ── Botón enviar ───────────────────────────────── */
.btn-send {
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}

    .btn-send:hover:not(:disabled) {
        background: var(--secondary);
    }

    .btn-send:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

/* ── Solo lectura ───────────────────────────────── */
.read-only-notice {
    flex: 1;
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    padding: 12px;
}

/* ── Menú contextual ─────────────────────────────── */
.context-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: transparent;
}

.context-menu {
    position: fixed;
    z-index: 1001;
    background: #1f2c34;
    border-radius: 10px;
    padding: 6px 0;
    min-width: 170px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    animation: ctxFadeIn 0.12s ease;
}

.context-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    color: #e9edef;
    font-size: 0.9rem;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}

    .context-item:hover {
        background: rgba(255,255,255,0.08);
    }

.context-item-danger {
    color: #ff6b6b;
}

.context-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

@keyframes ctxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ── Loading ────────────────────────────────────── */
.loading-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-light);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Banner PWA ─────────────────────────────────── */
.install-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2c34;
    color: #e9edef;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    z-index: 9999;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-install {
    background: #00a884;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-install:hover {
        background: #017561;
    }

.btn-dismiss {
    background: transparent;
    color: #8696a0;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    padding: 0 4px;
}

/* ── Miscelánea ─────────────────────────────────── */
.label-optional {
    font-size: 0.75rem;
    color: #888;
    margin-left: 4px;
    font-weight: normal;
}

/* ── Responsive móvil ───────────────────────────── */
@media (max-width: 768px) {

    .chat-layout {
        height: 100dvh;
        overflow: hidden;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100dvh;
        width: 100%;
        z-index: 200;
        transition: left 0.25s ease;
    }

        .sidebar.sidebar-open {
            left: 0;
        }

    .mobile-back {
        display: flex !important;
        font-size: 1.3rem;
        padding: 0.5rem 0.6rem;
        min-width: 40px;
        min-height: 40px;
    }

    .chat-window {
        width: 100%;
        height: 100dvh;
        position: relative;
    }

    .messages-container {
        padding: 0.75rem;
    }

    .message-bubble {
        max-width: 82%;
    }

    .message-input-area {
        padding: 6px 8px;
        position: sticky;
        bottom: 0;
    }

    .message-input {
        font-size: 1rem;
        padding: 0.65rem 1rem;
        min-height: 44px;
    }

    .btn-send {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .icon-btn {
        min-width: 40px;
        min-height: 40px;
        font-size: 1.2rem;
    }

    .msg-image-wrapper {
        max-width: 52vw;
    }

    .msg-image {
        height: 150px;
    }

    .install-banner {
        bottom: 80px;
        left: 1rem;
        right: 1rem;
        transform: none;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    /* En móvil el botón ⋮ es un poco más grande para facilitar el tap */
    .msg-menu-btn {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
    }
}

.md-link {
    color: #25D366;
    text-decoration: underline;
    cursor: pointer;
    word-break: break-all;
}

.md-link:hover {
    opacity: 0.8;
}
/* ── Pantallas muy pequeñas (iPhone SE) ─────────── */
@media (max-width: 375px) {

    .message-bubble {
        max-width: 90%;
    }

    .avatar {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .conv-name {
        font-size: 0.88rem;
    }

    .msg-image-wrapper {
        max-width: 60vw;
    }

    .msg-image {
        height: 130px;
    }

    /* ── Highlight mensaje ──────────────────────────── */
    .message-bubble.highlighted {
        animation: highlightPulse 2.5s ease-out forwards;
    }

    @keyframes highlightPulse {
        0% {
            background-color: rgba(255, 214, 0, 0.55);
        }

        100% {
            background-color: transparent;
        }
    }
}



.bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.bulk-btn {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    background: #233138;
    color: #e9edef;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
}

    .bulk-btn:hover {
        background: #2f3f48;
    }

    .bulk-btn:disabled {
        opacity: .55;
        cursor: not-allowed;
    }

.bulk-btn-danger {
    background: #5a1f1f;
    color: #ffdede;
}

    .bulk-btn-danger:hover {
        background: #703030;
    }

.message-wrapper {
    position: relative;
}





.msg-bulk-selector-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding-left: 6px;
}

    .msg-bulk-selector-inline input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        accent-color: #00a884;
    }

.msg-bulk-selector-label {
    font-size: 0.85rem;
    color: #8696a0;
}

.link-button {
    background: none;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 0;
    font: inherit;
    text-decoration: underline;
}

    .link-button:hover {
        color: #1d4ed8;
    }