/**
 * Timika Walkie-Talkie System - Modern Professional Design
 * @package Timika
 * @version 2.0.0
 * @description بازطراحی کامل با UI/UX مدرن و حرفه‌ای
 */

/* ========== Header Trigger Icon ========== */
.walkie-talkie-trigger {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 12px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 111, 0.1) 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border: 2px solid rgba(255, 107, 107, 0.2);
    backdrop-filter: blur(15px);
    min-width: 90px;
    position: relative;
    overflow: hidden;
}

.walkie-talkie-trigger::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.walkie-talkie-trigger:hover::before {
    opacity: 1;
    animation: ripple-effect 1.5s ease-out infinite;
}

@keyframes ripple-effect {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.walkie-talkie-trigger:hover {
    transform: translateY(-5px) scale(1.08);
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(238, 90, 111, 0.2) 100%);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.3), 0 0 0 8px rgba(255, 107, 107, 0.05);
    border-color: rgba(255, 107, 107, 0.4);
}

.walkie-talkie-icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5), inset 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.walkie-talkie-trigger:hover .walkie-talkie-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6), 0 0 0 4px rgba(255, 107, 107, 0.2);
}

.walkie-talkie-icon i {
    color: white;
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.walkie-talkie-label {
    font-size: 13px;
    color: #FF6B6B;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.walkie-talkie-trigger.active {
    animation: active-glow 1.5s ease-in-out infinite;
}

.walkie-talkie-trigger.active .walkie-talkie-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: pulse-icon 1.2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5); }
    50% { transform: scale(1.12); box-shadow: 0 8px 30px rgba(76, 175, 80, 0.8); }
}

@keyframes active-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
}

/* ========== Modal Overlay & Container ========== */
.walkie-talkie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(255, 107, 107, 0.15) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modal-fade-in 0.3s ease;
}

@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.walkie-talkie-modal.show {
    display: flex;
}

.walkie-talkie-container {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    width: 100%;
    max-width: 1100px;
    max-height: 92vh;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    animation: modal-zoom-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modal-zoom-in {
    to { transform: scale(1); }
}

/* ========== Modern Header ========== */
.walkie-header {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 50%, #DC5566 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.3);
}

.walkie-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    animation: header-glow 8s linear infinite;
}

@keyframes header-glow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.walkie-header-content {
    display: flex;
    align-items: center;
    gap: 18px;
    position: relative;
    z-index: 1;
}

.walkie-header-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
}

.walkie-header-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.3);
    animation: header-pulse 2s ease-out infinite;
}

@keyframes header-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

.walkie-header-text h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.walkie-header-text p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.walkie-close-btn {
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 14px;
    cursor: pointer;
    font-size: 22px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.walkie-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Main Content */
.walkie-main {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* ========== Modern Sidebar ========== */
.walkie-sidebar {
    width: 450px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.05);
}

.walkie-search-container {
    padding: 20px;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.walkie-search-box {
    position: relative;
}

.walkie-search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.walkie-search-input:focus {
    outline: none;
    border-color: #FF6B6B;
    background: white;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15), 0 0 0 4px rgba(255, 107, 107, 0.05);
}

.walkie-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.walkie-search-input:focus + .walkie-search-icon {
    color: #FF6B6B;
}

.walkie-search-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #FF6B6B 0%, #EE5A6F 100%);
    transition: width 0.3s ease;
}

.walkie-search-input:focus ~ .walkie-search-effect {
    width: 100%;
}

/* ========== Modern Tabs ========== */
.walkie-tabs {
    display: flex;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.walkie-tab {
    flex: 1;
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #6c757d;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.walkie-tab:hover {
    background: rgba(255, 107, 107, 0.05);
    color: #FF6B6B;
    transform: translateY(-2px);
}

.walkie-tab.active {
    color: white;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.walkie-tab-icon {
    font-size: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.walkie-tab-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Users List */
.walkie-users-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    padding: 0 8px;
}

.walkie-stat-badge {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
}

.walkie-stat-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.walkie-stat-badge.online {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    color: #4CAF50;
    border-color: rgba(76, 175, 80, 0.3);
}

.walkie-stat-badge.online:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(76, 175, 80, 0.12) 100%);
    border-color: #4CAF50;
}

.walkie-stat-badge.online i {
    font-size: 10px;
    animation: pulse-online 2s infinite;
    filter: drop-shadow(0 0 4px rgba(76, 175, 80, 0.6));
}

@keyframes pulse-online {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.walkie-stat-badge.offline {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.12) 0%, rgba(158, 158, 158, 0.06) 100%);
    color: #757575;
    border-color: rgba(158, 158, 158, 0.2);
}

