/* =========================================================================
   AUTHENTIC WHATSAPP LIVE DESK & CHAT STYLING (PERFECTED EDITION)
   ========================================================================= */

/* WhatsApp Wallpaper Background */
.direct-messages-container, 
.chat-messages-container, 
.m-chat-messages-container {
    background-color: #0b141a;
    background-image: url('../images/whatsapp-doodle-dark-theme.png');
    background-repeat: repeat;
    background-size: 380px auto;
}

[data-theme="light"] .direct-messages-container,
[data-theme="light"] .chat-messages-container,
[data-theme="light"] .m-chat-messages-container {
    background-color: #efeae2;
    background-image: url('../images/whatsapp-doodle-light-theme.png');
    background-repeat: repeat;
    background-size: 380px auto;
}

/* =========================================================================
   ADMIN DESK 2-COLUMN LAYOUT (localhost/ChatSystem/chat)
   ========================================================================= */
.chat-app-wrapper {
    display: flex;
    width: 100vw;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-primary);
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.chat-sidebar {
    width: 380px;
    min-width: 320px;
    max-width: 450px;
    height: 100%;
    background-color: #111b21;
    border-right: 1px solid #222d34;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

[data-theme="light"] .chat-sidebar {
    background-color: #ffffff;
    border-right-color: #d1d7db;
}

.chat-sidebar-header {
    height: 60px;
    background-color: #202c33;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222d34;
}

[data-theme="light"] .chat-sidebar-header {
    background-color: #f0f2f5;
    border-bottom-color: #d1d7db;
}

.chat-search-box {
    padding: 0.5rem 0.75rem;
    background-color: #111b21;
    border-bottom: 1px solid #222d34;
}

[data-theme="light"] .chat-search-box {
    background-color: #ffffff;
    border-bottom-color: #e9edef;
}

.search-input-wrapper {
    background-color: #202c33;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    gap: 0.6rem;
}

[data-theme="light"] .search-input-wrapper {
    background-color: #f0f2f5;
}

.search-input-wrapper i {
    color: #8696a0;
    font-size: 0.9rem;
}

.search-input-wrapper input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    width: 100%;
}

.customer-list {
    flex: 1;
    overflow-y: auto;
    background-color: #111b21;
}

[data-theme="light"] .customer-list {
    background-color: #ffffff;
}

.customer-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.15s;
    user-select: none;
}

[data-theme="light"] .customer-item {
    border-bottom-color: #f0f2f5;
}

.customer-item:hover {
    background-color: #202c33;
}

[data-theme="light"] .customer-item:hover {
    background-color: #f5f6f6;
}

.customer-item.active {
    background-color: #2a3942;
}

[data-theme="light"] .customer-item.active {
    background-color: #ebebeb;
}

.cust-avatar-wrapper {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.cust-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #00a884;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
}

.status-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #8696a0;
    border: 2px solid #111b21;
}

.status-dot.online {
    background-color: #00a884;
}

.cust-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.cust-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cust-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cust-time {
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-shrink: 0;
}

.cust-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.cust-last-msg {
    font-size: 0.82rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.unread-badge {
    background-color: #00a884;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
}

.cust-delete-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 3px 5px;
    border-radius: 4px;
    opacity: 0.35;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.customer-item:hover .cust-delete-btn {
    opacity: 1;
    color: #ef4444;
}

.cust-delete-btn:hover {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    transform: scale(1.18);
}

/* Main Chat Desk Pane */
.chat-main {
    flex: 1 1 0%;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #0b141a;
    position: relative;
    overflow: hidden;
}

.chat-empty-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.chat-empty-state i {
    font-size: 4rem;
    color: #00a884;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.chat-header {
    height: 60px;
    background-color: #202c33;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #222d34;
    z-index: 10;
}

[data-theme="light"] .chat-header {
    background-color: #f0f2f5;
    border-bottom-color: #d1d7db;
}

.chat-header-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chat-header-name {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-primary);
}

.chat-header-status {
    font-size: 0.78rem;
    color: #00a884;
}

.chat-header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: #aebac1;
    font-size: 1.15rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e9edef;
}

[data-theme="light"] .icon-btn {
    color: #54656f;
}

[data-theme="light"] .icon-btn:hover {
    background-color: rgba(0, 0, 0, 0.08) !important;
    color: #111b21 !important;
}

