/* WC Vendor Marketplace - front-end styles */

.wcvm-dashboard { max-width: 960px; margin: 0 auto; }

.wcvm-notice { padding: 12px 16px; margin-bottom: 16px; border-radius: 4px; }
.wcvm-notice-success { background: #eafaf1; color: #1e7e34; border: 1px solid #b7e4c7; }
.wcvm-notice-error { background: #fdecea; color: #a71d2a; border: 1px solid #f5c2c7; }

.wcvm-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 2px solid #e2e2e2; margin-bottom: 20px; }
.wcvm-tabs a { padding: 10px 16px; text-decoration: none; color: #555; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.wcvm-tabs a.active,
.wcvm-tabs a:hover { color: #111; border-bottom-color: #7f54b3; }

.wcvm-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.wcvm-table th,
.wcvm-table td { text-align: left; padding: 10px; border-bottom: 1px solid #eee; vertical-align: middle; }
.wcvm-table img { width: 48px; height: 48px; object-fit: cover; }

.wcvm-link-btn { background: none; border: none; color: #a71d2a; cursor: pointer; padding: 0; text-decoration: underline; font: inherit; }
.wcvm-inline-form { display: inline-block; margin: 0 4px 4px 0; }

.wcvm-form p { margin-bottom: 14px; }
.wcvm-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.wcvm-form input[type="text"],
.wcvm-form input[type="number"],
.wcvm-form textarea { width: 100%; max-width: 480px; padding: 8px; border: 1px solid #ccc; border-radius: 4px; }
.wcvm-checkbox-inline { display: inline-block; font-weight: normal; margin-right: 14px; }

.wcvm-btn { background: #7f54b3; color: #fff; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; }
.wcvm-btn:hover { background: #6a4494; color: #fff; }

.wcvm-limit-info { color: #666; margin-bottom: 12px; }

.wcvm-membership-status { background: #f8f8f8; border: 1px solid #eee; border-radius: 6px; padding: 16px 20px; margin-bottom: 20px; }
.wcvm-active { color: #1e7e34; font-weight: 600; }
.wcvm-inactive { color: #a71d2a; font-weight: 600; }

.wcvm-plan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 16px 0 30px; }
.wcvm-plan-card { border: 1px solid #e2e2e2; border-radius: 8px; padding: 20px; text-align: center; }
.wcvm-plan-price { font-size: 1.4em; margin: 10px 0; }
.wcvm-plan-meta { list-style: none; padding: 0; margin: 12px 0; color: #555; font-size: 0.9em; }

.wcvm-vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; margin-bottom: 30px; }
.wcvm-vendor-card { display: block; text-align: center; text-decoration: none; color: #333; border: 1px solid #eee; border-radius: 8px; padding: 16px; }
.wcvm-vendor-card img { border-radius: 50%; }
.wcvm-vendor-card h4 { margin: 8px 0 0; }

.wcvm-product-grid { list-style: none; padding: 0; }

.wcvm-store-header { text-align: center; margin: 20px 0 30px; }
.wcvm-store-header img { border-radius: 50%; }
.wcvm-store-bio { max-width: 600px; margin: 8px auto 0; color: #555; }

.wcvm-locked { text-align: center; padding: 30px 0; }

.wcvm-pagination { margin-top: 16px; }
.wcvm-pagination a,
.wcvm-pagination span { display: inline-block; padding: 6px 12px; margin-right: 4px; border: 1px solid #e2e2e2; border-radius: 4px; text-decoration: none; }