.walkie-stat-badge.offline:hover {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.18) 0%, rgba(158, 158, 158, 0.1) 100%);
    border-color: #9e9e9e;
}

.walkie-stat-badge.offline i {
    font-size: 10px;
    opacity: 0.6;
}

.walkie-users-section-title {
    font-size: 13px;
    font-weight: 800;
    color: #495057;
    text-transform: uppercase;
    padding: 12px 8px;
    margin-top: 12px;
    border-bottom: 3px solid #e9ecef;
    letter-spacing: 0.8px;
    background: linear-gradient(90deg, rgba(255, 107, 107, 0.05) 0%, transparent 100%);
    border-radius: 8px 8px 0 0;
}

.walkie-users-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 107, 0.3) transparent;
}

.walkie-users-list::-webkit-scrollbar {
    width: 6px;
}

.walkie-users-list::-webkit-scrollbar-track {
    background: transparent;
}

.walkie-users-list::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.3);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.walkie-users-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 107, 0.5);
}

/* Modern Loading State */
.walkie-loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.walkie-loader {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.walkie-loader-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    animation: loader-bounce 1.4s ease-in-out infinite;
}

.walkie-loader-circle:nth-child(1) { animation-delay: 0s; }
.walkie-loader-circle:nth-child(2) { animation-delay: 0.2s; }
.walkie-loader-circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes loader-bounce {
    0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; }
    40% { transform: scale(1.2); opacity: 1; }
}

.walkie-loading-state p {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
}

.walkie-user-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border-radius: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.walkie-user-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 107, 0.08) 50%, transparent 100%);
    transition: right 0.5s ease;
}

.walkie-user-item:hover::before {
    right: 100%;
}

.walkie-user-item:hover {
    background: white;
    border-color: rgba(255, 107, 107, 0.4);
    transform: translateX(-8px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.15), 0 0 0 4px rgba(255, 107, 107, 0.05);
}

.walkie-user-item.selected {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(238, 90, 111, 0.12) 100%);
    border-color: #FF6B6B;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transform: translateX(-5px);
}

.walkie-user-item.selected::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 0 4px 4px 0;
}

.walkie-user-avatar-wrapper {
    position: relative;
    margin-left: 12px;
}

.walkie-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.walkie-user-item:hover .walkie-user-avatar {
    border-color: #FF6B6B;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
}

.walkie-user-item.selected .walkie-user-avatar {
    border-color: #FF6B6B;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.walkie-status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.walkie-status-dot.online {
    background: #4CAF50;
    animation: pulse-dot 2s infinite;
}

.walkie-status-dot.offline {
    background: #9e9e9e;
}

@keyframes pulse-dot {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.8), 0 2px 6px rgba(0, 0, 0, 0.15);
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(76, 175, 80, 0), 0 2px 6px rgba(0, 0, 0, 0.15);
    }
}

.walkie-user-info {
    flex: 1;
}

.walkie-user-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
}

.walkie-user-section {
    font-size: 12px;
    color: #6c757d;
}

.walkie-user-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.walkie-user-status.online {
    background: #4CAF50;
}

/* ========== Modern Chat Area ========== */
.walkie-chat-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.walkie-chat-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(238, 90, 111, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

/* Modern Empty State */
.walkie-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.walkie-empty-animation {
    margin-bottom: 30px;
}

.walkie-empty-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.12) 0%, rgba(238, 90, 111, 0.08) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 60px;
    color: #FF6B6B;
    position: relative;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.15);
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.walkie-empty-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.walkie-empty-waves span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid #FF6B6B;
    border-radius: 50%;
    opacity: 0;
    animation: wave-pulse 2s ease-out infinite;
}

.walkie-empty-waves span:nth-child(1) { animation-delay: 0s; }
.walkie-empty-waves span:nth-child(2) { animation-delay: 0.7s; }
.walkie-empty-waves span:nth-child(3) { animation-delay: 1.4s; }

@keyframes wave-pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.8); opacity: 0; }
}

.walkie-empty-title {
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 12px 0;
    letter-spacing: 0.3px;
}

.walkie-empty-text {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.8;
    max-width: 400px;
    margin: 0 auto 25px;
    font-weight: 500;
}

.walkie-empty-tips {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.walkie-tip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 12px;
    border: 2px solid rgba(255, 107, 107, 0.1);
    font-size: 13px;
    color: #2d3748;
    font-weight: 600;
}

.walkie-tip i {
    color: #FF6B6B;
    font-size: 18px;
}

