* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
}

header {
    border-bottom: 2px solid #667eea;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

h1 {
    color: #333;
    font-size: 2.2em;
    margin-bottom: 10px;
}

h2 {
    color: #667eea;
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

h3 {
    color: #555;
    font-size: 1.2em;
    margin-top: 20px;
    margin-bottom: 10px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #555;
}

a {
    color: #667eea;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #764ba2;
}

ul, ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

li {
    margin-bottom: 8px;
    line-height: 1.6;
}

code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Courier New', monospace;
    color: #d63384;
    font-size: 0.9em;
}

pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.4;
    border-left: 4px solid #667eea;
}

pre.copyable {
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s, transform 0.1s;
}

pre.copyable:hover {
    background: #3d3d3d;
    transform: translateX(5px);
}

pre.copyable::after {
    content: 'Click to copy';
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    opacity: 0;
    transition: opacity 0.2s;
}

pre.copyable:hover::after {
    opacity: 1;
}

pre.copyable.copied::after {
    content: '✓ Copied!';
    background: #4caf50;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table thead {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #dee2e6;
}

table tbody tr:hover {
    background-color: #f8f9fa;
}

.info-box, .warning-box, .success-box {
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    border-left: 4px solid;
}

.info-box {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.warning-box {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.success-box {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.date {
    color: #999;
    font-size: 0.95em;
    font-style: italic;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.95em;
    color: #666;
}

.breadcrumb a {
    color: #667eea;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
    color: #999;
    text-align: center;
    font-size: 0.9em;
}

.related-docs {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #667eea;
}

.related-docs h3 {
    margin-top: 0;
    color: #667eea;
}

.related-docs ul {
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.4em;
    }

    pre {
        font-size: 0.85em;
    }
}
