/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #29424D;
}

/* Dashboard Tiles */
.dashboard-tile {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.dashboard-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.dashboard-tile i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.dashboard-tile h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Activity Cards */
.activity-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border-left: 4px solid #82BAA8;
}

.activity-card:hover {
    background: #f1f5f9;
}

/* Participant Cards */
.participant-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.participant-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: #82BAA8;
}

/* Status Chips */
.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-active {
    background-color: #dcfce7;
    color: #166534;
}

.status-hold {
    background-color: #fef3c7;
    color: #92400e;
}

.status-closed {
    background-color: #f1f5f9;
    color: #475569;
}

/* Category Tags */
.category-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: #e0e7ff;
    color: #3730a3;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Form Elements */
input, select, textarea {
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    padding: 0.75rem;
    transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #82BAA8;
    box-shadow: 0 0 0 3px rgba(130, 186, 168, 0.1);
}

/* Button Styles */
.btn-primary {
    background-color: #29424D;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1a2f38;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #82BAA8;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #6da894;
    transform: translateY(-2px);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Timeline Styles */
.timeline-item {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -2rem;
    width: 2px;
    background: #cbd5e1;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #82BAA8;
}

/* Message Thread */
.message-bubble {
    max-width: 70%;
    padding: 1rem;
    border-radius: 1rem;
    margin-bottom: 1rem;
}

.message-sent {
    background-color: #82BAA8;
    color: white;
    margin-left: auto;
}

.message-received {
    background-color: #f1f5f9;
    color: #29424D;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dashboard-tile {
        padding: 1rem;
    }
    
    .activity-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .message-bubble {
        max-width: 90%;
    }
}