/* style.css */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #e5e7eb;
    background: #0b0b0e;
}

.container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
}

.sidebar {
    width: 280px;
    background: #0f1117;
    border-right: 1px solid #1f2937;
    padding: 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    transition: left 0.3s ease;
}

.sidebar h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 16px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 8px;
}

.sidebar a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
}

.sidebar a:hover {
    text-decoration: underline;
}

.sidebar ul ul {
    margin-left: 12px;
    border-left: 1px solid #1f2937;
    padding-left: 12px;
}

.content {
    flex: 1;
    padding: 48px;
    max-width: 1000px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1001;
    color: #e5e7eb;
}

h2 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 10px;
    color: #ff69b4;
}

h3 {
    font-size: 16px;
    margin: 20px 0 10px;
    color: #ff69b4;
}

h4 {
    font-size: 14px;
    margin: 15px 0 5px;
    color: #ff69b4;
}

p {
    margin-bottom: 10px;
}

dl {
    margin-bottom: 20px;
}

dt {
    font-weight: bold;
    margin-top: 10px;
}

dd {
    margin-left: 0;
}

pre {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 10px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 13px;
    margin-bottom: 20px;
    color: #ddd;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #333;
    padding: 8px 12px;
    text-align: left;
    font-size: 13px;
    color: #ddd;
}

th {
    background: #222;
    font-weight: bold;
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.endpoint {
    margin-bottom: 40px;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 20px;
}

.copy-btn {
    background: #333;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 5px;
    color: #ddd;
}

.copy-btn:hover {
    background: #444;
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        flex-direction: row;
    }

    .sidebar {
        position: fixed;
        left: -280px;
        z-index: 1000;
        height: 100vh;
    }

    .sidebar.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    .content {
        padding: 60px 20px 20px;
    }
}