body {
    background-color: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(33, 40, 50, 0.15);
    margin-bottom: 1.5rem;
}

.card-header {
    font-weight: 500;
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(33, 40, 50, 0.125);
}

.table-responsive {
    overflow-x: auto;
}

.timeline {
    position: relative;
    padding-left: 1rem;
}

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

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0.25rem;
    z-index: 1;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
}

@media (max-width: 767.98px) {
    .card-body {
        padding: 1rem;
    }
}


/* Стили для личного кабинета */
.client-dashboard {
    min-height: 100vh;
    background-color: #f8f9fa;
}

.client-navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.client-profile-card {
    position: sticky;
    top: 20px;
}

.chat-container {
    scroll-behavior: smooth;
}

.timeline {
    position: relative;
    padding-left: 1rem;
}

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

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
}

.timeline-badge {
    position: absolute;
    left: 0;
    top: 0.25rem;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .client-profile-card {
        position: static;
        margin-bottom: 1.5rem;
    }
}