/* WhatsApp End-to-End Encryption Notice */
.chat-encryption-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #182229;
    color: #ffd279;
    font-size: 0.78rem;
    padding: 6px 14px;
    border-radius: 8px;
    margin: 0.25rem auto 0.5rem auto;
    text-align: center;
    max-width: 90%;
    width: fit-content;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.25);
    line-height: 1.4;
}

.chat-encryption-notice i {
    color: #ffd279;
    font-size: 0.8rem;
    flex-shrink: 0;
}

[data-theme="light"] .chat-encryption-notice {
    background-color: #ffeecd;
    color: #54656f;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .chat-encryption-notice i {
    color: #b58105;
}

/* WhatsApp Date Separator Badge */
.chat-date-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.15rem auto 0.75rem auto;
    text-align: center;
    width: 100%;
}

.chat-date-separator span {
    background-color: #182229;
    color: #8696a0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 8px;
    text-transform: uppercase;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.25);
}

[data-theme="light"] .chat-date-separator span {
    background-color: #ffffff;
    color: #54656f;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1);
}

/* Chat Messages Container */
.chat-messages-container {
    flex: 1 1 0%;
    min-height: 0;
    overflow-y: auto;
    padding: 1.25rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    -webkit-overflow-scrolling: touch;
    background-color: #0b141a;
    background-image: url('../images/whatsapp-doodle-dark-theme.png');
    background-repeat: repeat;
    background-size: 380px auto;
}

[data-theme="light"] .chat-messages-container {
    background-color: #efeae2;
    background-image: url('../images/whatsapp-doodle-light-theme.png');
    background-repeat: repeat;
    background-size: 380px auto;
}

/* Message Bubbles */
.direct-msg-bubble-wrap, .message-bubble-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 65%;
}

.direct-msg-bubble-wrap.incoming, .message-bubble-wrapper.incoming {
    align-self: flex-start;
    align-items: flex-start;
    margin-left: 8px;
}

.direct-msg-bubble-wrap.outgoing, .message-bubble-wrapper.outgoing {
    align-self: flex-end;
    align-items: flex-end;
    margin-right: 8px;
}

.direct-msg-bubble, .message-bubble {
    padding: 0.45rem 0.65rem;
    border-radius: 8px;
    font-size: 0.94rem;
    line-height: 1.42;
    color: #e9edef;
    position: relative;
    word-break: break-word !important;
    white-space: normal;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.2);
}

.direct-msg-text, .msg-text-content, .msg-caption, .m-msg-text, .m-msg-caption {
    word-break: break-word !important;
    white-space: pre-wrap !important;
    display: inline;
}

.msg-caption, .m-msg-caption {
    display: block;
    margin-top: 4px;
}

.direct-msg-bubble pre, .message-bubble pre, .m-msg-bubble pre {
    white-space: pre !important;
    overflow-x: auto !important;
}

[data-theme="light"] .direct-msg-bubble,
[data-theme="light"] .message-bubble,
[data-theme="light"] .m-msg-bubble {
    color: #111b21;
}

.direct-msg-bubble-wrap.incoming .direct-msg-bubble,
.message-bubble-wrapper.incoming .message-bubble {
    background-color: #202c33;
    border-top-left-radius: 0;
}

.direct-msg-bubble-wrap.incoming .direct-msg-bubble::before,
.message-bubble-wrapper.incoming .message-bubble::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #202c33;
}

[data-theme="light"] .direct-msg-bubble-wrap.incoming .direct-msg-bubble,
[data-theme="light"] .message-bubble-wrapper.incoming .message-bubble {
    background-color: #ffffff;
}

[data-theme="light"] .direct-msg-bubble-wrap.incoming .direct-msg-bubble::before,
[data-theme="light"] .message-bubble-wrapper.incoming .message-bubble::before {
    border-right-color: #ffffff;
}

.direct-msg-bubble-wrap.outgoing .direct-msg-bubble,
.message-bubble-wrapper.outgoing .message-bubble {
    background-color: #005c4b;
    border-top-right-radius: 0;
}

.direct-msg-bubble-wrap.outgoing .direct-msg-bubble::before,
.message-bubble-wrapper.outgoing .message-bubble::before {
    content: "";
    position: absolute;
    top: 0;
    right: -8px;
    width: 0;
    height: 0;
    border-top: 0 solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid #005c4b;
}

