:root {
    --primary-color: #17a2b8;
    --secondary-color: #fd7e14;
    --highlight-color: #ffc107;
}

body {
    background-color: #f8f9fa;
}

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

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
}

.progress {
    height: 10px;
    border-radius: 5px;
}

.analysis-item {
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.analysis-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.analysis-item:hover {
    transform: translateX(4px);
    border-color: var(--secondary-color);
    background-color: rgba(253, 126, 20, 0.05);
}

.analysis-item.active {
    background-color: rgba(253, 126, 20, 0.15);
    border: 1px solid var(--secondary-color);
    transform: translateX(4px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.analysis-item.active::before {
    background-color: var(--secondary-color);
    width: 6px;
}

.analysis-container {
    max-height: 70vh;
    overflow-y: auto;
    padding: 10px;
}

.timestamp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.segment-time {
    font-size: 0.85em;
    color: #6c757d;
    font-weight: normal;
}

.analysis-item:hover .timestamp {
    color: var(--secondary-color);
}

.analysis-item.active .timestamp {
    color: var(--secondary-color);
    font-size: 1.1em;
}

.analysis-container::-webkit-scrollbar {
    width: 8px;
}

.analysis-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.analysis-container::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

.analysis-container::-webkit-scrollbar-thumb:hover {
    background: #e96c0c;
}

.suggestion-content {
    color: #333;
    font-size: 0.95em;
    line-height: 1.5;
}

.suggestion-content ul {
    padding-left: 20px;
    margin-top: 8px;
    margin-bottom: 0;
}

.suggestion-content li {
    margin-bottom: 4px;
}

.suggestion-content p {
    margin-bottom: 8px;
}

.card-title {
    color: #212529;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-color);
}

#videoPlayer {
    border-radius: 5px;
    margin-bottom: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: #6c757d;
    font-weight: 500;
}

.table th {
    white-space: nowrap;
    padding: 0.75rem;
}

.table thead th {
    border-bottom: 2px solid var(--secondary-color);
    white-space: nowrap;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.form-label {
    color: #212529;
    font-weight: 500;
}

.table td {
    font-size: 14px;
    white-space: nowrap;
    vertical-align: middle;
    padding: 0.75rem;
}

.table .btn {
    white-space: nowrap;
    padding: 0.375rem 0.75rem;
}

.fas.fa-video {
    color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn-outline-secondary {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    background-color: var(--secondary-color);
    color: white;
}

.btn i {
    margin-right: 0.5rem;
}