/**
 * Private Files Table — Drive OFF frontend styles
 * Loaded by vm-my-gallery when vm-user-gallery is not active.
 */

/* Pagination nav */
.vm-private-files-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.vm-pag-summary {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.vm-pag-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.vm-pag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: color 0.15s, background-color 0.15s, border-color 0.15s;
    line-height: 1;
}

.vm-pag-btn:hover:not(.vm-pag-current):not(.vm-pag-disabled) {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
    text-decoration: none;
}

.vm-pag-btn:focus-visible {
    outline: 2px solid  var(--primary);
    outline-offset: 2px;
}

.vm-pag-current {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    cursor: default;
    pointer-events: none;
}

.vm-pag-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.vm-pag-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 36px;
    font-size: 14px;
    color: #9ca3af;
    letter-spacing: 2px;
    cursor: default;
    user-select: none;
}

/* Responsive */
@media (max-width: 600px) {
    .vm-private-files-pagination {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .vm-pag-links {
        justify-content: center;
    }

    .vm-pag-summary {
        text-align: center;
    }
}