[data-theme="light"] .direct-msg-bubble-wrap.outgoing .direct-msg-bubble,
[data-theme="light"] .message-bubble-wrapper.outgoing .message-bubble {
    background-color: #d9fdd3;
}

[data-theme="light"] .direct-msg-bubble-wrap.outgoing .direct-msg-bubble::before,
[data-theme="light"] .message-bubble-wrapper.outgoing .message-bubble::before {
    border-left-color: #d9fdd3;
}

.direct-msg-bubble a,
.message-bubble a,
.chat-auto-link {
    color: #53bdeb;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
    font-weight: 500;
    transition: color 0.15s ease;
}

.direct-msg-bubble a:hover,
.message-bubble a:hover,
.chat-auto-link:hover {
    color: #79d1f7;
    text-decoration: underline;
}

[data-theme="light"] .direct-msg-bubble a,
[data-theme="light"] .message-bubble a,
[data-theme="light"] .chat-auto-link {
    color: #027eb5;
}

.direct-msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    font-size: 0.7rem;
    color: #8696a0;
    float: right;
    margin-left: 0.75rem;
    margin-top: 0.25rem;
}

/* WhatsApp Pure Media-Only Bubble */
.direct-msg-bubble.media-only-bubble, .message-bubble.media-only-bubble {
    padding: 3px !important;
    border-radius: 12px !important;
    overflow: hidden;
    position: relative;
    display: inline-block;
    max-width: 290px;
}

.msg-media-wrapper.pure-media {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 !important;
    max-width: 284px;
}

.msg-image-attachment.pure-img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    margin: 0 !important;
}

.floating-media-meta {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0, 0, 0, 0.52);
    color: #ffffff !important;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
    z-index: 5;
    pointer-events: none;
    line-height: 1.2;
}

.floating-media-meta span {
    color: #ffffff !important;
    font-size: 0.65rem;
}

.floating-media-meta i {
    color: #53bdeb !important;
    font-size: 0.68rem;
}

.msg-caption {
    padding: 4px 6px 2px 6px;
    font-size: 0.92rem;
    color: inherit;
    line-height: 1.4;
    word-break: break-word;
}

/* Emoji Reactions floating bar on hover */
.message-reaction-bar {
    position: absolute;
    top: -34px;
    background: #202c33;
    border: 1px solid #2a3942;
    border-radius: 20px;
    padding: 0.2rem 0.4rem;
    display: none;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 50;
    animation: popIn 0.15s ease-out forwards;
}

