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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    color: #fff;
    line-height: 1.6;
}

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

/* Sidebar */
.sidebar {
    width: 280px;
    background: rgba(0,0,0,0.3);
    padding: 24px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    text-decoration: none;
    color: #fff;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-logo span {
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section h3 {
    color: #DE6D48;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.nav-section a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.nav-section a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.nav-section a.active {
    color: #fff;
    background: rgba(222, 109, 72, 0.2);
    border-left: 3px solid #DE6D48;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 48px;
    max-width: 900px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: #fff;
}

h2 {
    font-size: 1.75rem;
    margin: 32px 0 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

h3 {
    font-size: 1.25rem;
    margin: 24px 0 12px;
    color: #DE6D48;
}

p {
    color: #cbd5e1;
    margin-bottom: 16px;
}

ul, ol {
    color: #cbd5e1;
    margin: 0 0 16px 24px;
}

li {
    margin-bottom: 8px;
}

/* Cards */
.card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.1);
}

.card h3 {
    margin-top: 0;
}

/* Tips and Warnings */
.tip {
    background: rgba(88, 119, 88, 0.2);
    border-left: 4px solid #587758;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.tip::before {
    content: "Tip: ";
    font-weight: 700;
    color: #587758;
}

.warning {
    background: rgba(222, 109, 72, 0.2);
    border-left: 4px solid #DE6D48;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 16px 0;
}

.warning::before {
    content: "Note: ";
    font-weight: 700;
    color: #DE6D48;
}

/* Code/Steps */
.steps {
    counter-reset: step;
    list-style: none;
    margin-left: 0;
}

.steps li {
    position: relative;
    padding-left: 48px;
    margin-bottom: 24px;
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    background: #DE6D48;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.2s, border-color 0.2s;
    text-decoration: none;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: rgba(222, 109, 72, 0.3);
}

.feature-card h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.feature-card p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.breadcrumb a {
    color: #DE6D48;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}

th, td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

th {
    color: #DE6D48;
    font-weight: 600;
}

td {
    color: #cbd5e1;
}

/* Badge */
.badge {
    display: inline-block;
    background: #DE6D48;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 700;
}

.badge-green {
    background: #587758;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1001;
    background: #DE6D48;
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.5rem;
}

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

    .sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #1a1a2e;
        z-index: 1000;
        padding-top: 80px;
    }

    .sidebar.open {
        display: block;
    }

    .main-content {
        margin-left: 0;
        padding: 80px 24px 24px;
    }

    h1 {
        font-size: 1.75rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.85rem;
}

.footer a {
    color: #DE6D48;
    text-decoration: none;
}
