/* ========================================
   ENQODE QR BLOG COMMON STYLES
   ======================================== */

/* Blog Visual Separators */
.blog-separator-blue {
    height: 3px;
    background: linear-gradient(90deg, #007bff 0%, #6c5ce7 50%, #007bff 100%);
    margin: 15px 0 25px 0;
    border-radius: 2px;
}

/* Image Credit */
.image-credit {
    text-align: center;
    margin: 10px 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

/* Blog Content Styling */
.blog-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid #007bff;
}

.blog-summary h3 {
    margin-top: 0;
    color: #007bff;
}

.blog-summary p {
    margin-bottom: 0;
}

.blog-toc {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-toc h3 {
    margin-top: 0;
    color: #333;
}

.blog-toc ul {
    list-style: none;
    padding-left: 0;
    line-height: 1.8;
}

.blog-toc a {
    color: #007bff;
    text-decoration: none;
}

.blog-toc a:hover {
    text-decoration: underline;
}

/* Blog Info Boxes */
.blog-info-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    border-left: 4px solid #007bff;
}

.blog-info-box.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.blog-info-box.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.blog-info-box.danger {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.blog-info-box h4 {
    margin-top: 0;
    color: #333;
}

.blog-info-box.warning h4 {
    color: #856404;
}

.blog-info-box.success h4 {
    color: #155724;
}

.blog-info-box.danger h4 {
    color: #721c24;
}

/* Blog Tables */
.blog-table-wrapper {
    overflow-x: auto;
    margin: 25px 0;
}

.blog-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-table thead tr {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.blog-table th,
.blog-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.blog-table th {
    font-weight: 600;
}

.blog-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.blog-table tbody tr:hover {
    background: #e9ecef;
}

/* Blog FAQ Styles */
.blog-faq {
    margin: 25px 0;
}

.blog-faq-item {
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-faq-question {
    background: #f8f9fa;
    padding: 20px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.blog-faq-question:hover {
    background: #e9ecef;
}

.blog-faq-icon {
    color: #007bff;
    transition: transform 0.3s ease;
}

.blog-faq-icon.active {
    transform: rotate(180deg);
}

.blog-faq-answer {
    padding: 20px;
    background: white;
}

.blog-faq-answer.hidden {
    display: none;
}

.blog-faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

/* Feature Cards */
.blog-feature-grid {
    display: grid;
    gap: 15px;
    margin: 25px 0;
}

.blog-feature-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-feature-card-flex {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.blog-feature-icon {
    background: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.blog-feature-icon i {
    font-size: 18px;
}

.blog-feature-content h4 {
    margin: 0 0 8px 0;
    color: #007bff;
    font-size: 16px;
}

.blog-feature-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Timeline Styles */
.blog-timeline {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}

.blog-timeline h3 {
    margin-top: 0;
    color: #333;
    text-align: center;
}

.blog-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-timeline-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-top: 3px solid #007bff;
}

.blog-timeline-icon {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
}

.blog-timeline-item h4 {
    margin: 10px 0;
    color: #007bff;
}

.blog-timeline-item p {
    margin: 0;
    font-size: 14px;
}

/* Related Reading Section - SEO Focused Simple Links */
.blog-related-reading {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin: 30px 0;
}

.blog-related-reading h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    font-weight: 600;
}

.blog-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-related-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.blog-related-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #007bff;
    font-weight: bold;
}

.blog-related-list a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-related-list a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-feature-card-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-timeline-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-table-wrapper {
        font-size: 14px;
    }
    
    .blog-faq-question {
        font-size: 16px;
        padding: 15px;
    }
}

/* Color Variants */
.blog-feature-card.success {
    border-left-color: #28a745;
}

.blog-feature-card.success .blog-feature-icon {
    background: #28a745;
}

.blog-feature-card.success .blog-feature-content h4 {
    color: #28a745;
}

.blog-feature-card.warning {
    border-left-color: #ffc107;
}

.blog-feature-card.warning .blog-feature-icon {
    background: #ffc107;
}

.blog-feature-card.warning .blog-feature-content h4 {
    color: #856404;
}

.blog-feature-card.danger {
    border-left-color: #dc3545;
}

.blog-feature-card.danger .blog-feature-icon {
    background: #dc3545;
}

.blog-feature-card.danger .blog-feature-content h4 {
    color: #dc3545;
}

.blog-timeline-item.success {
    border-top-color: #28a745;
}

.blog-timeline-item.success .blog-timeline-icon,
.blog-timeline-item.success h4 {
    color: #28a745;
}

.blog-timeline-item.warning {
    border-top-color: #ffc107;
}

.blog-timeline-item.warning .blog-timeline-icon {
    color: #ffc107;
}

.blog-timeline-item.warning h4 {
    color: #856404;
}

.blog-timeline-item.danger {
    border-top-color: #dc3545;
}

.blog-timeline-item.danger .blog-timeline-icon,
.blog-timeline-item.danger h4 {
    color: #dc3545;
}
