﻿﻿.blog-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Başlıklar */
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4,
.blog-content h5,
.blog-content h6 {
    margin: 1.2em 0 0.6em 0;
    font-weight: 600;
    color: #222;
}

/* Paragraflar */
.blog-content p {
    margin: 0.8em 0;
}

/* Tablolar responsive ve güzel görünüm */
.blog-content .table-responsive {
    overflow-x: auto;
    margin: 1em 0;
}

.blog-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
}

.blog-content th,
.blog-content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.blog-content th {
    background-color: #f1f1f1;
    font-weight: 600;
}

pre {
    position: relative;
    background: #f8fafc;
    color: #111827;
    border-radius: 10px;
    font-size: 18px; 
    line-height: 1.5;
    font-family: "Cascadia Mono", Consolas, Menlo, Monaco, "Courier New", monospace;
    border: 1px solid #e5e7eb;
  
    padding: 20px 30px;
}



.code-scroll {
    overflow-x: auto;
    padding: 16px 18px;
}


.copy-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 6px;
    border: none;
    background: #111827;
    color: #e5e7eb;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}


    .copy-btn svg {
        width: 14px;
        height: 14px;
    }


    .copy-btn:hover {
        background: #1e293b;
      
    }


    .copy-btn.copied {
        background: rgba(52,73,94,0.7); 
        border-color: #374151;
    }




pre[class*="language-"] {
    background: #f8fafc; /* çok açık gri */
    border-radius: 10px;
    padding: 16px 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 6px rgba(0,0,0,.04);
    font-size: 14px;
    line-height: 1.6;
}

code[class*="language-"] {
    font-family: Consolas, Monaco, "Courier New", monospace;
    color: #111827;
}




/* Linkler */
.blog-content a {
    color: #007bff;
    text-decoration: none;
}

    .blog-content a:hover {
        text-decoration: underline;
    }

/* Listeler */
.blog-content ul,
.blog-content ol {
    margin: 0.8em 0 0.8em 2em;
}

/* Görseller */
.blog-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em 0;
    border-radius: 5px;
}

.sticky-sidebar {
    position: sticky;
    top: 20px;
}


