/* Blog Dark Theme Styles */
.blog-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1b69 100%);
    min-height: 100vh;
    color: #e8e8e8;
}

.blog-header {
    background: linear-gradient(90deg, #2d1b69 0%, #7b2cbf 100%);
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(123, 44, 191, 0.3);
}

.blog-title {
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
}

.blog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Post Cards */
.blog-post-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border: 1px solid #444;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(123, 44, 191, 0.2);
    border-color: #7b2cbf;
}

.blog-post-header {
    background: linear-gradient(90deg, #333, #444);
    padding: 1.5rem;
    border-bottom: 2px solid #7b2cbf;
}

.blog-post-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.blog-post-meta {
    color: #b8b8b8;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-post-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-post-content {
    padding: 1.5rem;
    color: #e8e8e8;
    line-height: 1.6;
}

.blog-post-excerpt {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.blog-post-actions {
    padding: 1rem 1.5rem;
    background: rgba(123, 44, 191, 0.1);
    border-top: 1px solid #444;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn-blog-primary {
    background: linear-gradient(45deg, #7b2cbf, #9d4edd);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(123, 44, 191, 0.3);
}

.btn-blog-primary:hover {
    background: linear-gradient(45deg, #9d4edd, #c77dff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 44, 191, 0.4);
    color: white;
}

.btn-blog-secondary {
    background: linear-gradient(45deg, #495057, #6c757d);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-blog-secondary:hover {
    background: linear-gradient(45deg, #6c757d, #868e96);
    transform: translateY(-2px);
    color: white;
}

.btn-blog-warning {
    background: linear-gradient(45deg, #fd7e14, #ff922b);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-blog-warning:hover {
    background: linear-gradient(45deg, #ff922b, #ffb84d);
    transform: translateY(-2px);
    color: white;
}

.btn-blog-danger {
    background: linear-gradient(45deg, #dc3545, #e55353);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-blog-danger:hover {
    background: linear-gradient(45deg, #e55353, #ff6b6b);
    transform: translateY(-2px);
    color: white;
}

.btn-blog-success {
    background: linear-gradient(45deg, #198754, #20c997);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-blog-success:hover {
    background: linear-gradient(45deg, #20c997, #51cf66);
    transform: translateY(-2px);
    color: white;
}

/* Form Styles */
.blog-form {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #444;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.blog-form-label {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-form-control {
    background: #333;
    border: 2px solid #555;
    color: #e8e8e8;
    border-radius: 8px;
    padding: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
}

.blog-form-control:focus {
    background: #3a3a3a;
    border-color: #7b2cbf;
    color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(123, 44, 191, 0.25);
    outline: none;
}

.blog-form-control::placeholder {
    color: #999;
}

/* Comments Section */
.blog-comments-section {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #444;
}

.blog-comments-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #7b2cbf;
}

.blog-comment {
    background: #333;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #7b2cbf;
}

.blog-comment-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.blog-comment-author {
    color: #7b2cbf;
    font-weight: 600;
}

.blog-comment-date {
    color: #999;
    font-size: 0.9rem;
}

.blog-comment-content {
    color: #e8e8e8;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-post-actions {
        flex-direction: column;
    }
    
    .btn-blog-primary,
    .btn-blog-secondary,
    .btn-blog-warning,
    .btn-blog-danger,
    .btn-blog-success {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Loading Animation */
.blog-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.blog-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #7b2cbf;
    border-radius: 50%;
    animation: blog-spin 1s linear infinite;
}

@keyframes blog-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Styles */
.blog-alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.blog-alert-warning {
    background: rgba(253, 126, 20, 0.1);
    border-left-color: #fd7e14;
    color: #ffb84d;
}

.blog-alert-success {
    background: rgba(25, 135, 84, 0.1);
    border-left-color: #198754;
    color: #51cf66;
}

.blog-alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #ff6b6b;
}

/* Typography */
.blog-container h1,
.blog-container h2,
.blog-container h3,
.blog-container h4,
.blog-container h5,
.blog-container h6 {
    color: #ffffff;
}

.blog-container p {
    color: #e8e8e8;
}

.blog-container a {
    color: #c77dff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-container a:hover {
    color: #e0aaff;
}

/* Breadcrumb */
.blog-breadcrumb {
    background: rgba(123, 44, 191, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.blog-breadcrumb a {
    color: #c77dff;
}

.blog-breadcrumb .breadcrumb-item.active {
    color: #e8e8e8;
}

/* Tag/Category Styles */
.blog-tag {
    background: linear-gradient(45deg, #7b2cbf, #9d4edd);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    display: inline-block;
}