:root {
    --primary-color: #3B82F6;
    --primary-hover: #2563EB;
    --secondary-color: #1F2937;
    --accent-color: #10B981;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.5);
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    color: white;
}

.doc-container {
    max-width: 1000px;
    margin: 0 auto;
}

.main-content {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.01);
    padding: 3rem;
    border: 1px solid #f3f4f6;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: -0.025em;
}

h2 {
    margin-top: 3rem;
    font-size: 1.75rem;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 1rem;
}

h3 {
    margin-top: 2rem;
    font-size: 1.25rem;
    color: #4b5563;
}

pre {
    border-radius: 12px !important;
    background-color: #111827 !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #374151;
}

code:not(pre code) {
    background-color: #eff6ff;
    color: var(--primary-color);
    padding: 0.2em 0.4em;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 600;
}

.toc-card {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    columns: 2;
}

.toc-list li {
    margin-bottom: 0.5rem;
}

.toc-list a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: var(--primary-color);
}

.custom-alert {
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid;
}

.alert-info-custom {
    background-color: #eff6ff;
    border-color: var(--primary-color);
    color: #1e3a8a;
}

.alert-warning-custom {
    background-color: #fffbeb;
    border-color: #f59e0b;
    color: #92400e;
}

.alert-danger-custom {
    background-color: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.download-box {
    background: linear-gradient(135deg, #1F2937 0%, #111827 100%);
    border-radius: 16px;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.download-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

@media (max-width: 768px) {
    .main-content {
        padding: 1.5rem;
    }

    .toc-list {
        columns: 1;
    }
}
