
.chat-role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin-left: 5px;
}

.chat-role-badge.citizen {
    background: #e3f2fd;
    color: #0d47a1;
}

.chat-role-badge.lawyer {
    background: #f3e5f5;
    color: var(--secondary);
}

.chat-role-badge.lc {
    background: #fff3e0;
    color: #e65100;
}

.chat-role-badge.admin {
    background: #e8f5e9;
    color: #1b5e20;
}


.admin-chat-item {
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.admin-chat-item:hover {
    background: #e5eeff !important;
    border-left-color: var(--secondary);
}

.admin-chat-item.unread {
    background: #f0f5ff !important;
    border-left-color: var(--secondary);
}


.chat-role-indicator {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f0f0f0;
    color: #666;
    margin-left: 5px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

#adminMessagesPanel {
    animation: slideInRight 0.3s ease;
}

#adminMessagesPanel.closing {
    animation: slideOutRight 0.3s ease forwards;
}


#adminMessagesListPanel::-webkit-scrollbar {
    width: 5px;
}
#adminMessagesListPanel::-webkit-scrollbar-track {
    background: #f1f1f1;
}
#adminMessagesListPanel::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}


.footer {
    background: rgba(28,28,30,0.94) !important;
    border-radius: 20px 20px 0 0 !important;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.4) !important;
    margin: 0 15px 0 15px !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    position: relative !important;
    z-index: 10 !important;
    padding-top: 25px !important;
}


.footer:hover {
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5) !important;
    transition: all 0.3s ease;
}


.footer-grid p:hover,
.footer-grid a:hover {
    color: #ffffff !important;
    transform: translateX(3px);
    transition: all 0.2s ease;
}


.footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.6) !important;
}


#lcNotificationsList {
    display: block !important;
    min-height: 80px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
}


#lcNotificationSection {
    display: block !important;
    margin: 20px 0 !important;
}


#lcNotificationSection > div {
    display: block !important;
    overflow: hidden !important;
}


.notification-item:hover {
    transform: translateX(5px);
    transition: transform 0.2s ease;
}

#lcNotificationSection:has(#lcNotificationsList > div:not(.empty-state)) .notification-toggle {
    display: block;
}

#lcNotificationSection .notification-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#lcNotificationSection.active .notification-list-container {
    max-height: 500px;
}

#lcNotificationSection {
    display: none !important;
}


#lcNotificationSection.active {
    display: block !important;
}

@keyframes recordingPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

#voiceRecordBtn.recording {
    animation: recordingPulse 1.2s infinite;
    background: #dc3545 !important;
}


.voice-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    min-width: 150px;
    max-width: 250px;
}

.voice-message .play-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-message .play-btn.sent {
    background: rgba(255,255,255,0.2);
    color: white;
}

.voice-message .play-btn.received {
    background: var(--secondary);
    color: white;
}

.voice-message .waveform {
    flex: 1;
    height: 30px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.voice-message .waveform .bar {
    width: 3px;
    background: currentColor;
    opacity: 0.6;
    border-radius: 2px;
    transition: height 0.1s;
}

.voice-message .duration {
    font-size: 11px;
    opacity: 0.7;
    min-width: 35px;
}

#caseVoicePreview {
    transition: all 0.3s ease;
}

#caseVoicePreview audio {
    border-radius: 20px;
}

#caseVoiceRecordBtn {
    transition: all 0.3s ease;
}

#caseVoiceRecordBtn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

#caseVoiceTimer {
    animation: fadeIn 0.3s ease;
}


#caseVoiceRecordBtn.recording {
    animation: recordingPulse 1.2s infinite;
}

.voice-message-case {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #f0f5ff;
    border: 1px solid #cfe0ff;
}

.voice-message-case .play-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    transition: all 0.3s;
}

.voice-message-case .play-btn:hover {
    transform: scale(1.1);
}

