/* VR Detail Page Specific Styles */


.vr-detail-page .page-layout {
  
}

.vr-detail-layout {
    display: flex;
    gap: 20px;
}

.vr-main-content {
    flex: 2;
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #30363d;
}

.vr-sidebar {
    flex: 1;
}

.vr-section {
    margin-bottom: 30px;
}

.vr-section h2 {
    font-size: 1.2rem;
    color: #c9d1d9;
    margin-bottom: 15px;
    border-left: 3px solid #1f6feb;
    padding-left: 10px;
}

.vr-section p {
    color: #8b949e;
    line-height: 1.6;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
}

.header-actions .action-btn {
    background: none;
    border: none;
    color: #8b949e;
    cursor: pointer;
}

.header-actions .action-text {
    color: #8b949e;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.vr-tag {
    background-color: transparent;
    color: #8b949e;
    padding: 5px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    border: 1px solid #30363d;
}

.badge-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-display .hexagon-icon {
    width: 60px;
    height: 69px;
}

.badge-display span {
    color: #c9d1d9;
    font-weight: bold;
}

/* Score Details Styles */
.progress-header {
    display: flex;
    justify-content: space-between;
    color: #8b949e;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.score-details-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px;
}

.machine-info {
    text-align: center;
    color: #c9d1d9;
    flex-shrink: 0;
    background-color: #161b22;
    padding: 20px;
    border-radius: 8px;
}

.machine-icon {
    width: 80px;
    height: 80px;
}

.machine-tags {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
}

.machine-tags .tag {
    padding: 3px 8px;
    border-radius: 12px;
}

.machine-tags .tag.points {
    background-color: #30363d;
    color: #f5a623;
}

.machine-tags .tag.status {
    background-color: #30363d;
    color: #58a6ff;
}

.timeline-container {
    display: flex;
    gap: 40px;
    flex-grow: 1;
}

.timeline-nav {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    border-left: 2px solid #30363d;
}

.timeline-step {
    cursor: pointer;
    position: relative;
}

.timeline-step .step-name {
    color: #8b949e;
    font-weight: bold;
    transition: color 0.3s ease;
}

.timeline-step .step-dot {
    position: absolute;
    left: -27px; /* Adjust to center on the border */
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #30363d;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.timeline-step.active .step-name {
    color: #f5a623; /* Yellow for active */
}

.timeline-step.active .step-dot {
    background-color: #f5a623;
}

.timeline-content {
    flex-grow: 1;
}

.content-panel {
    display: none;
}

.content-panel.active {
    display: block;
}

.content-panel h3 {
    color: #c9d1d9;
    margin-bottom: 15px;
}

.panel-body {
    background-color: #21262d;
    border-radius: 6px;
    padding: 15px;
    color: #8b949e;
}

.actions-panel {
    background-color: #0d1117;
    border: 1px solid #30363d;
    border-radius: 8px;
    padding: 20px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-item:not(:last-child) {
    margin-bottom: 15px;
}

.action-item label {
    color: #c9d1d9;
}

.btn-start {
    background-color: #1f6feb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.flag-input {
    background-color: #0d1117;
    border: 1px solid #30363d;
    color: #c9d1d9;
    border-radius: 6px;
    flex-grow: 1;
    padding: 8px 12px;
}

.btn-submit {
    background-color: #21262d;
    color: #c9d1d9;
    border: 1px solid #30363d;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

/* Sidebar styles are mostly shared, but we can add specifics if needed */
.vr-sidebar .stats-widget {
    background-color: #161b22;
    border: 1px solid #30363d;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.vr-sidebar .stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.vr-sidebar .stat-item {
    color: #8b949e;
}

.vr-sidebar .ranking-widget {
    background-color: #161b22;
    border: 1px solid #30363d;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.vr-sidebar .ranking-widget h3 {
    font-size: 1.1rem;
    color: #c9d1d9;
    margin-bottom: 15px;
}

.vr-sidebar .ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.vr-sidebar .ranking-table th,
.vr-sidebar .ranking-table td {
    padding: 12px 5px;
    text-align: left;
    color: #8b949e;
    border-bottom: 1px solid #30363d;
}

.vr-sidebar .ranking-table th {
    color: #c9d1d9;
    font-size: 0.9rem;
}

.vr-sidebar .ranking-table tr:last-child td {
    border-bottom: none;
}

.vr-sidebar .user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vr-sidebar .user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.vr-sidebar .no-data {
    text-align: center;
    padding: 20px;
    color: #8b949e;
}
