#single-post-infinite-container {
    margin-top: 40px;
    min-height: 100px;
}

.is-loader {
    text-align: center;
    padding: 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Progress Bar */
#is-progress-bar {
    position: fixed;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 9999;
    background: transparent;
}

.is-progress-bar-top {
    top: 0;
}

.is-progress-bar-bottom {
    bottom: 0;
}

.is-progress-fill {
    height: 100%;
    background: #3498db;
    /* You might want to pull this from theme colors later */
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Helper to separate loaded posts if needed */
.is-post-item {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 40px;
}

.is-no-more {
    text-align: center;
    padding: 30px;
    color: #999;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Phase 2 Styles */
.is-post-separator {
    background: #f9f9f9;
    padding: 15px 25px;
    border-left: 5px solid #ff4500;
    margin: 40px 0;
    font-family: inherit;
    border-radius: 4px;
}

.is-up-next-text {
    font-weight: bold;
    color: #ff4500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.is-next-title {
    font-size: 18px;
    color: #333;
    margin-left: 10px;
}

.is-pinterest-card {
    background: #fff;
    border: 2px dashed #E60023;
    padding: 30px;
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    border-radius: 12px;
}

.is-pinterest-card h3 {
    color: #E60023;
    margin-bottom: 15px;
}

.is-pinterest-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.is-pin-btn,
.is-follow-btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.2s;
}

.is-pin-btn {
    background: #E60023;
    color: #fff !important;
}

.is-follow-btn {
    background: #fff;
    color: #333 !important;
    border: 1px solid #ddd;
}

.is-pin-btn:hover,
.is-follow-btn:hover {
    transform: translateY(-2px);
}