/* PDF Benzeri API Dokümantasyon CSS */
@page {
    size: A4;
    margin: 2cm;
}

.pdf-documentation {
    max-width: 210mm;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    font-family: 'Times New Roman', serif;
    line-height: 1.6;
    color: #000;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.pdf-header {
    border-bottom: 3px solid #162171;
    padding-bottom: 20px;
    margin-bottom: 30px;
    text-align: center;
}

.pdf-logo {
    max-height: 80px;
    margin-bottom: 15px;
}

.pdf-title {
    font-size: 28px;
    font-weight: bold;
    color: #162171;
    margin: 10px 0;
    text-align: center;
}

.pdf-subtitle {
    font-size: 18px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
}

.pdf-toc {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid #162171;
}

.pdf-toc h2 {
    font-size: 20px;
    color: #162171;
    margin-bottom: 15px;
    font-weight: bold;
}

.pdf-toc ol {
    margin-left: 20px;
    padding-left: 0;
}

.pdf-toc li {
    margin: 8px 0;
    font-size: 14px;
}

.pdf-toc a {
    color: #162171;
    text-decoration: none;
}

.pdf-toc a:hover {
    text-decoration: underline;
}

.pdf-section {
    margin: 40px 0;
    page-break-inside: avoid;
}

.pdf-section-title {
    font-size: 22px;
    font-weight: bold;
    color: #162171;
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #162171;
}

.pdf-section-subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 12px 0;
}

.pdf-paragraph {
    margin: 12px 0;
    text-align: justify;
    font-size: 14px;
}

.pdf-alert {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.pdf-alert strong {
    color: #1976D2;
}

.pdf-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
}

.pdf-table th {
    background: #162171;
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #000;
}

.pdf-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.pdf-table tr:nth-child(even) {
    background: #f8f9fa;
}

.pdf-code-block {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-left: 4px solid #162171;
    padding: 15px;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.pdf-code-block-title {
    font-weight: bold;
    color: #162171;
    margin-bottom: 10px;
    font-size: 13px;
}

.pdf-list {
    margin: 15px 0;
    padding-left: 25px;
}

.pdf-list li {
    margin: 8px 0;
    font-size: 14px;
}

.pdf-list strong {
    color: #162171;
}

.pdf-endpoint {
    background: #f8f9fa;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #162171;
}

.pdf-endpoint-method {
    display: inline-block;
    background: #162171;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 10px;
    font-size: 12px;
}

.pdf-endpoint-url {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #333;
}

.pdf-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 2px solid #162171;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.pdf-footer-info {
    margin: 8px 0;
}

.pdf-footer-info strong {
    color: #162171;
}

.pdf-page-number {
    position: fixed;
    bottom: 20px;
    right: 40px;
    font-size: 11px;
    color: #666;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .pdf-documentation {
        box-shadow: none;
        padding: 0;
    }
    
    .pdf-page-number {
        position: fixed;
        bottom: 10mm;
        right: 20mm;
    }
    
    .pdf-section {
        page-break-inside: avoid;
    }
    
    .pdf-code-block {
        page-break-inside: avoid;
    }
}

/* Responsive */
@media screen and (max-width: 768px) {
    .pdf-documentation {
        padding: 20px;
    }
    
    .pdf-title {
        font-size: 22px;
    }
    
    .pdf-section-title {
        font-size: 18px;
    }
}

