
.toast-notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    animation: toastSlideIn 0.3s ease-out;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast-content i {
    color: var(--primary-color);
}

/* Article card hover effects */
.article-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: var(--primary-color) !important;
}

.view-more-card {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border: 2px dashed var(--primary-color);
    transition: all 0.3s ease;
}

.view-more-card:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-light);
    transform: scale(1.02);
}

/* Article content styling in popup */
.article-content {
    line-height: 1.8;
    color: #e0e0e0;
}

.article-content .article-paragraph {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content .article-heading {
    color: #fff;
    margin: 25px 0 15px 0;
    line-height: 1.4;
}

.article-content .article-heading:first-child {
    margin-top: 0;
}

.article-content .article-list {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content .article-list li {
    margin-bottom: 8px;
}

.article-content .article-quote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #a0a0a0;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
}

.article-content .article-code-block {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content .article-inline-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #f78c6c;
}

.article-content .article-link {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
    transition: all 0.3s ease;
}

.article-content .article-link:hover {
    color: var(--primary-light);
    border-bottom: 1px solid var(--primary-light);
}

.article-content .article-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.article-popup-loading i {
    animation: spin 1s linear infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-popup {
        width: 95% !important;
        margin: 10px;
        max-height: 90vh;
    }
    
    .article-popup-actions {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .article-popup-btn {
        font-size: 0.8rem;
        padding: 8px 15px;
        min-width: 100px;
    }
    
    .article-popup-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .article-popup-meta {
        flex-direction: column;
        gap: 10px;
    }
}
