@import url('vazirmatn.css');

/* Unified Stylesheet for Simin CRM Documentation */

body {
    font-family: 'Vazirmatn', Tahoma, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f4f6f9;
    line-height: 1.8;
    color: #333333;
}

/* Custom Scrollbar for better UI */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Sidebar Navigation */
.sidebar {
    background-color: #ffffff;
    border-left: 1px solid #dee2e6;
    height: 100vh;
    position: sticky;
    top: 0;
    padding-top: 2rem;
    overflow-y: auto;
    z-index: 100;
}
.sidebar .nav-link {
    color: #495057;
    padding: 0.6rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}
.sidebar .nav-link i {
    width: 20px;
    margin-left: 8px;
    font-size: 1rem;
}
.sidebar .nav-link:hover {
    background-color: #f0f4f8;
    color: #0d6efd;
    transform: translateX(-3px);
}
.sidebar .nav-link.active {
    background-color: #e6f0ff;
    color: #0d6efd;
    font-weight: bold;
}

/* Page Header & Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #003d99 100%);
    color: #ffffff;
    padding: 4.5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 5px solid #0a58ca;
    position: relative;
    overflow: hidden;
}
.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
}

/* Content Sections */
.content-section {
    padding: 2.5rem 0;
    border-bottom: 1px solid #dee2e6;
}
.content-section:last-child {
    border-bottom: none;
}

/* Cards & Containers */
.doc-card {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.075);
}
.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.1);
    border-color: #0d6efd;
}

.card-manual, .endpoint-card, .card-industry {
    background-color: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    padding: 1.75rem;
    border: 1px solid rgba(0,0,0,0.05);
    transition: border-color 0.2s ease;
}
.card-manual:hover, .endpoint-card:hover, .card-industry:hover {
    border-color: #0d6efd;
}

/* Code & Tech Previews */
code {
    direction: ltr;
    display: inline-block;
    background-color: #f1f3f5;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    color: #d63384;
    font-size: 0.9rem;
    font-family: Consolas, Monaco, monospace;
}
pre {
    direction: ltr;
    background-color: #1e1e1e;
    color: #f8f9fa;
    padding: 1.25rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    font-family: Consolas, Monaco, monospace;
    border-left: 4px solid #0d6efd;
}

/* Badges & Tables */
.badge-method {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    font-weight: 600;
    border-radius: 4px;
}
.table-params th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #495057;
}

/* Industry-specific visual tweaks */
.icon-header {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}
.strategy-box {
    background-color: #f8f9fa;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border-radius: 0.375rem;
    border-right: 4px solid #0d6efd;
}

/* Footer styling */
.footer {
    padding: 2.5rem 0;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    border-top: 1px solid #dee2e6;
    background-color: #ffffff;
    margin-top: 4rem;
}
