body,
datepicker-plot-area,
.cke_reset_all,
.cke_reset_all *,
.cke_reset_all a,
.cke_reset_all textarea,
.cke_notification_message,
.gm-style,
.ui-widget,
.cke_autocomplete_panel,
.tooltip {
    font-family: Vazir !important;
}

.datatable .filter-option-inner {
    text-align: center;
}

#toast-container > .toast {
    background-image: none !important;
}

.ltr {
    text-align: left;
    direction: ltr;
}

.profile-image {
    width: 100% !important;
    object-fit: cover;
}

.ticket-messages .shadow-xs {
    box-shadow: none;
}

.ticket-messages .user-message {
    background-color: #ecf6ff;
}

.apexcharts-text,
.apexcharts-legend-text {
    font-family: Vazir !important;
}

.apexcharts-canvas {
    direction: ltr;
    text-align: left;
}

.ticket-subject-div.active {
    background-color: #f6c6ee;
}

.ticket-subject-div {
    padding: 16px 8px;
}

/* Voice Recording Indicator Styles */
.voice-recording-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
    animation: recordingGlow 1.5s ease-in-out infinite alternate;
}

.recording-pulse {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recording-dot {
    width: 12px;
    height: 12px;
    background: #ff6b6b;
    border-radius: 50%;
    animation: pulseDot 1s ease-in-out infinite;
}

.recording-waves {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wave {
    width: 3px;
    height: 16px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: waveAnimation 1.2s ease-in-out infinite;
}

.wave1 {
    animation-delay: 0s;
}

.wave2 {
    animation-delay: 0.2s;
}

.wave3 {
    animation-delay: 0.4s;
}

.recording-timer {
    font-family: "Courier New", monospace;
    font-weight: bold;
    font-size: 14px;
    min-width: 45px;
    text-align: center;
}

.recording-text {
    font-size: 12px;
    opacity: 0.9;
}

@keyframes recordingGlow {
    0% {
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
        transform: scale(1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(255, 71, 87, 0.6);
        transform: scale(1.02);
    }
}

@keyframes pulseDot {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

@keyframes waveAnimation {
    0%,
    100% {
        height: 16px;
        opacity: 0.4;
    }
    50% {
        height: 24px;
        opacity: 1;
    }
}

/* Microphone actions layout adjustments */
.microphone-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.microphone {
    cursor: pointer;
    transition: transform 0.2s ease;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.microphone:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.microphone-recording-btns {
    display: flex;
    gap: 8px;
    align-items: center;
}

.microphone-recording-btns svg {
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.send-voice {
    background: #28a745;
    color: white;
}

.send-voice:hover {
    background: #218838;
    transform: scale(1.1);
}

.cancel-voice {
    background: #dc3545;
    color: white;
}

.cancel-voice:hover {
    background: #c82333;
    transform: scale(1.1);
}
