/* .tasksFilteRow .filterIconBtn { width: 50px; height: 50px;} */
.text-align-middle td, .text-align-middle th{vertical-align: middle;}

.voice-note-container {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    display: block; /* Changed to block to ensure new line */
}

.voice-note-player {
    height: 35px;
    width: 250px;
    outline: none;
}

/* Attachment container styles */
.attachment-container {
    margin: 10px 0;
    display: block; /* Ensure attachments are on new line */
}

.attachment-container img {
    max-width: 300px;
    max-height: 300px;
    border-radius: 8px;
    display: block;
}

/* Ensure proper spacing in the description row */
.tdCommentingDescriptionRow p {
    margin-bottom: 10px;
}

/* Hide unwanted audio controls for consistency */
.voice-note-player::-webkit-media-controls-mute-button,
.voice-note-player::-webkit-media-controls-volume-slider,
.voice-note-player::-webkit-media-controls-volume-control-container,
.voice-note-player::-webkit-media-controls-overflow-button {
    display: none !important;
}

/* For Firefox */
.voice-note-player::-moz-media-controls-mute-button,
.voice-note-player::-moz-media-controls-volume-slider {
    display: none !important;
}

/* Ensure only play button and timeline are visible */
.voice-note-player::-webkit-media-controls-panel {
    display: flex !important;
}

.voice-note-player::-webkit-media-controls-play-button {
    display: flex !important;
}

.voice-note-player::-webkit-media-controls-timeline {
    display: flex !important;
}

.voice-note-player::-webkit-media-controls-current-time-display,
.voice-note-player::-webkit-media-controls-time-remaining-display {
    display: flex !important;
}












#suggestions {
    position: absolute;
    top: 100%; /* Position it below the input field */
    left: 0;
    width: 100%;
    max-height: 200px; /* Adjust as needed for max visible items */
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Higher value to ensure it appears above other elements */
    display: none; /* Hidden by default */
    overflow-y: auto; /* Enables scrolling */
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    font-size: 14px;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* Voice Recording Styles */
.voiceRecorder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.voiceRecorder:hover {
    background: #e1e8ed;
    transform: scale(1.05);
}

.voiceRecorder.recording {
    background: #ff4444;
    animation: pulse 1.5s infinite;
}

.voiceRecorder.recording:hover {
    background: #ff3333;
}

.voiceRecorder i {
    font-size: 18px;
    color: #4a5568;
}

.voiceRecorder.recording i {
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 68, 68, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 68, 68, 0);
    }
}

/* Recording Timer */
.recordingTimer {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ff4444;
    font-size: 14px;
    font-weight: 500;
    margin-right: 10px;
}

.recordingDot {
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Audio Preview Styles */
.audioPreviewSection {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 10px;
    animation: slideIn 0.3s ease;
}

.audioPreviewSection audio {
    height: 32px;
    width: 200px;
}

/* Hide unwanted audio controls */
.audioPreviewSection audio::-webkit-media-controls-mute-button,
.audioPreviewSection audio::-webkit-media-controls-volume-slider,
.audioPreviewSection audio::-webkit-media-controls-volume-control-container,
.audioPreviewSection audio::-webkit-media-controls-overflow-button {
    display: none !important;
}

/* For Firefox */
.audioPreviewSection audio::-moz-media-controls-mute-button,
.audioPreviewSection audio::-moz-media-controls-volume-slider {
    display: none !important;
}

/* Ensure only play button and timeline are visible */
.audioPreviewSection audio::-webkit-media-controls-panel {
    display: flex !important;
}

.audioPreviewSection audio::-webkit-media-controls-play-button {
    display: flex !important;
}

.audioPreviewSection audio::-webkit-media-controls-timeline {
    display: flex !important;
}

.audioPreviewSection audio::-webkit-media-controls-current-time-display,
.audioPreviewSection audio::-webkit-media-controls-time-remaining-display {
    display: flex !important;
}

.deleteAudioBtn {
    background: transparent;
    color: #ff4444;
    border: 1px solid #ff4444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.deleteAudioBtn:hover {
    background: #ff4444;
    color: white;
}

.deleteAudioBtn i {
    font-size: 14px;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hidden class - important for toggling */
.hidden {
    display: none !important;
}

/* Adjust existing button styles */
.chatFormBtnArea {
    display: flex;
    align-items: center;
    gap: 10px;
}

.attactChatImg {
    cursor: pointer;
    display: flex;
    align-items: center;
}

.attactChatImg svg {
    width: 20px;
    height: 20px;
}