@keyframes popIn {
    0% { transform: scale(0.7); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.direct-msg-bubble-wrap:hover .message-reaction-bar,
.message-bubble-wrapper:hover .message-reaction-bar {
    display: flex;
}

.reaction-emoji-btn {
    background: transparent;
    border: none;
    font-size: 1.15rem;
    cursor: pointer;
    transition: transform 0.15s;
    padding: 0.1rem;
    border-radius: 50%;
}

.reaction-emoji-btn:hover {
    transform: scale(1.35);
}

.message-reaction-badge {
    position: absolute;
    bottom: -10px;
    right: 12px;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 12px;
    padding: 0.1rem 0.35rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Quick Action Tags Pill Bar */
.quick-tags-bar, .direct-tags-bar {
    padding: 0.5rem 1.25rem;
    background-color: transparent;
    border-top: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-tags-bar::-webkit-scrollbar,
.direct-tags-bar::-webkit-scrollbar {
    display: none;
}

[data-theme="light"] .quick-tags-bar,
[data-theme="light"] .direct-tags-bar {
    background-color: transparent;
    border-top: none;
}

.quick-tag-chip, .direct-tag-chip {
    background-color: #202c33;
    border: 1px solid #2a3942;
    color: #e9edef;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.15s;
    user-select: none;
}

[data-theme="light"] .quick-tag-chip,
[data-theme="light"] .direct-tag-chip {
    background-color: #ffffff;
    border-color: #d1d7db;
    color: #111b21;
}

.quick-tag-chip:hover, .direct-tag-chip:hover {
    background-color: #2a3942;
    border-color: #00a884;
}

.direct-tag-chip.featured-tag {
    background: linear-gradient(135deg, #00a884 0%, #008069 100%);
    color: #ffffff;
    border: none;
}

.quick-tag-chip.tag-used-today, .direct-tag-chip.tag-used-today {
    opacity: 0.65;
    border-style: dashed !important;
}

.quick-tag-chip.tag-used-today::after, .direct-tag-chip.tag-used-today::after {
    content: "✓";
    font-size: 0.72rem;
    color: #00a884;
    margin-left: 4px;
    font-weight: 700;
}

/* Chat Input Bar */
.chat-input-bar, .direct-input-bar {
    min-height: 62px;
    background-color: #202c33;
    padding: 0.5rem 1rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    border-top: 1px solid #222d34;
    flex-shrink: 0;
    z-index: 20;
}

[data-theme="light"] .chat-input-bar,
[data-theme="light"] .direct-input-bar {
    background-color: #f0f2f5;
    border-top-color: #d1d7db;
}

.chat-input-field {
    flex: 1;
    background-color: #2a3942;
    border: none;
    outline: none;
    border-radius: 8px;
    color: #e9edef;
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
    font-family: inherit;
    resize: none;
    max-height: 120px;
    overflow-y: auto;
    line-height: 1.4;
    box-sizing: border-box;
}

[data-theme="light"] .chat-input-field {
    background-color: #ffffff;
    color: #111b21;
}

.send-msg-btn, .mic-send-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #00a884;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.15s, background-color 0.15s;
}

.send-msg-btn:hover, .mic-send-circle-btn:hover {
    background-color: #06cf9c;
    transform: scale(1.06);
}

/* =========================================================================
   POPUPS: EMOJI PICKER, ATTACHMENT MENU, VOICE RECORDING
   ========================================================================= */

/* Emoji Picker Container */
.emoji-picker-container {
    position: absolute;
    bottom: 70px;
    left: 15px;
    width: 320px;
    height: 290px;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

[data-theme="light"] .emoji-picker-container {
    background-color: #ffffff;
    border-color: #d1d7db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.emoji-picker-container.show {
    display: flex !important;
}

.emoji-tabs {
    display: flex;
    align-items: center;
    background-color: #111b21;
    border-bottom: 1px solid #2a3942;
    padding: 0.25rem;
}

[data-theme="light"] .emoji-tabs {
    background-color: #f0f2f5;
    border-bottom-color: #e9edef;
}

.emoji-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    padding: 0.4rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}

.emoji-tab-btn.active {
    background-color: #202c33;
}

[data-theme="light"] .emoji-tab-btn.active {
    background-color: #ffffff;
}

.emoji-grid {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.35rem;
}

.emoji-item {
    background: transparent;
    border: none;
    font-size: 1.35rem;
    cursor: pointer;
    border-radius: 6px;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, background 0.1s;
}

.emoji-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.2);
}

/* Attachment Menu Popup */
.attachment-menu-popup {
    position: absolute;
    bottom: 70px;
    left: 55px;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 12px;
    padding: 0.5rem;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    min-width: 190px;
}

[data-theme="light"] .attachment-menu-popup {
    background-color: #ffffff;
    border-color: #d1d7db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.attachment-menu-popup.show {
    display: flex !important;
}

.attach-option-btn {
    background: transparent;
    border: none;
    color: #e9edef;
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s;
}

[data-theme="light"] .attach-option-btn {
    color: #111b21;
}

.attach-option-btn:hover {
    background-color: #2a3942;
}

[data-theme="light"] .attach-option-btn:hover {
    background-color: #f5f6f6;
}

.attach-option-btn i {
    width: 20px;
    font-size: 1.1rem;
    text-align: center;
}

/* Voice Recording Overlay */
.voice-recording-overlay {
    position: absolute;
    left: 8px;
    right: 8px;
    height: 48px;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 28px;
    padding: 0 6px 0 12px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

[data-theme="light"] .voice-recording-overlay {
    background-color: #ffffff;
    border-color: #d1d7db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.voice-recording-overlay.active {
    display: flex !important;
}

.record-trash-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    color: #ef4444 !important;
    font-size: 1.15rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: background-color 0.15s, transform 0.15s;
}

.record-trash-btn:hover {
    background-color: rgba(239, 68, 68, 0.12) !important;
}

.record-trash-btn:active {
    transform: scale(0.92);
    background-color: rgba(239, 68, 68, 0.2) !important;
}

.record-info-wrap {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex: 1;
    min-width: 0;
    padding: 0 0.35rem;
}

.record-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.8);
    animation: pulseRecord 1s infinite alternate;
    flex-shrink: 0;
}

