/* Viral Pager Buttons */
.viral-pager-wrap {
    margin: 20px 0;
    text-align: center;
}

.viral-pager-counter {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Container for buttons */
.viral-pager-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Allows stacking on mobile */
}

/* Base button styles */
.viral-pager-button {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background-color: var(--vp-btn-color, #0073aa);
    border: none;
    padding: 12px 20px;
    min-width: 120px; /* Ensures same width for Previous & Next */
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.viral-pager-button:hover {
    background-color: #0073aa; /* Slightly darker on hover */
}

.viral-pager-button.disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Button sizes */
.vp-size-s { padding: 8px 16px; font-size: 14px; min-width: 100px; }
.vp-size-m { padding: 12px 20px; font-size: 16px; min-width: 120px; }
.vp-size-l { padding: 16px 24px; font-size: 18px; min-width: 140px; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .viral-pager-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .viral-pager-button {
        width: 100%; /* Buttons take full width on mobile */
        min-width: 0;
    }
}