/* ========== User Chat Area ========== */
.walkie-user-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.walkie-user-chat-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.walkie-user-chat-avatar {
    position: relative;
    flex-shrink: 0;
}

.walkie-user-chat-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #FF6B6B;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    object-fit: cover;
}

.walkie-user-chat-info {
    flex: 1;
}

.walkie-user-chat-info h3 {
    font-size: 19px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.walkie-user-chat-info p {
    font-size: 13px;
    color: #6c757d;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.walkie-user-chat-info p i {
    margin-left: 5px;
    color: #FF6B6B;
}

.walkie-user-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.walkie-user-status.online {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
    color: #4CAF50;
}

.walkie-user-status.online i {
    font-size: 8px;
    animation: pulse-online 2s infinite;
}

.walkie-user-status.offline {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.12) 0%, rgba(158, 158, 158, 0.06) 100%);
    color: #757575;
}

.walkie-chat-instructions {
    padding: 20px 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 16px;
    margin: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.walkie-chat-instructions i {
    font-size: 24px;
    color: #667eea;
    flex-shrink: 0;
}

.walkie-chat-instructions p {
    font-size: 14px;
    color: #495057;
    margin: 0;
    font-weight: 600;
    line-height: 1.6;
}

.walkie-recording-timer {
    text-align: center;
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
}

.recording-dot {
    color: #FF6B6B;
    font-size: 10px;
    animation: pulse-recording 1s infinite;
    margin-left: 8px;
}

@keyframes pulse-recording {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.recording-time {
    font-size: 18px;
    font-weight: 800;
    color: #FF6B6B;
    font-family: 'Courier New', monospace;
}

.walkie-talk-label {
    display: block;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 4px;
}

.walkie-talk-hint {
    display: block;
    font-size: 12px;
    opacity: 0.8;
    font-weight: 600;
}

.walkie-talk-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: pulse-talk 2s infinite;
}

@keyframes pulse-talk {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
}

/* ========== Section Chat (Group Broadcast) ========== */
.walkie-section-chat {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.walkie-section-chat-header {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.walkie-section-chat-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.walkie-section-chat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.walkie-section-chat-icon i {
    font-size: 36px;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: broadcast-pulse 2s ease-in-out infinite;
}

@keyframes broadcast-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.walkie-section-chat-header h3 {
    font-size: 24px;
    font-weight: 900;
    color: white;
    text-align: center;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.walkie-section-chat-header p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    margin: 0;
    font-weight: 600;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.walkie-section-info-box {
    margin: 25px 30px;
    padding: 22px 25px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 152, 0, 0.08) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 18px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 18px rgba(255, 193, 7, 0.15);
    position: relative;
    overflow: hidden;
}

.walkie-section-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.walkie-section-info-box i {
    font-size: 26px;
    color: #F59E0B;
    flex-shrink: 0;
    margin-top: 2px;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.3));
    animation: info-bounce 2s ease-in-out infinite;
}

@keyframes info-bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.walkie-section-info-box p {
    font-size: 14px;
    color: #78350f;
    margin: 0;
    font-weight: 700;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ========== Modern Talk Button ========== */
.walkie-talk-area {
    padding: 25px 30px;
    background: linear-gradient(180deg, white 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.walkie-talk-container {
    position: relative;
}

.walkie-talk-button {
    width: 100%;
    padding: 22px 30px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
}

.walkie-talk-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 107, 107, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.walkie-talk-button:active {
    transform: translateY(0px);
}

.walkie-talk-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.walkie-talk-button:active .walkie-talk-ripple {
    opacity: 1;
    animation: ripple-spread 0.6s ease-out;
}

@keyframes ripple-spread {
    0% { transform: translate(-50%, -50%) scale(0); }
    100% { transform: translate(-50%, -50%) scale(2); }
}

.walkie-talk-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.walkie-talk-text {
    flex: 1;
}

.walkie-talk-indicator {
    display: none;
    gap: 4px;
}

.walkie-talk-indicator span {
    width: 4px;
    height: 20px;
    background: white;
    border-radius: 2px;
    animation: talk-wave 0.6s ease-in-out infinite;
}

.walkie-talk-indicator span:nth-child(1) { animation-delay: 0s; }
.walkie-talk-indicator span:nth-child(2) { animation-delay: 0.1s; }
.walkie-talk-indicator span:nth-child(3) { animation-delay: 0.2s; }

@keyframes talk-wave {
    0%, 100% { height: 12px; }
    50% { height: 28px; }
}

.walkie-talk-button.talking {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: talk-pulse 1.2s ease-in-out infinite;
}

.walkie-talk-button.talking .walkie-talk-indicator {
    display: flex;
}

@keyframes talk-pulse {
    0%, 100% { 
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.4), 0 0 0 0 rgba(76, 175, 80, 0.7); 
    }
    50% { 
        box-shadow: 0 8px 35px rgba(76, 175, 80, 0.6), 0 0 0 12px rgba(76, 175, 80, 0); 
    }
}

/* ========== Modern Inbox Items ========== */
.walkie-inbox-item {
    background: white;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 14px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: inboxSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

@keyframes inboxSlideIn {
    from { 
        opacity: 0; 
        transform: translateX(30px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0) scale(1); 
    }
}

.walkie-inbox-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 107, 107, 0.05) 50%, transparent 100%);
    transition: left 0.6s ease;
}

.walkie-inbox-item:hover::before {
    left: 100%;
}

.walkie-inbox-item:hover {
    border-color: #FF6B6B;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.2), 0 0 0 4px rgba(255, 107, 107, 0.05);
    transform: translateX(-5px) translateY(-2px);
}

.walkie-inbox-item.unread {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(238, 90, 111, 0.06) 100%);
    border-color: #FF6B6B;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15);
}