.record-timer {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
    font-family: 'SF Mono', Monaco, Consolas, monospace;
    flex-shrink: 0;
}

.record-hint-text {
    font-size: 0.85rem;
    color: #8696a0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.record-send-inline-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: #00a884;
    color: #ffffff;
    border: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 168, 132, 0.4);
    margin: 0;
    margin-left: auto;
    flex-shrink: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: transform 0.15s, background-color 0.15s;
}

.record-send-inline-btn i {
    margin-left: 2px;
}

.record-send-inline-btn:hover {
    background-color: #06cf9c;
}

.record-send-inline-btn:active {
    transform: scale(0.92);
    background-color: #06cf9c;
}

/* =========================================================================
   AUTHENTIC WHATSAPP VOICE MESSAGE PLAYER
   ========================================================================= */
.wa-voice-player {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 220px;
    max-width: 290px;
    padding: 2px 4px 2px 0;
}

.wa-voice-play-btn {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: transparent;
    color: #8696a0;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    box-shadow: none;
    flex-shrink: 0;
    padding: 0;
    outline: none;
}

.wa-voice-play-btn:hover {
    color: #aebac1;
    transform: scale(1.08);
}

.wa-voice-play-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Light Theme Play Button */
[data-theme="light"] .wa-voice-play-btn {
    color: #54656f;
}

[data-theme="light"] .wa-voice-play-btn:hover {
    color: #111b21;
}

/* Bubble specific overrides */
.direct-msg-bubble-wrap.outgoing .wa-voice-play-btn,
.message-bubble-wrapper.outgoing .wa-voice-play-btn {
    color: #8696a0;
}

[data-theme="light"] .direct-msg-bubble-wrap.outgoing .wa-voice-play-btn,
[data-theme="light"] .message-bubble-wrapper.outgoing .wa-voice-play-btn {
    color: #54656f;
}

.wa-waveform-container {
    flex: 1;
    height: 28px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding: 2px 0;
    user-select: none;
    min-width: 120px;
}

.wa-waveform-bars {
    display: flex;
    align-items: center;
    gap: 2px;
    height: 100%;
    width: 100%;
}

.wa-wave-bar {
    flex: 1;
    width: 2.5px;
    min-width: 2px;
    background-color: rgba(134, 150, 160, 0.45);
    border-radius: 2px;
    min-height: 4px;
    transition: background-color 0.1s ease;
}

[data-theme="light"] .wa-wave-bar {
    background-color: rgba(84, 101, 111, 0.35);
}

.wa-wave-bar.active {
    background-color: #aebac1;
}

.direct-msg-bubble-wrap.outgoing .wa-wave-bar.active,
.message-bubble-wrapper.outgoing .wa-wave-bar.active {
    background-color: #53bdeb;
}

[data-theme="light"] .direct-msg-bubble-wrap.outgoing .wa-wave-bar.active,
[data-theme="light"] .message-bubble-wrapper.outgoing .wa-wave-bar.active {
    background-color: #00a884;
}

[data-theme="light"] .direct-msg-bubble-wrap.incoming .wa-wave-bar.active,
[data-theme="light"] .message-bubble-wrapper.incoming .wa-wave-bar.active {
    background-color: #54656f;
}

.wa-voice-duration {
    font-size: 0.72rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #8696a0;
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
    text-align: right;
    user-select: none;
}

[data-theme="light"] .wa-voice-duration {
    color: #54656f;
}

/* Location Card */
.location-preview-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    background: #182229;
    max-width: 260px;
    text-decoration: none;
    color: inherit;
}

.location-map-placeholder {
    height: 110px;
    background: linear-gradient(135deg, #1e3a8a 0%, #065f46 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 2rem;
}

.location-details {
    padding: 0.5rem 0.75rem;
}

.location-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e9edef;
}

.location-sub {
    font-size: 0.75rem;
    color: #00a884;
}

/* Canned Responses Autocomplete Popup */
.canned-suggest-popup {
    position: absolute;
    bottom: 70px;
    left: 15px;
    right: 70px;
    max-height: 240px;
    overflow-y: auto;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 1000;
}

