.dispt-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-4);
}

.dispt-section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.dispt-section-actions {
    display: flex;
    gap: var(--space-2);
}

.dispt-filter-container {
    position: relative;
}

.dispt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.dispt-btn-outline-sm {
    background-color: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.dispt-btn-outline-sm:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.dispt-btn-outline {
    background-color: transparent;
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    padding: var(--space-3) var(--space-6);
}

.dispt-btn-outline:hover {
    background-color: var(--brand-primary);
    color: white;
}

.dispt-btn-primary-sm {
    background-color: var(--brand-primary);
    color: white;
    border: none;
    font-size: 0.875rem;
    padding: var(--space-1) var(--space-3);
}

.dispt-btn-primary-sm:hover {
    background-color: var(--brand-primary-dark);
}

.dispt-date-filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    display: none;
    padding: var(--space-2);
    margin-top: var(--space-1);
}

.dispt-filter-container.active .dispt-date-filter-dropdown {
    display: block;
}

.dispt-filter-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: var(--space-2);
    border: none;
    background: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background-color var(--transition-normal);
    color: var(--text-secondary);
}

.dispt-filter-option:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.dispt-filter-option.active {
    background-color: var(--bg-tertiary);
    font-weight: 500;
    color: var(--text-primary);
}

.dispt-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.dispt-item {
    background-color: var(--bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal);
}

.dispt-item:hover {
    box-shadow: var(--shadow-md);
}

.dispt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.dispt-company {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.dispt-company img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.dispt-company h3 {
    font-size: 1.125rem;
    margin-bottom: 0;
    color: var(--text-primary);
}

.dispt-date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.dispt-status {
    display: flex;
    align-items: center;
}

.dispt-status-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.dispt-status-badge.favorable {
    background-color: rgba(0, 143, 93, 0.1);
    color: var(--success);
}

.dark .dispt-status-badge.favorable {
    background-color: rgba(0, 143, 93, 0.2);
}

.dispt-status-badge.partial {
    background-color: rgba(229, 131, 0, 0.1);
    color: var(--warning);
}

.dark .dispt-status-badge.partial {
    background-color: rgba(229, 131, 0, 0.2);
}

.dispt-status-badge.unfavorable {
    background-color: rgba(220, 38, 38, 0.1);
    color: var(--error);
}

.dark .dispt-status-badge.unfavorable {
    background-color: rgba(220, 38, 38, 0.2);
}

.dispt-content {
    padding: var(--space-4);
}

.dispt-content h4 {
    font-size: 1.125rem;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
}

.dispt-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dispt-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: var(--space-2);
}

.dispt-timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-light);
    z-index: 1;
}

.dispt-timeline-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.dispt-timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background-color: var(--bg-primary);
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.dispt-timeline-icon i {
    font-size: 1.25rem;
    color: var(--text-muted);
}

.dispt-timeline-item.completed .dispt-timeline-icon {
    background-color: rgba(0, 143, 93, 0.1);
    border-color: var(--success);
}

.dark .dispt-timeline-item.completed .dispt-timeline-icon {
    background-color: rgba(0, 143, 93, 0.2);
}

.dispt-timeline-item.completed .dispt-timeline-icon i {
    color: var(--success);
}

.dispt-timeline-content h5 {
    font-size: 0.75rem;
    margin-bottom: 2px;
    font-weight: 500;
    color: var(--text-primary);
}

.dispt-timeline-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dispt-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-3);
    padding: var(--space-4);
    border-top: 1px solid var(--border-light);
}

.dispt-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-primary);
}

.dispt-detail-header h4 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dispt-detail-header h4 i {
    color: var(--brand-primary);
}


.dispt-close-details {
    background: none;
    border: none;
    padding: var(--space-2);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.dispt-close-details:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.dispt-close-details i {
    font-size: 1rem;
}

.dispt-full-description {
    padding: var(--space-4);
    background-color: var(--bg-primary);
}

.dispt-full-description p {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
    line-height: 1.6;
}

.dispt-full-description p:last-child {
    margin-bottom: 0;
}

.dispt-timeline-full {
    padding: var(--space-4);
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
}

.dispt-timeline-full h5 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dispt-timeline-full h5 i {
    color: var(--brand-primary);
}

.dispt-timeline-container {
    position: relative;
    padding-left: var(--space-4);
}

.dispt-timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding-bottom: var(--space-4);
}

.dispt-timeline-step:last-child {
    padding-bottom: 0;
}

.dispt-timeline-step:last-child .dispt-timeline-line {
    display: none;
}

.dispt-timeline-marker {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-primary);
    border: 2px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.dispt-timeline-marker i {
    font-size: 1rem;
    color: var(--text-muted);
}

