:root {
    --primary-color: #1a73e8;
    --secondary-color: #1557b0;
    --bg-color: #f8f9fa;
    --text-color: #202124;
    --navbar-height: 70px;
    --container-width: 1200px;
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 1024px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding-top: var(--navbar-height);
}

/* Documentation Layout */
.docs-container {
    display: flex;
    min-height: calc(100vh - var(--navbar-height));
    max-width: var(--container-width);
    margin: 0 auto;
    position: relative;
}

.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #eee;
    position: fixed;
    top: var(--navbar-height);
    bottom: 0;
    left: 50%;
    transform: translateX(calc(-50% - var(--container-width)/2 + 140px));
    overflow-y: auto;
    z-index: 100;
}

.content {
    
    margin-left: 320px;
    padding: 2px;
    max-width: calc(var(--container-width) - 280px);
}

/* Main Content */
.doc-section {
    padding: 20px;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.doc-section:last-child {
    border-bottom: none;
}

.doc-section:first-child {
    padding-top: 20px;
}

.doc-section h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
}

.doc-section h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin: 40px 0 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.doc-section h3 {
    font-size: 1.6em;
    margin: 30px 0 15px;
    color: var(--secondary-color);
}

.doc-section p {
    margin-bottom: 15px;
}

/* Code Blocks */
.code-block {
    background: #1e1e1e;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    overflow-x: auto;
}

/* Tables */
.doc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.doc-table th,
.doc-table td {
    padding: 12px;
    border: 1px solid #eee;
    text-align: left;
}

.doc-table th {
    background: #f5f5f5;
}

/* Notes and Warnings */
.note, .warning {
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.note {
    background-color: #e8f0fe;
    border-left: 4px solid var(--primary-color);
}

/* Overlay para mobile */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
}

.overlay.active {
    display: block;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    right: 15px;
    top: calc(var(--navbar-height) + 10px);
    z-index: 101;
    background: white;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Mobile styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .docs-container {
        max-width: 100%;
    }

    .sidebar {
        left: -280px;
        transform: none;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        margin-left: 0;
        padding: 15px;
        max-width: 100%;
    }

    .doc-section {
        margin: 10px 0;
        padding: 15px;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .overlay.active {
        display: block;
    }
} 