[data-theme="light"] .canned-suggest-popup {
    background-color: #ffffff;
    border-color: #d1d7db;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.canned-header {
    font-size: 0.78rem;
    font-weight: 700;
    color: #00a884;
    padding: 0.35rem 0.6rem;
    border-bottom: 1px solid #2a3942;
    margin-bottom: 0.35rem;
}

[data-theme="light"] .canned-header {
    border-bottom-color: #e9edef;
}

.canned-item {
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
    margin-bottom: 0.2rem;
}

.canned-item:hover {
    background-color: #2a3942;
}

[data-theme="light"] .canned-item:hover {
    background-color: #f5f6f6;
}

.canned-shortcut {
    font-size: 0.85rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.15);
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-right: 0.5rem;
}

.canned-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e9edef;
}

[data-theme="light"] .canned-title {
    color: #111b21;
}

.canned-preview {
    font-size: 0.75rem;
    color: #8696a0;
    margin-top: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Private Internal Notes Mode */
.chat-input-bar.private-note-mode {
    background-color: #422006 !important;
    border-top-color: #854d0e !important;
}

.chat-input-bar.private-note-mode .chat-input-field {
    background-color: #713f12 !important;
    color: #fef08a !important;
}

.chat-input-bar.private-note-mode .chat-input-field::placeholder {
    color: #ca8a04 !important;
}

.direct-msg-bubble-wrap.private-note {
    align-self: center !important;
    align-items: center !important;
    max-width: 85% !important;
}

.direct-msg-bubble.sticky-private-bubble {
    background-color: #fef9c3 !important;
    border: 1px dashed #ca8a04 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

/* In-Chat Search Panel (Right Off-Canvas Slide Drawer) */
.chat-search-panel {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 340px;
    height: 100%;
    background-color: #111b21;
    border-left: 1px solid #222d34;
    z-index: 100;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
}

.chat-search-panel.show {
    display: flex !important;
}

[data-theme="light"] .chat-search-panel {
    background-color: #ffffff;
    border-left-color: #e9edef;
}

.search-panel-header {
    height: 60px;
    padding: 0 1.25rem;
    background-color: #202c33;
    border-bottom: 1px solid #222d34;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e9edef;
    flex-shrink: 0;
}

[data-theme="light"] .search-panel-header {
    background-color: #f0f2f5;
    border-bottom-color: #e9edef;
    color: #111b21;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    position: absolute;
    left: 12px;
    color: #8696a0;
    font-size: 0.9rem;
}

.search-input-wrapper input {
    width: 100%;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 8px;
    padding: 0.6rem 0.85rem 0.6rem 2.25rem;
    color: #e9edef;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.search-input-wrapper input:focus {
    border-color: #00a884;
}

[data-theme="light"] .search-input-wrapper input {
    background-color: #f0f2f5;
    border-color: #d1d7db;
    color: #111b21;
}

.search-results-list {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-result-item {
    background-color: #182229;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #222d34;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.88rem;
    color: #e9edef;
}

.search-result-item:hover {
    border-color: #00a884;
    background-color: #202c33;
}

[data-theme="light"] .search-result-item {
    background-color: #f5f6f6;
    border-color: #e9edef;
    color: #111b21;
}

[data-theme="light"] .search-result-item:hover {
    background-color: #ffffff;
}

/* Horizontal In-Chat Top Search Bar */
.chat-search-top-bar {
    width: 100%;
    background-color: #111b21;
    border-bottom: 1px solid #222d34;
    padding: 0.5rem 1rem;
    box-sizing: border-box;
    display: none;
    z-index: 60;
    flex-shrink: 0;
    animation: searchSlideDown 0.18s ease-out;
}

@keyframes searchSlideDown {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-theme="light"] .chat-search-top-bar {
    background-color: #f0f2f5;
    border-bottom-color: #d1d7db;
}

.search-top-bar-inner {
    width: 100%;
    background-color: #202c33;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-sizing: border-box;
    border: 1px solid #2a3942;
    transition: border-color 0.2s ease;
}

.search-top-bar-inner:focus-within {
    border-color: #00a884;
}

[data-theme="light"] .search-top-bar-inner {
    background-color: #ffffff;
    border-color: #d1d7db;
}

[data-theme="light"] .search-top-bar-inner:focus-within {
    border-color: #00a884;
}

.search-top-bar-inner .search-icon {
    color: #8696a0;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.search-top-bar-inner input {
    background: transparent;
    border: none;
    outline: none;
    color: #e9edef;
    font-size: 0.9rem;
    width: 100%;
    flex: 1;
    font-family: inherit;
}

[data-theme="light"] .search-top-bar-inner input {
    color: #111b21;
}

.search-top-bar-inner input::placeholder {
    color: #8696a0;
}

.search-match-count {
    color: #8696a0;
    font-size: 0.8rem;
    white-space: nowrap;
    user-select: none;
    padding: 0 4px;
}

.search-nav-btns {
    display: flex;
    align-items: center;
    gap: 2px;
}

.search-nav-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background-color 0.15s, color 0.15s;
}

.search-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #e9edef;
}

[data-theme="light"] .search-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: #111b21;
}

