/* WP XVendor - Frontend Styles */

/* Vendor Info Box on Product Page - Compact & Clean Design */
.wpxv-vendor-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

/* Add subtle pattern overlay */
.wpxv-vendor-info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .wpxv-vendor-info-box {
        padding: 20px 15px;
        margin: 30px 0;
    }
}

/* Vendor Store Page */
.wpxv-vendor-store {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Hide Add to Cart buttons globally when plugin is active */
.wpxv-vendor-store .add_to_cart_button,
.wpxv-vendor-store .single_add_to_cart_button,
.wpxv-vendor-store button.single_add_to_cart_button,
.wpxv-vendor-store .product .add_to_cart_button,
body.single-product .wpxv-vendor-info-box ~ .cart,
body.single-product .summary .cart {
    display: none !important;
}

.wpxv-store-products {
    margin-top: 50px;
}

.wpxv-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
    display: inline-block;
}

/* WooCommerce Product Grid - Let Theme Handle Styling */
/* The theme's WooCommerce styles will automatically apply to vendor store products */
/* We only ensure the products container exists, theme does the rest */

.wpxv-vendor-store .products {
    /* Let theme handle all product grid styling */
    /* This ensures vendor products match the main shop design */
}

/* Only style the "no products" message */
.wpxv-no-products {
    text-align: center !important;
    padding: 60px 20px !important;
    font-size: 18px !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    border: 2px dashed #e2e8f0 !important;
}

.wpxv-store-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.wpxv-store-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.wpxv-store-header-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.wpxv-store-logo {
    flex-shrink: 0;
}

.wpxv-store-logo a {
    display: block;
    transition: opacity 0.3s ease;
}

.wpxv-store-logo a:hover {
    opacity: 0.8;
}

.wpxv-store-logo img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: #fff;
    cursor: pointer;
}

.wpxv-store-info {
    flex: 1;
}

.wpxv-store-name {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpxv-store-name a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.wpxv-store-name a:hover {
    opacity: 0.9;
}

.wpxv-store-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 400;
    margin-bottom: 0px;
}

.wpxv-store-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.wpxv-contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wpxv-contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpxv-contact-info-item span {
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

/* SVG Icon Styling */
.wpxv-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.wpxv-contact-info-item > .wpxv-icon {
    color: #6b7280;
}

/* Location icon - red */
.wpxv-contact-info-item > .wpxv-icon:first-child path {
    fill: #ef4444;
}

/* Email icon - blue */
.wpxv-contact-info-item:has(span:last-child) > .wpxv-icon path {
    fill: #3b82f6;
}

.wpxv-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpxv-contact-btn .wpxv-icon {
    width: 18px;
    height: 18px;
}

.wpxv-contact-btn.wpxv-btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.wpxv-contact-btn.wpxv-btn-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #0e6b5e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.wpxv-contact-btn.wpxv-btn-whatsapp .wpxv-icon {
    fill: #fff;
}

.wpxv-contact-btn.wpxv-btn-phone {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.wpxv-contact-btn.wpxv-btn-phone:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #dd7d15 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.wpxv-contact-btn.wpxv-btn-phone .wpxv-icon {
    fill: #fff;
}

.wpxv-store-products {
    margin-top: 40px;
}

/* Let WooCommerce and theme handle product styling - minimal override */
.wpxv-store-products ul.products {
    /* Theme will handle the grid/layout */
}

.wpxv-section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #2271b1;
    color: #1f2937;
}

.wpxv-no-products {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 18px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

/* Vendor Dashboard */
.wpxv-vendor-dashboard {
    max-width: 1400px;
    margin: 40px auto;
    padding: 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
}

.wpxv-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #2271b1 0%, #135e96 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(34, 113, 177, 0.15);
    box-sizing: border-box;
    width: 100%;
}

.wpxv-dashboard-welcome h1 {
    margin: 0 0 8px 0;
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpxv-shop-link-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wpxv-shop-link-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.wpxv-shop-link-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.wpxv-dashboard-welcome p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 400;
}

.wpxv-dashboard-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.wpxv-approval-pending-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.1);
}

.wpxv-approval-icon {
    flex-shrink: 0;
}

.wpxv-approval-content h3 {
    margin: 0 0 15px 0;
    color: #92400e;
    font-size: 22px;
}

.wpxv-approval-content p {
    margin: 0 0 12px 0;
    color: #78350f;
    font-size: 15px;
    line-height: 1.6;
}

.wpxv-approval-note {
    font-style: italic;
    font-size: 14px !important;
    color: #a16207 !important;
}

.wpxv-tab-disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
}

.wpxv-tab-disabled:hover {
    color: #666 !important;
    border-bottom-color: transparent !important;
}

.wpxv-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 35px;
}

.wpxv-stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(34, 113, 177, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wpxv-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2271b1, #667eea);
    opacity: 0;
    transition: opacity 0.3s;
}

