:root {
    --primary-color: #2563eb;
    --secondary-color: #f0f9ff;
    --accent-color: #1e40af;
    --text-color: #1f2937;
    --light-text: #6b7280;
    --light-bg: #f9fafb;
    --border-color: #e5e7eb;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    padding-top: 60px;
}

.navbar {
    background-color: white;
    box-shadow: var(--card-shadow);
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color);
}

.sidebar {
    position: fixed;
    top: 56px;
    left: 0;
    bottom: 0;
    width: 250px;
    padding: 20px;
    background-color: white;
    overflow-y: auto;
    box-shadow: var(--card-shadow);
    z-index: 1000;
}

.sidebar h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 20px;
}

.sidebar .nav-link {
    color: var(--text-color);
    border-radius: 5px;
    padding: 8px 12px;
    margin-bottom: 5px;
    transition: all 0.2s;
}

.sidebar .nav-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background-color: var(--primary-color);
    color: white;
}

.main-content {
    margin-left: 250px;
    padding: 20px;
}

.api-section {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    padding: 25px;
    margin-bottom: 30px;
}

.api-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.endpoint-header {
    display: flex;
    padding: 15px;
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
}

.method {
    font-weight: 600;
    margin-right: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
    color: white;
}

.get { background-color: #22c55e; }
.post { background-color: #3b82f6; }
.put { background-color: #f59e0b; }
.delete { background-color: #ef4444; }

.endpoint-url {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    padding-top: 5px;
}

.code-block {
    background-color: #1e293b;
    color: #e2e8f0;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
    white-space: pre;
}

.parameter-table, .response-table {
    width: 100%;
    margin-bottom: 20px;
}

.parameter-table th, .response-table th {
    background-color: var(--secondary-color);
    padding: 12px;
    text-align: left;
}

.parameter-table td, .response-table td {
    padding: 12px;
    border-top: 1px solid var(--border-color);
}

.badge {
    font-size: 12px;
    padding: 5px 10px;
    margin-left: 10px;
    border-radius: 10px;
}

.badge-required {
    background-color: #ef4444;
    color: white;
}

.badge-optional {
    background-color: #9ca3af;
    color: white;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        padding-top: 10px;
        height: auto;
    }
    
    .main-content {
        margin-left: 0;
        padding: 15px;
    }
} 