.search-close-btn {
    background: transparent;
    border: none;
    color: #8696a0;
    cursor: pointer;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: background-color 0.15s, color 0.15s;
    flex-shrink: 0;
}

.search-close-btn:hover {
    background-color: rgba(255, 255, 255, 0.12);
    color: #e9edef;
}

[data-theme="light"] .search-close-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
    color: #111b21;
}

/* Message search highlighting */
mark.chat-search-highlight {
    background-color: #f59e0b !important;
    color: #000000 !important;
    font-weight: 600;
    border-radius: 3px;
    padding: 1px 3px;
}

mark.chat-search-highlight.active-match {
    background-color: #00a884 !important;
    color: #ffffff !important;
    box-shadow: 0 0 6px rgba(0, 168, 132, 0.9);
}

.msg-wrapper.search-dimmed {
    opacity: 0.3 !important;
    filter: grayscale(0.5);
    transition: opacity 0.2s ease;
}

.msg-wrapper.search-matched {
    opacity: 1 !important;
    filter: none;
}

/* Responsive Rules */
@media (max-width: 768px) {
    .chat-app-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        overflow: hidden !important;
    }
    .chat-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        flex: 1 1 0% !important;
        display: flex !important;
    }
    .chat-main {
        display: none !important;
        width: 100% !important;
        height: 100% !important;
        flex: 1 1 0% !important;
        overflow: hidden !important;
    }
    .chat-app-wrapper.mobile-chat-open .chat-sidebar,
    .chat-app-wrapper.mobile-active-chat .chat-sidebar {
        display: none !important;
    }
    .chat-app-wrapper.mobile-chat-open .chat-main,
    .chat-app-wrapper.mobile-active-chat .chat-main {
        display: flex !important;
        width: 100% !important;
        height: 100% !important;
        flex: 1 1 0% !important;
        overflow: hidden !important;
    }
    #activeChatWindow {
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
        flex: 1 1 0% !important;
        min-height: 0 !important;
    }
    .chat-header {
        height: 56px !important;
        min-height: 56px !important;
        padding: 0 0.65rem !important;
        flex-shrink: 0 !important;
    }
    .chat-header-actions {
        gap: 0.15rem !important;
    }
    .chat-header-actions .icon-btn {
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
    }
    .chat-app-wrapper.mobile-chat-open #mobileBackBtn,
    .chat-app-wrapper.mobile-active-chat #mobileBackBtn {
        display: inline-flex !important;
        width: 34px !important;
        height: 34px !important;
        font-size: 1rem !important;
    }
    .chat-messages-container {
        flex: 1 1 0% !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        padding: 0.75rem !important;
    }
    .direct-msg-bubble-wrap, .message-bubble-wrapper {
        max-width: 86% !important;
    }
    .quick-tags-bar {
        padding: 0.4rem 0.65rem !important;
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
    }
    .quick-tag-chip {
        padding: 0.35rem 0.75rem !important;
        font-size: 0.78rem !important;
    }
    .chat-input-bar {
        min-height: 56px !important;
        padding: 0.4rem 0.65rem !important;
        padding-bottom: max(0.4rem, env(safe-area-inset-bottom)) !important;
        gap: 0.4rem !important;
        flex-shrink: 0 !important;
        background-color: #202c33 !important;
        z-index: 20 !important;
    }
    .chat-input-field {
        padding: 0.45rem 0.75rem !important;
        font-size: 0.92rem !important;
    }
    .chat-input-bar .icon-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 1.05rem !important;
    }
    .send-msg-btn, .mic-send-circle-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.05rem !important;
    }
    .voice-recording-overlay {
        left: 8px !important;
        right: 8px !important;
        height: 44px !important;
    }
}/* Real-Time WhatsApp-Style Animated Typing Indicator Bubble */
.typing-indicator-bubble {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    padding: 9px 14px;
    background-color: #202c33;
    border-radius: 12px;
    border-top-left-radius: 3px;
    margin: 4px 0 8px 0;
    align-self: flex-start;
    width: fit-content;
    box-shadow: 0 1px 2px rgba(11, 20, 26, 0.25);
    animation: typingBubbleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    position: relative;
}

