/**
 * VOIDBOUND - Chronicle Export Styles
 */

.chronicle-export-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.chronicle-export-dialog {
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a15 100%);
    border: 1px solid #00f0ff;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    animation: dialogSlideIn 0.3s ease-out;
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.export-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
    background: rgba(0, 240, 255, 0.05);
}

.export-header h3 {
    margin: 0;
    color: #00f0ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    letter-spacing: 2px;
}

.export-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.export-close:hover {
    color: #ff4444;
}

.export-content {
    padding: 20px;
}

.export-content > p {
    color: #aaa;
    margin: 0 0 20px 0;
    font-size: 14px;
}

.export-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 30, 50, 0.8);
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.export-btn:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: #00f0ff;
    transform: translateX(5px);
}

.export-btn.pdf:hover {
    border-color: #ff6b6b;
}

.export-btn.text:hover {
    border-color: #4CAF50;
}

.export-btn.json:hover {
    border-color: #FFC107;
}

.export-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
}

.export-label {
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    display: block;
}

.export-desc {
    color: #888;
    font-size: 12px;
    display: block;
    margin-top: 3px;
}

.export-stats {
    display: flex;
    justify-content: space-around;
    padding: 15px 0 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.export-stats span {
    color: #666;
    font-size: 12px;
    font-family: 'JetBrains Mono', monospace;
}

/* Crew Web CSS (adding missing styles) */
.crew-web-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9000;
}

.crew-web-container {
    background: linear-gradient(145deg, #1a1a2e 0%, #0a0a15 100%);
    border: 1px solid #00f0ff;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.crew-web-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3);
}

.crew-web-header h2 {
    margin: 0;
    color: #00f0ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
}

.crew-web-close {
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
}

.crew-web-close:hover {
    color: #ff4444;
}

.crew-web-content {
    flex: 1;
    position: relative;
    overflow: hidden;
}

#crew-web-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.crew-web-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #00f0ff;
    border-radius: 4px;
    padding: 10px;
    pointer-events: none;
    display: none;
    z-index: 100;
    min-width: 150px;
    max-width: 250px;
}

.tooltip-name {
    color: #00f0ff;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
}

.tooltip-role {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}

.tooltip-trust {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    margin-bottom: 5px;
}

.tooltip-mood {
    color: #aaa;
    font-size: 11px;
    margin-bottom: 8px;
}

.tooltip-memories {
    color: #666;
    font-size: 10px;
    margin-top: 8px;
    border-top: 1px solid #333;
    padding-top: 5px;
}

.tooltip-memory {
    color: #888;
    font-size: 10px;
    font-style: italic;
    margin-top: 3px;
}

.tooltip-moral {
    color: #FFC107;
    font-size: 11px;
}

.crew-web-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-color.positive {
    background: #4CAF50;
}

.legend-color.neutral {
    background: #FFC107;
}

.legend-color.negative {
    background: #f44336;
}

.legend-line {
    width: 20px;
    height: 2px;
}

.legend-line.tension {
    background: #ff9800;
    background: repeating-linear-gradient(
        90deg,
        #ff9800 0px,
        #ff9800 4px,
        transparent 4px,
        transparent 8px
    );
}

.legend-line.respect {
    background: #2196F3;
}
