body {
    background: #f8f9fa;
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for layout */
    min-height: 100vh; /* Minimum height to fill the viewport */
    flex-direction: column; /* Arrange main sections vertically */
}
.header {
    background: #fff;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 0; /* Remove bottom margin from header */
    display: flex; /* Use flexbox to align items */
    justify-content: space-between; /* Space out logo and button */
    align-items: center; /* Vertically align items */
}
.header .logo {
    max-height: 40px;
}
.main-content-area {
    display: flex; /* Use flexbox for side menu and content */
    flex: 1; /* Allow this area to grow */
    width: 100%;
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center the content area */
    padding: 0 24px; /* Add horizontal padding */
    box-sizing: border-box; /* Include padding in element's total width */
}
.sidebar {
    width: 250px; /* Fixed width for sidebar */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px;
    margin-right: 24px; /* Space between sidebar and content */
    margin-top: 24px; /* Add top margin to align with content */
    height: fit-content; /* Sidebar height fits content */
    position: sticky; /* Make sidebar sticky */
    top: 24px; /* Stick to the top with some offset */
}
.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar li {
    margin-bottom: 8px;
}
.sidebar a {
    text-decoration: none;
    color: #232323;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 4px;
    display: block;
    transition: background 0.15s;
}
.sidebar a:hover {
    background: #f0f0f0;
}
.content-area {
    flex: 1; /* Content area takes remaining space */
    margin-top: 24px; /* Add top margin to align with sidebar */
}
.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 8px;
}
.page-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 32px;
}
.api-doc-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 24px;
    margin-bottom: 24px;
}
.api-endpoint {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}
.api-endpoint .method {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    margin-right: 12px;
}
.api-endpoint .method.get {
    background: #E3F2FD;
    color: #1976D2;
}
.api-endpoint .method.post {
    background: #E8F5E9;
    color: #2E7D32;
}
.api-endpoint .method.put {
    background: #FFF3E0;
    color: #E65100;
}
.api-endpoint .method.delete {
    background: #FFEBEE;
    color: #C62828;
}
.api-endpoint .url {
    font-family: monospace;
    font-size: 16px;
    color: #232323;
}
.api-section {
    margin-bottom: 32px;
}
.api-section h2 {
    font-size: 24px;
    font-weight: 700;
    color: #232323;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F8F9FA;
}
.api-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #232323;
    margin: 24px 0 12px 0;
}
.code-block {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    margin: 12px 0;
    overflow-x: auto;
}
.param-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.param-table th,
.param-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #F8F9FA;
}
.param-table th {
    font-weight: 600;
    color: #232323;
    background: #F8F9FA;
}
.param-table td {
    color: #666;
}
.required {
    color: #D32F2F;
    font-weight: 600;
}
.optional {
    color: #1976D2;
    font-weight: 600;
}
.response-example {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 16px;
    margin: 12px 0;
}
.response-example h4 {
    font-size: 16px;
    font-weight: 600;
    color: #232323;
    margin-bottom: 8px;
}
.copy-btn {
    background: #07CDA3;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}
.copy-btn:hover {
    background: #06b38f;
}
@media (max-width: 768px) {
    .main-content-area {
        flex-direction: column; /* Stack sidebar and content on small screens */
        padding: 0 16px; /* Adjust padding */
    }
    .sidebar {
        width: 100%; /* Full width sidebar on small screens */
        margin-right: 0; /* Remove right margin */
        margin-bottom: 16px; /* Add bottom margin */
        position: static; /* Remove sticky positioning */
        top: auto;
    }
    .content-area {
        margin-top: 0; /* Remove top margin */
    }
    .api-doc-container {
        padding: 16px; /* Adjust padding */
    }
}
.entegrasyon-modul-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}
@media (min-width: 600px) {
    .entegrasyon-modul-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 992px) {
    .entegrasyon-modul-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.entegrasyon-modul {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 20px 18px;
    display: flex; /* Use flexbox for icon and text */
    align-items: flex-start;
    gap: 18px;
}
.entegrasyon-modul .modul-icon {
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #07CDA3;
    box-shadow: 0 2px 8px rgba(7,205,163,0.08);
}
.entegrasyon-modul .modul-icon img {
    width: 48px; /* Set specific width for the image */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain;
}
.entegrasyon-modul .modul-title {
    font-size: 18px;
    font-weight: 700;
    color: #07CDA3;
    margin-bottom: 4px;
}
.entegrasyon-modul .modul-desc {
    color: #232323;
    font-size: 15px;
}
.coming-soon.entegrasyon-modul {
    background: linear-gradient(45deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px dashed #232323;
}
.coming-soon .modul-icon {
    background: rgba(35,35,35,0.05);
    color: #232323;
    font-size: 24px;
    font-weight: 700;
}
.coming-soon .modul-title {
    color: #232323;
}
.coming-soon .modul-desc {
    color: #666;
}