/* Article Page Specific Styling */
.article-container {
    max-width: 900px;
    margin: 120px auto 60px;
    padding: 0 5%;
    color: #cbd5e1;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #94a3b8;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.featured-image {
    width: 100%;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.article-content h3 {
    color: #38bdf8;
    margin: 30px 0 15px;
}

.article-content p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Code Editor Styling */
.code-editor {
    background: #0f172a;
    border-radius: 12px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.editor-header {
    background: rgba(30, 41, 59, 0.8);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.file-name {
    font-size: 0.85rem;
    font-family: 'Fira Code', monospace;
    color: #94a3b8;
}

.copy-btn {
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8;
    border: 1px solid #38bdf8;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.copy-btn:hover {
    background: #38bdf8;
    color: #0f172a;
}

.editor-body {
    padding: 20px;
    overflow-x: auto;
}

.editor-body pre {
    margin: 0;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    color: #e2e8f0;
}


/* Prism.js ki default padding ko handle krne k liye */
pre[class*="language-"] {
    background: transparent !important; /* Humara apna editor bg use hoga */
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem;
}

code[class*="language-"] {
    text-shadow: none !important; /* Extra shadow hatane k liye */
    font-family: 'Fira Code', monospace !important;
}

/* Scrollbar styling for code box */
.editor-body::-webkit-scrollbar {
    height: 8px;
}
.editor-body::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 10px;
}