/* Add these styles to your existing CSS or in a <style> tag in your HTML */

/* Activity Card Hover Effects */
.activity-card {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.activity-card:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Filter Button Styles */
.filter-btn {
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-btn:hover {
    transform: translateY(-1px);
}

/* Priority Badge Animation */
.priority-badge {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Response Status Indicators */
.response-status {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
}

.response-status.seen {
    color: #10b981;
}

.response-status.unseen {
    color: #6b7280;
}

/* Improved Modal Scrollbar */
#client-activities-grid {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 0.5rem;
}

#client-activities-grid::-webkit-scrollbar {
    width: 6px;
}

#client-activities-grid::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 3px;
}

#client-activities-grid::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

#client-activities-grid::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* Activity Type Icons */
.activity-type-icon {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.875rem;
}

/* Property Status Overlay */
.property-status-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
}

/* Textarea Focus Styles */
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Response History Styles */
.response-history {
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.response-history-item {
    padding: 0.5rem;
    border-left: 3px solid #e5e7eb;
    margin-bottom: 0.5rem;
}

.response-history-item.unread {
    border-left-color: #3b82f6;
    background-color: #eff6ff;
}

/* Activity card hover effect */
.activity-card:hover {
    border-color: #3b82f6;
}

/* Filter button transitions */
.filter-btn {
    transition: all 0.2s ease;
}

#property-viewing-modal {
    z-index: 200 !important;
}

#property-chat-modal {
    z-index: 300 !important;
}
