body {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}
.upload-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}
.results-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.result-box {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.result-box h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
pre {
    background-color: #f8f8f8;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #45a049;
}
input[type="file"] {
    margin: 10px 0;
}
.loading {
    display: none;
    margin-top: 10px;
    color: #666;
}
.error {
    color: #ff0000;
    margin-top: 10px;
    display: none;
}
.byte-display {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
    font-family: monospace;
}
.byte-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.byte {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f8f8f8;
}
.byte.highlighted {
    background-color: #ffeb3b;
    border-color: #fdd835;
}
.byte-index {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.byte-result {
    font-size: 12px;
    color: #2196F3;
    margin-top: 2px;
    font-weight: bold;
}
