html,
body {
    height: 100%;
}

.form-search {
    max-width: 350px;
    padding: 1rem;
}

.input-group-text {
    width: 40px;
}

.fa-check-double {
    color: #36b941;
}

.fa-triangle-exclamation {
    color: #f0a93e;
}

.fa-code {
    color: #f03e3e;
}

.protocol {
    color: #49def1;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #007bff;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 30px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 30px;
}

.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #007bff;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #007bff;
    top: 20px;
}

.timeline-item:nth-child(odd) .timeline-marker {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-marker {
    left: -10px;
}

.timeline-content {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-left-color: #e9ecef;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-right-color: #e9ecef;
}

.timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    margin-bottom: 10px;
}

.status-received {
    background-color: #17a2b8;
}

.status-analyzing {
    background-color: #ffc107;
}

.status-processing {
    background-color: #fd7e14;
}

.status-resolved {
    background-color: #28a745;
}

.status-closed {
    background-color: #6c757d;
}

.timeline-time {
    color: #6c757d;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.timeline-title {
    color: #495057;
    font-weight: 600;
    margin-bottom: 10px;
}

.timeline-description {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.5;
}

.status-badge {
    font-size: 0.8em;
    padding: 4px 8px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
    }

    .timeline-marker {
        left: 10px !important;
        right: auto !important;
    }

    .timeline-content::after {
        left: -8px !important;
        right: auto !important;
        border-left-color: transparent !important;
        border-right-color: #e9ecef !important;
    }
}