.voice-message-case .duration {
    font-size: 11px;
    opacity: 0.7;
}

.voice-message-case .text-label {
    font-size: 12px;
    color: #666;
    font-style: italic;
}


.appointment-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 5px solid var(--secondary);
    transition: all 0.3s ease;
}

.appointment-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.appointment-card .status {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.appointment-card .status.pending {
    background: #fff3cd;
    color: #856404;
}

.appointment-card .status.confirmed {
    background: #d4edda;
    color: #155724;
}

.appointment-card .status.completed {
    background: #cce5ff;
    color: #004085;
}

.appointment-card .status.cancelled {
    background: #f8d7da;
    color: #721c24;
}

.appointment-form input[type="date"],
.appointment-form input[type="time"],
.appointment-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 15px;
    transition: border-color 0.3s;
}

.appointment-form input:focus,
.appointment-form select:focus {
    border-color: var(--secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 64, 128, 0.1);
}

.appointment-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin: 10px 0 15px 0;
}

.appointment-time-slots .slot {
    padding: 8px 12px;
    background: #f0f5ff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.appointment-time-slots .slot:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.appointment-time-slots .slot.selected {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.appointment-time-slots .slot.booked {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
    opacity: 0.6;
}

.appointment-time-slots .slot.booked:hover {
    background: #f8d7da;
    color: #721c24;
}


.documents-section {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 15px 0;
}

.document-card {
    background: white;
    border: 1px solid #cfe0ff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(26, 64, 128, 0.15);
    border-color: var(--secondary);
}

.document-card .doc-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 8px;
}

.document-card .doc-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    max-height: 40px;
    overflow: hidden;
}

.document-card .doc-size {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
}

.document-card .doc-uploader {
    font-size: 10px;
    color: #999;
    margin-top: 4px;
}

.document-card .doc-actions {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.document-card .doc-actions button {
    padding: 4px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s;
}

.document-card .doc-actions .view-btn {
    background: var(--secondary);
    color: white;
}

.document-card .doc-actions .view-btn:hover {
    background: #0e2045;
}

.document-card .doc-actions .download-btn {
    background: #17a2b8;
    color: white;
}

.document-card .doc-actions .download-btn:hover {
    background: #0f7a8a;
}

.document-card .doc-actions .delete-btn {
    background: #dc3545;
    color: white;
}

.document-card .doc-actions .delete-btn:hover {
    background: #a71d2a;
}

.document-upload-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    margin: 15px 0;
}

.document-upload-area:hover {
    border-color: var(--secondary);
    background: #f0f5ff;
}

.document-upload-area.dragover {
    border-color: var(--secondary);
    background: #e5eeff;
}

.document-upload-area input[type="file"] {
    display: none;
}

.document-upload-area .upload-label {
    display: inline-block;
    padding: 12px 30px;
    background: var(--secondary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.document-upload-area .upload-label:hover {
    background: #0e2045;
    transform: scale(1.02);
}

.document-upload-area .upload-hint {
    font-size: 13px;
    color: #888;
    margin-top: 10px;
}

.document-upload-area .upload-progress {
    margin-top: 15px;
    display: none;
}

.document-upload-area .progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 5px;
}


.doc-viewer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.doc-viewer-modal.active {
    display: flex;
}

.doc-viewer-modal .viewer-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.doc-viewer-modal .viewer-header {
    background: var(--secondary);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.doc-viewer-modal .viewer-header h3 {
    margin: 0;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-viewer-modal .viewer-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    padding: 0 10px;
}

.doc-viewer-modal .viewer-body {
    padding: 20px;
    overflow: auto;
    max-height: 70vh;
    text-align: center;
}

.doc-viewer-modal .viewer-body img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.doc-viewer-modal .viewer-body iframe {
    width: 100%;
    height: 60vh;
    border: none;
}

.doc-viewer-modal .viewer-body .doc-info {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: left;
}

.doc-viewer-modal .viewer-body .doc-info p {
    margin: 5px 0;
    font-size: 14px;
}

.doc-viewer-modal .viewer-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.doc-viewer-modal .viewer-footer button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.doc-viewer-modal .viewer-footer .download-btn {
    background: var(--secondary);
    color: white;
}

.doc-viewer-modal .viewer-footer .close-btn {
    background: #6c757d;
    color: white;
}


.file-type-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    margin-top: 4px;
}

.file-type-badge.image {
    background: #d4edda;
    color: #155724;
}

.file-type-badge.pdf {
    background: #f8d7da;
    color: #721c24;
}

.file-type-badge.document {
    background: #cce5ff;
    color: #004085;
}

.file-type-badge.other {
    background: #e2e3e5;
    color: #383d41;
}


#adminMapFooterNote {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    background: #f5f7fb;
    padding: 9px 12px;
    border-top: 1px solid rgba(26, 64, 128, 0.10);
}