.walkie-inbox-item.unread::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 10px rgba(255, 107, 107, 0.4);
}

.walkie-inbox-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.walkie-inbox-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #FF6B6B;
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.walkie-inbox-item:hover .walkie-inbox-avatar {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5), 0 0 0 3px rgba(255, 107, 107, 0.2);
}

.walkie-inbox-item.unread .walkie-inbox-avatar {
    animation: avatar-pulse 2s ease-in-out infinite;
}

@keyframes avatar-pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6), 0 0 0 4px rgba(255, 107, 107, 0.2); }
}

.walkie-inbox-info {
    flex: 1;
}

.walkie-inbox-sender {
    font-weight: 700;
    color: #2d3748;
    font-size: 15px;
    margin-bottom: 3px;
}

.walkie-inbox-time {
    font-size: 12px;
    color: #6c757d;
}

.walkie-unread-badge {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    animation: pulse-badge 2s infinite;
}

.walkie-audio-player {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.walkie-audio-player:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 2px 10px rgba(0, 0, 0, 0.05);
}

.walkie-play-button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.walkie-play-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.walkie-play-button:hover::before {
    opacity: 1;
}

.walkie-play-button:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5), 0 0 0 4px rgba(255, 107, 107, 0.1);
}

.walkie-play-button:active {
    transform: scale(1.05);
}

.walkie-play-button.playing {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: play-pulse 1.2s ease-in-out infinite;
}

.walkie-play-button.processing {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    animation: processing-pulse 1s ease-in-out infinite;
}

.walkie-play-button.processing i {
    animation: spin 1s linear infinite;
}

@keyframes play-pulse {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3), 0 0 0 0 rgba(76, 175, 80, 0.6); 
    }
    50% { 
        transform: scale(1.08); 
        box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5), 0 0 0 8px rgba(76, 175, 80, 0); 
    }
}

.walkie-audio-progress {
    flex: 1;
}

.walkie-progress-bar {
    width: 100%;
    height: 6px;
    background: #dee2e6;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    margin-bottom: 8px;
}

.walkie-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 3px;
    transition: width 0.1s linear;
    position: relative;
}

.walkie-progress-fill::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: white;
    border: 3px solid #FF6B6B;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.walkie-audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
}

.walkie-audio-controls {
    display: flex;
    gap: 8px;
}

.walkie-control-btn {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    background: white;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.walkie-control-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.05);
}

.walkie-control-btn.active {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
    border-color: #FF6B6B;
}

.walkie-visualizer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.walkie-visualizer.active {
    opacity: 1;
}

.walkie-viz-bar {
    width: 3px;
    background: linear-gradient(180deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 3px;
    animation: visualize 0.6s ease-in-out infinite;
}

.walkie-viz-bar:nth-child(1) { animation-delay: 0s; }
.walkie-viz-bar:nth-child(2) { animation-delay: 0.1s; }
.walkie-viz-bar:nth-child(3) { animation-delay: 0.2s; }
.walkie-viz-bar:nth-child(4) { animation-delay: 0.3s; }
.walkie-viz-bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes visualize {
    0%, 100% { height: 8px; }
    50% { height: 25px; }
}

.walkie-inbox-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.walkie-action-btn {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    background: white;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.walkie-action-btn:hover {
    border-color: #FF6B6B;
    color: #FF6B6B;
    background: rgba(255, 107, 107, 0.05);
}

.walkie-action-btn.danger {
    border-color: #f44336;
    color: #f44336;
}

.walkie-action-btn.danger:hover {
    background: rgba(244, 67, 54, 0.05);
}

.walkie-empty-inbox {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.walkie-empty-inbox-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 45px;
    color: #FF6B6B;
}

.walkie-inbox-stats {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 111, 0.1) 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.walkie-stat-item {
    flex: 1;
}

.walkie-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B6B;
    margin-bottom: 5px;
}

.walkie-stat-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
}

