/* VMP Fence - Malicious File Viewer Styles */
body {
    font-family: 'Consolas', 'Monaco', 'Lucida Console', monospace;
    margin: 0;
    padding: 20px;
    background: #f1f1f1;
    line-height: 1.6;
}

.header {
    background: #23282d;
    color: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #fff;
}

.file-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    background: rgba(255,255,255,0.1);
    padding: 10px;
    border-radius: 4px;
}

.info-label {
    font-weight: bold;
    color: #ccc;
    font-size: 12px;
    text-transform: uppercase;
}

.info-value {
    color: #fff;
    font-size: 14px;
    word-break: break-all;
}

.content {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.code-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e1e4e8;
    font-weight: bold;
    color: #586069;
}

.code-container {
    position: relative;
    overflow-x: auto;
    padding-top: 15px;
}

.line-numbers {
    position: absolute;
    left: 0;
    top: 15px;
    width: 60px;
    background: #f6f8fa;
    border-right: 1px solid #e1e4e8;
    padding: 0;
    text-align: right;
    color: #6a737d;
    font-size: 12px;
    line-height: 20px;
    user-select: none;
    z-index: 1;
}

.line-numbers .line-number {
    padding-right: 10px;
    display: block;
    height: 20px;
    line-height: 20px;
    margin: 0;
}

.line-numbers .line-number.highlighted {
    background: #ff6b6b;
    color: white;
    font-weight: bold;
    border-radius: 3px;
}

.code-content {
    padding: 0 15px 15px 75px;
    font-size: 12px;
    line-height: 20px;
    color: #24292e;
    white-space: pre;
    overflow-x: auto;
    min-height: 400px;
    margin: 0;
}

.code-line {
    display: block;
    height: 20px;
    line-height: 20px;
    position: relative;
    margin: 0;
    padding: 0;
}

.code-line.highlighted {
    background: #fff3cd;
    border-left: 4px solid #ff6b6b;
    padding-left: 10px;
    margin-left: -10px;
    font-weight: bold;
}

.malware-highlight {
    background: #ff6b6b;
    color: white;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

.warning-banner {
    background: #ffeaa7;
    border: 1px solid #fdcb6e;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    color: #2d3436;
}

.warning-banner strong {
    color: #e17055;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #191970;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.back-link:hover {
    background: #1c1c8b;
    color: white;
}
