/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f0;
    padding: 20px;
}

/* Container for main content */
.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

/* Typography */
h1 {
    font-size: 2.5em;
    margin-bottom: 0.5em;
    color: #2c3e50;
    border-bottom: 3px solid #3498db;
    padding-bottom: 0.3em;
}

h2 {
    font-size: 1.8em;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #34495e;
}

h3 {
    font-size: 1.4em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: #34495e;
}

h4 {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #34495e;
}

p {
    margin-bottom: 1em;
}

a {
    color: #3498db;
    text-decoration: none;
}

a:hover {
    color: #2980b9;
    text-decoration: underline;
}

ul, ol {
    margin-left: 2em;
    margin-bottom: 1em;
}

li {
    margin-bottom: 0.5em;
}

time {
    display: block;
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 1.5em;
}

/* Code block styling */
pre {
    border: 1px solid #34495e;
    padding: 15px;
    background-color: #272822;
    color: #f8f8f2;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1.5em 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    font-size: 0.9em;
    line-height: 1.4;
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace;
    background-color: #ecf0f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

pre code {
    background-color: transparent;
    padding: 0;
}

/* Language-specific styling */
.language-diff, .language-py3 {
    background-color: #272822 !important;
}

/* Diff styling - deletions with strikethrough */
.crossed-out-text {
    text-decoration: line-through;
    color: #f92672;
}

/* Diff styling - additions in green */
.new-text {
    color: #a6e22e;
}

/* Tab pane visibility control */
.data-pane {
    display: none;
}

.data-pane.active {
    display: inline;
}

/* Button styling for tabs */
.data-toggle-tab {
    cursor: pointer;
    padding: 10px 20px;
    margin-right: 5px;
    margin-bottom: 10px;
    border: 2px solid #3498db;
    background-color: #ffffff;
    color: #3498db;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.2s ease;
}

.data-toggle-tab.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.data-toggle-tab:hover {
    background-color: #ecf0f1;
    border-color: #2980b9;
}

.data-toggle-tab.active:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}