/* ========== Modern Inbox Stats ========== */
.walkie-inbox-stats-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 5px;
}

.walkie-stat-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid transparent;
}

.walkie-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.05);
}

.walkie-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.walkie-stat-content {
    flex: 1;
    text-align: right;
}

.walkie-stat-card .walkie-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 2px;
    line-height: 1;
}

.walkie-stat-card .walkie-stat-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 600;
    text-transform: none;
}

/* ========== Modern Message Cards ========== */
.walkie-inbox-message-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    border: 2px solid #e9ecef;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: visible;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.walkie-inbox-message-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.12);
    border-color: #FF6B6B;
}

.walkie-inbox-message-card.unread {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.03) 0%, rgba(238, 90, 111, 0.02) 100%);
    border-color: #FF6B6B;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.15);
}

.walkie-unread-indicator {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 0 20px 20px 0;
    box-shadow: -3px 0 15px rgba(255, 107, 107, 0.4);
}

/* ========== Message Header ========== */
.walkie-message-header {
    margin-bottom: 16px;
}

.walkie-message-sender-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.walkie-sender-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
}

.walkie-sender-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid #FF6B6B;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.walkie-inbox-message-card:hover .walkie-sender-avatar {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
}

.walkie-audio-icon-badge {
    position: absolute;
    bottom: -3px;
    left: -3px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 11px;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

.walkie-sender-details {
    flex: 1;
}

.walkie-sender-name {
    font-size: 16px;
    font-weight: 800;
    color: #000000 !important;
    margin: 0 0 6px 0;
    letter-spacing: -0.3px;
}

.walkie-message-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #000000 !important;
    font-weight: 500;
}

.walkie-message-meta i {
    font-size: 11px;
    color: #FF6B6B;
}

.walkie-message-meta span {
    color: #000000 !important;
}

.walkie-new-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 6px;
    animation: pulse-badge 2s infinite;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.4);
}

.walkie-broadcast-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 16px;
    margin-right: 8px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
    font-family: 'Vazirmatn', sans-serif;
}

.walkie-broadcast-badge i {
    font-size: 10px;
    animation: broadcast-pulse 1.5s ease-in-out infinite;
}

@keyframes broadcast-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* ========== Modern Audio Player ========== */
.walkie-message-audio-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.walkie-audio-player-modern {
    display: flex;
    align-items: center;
    gap: 16px;
}

.walkie-play-btn-modern {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.walkie-play-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.walkie-play-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.walkie-play-btn-modern:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6), 0 0 0 5px rgba(255, 107, 107, 0.1);
}

.walkie-play-btn-modern:hover .walkie-play-ripple {
    opacity: 1;
}

.walkie-play-btn-modern:active {
    transform: scale(1.05);
}

.walkie-play-btn-modern.playing {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    animation: play-pulse 1.5s ease-in-out infinite;
}

.walkie-play-btn-modern.playing .walkie-play-icon i::before {
    content: '\f04c'; /* FontAwesome pause icon */
}

.walkie-play-btn-modern.processing {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    animation: processing-pulse 1s ease-in-out infinite;
}

.walkie-play-btn-modern.processing .walkie-play-icon i {
    animation: spin 1s linear infinite;
}

@keyframes processing-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.8; }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.walkie-audio-controls-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.walkie-audio-waveform {
    position: relative;
}

.walkie-progress-track {
    width: 100%;
    height: 8px;
    background: #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.walkie-progress-played {
    height: 100%;
    background: linear-gradient(90deg, #FF6B6B 0%, #EE5A6F 100%);
    border-radius: 4px;
    transition: width 0.1s linear;
    position: relative;
    box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

.walkie-progress-played::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #FF6B6B;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.walkie-audio-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
}

.walkie-time-current {
    color: #FF6B6B;
}

.walkie-time-separator {
    color: #dee2e6;
    font-weight: 400;
}

.walkie-time-total {
    color: #6c757d;
}

/* ========== Message Actions ========== */
.walkie-message-actions {
    display: flex;
    gap: 10px;
}

.walkie-reply-btn {
    flex: 1;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    color: #667eea;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.walkie-reply-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.walkie-reply-btn i {
    font-size: 16px;
}

/* Empty Inbox Styles */
.walkie-empty-inbox h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 8px;
}

