.font-geist-mono {
    font-family: "SF Mono", SFMono-Regular, ui-monospace, monospace;
}

/* Tab navigation */
.tab-btn {
    transition: all 0.2s ease;
}

.tab-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.tab-btn:hover:not(.active) {
    background-color: #f3f4f6;
}

.tab-content {
    transition: opacity 0.3s ease-in-out;
}

.tab-content.hidden {
    display: none;
    opacity: 0;
}

.tab-content.active {
    opacity: 1;
}

/* Timeline styling */
.timeline-container {
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 28px;
    padding-bottom: 24px;
    border-left: 2px solid #e5e7eb;
}

.timeline-item:last-child {
    border-left: 2px solid transparent;
}

.timeline-marker {
    position: absolute;
    left: -6px;
    width: 10px;
    height: 10px;
    background-color: #000;
    border-radius: 50%;
}

.timeline-content {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    transition: transform 0.2s;
}

.timeline-content:hover {
    transform: translateX(4px);
    background-color: white;
}

/* Clue card styling */
.clue-card {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.clue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.clue-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.clue-details.expanded {
    max-height: 500px;
}

.clue-tag {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    background-color: #f3f4f6;
    border-radius: 12px;
    margin-right: 6px;
    margin-bottom: 4px;
}

.filter-btn {
    display: inline-block;
    font-size: 12px;
    padding: 3px 10px;
    background-color: #f3f4f6;
    border-radius: 12px;
    margin-right: 6px;
    transition: all 0.2s;
}

.filter-btn.active {
    background-color: #000;
    color: #fff;
}

/* Suspect card styling */
.suspect-card {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.suspect-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.suspect-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.suspect-details.expanded {
    max-height: 500px;
}

.suspect-role {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    background-color: #f3f4f6;
    border-radius: 12px;
}

.suspect-evidence,
.suspect-motive {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

/* Deduction flow styling */
.deduction-node {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 28px;
    position: relative;
}

.deduction-node::after {
    content: '';
    position: absolute;
    left: 30px;
    bottom: -20px;
    width: 2px;
    height: 20px;
    background-color: #e5e7eb;
}

.deduction-node:last-child::after {
    display: none;
}

.expand-btn {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #f3f4f6;
    transition: all 0.2s;
}

.expand-btn:hover {
    background-color: #e5e7eb;
}

/* Case connections styling */
.case-connections-container {
    position: relative;
    min-height: 400px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
}

.connection-node {
    position: absolute;
    background-color: white;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px;
    min-width: 120px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.connection-node:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 10;
}

.connection-node.person {
    background-color: #f8f9ff;
}

.connection-node.clue {
    background-color: #f9fff8;
}

.connection-node.event {
    background-color: #fff8f8;
}

.connection-line {
    position: absolute;
    height: 2px;
    background-color: #e5e7eb;
    transform-origin: 0 0;
    z-index: -1;
}

.connection-highlight {
    border: 2px solid #000;
}