html[data-theme="dark"] #adminMapFooterNote {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-top-color: rgba(255, 255, 255, 0.10);
}

#citizenHomeFooterNote {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    background: #f5f7fb;
    padding: 14px 12px;
    margin-top: 20px;
    border-top: 1px solid rgba(26, 64, 128, 0.10);
    border-radius: 0 0 10px 10px;
}

html[data-theme="dark"] #citizenHomeFooterNote {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-top-color: rgba(255, 255, 255, 0.10);
}

#lawyerHomeFooterNote {
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    background: #f5f7fb;
    padding: 14px 12px;
    margin-top: 20px;
    border-top: 1px solid rgba(26, 64, 128, 0.10);
    border-radius: 0 0 10px 10px;
}

html[data-theme="dark"] #lawyerHomeFooterNote {
    color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.04);
    border-top-color: rgba(255, 255, 255, 0.10);
}

#dashboardPage[style*="display: none"] #mainFooter {
    display: none !important;
}

#dashboardPage[style*="display: block"] #mainFooter {
    display: block !important;
}

.lawyer-dashboard-mode #mainFooter,
.admin-dashboard-mode #mainFooter {
    display: none !important;
}

.citizen-dashboard-mode #mainFooter {
    display: block !important;
}

.lawyer-dashboard-mode #mainFooter,
.admin-dashboard-mode #mainFooter {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    border: none !important;
    pointer-events: none !important;
}


.citizen-dashboard-mode #mainFooter {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    padding: 30px 20px 20px !important;
    margin: 0 15px 0 15px !important;
    overflow: visible !important;
    border: 1px solid rgba(26, 64, 128, 0.1) !important;
    pointer-events: auto !important;
}

@keyframes recordingPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26, 64, 128, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(26, 64, 128, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(26, 64, 128, 0); }
}

#caseVideoRecordBtn.recording {
    animation: recordingPulse 1.2s infinite;
    background: var(--secondary) !important;
}

#caseVideoRecordBtn {
    transition: all 0.3s ease;
}

#caseVideoRecordBtn:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


@keyframes pulse-report {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 64, 128, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(26, 64, 128, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(26, 64, 128, 0);
    }
}

.pulse-report-btn {
    animation: pulse-report 2.5s infinite;
    position: relative;
    z-index: 1;
}

.pulse-report-btn:hover {
    animation-play-state: paused;
}

