/* Assignees Component Styles */
.assignee-item {
    transition: background-color 0.2s ease;
}

.assignee-item:hover {
    background-color: #f8f9fa;
}

.assignee-item img {
    object-fit: cover;
}

.assignee-item .btn-group {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.assignee-item:hover .btn-group {
    opacity: 1;
}

/* Avatar placeholder */
.rounded-circle {
    border: 2px solid #dee2e6;
}

/* Primary badge */
.badge.bg-primary {
    font-size: 0.75rem;
}

/* Alerts container */
#alerts-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 1050;
    max-width: 400px;
}

#alerts-container .alert {
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Comments Component Styles */
.comment-item {
    transition: background-color 0.2s ease;
}

.comment-item:hover {
    background-color: #f8f9fa;
}

.comment-text {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

.comment-item img {
    object-fit: cover;
}

.comment-item .btn-group {
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.comment-item:hover .btn-group {
    opacity: 1;
}

#add-comment-form textarea {
    resize: vertical;
    min-height: 80px;
}

.badge.bg-warning {
    font-size: 0.75rem;
}

/* Activity Timeline Styles */
.activity-timeline {
    position: relative;
    padding-left: 30px;
}

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

.activity-item {
    position: relative;
}

.activity-icon {
    position: absolute;
    left: -30px;
    width: 24px;
    height: 24px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 2px solid #dee2e6;
}

.activity-content {
    padding-bottom: 20px;
}

.activity-description {
    color: #6c757d;
    margin-top: 4px;
}

.activity-changes {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.activity-changes .text-decoration-line-through {
    color: #dc3545;
}

.activity-changes .text-success {
    color: #198754;
    font-weight: 500;
}

/* Recurring Task Styles */
.recurrence-pattern-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #dee2e6;
}

.day-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.day-selector .btn {
    min-width: 50px;
}

.day-selector .btn-check:checked + .btn {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.badge.recurring-task {
    background-color: #17a2b8;
}

.badge.bg-info {
    font-size: 0.875rem;
}
