/* Article Show Page Styles */

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
}

/* Navigation Styles */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-left .logo {
    text-decoration: none;
    color: #ffffff;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #fe7f2d 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fe7f2d;
}

.nav-btn {
    background: linear-gradient(135deg, #fe7f2d 0%, #ff6b35 100%);
    color: #ffffff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 127, 45, 0.4);
}

.logout-btn {
    color: #ff6b6b !important;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff5252 !important;
}

.inline {
    display: inline;
}

/* Main Content */
.article-main {
    padding-top: 100px;
    min-height: 100vh;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Article Header */
.article-header {
    margin-bottom: 50px;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-published {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
}

.status-draft {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: #ffffff;
}

.status-rejected {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
}

.article-date {
    font-size: 14px;
    color: #888;
}

.article-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.article-author {
    margin-bottom: 25px;
}

.author-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fe7f2d 0%, #ff6b35 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}

.author-details {
    text-align: left;
}

.author-name {
    font-weight: 600;
    font-size: 16px;
    color: #fe7f2d;
}

.reading-time {
    font-size: 14px;
    color: #888;
}

.article-excerpt {
    font-size: 1.3rem;
    color: #b0b0b0;
    font-style: italic;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    margin-bottom: 50px;
}

.content-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e5e7eb;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.content-body p {
    margin-bottom: 20px;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: #ffffff;
    margin: 30px 0 15px;
    font-weight: 600;
}

.content-body h1 { font-size: 2.2rem; }
.content-body h2 { font-size: 1.8rem; }
.content-body h3 { font-size: 1.5rem; }
.content-body h4 { font-size: 1.3rem; }

.content-body blockquote {
    border-left: 4px solid #fe7f2d;
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #b0b0b0;
    background: rgba(254, 127, 45, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.content-body code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9em;
}

.content-body pre {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    background: none;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.edit-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
}

.edit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.submit-btn {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        padding: 15px;
    }
    
    .nav-right {
        gap: 10px;
    }
    
    .nav-link,
    .nav-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .article-container {
        padding: 20px 15px;
    }
    
    .article-title {
        font-size: 2.5rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .author-info {
        flex-direction: column;
        text-align: center;
    }
    
    .author-details {
        text-align: center;
    }
    
    .article-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 2rem;
    }
    
    .content-body {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 20px;
    }
}