@keyframes bounce-icon {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }
    20% {
        transform: translateY(-15px);
        opacity: 1;
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-12px);
    }
    80% {
        transform: translateY(-5px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.service-card .service-icon {
    animation: bounce-icon 0.8s ease forwards;
    opacity: 0; 
}

.service-card:nth-child(1) .service-icon { animation-delay: 0.1s; }
.service-card:nth-child(2) .service-icon { animation-delay: 0.2s; }
.service-card:nth-child(3) .service-icon { animation-delay: 0.3s; }
.service-card:nth-child(4) .service-icon { animation-delay: 0.4s; }
.service-card:nth-child(5) .service-icon { animation-delay: 0.5s; }
.service-card:nth-child(6) .service-icon { animation-delay: 0.6s; }
.service-card:nth-child(7) .service-icon { animation-delay: 0.7s; }

.service-card:hover .service-icon {
    animation-play-state: paused;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-animated {
    background: #f0f5ff;
    transition: all 0.3s ease;
}

.page-gradient {
    background: #f0f5ff;
}


.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--secondary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink-cursor 0.8s step-end infinite;
}

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


.typing-container {
    display: inline-block;
    min-height: 50px;
}


.typing-text {
    display: inline;
    color: var(--secondary);
}


.typing-name {
    color: #1557b0;
    font-weight: bold;
}


.counter-number {
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s ease;
}


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

.counter-active {
    animation: counter-pulse 0.3s ease;
}


.counter-container {
    display: inline-block;
    min-width: 40px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#chatWindow {
    animation: slideUp 0.35s ease;
}

#chatMessages::-webkit-scrollbar {
    width: 4px;
}
#chatMessages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
#chatMessages::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}


.chat-message-sent {
    animation: slideInRightMsg 0.25s ease;
}

.chat-message-received {
    animation: slideInLeft 0.25s ease;
}


.voice-message {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    min-width: 120px;
    max-width: 220px;
}

.voice-message .play-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.voice-message .play-btn:hover {
    transform: scale(1.1);
}

.voice-message .play-btn.sent {
    background: rgba(255,255,255,0.2);
    color: white;
}

.voice-message .play-btn.received {
    background: var(--secondary);
    color: white;
}

.voice-message .waveform {
    flex: 1;
    height: 24px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.voice-message .waveform .bar {
    width: 3px;
    background: currentColor;
    opacity: 0.5;
    border-radius: 2px;
    transition: height 0.1s;
}

.voice-message .duration {
    font-size: 10px;
    opacity: 0.6;
    min-width: 30px;
}

#chatLabels {
    animation: fadeInUp 0.4s ease;
}

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

#chatLabels > div {
    transition: all 0.3s ease;
}

#chatLabels > div:hover {
    transform: translateX(-4px);
}

#chatLabels button {
    transition: all 0.3s ease;
}

#chatLabels button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(26,64,128,0.35);
}

.footer-grid p:hover,
.footer-grid a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    transition: all 0.25s ease;
}

.footer-grid p,
.footer-grid a {
    transition: all 0.25s ease;
}


.footer-grid h3 {
    position: relative;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}


#mainFooter {
    padding-bottom: 100px !important;
    margin-bottom: 20px !important;
}

#chatContainer {
    z-index: 9999;
}


.footer-grid a:hover {
    color: #d8e8ff !important;
    transform: translateX(5px);
    transition: all 0.25s ease;
}

.footer-grid a {
    transition: all 0.25s ease;
}


.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}

.footer-grid h3 {
    position: relative;
}

.footer-grid span:hover {
    color: #d8e8ff !important;
    transform: translateX(5px);
    transition: all 0.25s ease;
}

.footer-grid span {
    transition: all 0.25s ease;
}

.footer-grid a:hover {
    color: #d8e8ff !important;
    transform: translateX(5px);
    transition: all 0.25s ease;
}

.footer-grid a {
    transition: all 0.25s ease;
}


.footer-grid h3 {
    position: relative;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}


.footer-grid span {
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 4px 0;
}

.footer-grid span:hover {
    color: #c9b8e8 !important;
    transform: translateX(5px);
}

.footer-grid a {
    transition: all 0.25s ease;
    padding: 4px 0;
}

.footer-grid a:hover {
    color: #c9b8e8 !important;
    transform: translateX(5px);
}


.footer-grid h3 {
    position: relative;
    color: #c9b8e8;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #c9b8e8;
    border-radius: 2px;
}