.dispt-timeline-step.completed .dispt-timeline-marker {
    background-color: rgba(0, 143, 93, 0.1);
    border-color: var(--success);
}

.dark .dispt-timeline-step.completed .dispt-timeline-marker {
    background-color: rgba(0, 143, 93, 0.2);
}

.dispt-timeline-step.completed .dispt-timeline-marker i {
    color: var(--success);
}

.dispt-timeline-info {
    flex: 1;
    padding-top: var(--space-1);
}

.dispt-timeline-info h6 {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 var(--space-1) 0;
    color: var(--text-primary);
}

.dispt-timeline-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.dispt-timeline-date i {
    font-size: 0.7rem;
}

.dispt-timeline-line {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -16px;
    width: 2px;
    background-color: var(--border-light);
    z-index: 1;
}

.dispt-timeline-step.completed .dispt-timeline-line {
    background-color: var(--success);
}

.dispt-comments {
    padding: var(--space-4);
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.dispt-comments h5 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-light);
}

.dispt-comments h5 i {
    color: var(--brand-primary);
}

.admin-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--brand-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-primary);
}

.admin-badge i {
    font-size: 0.6rem;
    color: white;
}

.dispt-comment-avatar {
    position: relative;
}

.dispt-resolution {
    margin-top: var(--space-4);
    background-color: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    border: 1px solid var(--border-light);
}

.dispt-resolution h5 {
    font-size: 1rem;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.dispt-resolution h5 i {
    color: var(--brand-primary);
}

.dispt-resolution-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.dispt-resolution-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-3);
}

.dispt-resolution-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-shrink: 0;
}

.dispt-resolution-label i {
    font-size: 0.75rem;
    color: var(--brand-primary);
}

.dispt-resolution-value {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: right;
    flex: 1;
}

.dispt-details-content {
    display: none;
    padding: var(--space-4);
    background-color: var(--bg-tertiary);
    border-top: 1px solid var(--border-light);
}

.dispt-full-content {
    margin-bottom: var(--space-4);
}

.dispt-full-content h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.dispt-full-content p {
    margin-bottom: var(--space-3);
    color: var(--text-secondary);
}

.dispt-comments {
    margin-top: var(--space-6);
}

.dispt-comments h5 {
    font-size: 1rem;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

.dispt-comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.dispt-comment-item {
    display: flex;
    gap: var(--space-3);
}

.dispt-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    overflow: hidden;
    flex-shrink: 0;
}

.dispt-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dispt-comment-content {
    flex: 1;
}

.dispt-comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-1);
}

.dispt-comment-author {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.dispt-comment-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.dispt-comment-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.dispt-comment-item.admin .dispt-comment-author {
    color: var(--brand-primary);
}

.dispt-resolution {
    background-color: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: var(--space-4);
}

.dispt-resolution h5 {
    font-size: 1rem;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.dispt-resolution-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.dispt-resolution-item {
    display: flex;
    justify-content: space-between;
}

.dispt-resolution-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.dispt-resolution-value {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dispt-section-footer {
    display: flex;
    justify-content: center;
    margin-top: var(--space-6);
}

.dispt-alert {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    z-index: 9999;
    max-width: 350px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.dispt-alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.dark .dispt-alert-success {
    background-color: rgba(16, 185, 129, 0.2);
}

.dispt-alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
}

.dark .dispt-alert-error {
    background-color: rgba(239, 68, 68, 0.2);
}

.dispt-alert-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--info);
    border: 1px solid var(--info);
}

.dark .dispt-alert-info {
    background-color: rgba(59, 130, 246, 0.2);
}

.dispt-alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dispt-close-alert {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    .dispt-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .dispt-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-3);
    }
    
    .dispt-timeline {
        flex-direction: column;
        gap: var(--space-4);
        align-items: flex-start;
    }
    
    .dispt-timeline::before {
        display: none;
    }
    
    .dispt-timeline-item {
        flex-direction: row;
        width: 100%;
        text-align: left;
        gap: var(--space-3);
    }
    
    .dispt-timeline-content {
        flex: 1;
    }
    
    .dispt-actions {
        flex-direction: column;
    }
    
    .dispt-btn {
        width: 100%;
    }

    .dispt-detail-header {
        padding: var(--space-3);
    }
    
    .dispt-detail-header h4 {
        font-size: 1.125rem;
    }
    
    .dispt-full-description,
    .dispt-timeline-full,
    .dispt-comments {
        padding: var(--space-3);
    }
    
    .dispt-timeline-container {
        padding-left: var(--space-3);
    }
    
    .dispt-timeline-marker {
        width: 32px;
        height: 32px;
    }
    
    .dispt-timeline-line {
        left: 16px;
        top: 32px;
    }
    
    .dispt-resolution-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-1);
    }
    
    .dispt-resolution-value {
        text-align: left;
    }
}