[data-theme="light"] .typing-indicator-bubble,
body.theme-light .typing-indicator-bubble {
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.typing-indicator-bubble .typing-dot {
    width: 6.5px;
    height: 6.5px;
    background-color: #8696a0;
    border-radius: 50%;
    display: inline-block;
    animation: typingBounceWave 1.3s infinite ease-in-out both;
}

[data-theme="light"] .typing-indicator-bubble .typing-dot,
body.theme-light .typing-indicator-bubble .typing-dot {
    background-color: #667781;
}

.typing-indicator-bubble .typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator-bubble .typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.typing-indicator-bubble .typing-dot:nth-child(3) {
    animation-delay: 0s;
}

@keyframes typingBounceWave {
    0%, 80%, 100% {
        transform: translateY(0) scale(0.85);
        opacity: 0.4;
    }
    40% {
        transform: translateY(-5px) scale(1.15);
        opacity: 1;
    }
}

@keyframes typingBubbleIn {
    from {
        opacity: 0;
        transform: translateY(5px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Push Notification Permission & PWA Install Card Popup (Centered Modal) */
.push-permission-card, .pwa-install-card {
    position: fixed;
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 440px;
    background-color: #202c33;
    border: 1px solid #2a3942;
    border-radius: 18px;
    padding: 1.35rem 1.25rem 1.15rem 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75), 0 0 0 100vmax rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: none;
    flex-direction: column;
    gap: 0.95rem;
    animation: pushCardPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

@keyframes pushCardPopIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

[data-theme="light"] .push-permission-card,
[data-theme="light"] .pwa-install-card,
body.theme-light .push-permission-card,
body.theme-light .pwa-install-card {
    background-color: #ffffff;
    border-color: #e9edef;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25), 0 0 0 100vmax rgba(0, 0, 0, 0.4);
}

.push-card-close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    color: #8696a0;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.15s;
}

.push-card-close-btn:hover {
    color: #e9edef;
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .push-card-close-btn {
    color: #54656f;
}

[data-theme="light"] .push-card-close-btn:hover {
    color: #111b21;
    background-color: rgba(0, 0, 0, 0.08);
}

.push-card-body {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding-right: 1.5rem;
}

.push-card-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #00a884;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 168, 132, 0.35);
}

.push-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.push-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #e9edef;
    margin: 0;
    letter-spacing: 0.1px;
}

[data-theme="light"] .push-card-title,
body.theme-light .push-card-title {
    color: #111b21;
}

.push-card-desc {
    font-size: 0.85rem;
    color: #8696a0;
    line-height: 1.45;
    margin: 0;
}

[data-theme="light"] .push-card-desc,
body.theme-light .push-card-desc {
    color: #54656f;
}

.push-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 0.2rem;
}

.push-card-btn-text {
    background: transparent;
    border: none;
    color: #8696a0;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0.9rem;
    border-radius: 20px;
    transition: all 0.15s;
}

.push-card-btn-text:hover {
    color: #e9edef;
    background-color: rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .push-card-btn-text,
body.theme-light .push-card-btn-text {
    color: #54656f;
}

[data-theme="light"] .push-card-btn-text:hover,
body.theme-light .push-card-btn-text:hover {
    color: #111b21;
    background-color: rgba(0, 0, 0, 0.05);
}

.push-card-btn-allow {
    background-color: #00a884;
    color: #ffffff;
    border: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.6rem 1.35rem;
    border-radius: 24px;
    cursor: pointer;
    transition: all 0.15s;
    box-shadow: 0 3px 10px rgba(0, 168, 132, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.push-card-btn-allow:hover {
    background-color: #06cf9c;
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0, 168, 132, 0.5);
}

.push-card-btn-allow:active {
    transform: scale(0.97);
}