.wpxv-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(34, 113, 177, 0.15);
    border-color: rgba(34, 113, 177, 0.2);
}

.wpxv-stat-card:hover::before {
    opacity: 1;
}

.wpxv-stat-card h3 {
    font-size: 42px;
    margin: 0 0 12px 0;
    font-weight: 700;
    background: linear-gradient(135deg, #2271b1 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wpxv-stat-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpxv-dashboard-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    background: #ffffff;
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.wpxv-tab-btn {
    padding: 14px 28px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wpxv-tab-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 113, 177, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wpxv-tab-btn:hover {
    color: #2271b1;
}

.wpxv-tab-btn:hover::before {
    opacity: 1;
}

.wpxv-tab-btn.active {
    color: black;
    background: linear-gradient(135deg, #2271b1 0%, #667eea 100%);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.25);
}

.wpxv-tab-btn.active::before {
    opacity: 0;
}

.wpxv-tab-content {
    display: none;
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    width: 100%;
    margin-top: 24px;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.wpxv-tab-content.active {
    display: block;
}

/* Store Preview Section */
.wpxv-store-preview-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px dashed #e0e7ed;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 35px;
}

.wpxv-store-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.wpxv-store-preview-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.wpxv-store-preview-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.wpxv-store-preview-label {
    padding: 15px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e7ed;
    font-size: 13px;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.wpxv-store-preview-mockup {
    padding: 30px;
    min-height: 200px;
}

.wpxv-store-preview-content {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 20px;
}

.wpxv-store-preview-logo {
    flex-shrink: 0;
}

.wpxv-store-preview-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.wpxv-store-preview-info {
    flex: 1;
}

.wpxv-store-preview-name {
    margin: 0 0 12px 0;
    font-size: 28px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpxv-store-preview-description {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.wpxv-store-preview-empty {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.wpxv-store-preview-contact {
    /* Contact bar inside preview uses same styling as actual store */
}

/* Profile Header */
.wpxv-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.wpxv-profile-header h2 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

/* Profile View (Read-only) */
.wpxv-profile-view {
    background: #ffffff;
    border: 1px solid #e0e7ed;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.wpxv-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.wpxv-profile-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpxv-profile-item-full {
    grid-column: 1 / -1;
}

.wpxv-profile-label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpxv-profile-value {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e7ed;
    min-height: 48px;
    display: flex;
    align-items: center;
 	white-space: normal;         /* allow wrapping */
 	word-break: break-word;      /* break long strings */
  	overflow-wrap: anywhere;     /* modern wrapping */
}

.wpxv-profile-empty {
    color: #999;
    font-style: italic;
}

.wpxv-profile-logo {
    max-width: 120px;
    max-height: 120px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wpxv-profile-color-display {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wpxv-profile-color-box {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 2px solid #e0e7ed;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wpxv-form {
    max-width: 700px;
}

.wpxv-form-row {
    margin-bottom: 20px;
}

.wpxv-form-row label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
    letter-spacing: 0.2px;
}

.wpxv-form-row input[type="text"],
.wpxv-form-row input[type="email"],
.wpxv-form-row input[type="url"],
.wpxv-form-row input[type="number"],
.wpxv-form-row textarea,
.wpxv-form-row select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e7ed;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
    background: #ffffff;
    color: #333;
}

/* Price input gets special padding for currency symbol */
.wpxv-form-row .wpxv-price-input-wrapper input[type="number"] {
    padding-left: 40px !important;
}

/* Store URL Slug Input Styling */
.wpxv-slug-wrapper {
    display: flex;
    align-items: stretch;
    border: 2px solid #e0e7ed;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #ffffff;
}

.wpxv-slug-wrapper:focus-within {
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.wpxv-slug-base {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #f5f7fa;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    border-right: 2px solid #e0e7ed;
    white-space: nowrap;
    user-select: none;
}

.wpxv-slug-wrapper input[type="text"] {
    border: none !important;
    border-radius: 0 !important;
    flex: 1;
    min-width: 0;
    padding: 14px 16px !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

.wpxv-slug-wrapper input[type="text"]:focus {
    outline: none;
    box-shadow: none !important;
}

/* Category select styling */
.wpxv-form-row select option[value=""] {
    color: #999;
    font-style: italic;
}

.wpxv-form-row select option {
    padding: 8px;
    color: #333;
}

.wpxv-form-row input:focus,
.wpxv-form-row textarea:focus,
.wpxv-form-row select:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.1);
    background: #ffffff;
}

/* Password Toggle */
.wpxv-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.wpxv-password-wrapper input[type="password"],
.wpxv-password-wrapper input[type="text"] {
    padding-right: 50px;
}

/* Price Input with Currency Symbol */
.wpxv-vendor-dashboard .wpxv-form-row .wpxv-price-input-wrapper,
.wpxv-price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.wpxv-vendor-dashboard .wpxv-form-row .wpxv-currency-symbol,
.wpxv-currency-symbol {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    color: #666;
    pointer-events: none;
    z-index: 2;
    background: transparent;
    line-height: 1;
}

.wpxv-vendor-dashboard .wpxv-form-row .wpxv-price-input-wrapper input[type="number"],
.wpxv-price-input-wrapper input[type="number"] {
    padding-left: 40px !important;
    width: 100%;
}

/* Password Toggle Icon - Scoped properly */
.wpxv-login-wrapper .wpxv-password-toggle,
.wpxv-registration-wrapper .wpxv-password-toggle,
.wpxv-forgot-password-wrapper .wpxv-password-toggle,
.wpxv-reset-password-wrapper .wpxv-password-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    padding: 8px !important;
    color: #666 !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.wpxv-login-wrapper .wpxv-password-toggle:hover,
.wpxv-registration-wrapper .wpxv-password-toggle:hover,
.wpxv-forgot-password-wrapper .wpxv-password-toggle:hover,
.wpxv-reset-password-wrapper .wpxv-password-toggle:hover {
    color: #2271b1 !important;
}

.wpxv-login-wrapper .wpxv-password-toggle svg,
.wpxv-registration-wrapper .wpxv-password-toggle svg,
.wpxv-forgot-password-wrapper .wpxv-password-toggle svg,
.wpxv-reset-password-wrapper .wpxv-password-toggle svg {
    width: 20px !important;
    height: 20px !important;
    fill: currentColor !important;
    display: block !important;
}

/* Ensure only one eye icon shows at a time */
.wpxv-login-wrapper .wpxv-password-toggle .eye-open,
.wpxv-registration-wrapper .wpxv-password-toggle .eye-open,
.wpxv-forgot-password-wrapper .wpxv-password-toggle .eye-open,
.wpxv-reset-password-wrapper .wpxv-password-toggle .eye-open {
    display: block !important;
}

.wpxv-login-wrapper .wpxv-password-toggle .eye-closed,
.wpxv-registration-wrapper .wpxv-password-toggle .eye-closed,
.wpxv-forgot-password-wrapper .wpxv-password-toggle .eye-closed,
.wpxv-reset-password-wrapper .wpxv-password-toggle .eye-closed {
    display: none !important;
}

.wpxv-form-row textarea {
    resize: vertical;
}

.wpxv-image-upload {
    margin-top: 10px;
}

.wpxv-image-preview {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.wpxv-image-preview img {
    max-width: 200px;
    max-height: 200px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.wpxv-remove-image {
    position: absolute !important;
    top: -10px;
    right: -10px;
    background-color: #d63638 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    font-size: 14px !important;
        padding: 0px 8px 0px 8px !important;
    min-height: 20px !important;
    min-width: 20px !important;
}

.wpxv-gallery-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.wpxv-gallery-preview .wpxv-image-preview {
    margin: 0;
}

.wpxv-gallery-preview img {
    max-width: 100px;
    max-height: 100px;
}

/* Dashboard Form Buttons - Specific styling to prevent conflicts */
.wpxv-vendor-dashboard .wpxv-form button[type="submit"],
.wpxv-vendor-dashboard .wpxv-form input[type="submit"],
.wpxv-vendor-dashboard .wpxv-form input[type="button"],
.wpxv-vendor-dashboard #wpxv-product-form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2271b1 0%, #1557a0 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
    position: relative;
    overflow: hidden;
}

.wpxv-vendor-dashboard .wpxv-form button[type="submit"]::before,
.wpxv-vendor-dashboard #wpxv-product-form button[type="submit"]::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wpxv-vendor-dashboard .wpxv-form button[type="submit"]:hover,
.wpxv-vendor-dashboard .wpxv-form input[type="submit"]:hover,
.wpxv-vendor-dashboard #wpxv-product-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4);
}

.wpxv-vendor-dashboard .wpxv-form button[type="submit"]:hover::before,
.wpxv-vendor-dashboard #wpxv-product-form button[type="submit"]:hover::before {
    opacity: 1;
}

/* Upload buttons - modern styling */
.wpxv-vendor-dashboard .wpxv-form .button,
.wpxv-vendor-dashboard .wpxv-upload-btn,
.wpxv-vendor-dashboard input[type="button"].button,
.wpxv-vendor-dashboard button.button:not([type="submit"]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    background: #ffffff;
    color: #2271b1;
    border: 2px solid #e0e7ed;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wpxv-vendor-dashboard .wpxv-form .button:hover,
.wpxv-vendor-dashboard .wpxv-upload-btn:hover,
.wpxv-vendor-dashboard input[type="button"].button:hover,
.wpxv-vendor-dashboard button.button:not([type="submit"]):hover {
    background: #f8f9fa;
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
}

/* Base Button Styling - Modern Design */
.wpxv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wpxv-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wpxv-btn:hover::before {
    opacity: 1;
}

.wpxv-btn-primary {
    background: linear-gradient(135deg, #2271b1 0%, #1557a0 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(34, 113, 177, 0.3);
}

.wpxv-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4);
}

.wpxv-btn-primary:active {
    transform: translateY(0);
}

.wpxv-btn-secondary {
    background: #ffffff;
    color: #2271b1 !important;
    border: 2px solid #e0e7ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wpxv-btn-secondary:hover {
    background: #f8f9fa;
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
}

.wpxv-btn-secondary:active {
    transform: translateY(0);
}

.wpxv-btn-danger {
    background: linear-gradient(135deg, #d63638 0%, #b71c1c 100%);
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(214, 54, 56, 0.3);
}

.wpxv-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 54, 56, 0.4);
}

.wpxv-btn-danger:active {
    transform: translateY(0);
}

.wpxv-btn-small {
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 8px;
    font-weight: 600;
}

.wpxv-btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
}
    color: #2271b1 !important;
}

.wpxv-btn-danger {
    background: #d63638;
    color: #fff !important;
}

.wpxv-btn-danger:hover {
    background: #c01e20;
}

.wpxv-btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.wpxv-btn-large {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
}

.wpxv-form-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.wpxv-message {
    padding: 15px 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.wpxv-message.wpxv-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wpxv-message.wpxv-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.wpxv-message.wpxv-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.wpxv-table {
    width: 100%;
    border-collapse: collapse;
}

.wpxv-table thead {
    background: #f5f5f5;
}

.wpxv-table th,
.wpxv-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.wpxv-table th {
    font-weight: 600;
    color: #333;
}

.wpxv-table img {
    max-width: 60px;
    border-radius: 5px;
}

.wpxv-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.wpxv-status-live {
    background: #d4edda;
    color: #155724;
}

.wpxv-status-pending {
    background: #fff3cd;
    color: #856404;
}

.wpxv-status-draft {
    background: #e0e0e0;
    color: #666;
}

/* ================================================
   RESPONSIVE STYLES - Mobile First Approach
   ================================================ */

/* Tablets and small desktops (768px - 1024px) */
@media (max-width: 1024px) {
    /* Vendor Store Header */
    .wpxv-store-header {
        padding: 40px 30px;
    }
    
    .wpxv-store-logo img {
        width: 120px;
        height: 120px;
    }
    
    .wpxv-store-name {
        font-size: 36px;
    }
    
    /* Dashboard */
    .wpxv-vendor-dashboard {
        padding: 15px;
    }
    
    .wpxv-dashboard-welcome h1 {
        font-size: 24px;
    }
    
    /* Tables - scroll on tablet */
    .wpxv-table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Store Preview - Mobile */
    .wpxv-store-preview-section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .wpxv-store-preview-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .wpxv-store-preview-header h3 {
        text-align: center;
        font-size: 16px;
    }
    
    .wpxv-store-preview-header .wpxv-btn {
        width: 100%;
    }
    
    .wpxv-store-preview-mockup {
        padding: 20px;
    }
    
    .wpxv-store-preview-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .wpxv-store-preview-logo img {
        width: 80px;
        height: 80px;
    }
    
    .wpxv-store-preview-name {
        font-size: 22px;
    }
    
    .wpxv-store-preview-description {
        font-size: 14px;
    }
    
    
    /* Profile View - Single Column */
    .wpxv-profile-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .wpxv-profile-item-full {
        grid-column: 1;
    }
    
    .wpxv-profile-header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .wpxv-profile-header h2 {
        text-align: center;
    }
    
    #wpxv-edit-profile-btn {
        width: 100%;
    }
    
    /* Dashboard Stats - Single Column */
    .wpxv-dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .wpxv-stat-card {
        padding: 18px;
    }
    
    .wpxv-stat-card h3 {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .wpxv-stat-card p {
        font-size: 14px;
    }
    
    /* Dashboard Header */
    .wpxv-dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .wpxv-dashboard-welcome {
        width: 100%;
    }
    
    .wpxv-dashboard-welcome h1 {
        font-size: 22px;
        flex-direction: column;
        gap: 8px;
    }
    
    .wpxv-dashboard-welcome p {
        font-size: 13px;
        margin-top: 5px;
    }
    
    .wpxv-dashboard-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        box-sizing: border-box;
    }
    
    .wpxv-dashboard-actions .wpxv-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        box-sizing: border-box;
    }
    
    /* Approval Banner */
    .wpxv-approval-pending-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .wpxv-approval-content h3 {
        font-size: 18px;
    }
    
    /* Tabs - Scrollable */
    .wpxv-dashboard-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        margin-bottom: 0;
        border-bottom: 2px solid #e0e0e0;
        padding: 0;
        gap: 0;
    }
    
    .wpxv-tab-btn {
        padding: 12px 20px;
        font-size: 15px;
        white-space: nowrap;
        flex-shrink: 0;
        border-bottom-width: 3px;
    }
    
    .wpxv-tab-btn.active {
        background: rgba(34, 113, 177, 0.05);
    }
    
    /* Tab Content */
    .wpxv-tab-content {
        padding: 20px 15px;
        border-radius: 0 0 8px 8px;
    }
    
    .wpxv-tab-content h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Forms */
    .wpxv-form {
        max-width: 100%;
    }
    
    .wpxv-form-row {
        margin-bottom: 15px;
    }
    
    .wpxv-form-row label {
        font-size: 14px;
    }
    
    .wpxv-form-row input[type="text"],
    .wpxv-form-row input[type="email"],
    .wpxv-form-row input[type="url"],
    .wpxv-form-row input[type="number"],
    .wpxv-form-row textarea,
    .wpxv-form-row select {
        padding: 12px 14px;
        font-size: 15px;
    }
    
    /* Store Header */
    .wpxv-store-header {
        padding: 30px 20px;
        margin-bottom: 30px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .wpxv-store-header-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .wpxv-store-logo img {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .wpxv-store-name {
        font-size: 28px;
        justify-content: center;
        word-break: break-word;
        hyphens: auto;
    }
    
    .wpxv-store-description {
        max-width: 100%;
        text-align: center;
        font-size: 16px;
        word-break: break-word;
    }
    
    /* Contact Bar */
    .wpxv-store-contact-bar {
        flex-direction: column;
        padding: 20px;
        box-sizing: border-box;
        width: 100%;
    }
    
    .wpxv-contact-info-item,
    .wpxv-contact-btn {
        width: 100%;
        justify-content: center;
        word-break: break-word;
        box-sizing: border-box;
    }
    
    .wpxv-contact-info-item span {
        word-break: break-word;
        overflow-wrap: break-word;
    }
    
    /* Vendor Info Box */
    .wpxv-vendor-info-box {
        padding: 20px 15px;
        margin: 30px 0;
    }
    
    .wpxv-vendor-header {
        flex-direction: column;
        text-align: center;
    }
    
    /* Tables - Mobile Card Layout */
    .wpxv-table {
        font-size: 14px;
        display: block;
        overflow: visible;
    }
    
    .wpxv-table thead {
        display: none;
    }
    
    .wpxv-table tbody,
    .wpxv-table tr,
    .wpxv-table td {
        display: block;
        width: 100%;
    }
    
    .wpxv-table tr {
        margin-bottom: 20px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        padding: 15px;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        box-sizing: border-box;
        width: 100%;
    }
    
    /* First cell (Image) - Center aligned */
    .wpxv-table td:first-child {
        text-align: center;
        padding: 0 0 15px 0;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 12px;
    }
    
    .wpxv-table td:first-child::before {
        display: none;
    }
    
    .wpxv-table td:first-child > div {
        margin: 0 auto;
    }
    
    /* Middle cells (Product details) - Two column layout */
    .wpxv-table td:not(:first-child):not(:last-child) {
        text-align: left;
        padding: 8px 0;
        border: none;
        position: relative;
        padding-left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 32px;
        flex-wrap: wrap;
    }
    
    .wpxv-table td:not(:first-child):not(:last-child)::before {
        content: attr(data-label);
        position: static;
        width: auto;
        padding-right: 15px;
        font-weight: 600;
        color: #666;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .wpxv-table td:not(:first-child):not(:last-child) strong {
        flex: 1;
        text-align: right;
        font-weight: 600;
        color: #333;
        font-size: 14px;
    }
    
    /* Specific styling for price and status */
    .wpxv-table td:not(:first-child):not(:last-child) .wpxv-status {
        margin-left: auto;
    }
    
    .wpxv-table td:not(:first-child):not(:last-child) > *:not(::before) {
        flex: 1;
        text-align: right;
        font-weight: 500;
        word-break: break-word;
    }
    
    /* Last cell (Actions) - Center aligned with padding */
    .wpxv-table td:last-child {
        padding: 12px 0 12px 0;
        text-align: center;
        border-top: 1px solid #f0f0f0;
        margin-top: 8px;
        display: flex;
        justify-content: center;
        gap: 8px;
        align-items: center;
        vertical-align: middle;
    }
    
    .wpxv-table td:last-child::before {
        content: attr(data-label);
        display: block;
        width: 100%;
        text-align: left;
        font-weight: 600;
        color: #666;
        font-size: 12px;
        
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .wpxv-table img {
        max-width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }
    
    /* Form Actions */
    .wpxv-form-actions {
        flex-direction: column;
    }
    
    .wpxv-form-actions .wpxv-btn {
        width: 100%;
    }
    
    /* Section Title */
    .wpxv-section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Small Mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Dashboard */
    .wpxv-vendor-dashboard {
        padding: 10px;
    }
    
    .wpxv-dashboard-header {
        padding: 12px;
    }
    
    .wpxv-dashboard-welcome h1 {
        font-size: 20px;
    }
    
    .wpxv-dashboard-welcome p {
        font-size: 13px;
    }
    
    /* Stats */
    .wpxv-stat-card {
        padding: 15px;
    }
    
    .wpxv-stat-card h3 {
        font-size: 24px;
    }
    
    .wpxv-stat-card p {
        font-size: 13px;
    }
    
    /* Tabs */
    .wpxv-tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .wpxv-tab-content {
        padding: 15px 10px;
    }
    
    /* Store Header */
    .wpxv-store-header {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .wpxv-store-logo img {
        width: 80px;
        height: 80px;
    }
    
    .wpxv-store-name {
        font-size: 24px;
    }
    
    .wpxv-store-description {
        font-size: 15px;
    }
    
    /* Contact Bar */
    .wpxv-store-contact-bar {
        padding: 15px;
        gap: 10px;
    }
    
    .wpxv-contact-info-item {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .wpxv-contact-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    /* Vendor Info Box */
    .wpxv-vendor-info-box {
        padding: 15px;
        margin: 20px 0;
    }
    
    /* Forms */
    .wpxv-form-row input[type="text"],
    .wpxv-form-row input[type="email"],
    .wpxv-form-row input[type="url"],
    .wpxv-form-row input[type="number"],
    .wpxv-form-row textarea,
    .wpxv-form-row select {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* Buttons */
    .wpxv-btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .wpxv-btn-small {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    /* Icon Buttons */
    .wpxv-vendor-dashboard .wpxv-icon-btn {
        width: 28px !important;
        height: 28px !important;
    }
    
    .wpxv-vendor-dashboard .wpxv-icon-btn svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    /* Messages */
    .wpxv-message {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    /* Shop Link Icon */
    .wpxv-shop-link-icon {
        width: 28px;
        height: 28px;
    }
    
    .wpxv-shop-link-icon svg {
        width: 16px;
        height: 16px;
    }
    
    /* Section Title */
    .wpxv-section-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    /* Table compact view */
    .wpxv-table tr {
        padding: 10px;
    }
    
    .wpxv-table td {
        padding: 6px 0;
        font-size: 13px;
    }
}

/* Vendor Registration - Strong scoping to prevent theme override */
.wpxv-registration-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    min-height: 600px !important;
    box-sizing: border-box !important;
}

.wpxv-registration-container {
    max-width: 500px !important;
    width: 100% !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
    box-sizing: border-box !important;
}

.wpxv-registration-wrapper .wpxv-registration-header,
.wpxv-registration-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.wpxv-registration-wrapper .wpxv-registration-header h2,
.wpxv-registration-header h2 {
    margin: 0 0 10px 0 !important;
    color: #2271b1 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.wpxv-registration-wrapper .wpxv-registration-header p,
.wpxv-registration-header p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.wpxv-registration-wrapper .wpxv-registration-form,
.wpxv-registration-form {
    margin-bottom: 20px !important;
}

.wpxv-registration-wrapper .wpxv-form-group,
.wpxv-form-group {
    margin-bottom: 20px !important;
    position: relative !important;
}

.wpxv-registration-wrapper .wpxv-form-group label,
.wpxv-registration-container .wpxv-form-group label {
    display: block !important;
    margin-bottom: 8px !important;
    font-weight: 600 !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.wpxv-registration-wrapper .wpxv-form-group .required,
.wpxv-registration-container .wpxv-form-group .required {
    color: #d63638 !important;
}

.wpxv-registration-wrapper .wpxv-form-group input[type="text"],
.wpxv-registration-wrapper .wpxv-form-group input[type="email"],
.wpxv-registration-wrapper .wpxv-form-group input[type="password"],
.wpxv-registration-container .wpxv-form-group input[type="text"],
.wpxv-registration-container .wpxv-form-group input[type="email"],
.wpxv-registration-container .wpxv-form-group input[type="password"] {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    transition: border-color 0.3s !important;
    box-sizing: border-box !important;
    background: #fff !important;
    color: #333 !important;
    font-family: inherit !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.wpxv-registration-wrapper .wpxv-form-group input:focus,
.wpxv-registration-container .wpxv-form-group input:focus {
    outline: none !important;
    border-color: #2271b1 !important;
    box-shadow: 0 0 0 1px #2271b1 !important;
}

.wpxv-registration-wrapper .wpxv-form-group small,
.wpxv-registration-container .wpxv-form-group small {
    display: block !important;
    margin-top: 5px !important;
    color: #666 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.wpxv-registration-wrapper .wpxv-registration-info,
.wpxv-registration-info {
    background: #f0f6fc !important;
    border-left: 4px solid #2271b1 !important;
    padding: 15px !important;
    margin: 20px 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
}

.wpxv-registration-wrapper .wpxv-registration-info p,
.wpxv-registration-info p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #333 !important;
    line-height: 1.6 !important;
}

.wpxv-registration-wrapper .wpxv-registration-info strong,
.wpxv-registration-info strong {
    color: #2271b1 !important;
    font-weight: 600 !important;
}

/* Button styling for registration */
.wpxv-registration-wrapper .wpxv-btn-large,
.wpxv-registration-wrapper button.wpxv-btn,
.wpxv-registration-form button.wpxv-btn,
.wpxv-btn-large {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    background: #2271b1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.wpxv-registration-wrapper .wpxv-btn-large:hover,
.wpxv-registration-wrapper button.wpxv-btn:hover,
.wpxv-registration-form button.wpxv-btn:hover {
    background: #135e96 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
}

.wpxv-registration-wrapper .wpxv-registration-footer,
.wpxv-registration-footer {
    text-align: center !important;
    padding-top: 20px !important;
    border-top: 1px solid #e0e0e0 !important;
    margin-top: 20px !important;
}

.wpxv-registration-wrapper .wpxv-registration-footer p,
.wpxv-registration-footer p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.wpxv-registration-wrapper .wpxv-registration-footer a,
.wpxv-registration-footer a {
    color: #2271b1 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.wpxv-registration-wrapper .wpxv-registration-footer a:hover,
.wpxv-registration-footer a:hover {
    text-decoration: underline !important;
}

.wpxv-registration-wrapper #wpxv-registration-message,
#wpxv-registration-message {
    margin-top: 20px !important;
}

@media (max-width: 600px) {
    /* Slug Wrapper Mobile */
    .wpxv-slug-wrapper {
        flex-direction: column;
    }
    
    .wpxv-slug-base {
        border-right: none;
        border-bottom: 2px solid #e0e7ed;
        justify-content: center;
        font-size: 12px;
        padding: 10px 12px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .wpxv-slug-wrapper input[type="text"] {
        padding: 12px 14px !important;
        font-size: 14px !important;
    }
    
    .wpxv-registration-container {
        padding: 25px 18px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-registration-header h2,
    .wpxv-registration-header h2 {
        font-size: 22px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-registration-header p,
    .wpxv-registration-header p {
        font-size: 13px !important;
    }
    
    .wpxv-registration-wrapper {
        padding: 20px 15px !important;
        min-height: auto !important;
    }
    
    .wpxv-registration-wrapper .wpxv-form-group,
    .wpxv-registration-container .wpxv-form-group {
        margin-bottom: 16px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-form-group label,
    .wpxv-registration-container .wpxv-form-group label {
        font-size: 13px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-form-group input[type="text"],
    .wpxv-registration-wrapper .wpxv-form-group input[type="email"],
    .wpxv-registration-wrapper .wpxv-form-group input[type="password"],
    .wpxv-registration-container .wpxv-form-group input[type="text"],
    .wpxv-registration-container .wpxv-form-group input[type="email"],
    .wpxv-registration-container .wpxv-form-group input[type="password"] {
        padding: 11px 13px !important;
        font-size: 15px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-form-group small,
    .wpxv-registration-container .wpxv-form-group small {
        font-size: 11px !important;
    }
    
    .wpxv-registration-wrapper .wpxv-registration-info,
    .wpxv-registration-container .wpxv-registration-info {
        padding: 12px !important;
        font-size: 12px !important;
    }
}

/* Vendor Login - Strong scoping to prevent theme override */
.wpxv-login-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    min-height: 500px !important;
    box-sizing: border-box !important;
}

.wpxv-login-container {
    max-width: 420px !important;
    width: 100% !important;
    background: #fff !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 40px !important;
    box-sizing: border-box !important;
}

.wpxv-login-wrapper .wpxv-login-header,
.wpxv-login-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.wpxv-login-wrapper .wpxv-login-header h2,
.wpxv-login-header h2 {
    margin: 0 0 10px 0 !important;
    color: #2271b1 !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

.wpxv-login-wrapper .wpxv-login-header p,
.wpxv-login-header p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.wpxv-login-wrapper .wpxv-login-form,
.wpxv-login-form {
    margin-bottom: 20px !important;
}

.wpxv-login-wrapper .wpxv-remember-me label,
.wpxv-remember-me label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-weight: normal !important;
    cursor: pointer !important;
    font-size: 14px !important;
    color: #333 !important;
}

.wpxv-login-wrapper .wpxv-remember-me input[type="checkbox"],
.wpxv-remember-me input[type="checkbox"] {
    width: auto !important;
    margin: 0 !important;
}

/* Login buttons */
.wpxv-login-wrapper .wpxv-btn,
.wpxv-login-wrapper button.wpxv-btn,
.wpxv-login-form button.wpxv-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    background: #2271b1 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    text-align: center !important;
    display: inline-block !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.wpxv-login-wrapper .wpxv-btn:hover,
.wpxv-login-wrapper button.wpxv-btn:hover,
.wpxv-login-form button.wpxv-btn:hover {
    background: #135e96 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
}

.wpxv-login-wrapper .wpxv-login-links,
.wpxv-login-links {
    text-align: center !important;
    margin: 20px 0 !important;
}

.wpxv-login-wrapper .wpxv-login-links a,
.wpxv-login-links a {
    color: #2271b1 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

.wpxv-login-wrapper .wpxv-login-links a:hover,
.wpxv-login-links a:hover {
    text-decoration: underline !important;
}

.wpxv-login-wrapper .wpxv-login-footer,
.wpxv-login-footer {
    text-align: center !important;
    margin-top: 30px !important;
    padding-top: 20px !important;
    border-top: 1px solid #eee !important;
}

.wpxv-login-wrapper .wpxv-login-footer p,
.wpxv-login-footer p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.wpxv-login-wrapper .wpxv-login-footer a,
.wpxv-login-footer a {
    color: #2271b1 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.wpxv-login-wrapper .wpxv-login-footer a:hover,
.wpxv-login-footer a:hover {
    text-decoration: underline !important;
}

/* Forgot Password Styles */
.wpxv-forgot-password-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 500px;
}

.wpxv-forgot-password-container {
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.wpxv-forgot-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpxv-forgot-password-header h2 {
    margin: 0 0 10px 0;
    color: #2271b1;
    font-size: 28px;
}

.wpxv-forgot-password-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.wpxv-forgot-password-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wpxv-forgot-password-footer a {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
}

.wpxv-forgot-password-footer a:hover {
    text-decoration: underline;
}

/* Reset Password Styles */
.wpxv-reset-password-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 500px;
}

.wpxv-reset-password-container {
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.wpxv-reset-password-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpxv-reset-password-header h2 {
    margin: 0 0 10px 0;
    color: #2271b1;
    font-size: 28px;
}

.wpxv-reset-password-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.wpxv-reset-password-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.wpxv-reset-password-footer a {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
}

.wpxv-reset-password-footer a:hover {
    text-decoration: underline;
}

.wpxv-field-description {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.wpxv-login-links {
    text-align: center;
    margin: 20px 0;
}

.wpxv-login-links a {
    color: #2271b1;
    text-decoration: none;
    font-size: 14px;
}

.wpxv-login-links a:hover {
    text-decoration: underline;
}

.wpxv-login-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.wpxv-login-footer p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.wpxv-login-footer a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 600;
}

.wpxv-login-footer a:hover {
    text-decoration: underline;
}

#wpxv-login-message {
    margin-top: 20px;
}

@media (max-width: 600px) {
    .wpxv-login-container {
        padding: 25px 18px;
    }
    
    .wpxv-login-header h2 {
        font-size: 22px;
    }
    
    .wpxv-login-header p {
        font-size: 13px;
    }
    
    .wpxv-login-wrapper {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .wpxv-login-links {
        margin: 15px 0;
    }
    
    .wpxv-login-links a {
        font-size: 13px;
    }
    
    .wpxv-login-footer p,
    .wpxv-login-footer a {
        font-size: 13px;
    }
    
    /* Forgot Password responsive */
    .wpxv-forgot-password-container {
        padding: 25px 18px;
    }
    
    .wpxv-forgot-password-wrapper {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .wpxv-forgot-password-header h2 {
        font-size: 22px;
    }
    
    .wpxv-forgot-password-header p {
        font-size: 13px;
    }
    
    /* Reset Password responsive */
    .wpxv-reset-password-container {
        padding: 25px 18px;
    }
    
    .wpxv-reset-password-wrapper {
        padding: 20px 15px;
        min-height: auto;
    }
    
    .wpxv-reset-password-header h2 {
        font-size: 22px;
    }
    
    .wpxv-reset-password-header p {
        font-size: 13px;
    }
}

/* Icon Buttons - Frontend (Vendor Dashboard) - Scoped properly */
.wpxv-vendor-dashboard .wpxv-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 33px !important;
    min-height: 26px !important;
    height: 26px !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 2px !important;
    text-decoration: none !important;
    flex-shrink: 0 !important;
    vertical-align: baseline !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-view {
    color: #2563eb !important;
    border-color: #2563eb !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-view:hover {
    background: #2563eb !important;
    color: white !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-edit {
    color: #f59e0b !important;
    border-color: #f59e0b !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-edit:hover {
    background: #f59e0b !important;
    color: white !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-delete {
    color: #dc2626 !important;
    border-color: #dc2626 !important;
}

.wpxv-vendor-dashboard .wpxv-icon-btn-delete:hover {
    background: #dc2626 !important;
    color: white !important;
}