.walkie-empty-inbox p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
}

/* Sections List */
.walkie-info-box {
    background: rgba(66, 153, 225, 0.1);
    border-right: 4px solid #4299e1;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.walkie-info-box i {
    color: #4299e1;
    font-size: 18px;
    margin-top: 2px;
}

.walkie-info-box p {
    margin: 0;
    font-size: 13px;
    color: #2d3748;
    line-height: 1.6;
}

.walkie-section-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 15px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.walkie-section-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.walkie-section-item.selected {
    background: rgba(102, 126, 234, 0.1);
    border-color: #667eea;
}

.walkie-section-icon {
    width: 55px;
    height: 55px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-left: 15px;
    flex-shrink: 0;
}

.walkie-section-info {
    flex: 1;
}

.walkie-section-name {
    font-weight: 700;
    color: #2d3748;
    font-size: 15px;
    margin-bottom: 5px;
}

.walkie-section-count {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.walkie-section-action {
    margin-right: 10px;
}

.walkie-broadcast-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.walkie-broadcast-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* History List */
.walkie-history-group-title {
    font-size: 12px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    padding: 10px 5px;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #f0f0f0;
}

.walkie-history-group-title i {
    color: #FF6B6B;
}

.walkie-history-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.walkie-history-item:hover {
    background: rgba(255, 107, 107, 0.05);
    border-color: rgba(255, 107, 107, 0.3);
    transform: translateX(-5px);
}

.walkie-history-item.selected {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 111, 0.1) 100%);
    border-color: #FF6B6B;
}

.walkie-history-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 12px;
    border: 2px solid #e9ecef;
}

.walkie-history-info {
    flex: 1;
}

.walkie-history-name {
    font-weight: 600;
    color: #2d3748;
    font-size: 14px;
    margin-bottom: 3px;
}

.walkie-history-time {
    font-size: 12px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.walkie-history-action {
    margin-right: 10px;
}

.walkie-quick-call-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.walkie-quick-call-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.walkie-user-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 107, 107, 0.1);
    color: #FF6B6B;
    font-size: 14px;
    transition: all 0.3s ease;
}

.walkie-user-item:hover .walkie-user-action {
    background: #FF6B6B;
    color: white;
}

.walkie-tab-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-right: 5px;
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== Responsive Design ========== */