.footer-grid span {
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 5px 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.footer-grid span:hover {
    color: #ffffff !important;
    transform: translateX(6px);
    font-weight: 500;
}

.footer-grid a {
    transition: all 0.25s ease;
    padding: 5px 0;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.footer-grid a:hover {
    color: #ffffff !important;
    transform: translateX(6px);
    font-weight: 500;
}

.footer-grid p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}


.footer-grid h3 {
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    margin-bottom: 15px;
    position: relative;
}


.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background: #4a90d9;
    border-radius: 2px;
}


.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.5px;
}


#notifCount {
    display: none;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: bold;
    margin-left: 5px;
    min-width: 18px;
    text-align: center;
    animation: pulse 1.5s infinite;
}


.lc-notif-badge,
.lawyer-notif-badge,
.admin-notif-badge {
    display: none;
    background: #dc3545;
    color: white;
    border-radius: 12px;
    padding: 2px 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 5px;
    animation: pulse 1.5s infinite;
}

#lcNotificationSection {
    display: none !important;
}

#lcNotificationSection.active {
    display: block !important;
}

#lcNotificationSection .notification-list-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#lcNotificationSection.active .notification-list-container {
    max-height: 500px;
}

#welcomeUserHeading {
    color: #ffffff !important;
}

#welcomeUserHeading .typing-text {
    color: #ffffff !important;
}

#welcomeUserHeading .typing-text .username-highlight {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes audioPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.audio-playing {
    animation: audioPulse 0.8s ease-in-out infinite;
    background: #28a745 !important;
    color: white !important;
}

.audio-paused {
    background: var(--secondary) !important;
    color: white !important;
}

.stat-card-gradient-purple {
    background: var(--primary);
    color: white !important;
    border-top: none !important;
    box-shadow: 0 4px 20px rgba(26, 64, 128, 0.35) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.stat-card-gradient-purple h3,
.stat-card-gradient-purple p {
    color: white !important;
}

.stat-card-gradient-purple p {
    opacity: 0.9 !important;
}

.stat-card-gradient-teal {
    background: #1565c0 !important;
    color: white !important;
    border-top: none !important;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.25) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.stat-card-gradient-teal h3,
.stat-card-gradient-teal p {
    color: white !important;
}

.stat-card-gradient-teal p {
    opacity: 0.9 !important;
}

.stat-card-gradient-green {
    background: var(--secondary) !important;
    color: white !important;
    border-top: none !important;
    box-shadow: 0 4px 15px rgba(26, 64, 128, 0.25) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.stat-card-gradient-green h3,
.stat-card-gradient-green p {
    color: white !important;
}

.stat-card-gradient-green p {
    opacity: 0.9 !important;
}

.stat-card-gradient-orange {
    background: #0d47a1 !important;
    color: white !important;
    border-top: none !important;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.25) !important;
    border-radius: 12px !important;
    padding: 20px !important;
}

.stat-card-gradient-orange h3,
.stat-card-gradient-orange p {
    color: white !important;
}

.stat-card-gradient-orange p {
    opacity: 0.9 !important;
}


.lawyer-dashboard-mode .topbar {
    background: var(--primary) !important;
    box-shadow: 0 4px 25px rgba(26, 26, 94, 0.3) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
}


.lawyer-dashboard-mode .lcdjp-brand .brand-title {
    color: white !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15) !important;
}


.lawyer-dashboard-mode .nav-left a {
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}

.lawyer-dashboard-mode .nav-left a:hover {
    color: white !important;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2) !important;
}


.lawyer-dashboard-mode #languageSelect {
    background: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.lawyer-dashboard-mode #languageSelect option {
    background: #1a1a5e !important;
    color: white !important;
}


.lawyer-dashboard-mode .account-text {
    color: white !important;
}


.lawyer-dashboard-mode #navNotifBtn {
    color: rgba(255, 255, 255, 0.9) !important;
}
