@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* static/styles/landing.css */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f4f6f8;
    color: #333;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background-color: #0047bb;
    color: #fff;
    padding: 1.5rem;
    box-shadow: 2px 0 6px rgba(0, 0, 0, 0.1);
}

.sidebar h2 {
    margin-top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin: 1rem 0;
}

.sidebar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar a:hover {
    color: #fff;
}

.main-content {
    flex: 1;
    padding: 2rem;
}

.header {
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

header h1 {
    margin: 0;
}

section {
    margin-bottom: 2rem;
}

code {
    background: none;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Styles for reusable endpoint cards */

.endpoint-section {
    margin-bottom: 3rem;
}

.description {
    color: #666;
    margin-bottom: 1rem;
}

.endpoint-card {
    display: flex;
    border-left: 6px solid #0047bb;
    background: #f9fafb;
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    gap: 1rem;
    align-items: flex-start;
    overflow-x: auto;
}

.method-tag {
    font-weight: bold;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    color: white;
    margin-top: 4px;
    white-space: nowrap;
}

.method-tag.get {
    background-color: #22c55e;
}

.method-tag.post {
    background-color: #3b82f6;
}

.method-tag.delete {
    background-color: #ef4444;
}

.method-tag.put {
    background-color: #f97316;
}

.endpoint-info p {
    margin: 0.4rem 0;
}

.endpoint-info code {
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 4px;
}

pre {
    background: #001347;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    font-size: 0.9rem;
}

#codesnippet {
    background: none;
}