/* Tablet View */
@media (max-width: 992px) {
    .walkie-talkie-container {
        max-width: 95%;
    }
    
    .walkie-sidebar {
        width: 360px;
    }
    
    .walkie-header-text h2 {
        font-size: 20px;
    }
    
    .walkie-header-text p {
        font-size: 12px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    .walkie-talkie-modal {
        padding: 10px;
    }
    
    .walkie-talkie-container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .walkie-header {
        padding: 20px;
        flex-wrap: wrap;
    }
    
    .walkie-header-content {
        gap: 12px;
    }
    
    .walkie-header-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .walkie-header-text h2 {
        font-size: 18px;
    }
    
    .walkie-header-text p {
        font-size: 11px;
    }
    
    .walkie-close-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .walkie-main {
        flex-direction: column;
    }
    
    .walkie-sidebar {
        width: 100%;
        max-height: 50vh;
        border-left: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    
    .walkie-search-container {
        padding: 15px;
    }
    
    .walkie-search-input {
        padding: 12px 45px 12px 15px;
        font-size: 13px;
    }
    
    .walkie-tabs {
        padding: 6px;
        gap: 4px;
    }
    
    .walkie-tab {
        padding: 10px 8px;
        border-radius: 10px;
    }
    
    .walkie-tab-icon {
        font-size: 18px;
    }
    
    .walkie-tab-label {
        font-size: 10px;
    }
    
    .walkie-users-list {
        padding: 12px;
    }
    
    .walkie-users-stats {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
    }
    
    .walkie-stat-badge {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
        padding: 10px 12px !important;
        font-size: 12px !important;
    }
    
    .walkie-stat-badge i {
        font-size: 9px;
    }
    
    .walkie-users-section-title {
        font-size: 12px;
        padding: 10px 6px;
    }
    
    .walkie-user-item {
        padding: 12px 14px;
        border-radius: 14px;
        margin-bottom: 10px;
    }
    
    .walkie-user-avatar {
        width: 45px;
        height: 45px;
    }
    
    .walkie-status-dot {
        width: 12px;
        height: 12px;
        border: 2px solid white;
    }
    
    .walkie-user-name {
        font-size: 13px;
    }
    
    .walkie-user-section {
        font-size: 11px;
    }
    
    .walkie-inbox-item {
        padding: 14px;
        border-radius: 14px;
        margin-bottom: 12px;
    }
    
    .walkie-inbox-avatar {
        width: 48px;
        height: 48px;
    }
    
    /* Modern Inbox Responsive */
    .walkie-inbox-stats-modern {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .walkie-stat-card {
        padding: 12px;
    }
    
    .walkie-stat-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    
    .walkie-stat-card .walkie-stat-value {
        font-size: 18px;
    }
    
    .walkie-stat-card .walkie-stat-label {
        font-size: 10px;
    }
    
    .walkie-inbox-message-card {
        padding: 16px;
        border-radius: 16px;
        margin-bottom: 14px;
    }
    
    .walkie-sender-avatar {
        width: 50px;
        height: 50px;
    }
    
    .walkie-audio-icon-badge {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .walkie-sender-name {
        font-size: 15px;
    }
    
    .walkie-message-meta {
        font-size: 11px;
    }
    
    .walkie-message-audio-section {
        padding: 14px;
    }
    
    .walkie-play-btn-modern {
        width: 50px;
        height: 50px;
    }
    
    .walkie-play-icon {
        font-size: 20px;
    }
    
    .walkie-progress-track {
        height: 6px;
    }
    
    .walkie-audio-duration {
        font-size: 11px;
    }
    
    .walkie-reply-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    /* User Chat Responsive */
    .walkie-user-chat-header {
        padding: 20px;
        gap: 14px;
    }
    
    .walkie-user-chat-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .walkie-user-chat-info h3 {
        font-size: 17px;
    }
    
    .walkie-user-chat-info p {
        font-size: 12px;
    }
    
    .walkie-chat-instructions {
        padding: 16px 20px;
        margin: 16px 20px;
    }
    
    .walkie-chat-instructions i {
        font-size: 20px;
    }
    
    .walkie-chat-instructions p {
        font-size: 13px;
    }
    
    /* Section Chat Responsive */
    .walkie-section-chat-header {
        padding: 25px 20px;
    }
    
    .walkie-section-chat-icon {
        width: 70px;
        height: 70px;
    }
    
    .walkie-section-chat-icon i {
        font-size: 32px;
    }
    
    .walkie-section-chat-header h3 {
        font-size: 21px;
    }
    
    .walkie-section-chat-header p {
        font-size: 14px;
    }
    
    .walkie-section-info-box {
        margin: 20px 20px;
        padding: 18px 20px;
    }
    
    .walkie-section-info-box i {
        font-size: 24px;
    }
    
    .walkie-section-info-box p {
        font-size: 13px;
    }
    
    .walkie-audio-player {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        gap: 12px;
    }
    
    .walkie-play-button {
        width: 48px;
        height: 48px;
        font-size: 18px;
        align-self: center;
    }
    
    .walkie-audio-progress {
        width: 100%;
    }
    
    .walkie-section-item {
        flex-wrap: wrap;
        padding: 12px;
    }
    
    .walkie-section-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .walkie-broadcast-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .walkie-broadcast-btn span {
        display: none;
    }
    
    .walkie-history-item {
        padding: 12px;
    }
    
    .walkie-history-avatar {
        width: 42px;
        height: 42px;
    }
    
    .walkie-empty-state {
        padding: 15px 20px !important;
    }
    
    .walkie-empty-animation {
        margin-bottom: 12px !important;
    }
    
    .walkie-empty-icon {
        width: 80px !important;
        height: 80px !important;
        font-size: 35px !important;
    }
    
    .walkie-empty-title {
        font-size: 16px !important;
        margin: 0 0 6px 0 !important;
    }
    
    .walkie-empty-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
        margin: 0 auto 10px !important;
    }
    
    .walkie-empty-tips {
        gap: 8px !important;
    }
    
    .walkie-tip {
        padding: 8px 12px !important;
        font-size: 11px !important;
    }
    
    .walkie-tip i {
        font-size: 14px !important;
    }
    
    .walkie-talk-area {
        padding: 20px;
    }
    
    .walkie-talk-button {
        padding: 18px 24px;
        font-size: 15px;
        border-radius: 16px;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .walkie-talk-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .walkie-talk-text {
        font-size: 14px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .walkie-header {
        padding: 15px;
    }
    
    .walkie-header-icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .walkie-header-text h2 {
        font-size: 16px;
    }
    
    .walkie-header-text p {
        display: none;
    }
    
    .walkie-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }
    
    .walkie-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .walkie-tab {
        min-width: 80px;
    }
    
    .walkie-users-stats {
        gap: 6px !important;
    }
    
    .walkie-stat-badge {
        flex: 1 1 calc(50% - 3px) !important;
        min-width: calc(50% - 3px) !important;
        padding: 8px 10px !important;
        font-size: 11px !important;
    }
    
    .walkie-user-item {
        padding: 10px 12px;
    }
    
    .walkie-inbox-item {
        padding: 12px;
    }
    
    /* Modern Inbox Small Mobile */
    .walkie-inbox-message-card {
        padding: 14px;
        border-radius: 14px;
    }
    
    .walkie-sender-avatar {
        width: 46px;
        height: 46px;
    }
    
    .walkie-audio-icon-badge {
        width: 20px;
        height: 20px;
        font-size: 9px;
    }
    
    .walkie-sender-name {
        font-size: 14px;
    }
    
    .walkie-message-audio-section {
        padding: 12px;
    }
    
    .walkie-play-btn-modern {
        width: 46px;
        height: 46px;
    }
    
    .walkie-play-icon {
        font-size: 18px;
    }
    
    .walkie-reply-btn {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    /* User Chat Small Mobile */
    .walkie-user-chat-header {
        padding: 16px;
        gap: 12px;
    }
    
    .walkie-user-chat-avatar img {
        width: 55px;
        height: 55px;
    }
    
    .walkie-user-chat-info h3 {
        font-size: 16px;
    }
    
    .walkie-user-chat-info p {
        font-size: 11px;
    }
    
    .walkie-chat-instructions {
        padding: 14px 16px;
        margin: 14px 16px;
    }
    
    .walkie-chat-instructions i {
        font-size: 18px;
    }
    
    .walkie-chat-instructions p {
        font-size: 12px;
    }
    
    /* Empty State Small Mobile */
    .walkie-empty-state {
        padding: 10px 15px !important;
    }
    
    .walkie-empty-animation {
        margin-bottom: 8px !important;
    }
    
    .walkie-empty-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 28px !important;
    }
    
    .walkie-empty-title {
        font-size: 14px !important;
        margin: 0 0 4px 0 !important;
    }
    
    .walkie-empty-text {
        font-size: 11px !important;
        line-height: 1.3 !important;
        margin: 0 !important;
    }
    
    /* Section Chat Small Mobile */
    .walkie-section-chat-header {
        padding: 22px 16px;
    }
    
    .walkie-section-chat-icon {
        width: 65px;
        height: 65px;
    }
    
    .walkie-section-chat-icon i {
        font-size: 28px;
    }
    
    .walkie-section-chat-header h3 {
        font-size: 19px;
    }
    
    .walkie-section-chat-header p {
        font-size: 13px;
    }
    
    .walkie-section-info-box {
        margin: 16px 16px;
        padding: 16px 18px;
        gap: 12px;
    }
    
    .walkie-section-info-box i {
        font-size: 22px;
    }
    
    .walkie-section-info-box p {
        font-size: 12px;
    }
    
    .walkie-audio-player {
        padding: 12px;
    }
    
    .walkie-talk-button {
        padding: 16px 20px;
    }
    
    .walkie-talk-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Jalali Date Display in Messages */
.walkie-message-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #000000 !important;
    margin-top: 4px;
    padding: 4px 8px;
    background: rgba(255, 107, 107, 0.08);
    border-radius: 6px;
    width: fit-content;
}

.walkie-message-date i {
    font-size: 10px;
    color: #FF6B6B;
}

/* Jalali Date Display in History */
.walkie-history-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #95a5a6 !important;
    margin-top: 4px;
    font-family: 'Vazirmatn', sans-serif;
}

.walkie-history-date i {
    font-size: 10px;
    color: #3498db;
}

/* Tooltip for full date */
.walkie-message-meta span[title] {
    cursor: help;
    border-bottom: 1px dotted rgba(255, 107, 107, 0.3);
    transition: border-color 0.3s ease;
}

.walkie-message-meta span[title]:hover {
    border-bottom-color: #FF6B6B;
}

/* Responsive adjustments for date display */
@media (max-width: 768px) {
    .walkie-message-date,
    .walkie-history-date {
        font-size: 10px;
        gap: 4px;
    }
    
    .walkie-message-date i,
    .walkie-history-date i {
        font-size: 9px;
    }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
    .walkie-talkie-modal {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(255, 107, 107, 0.2) 100%);
    }
    
    .walkie-message-date {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.7);
    }
    
    .walkie-history-date {
        color: rgba(255, 255, 255, 0.6);
    }
}
