/**
 * Main Styles for Vendor Dashboard Pro
 *
 * @package Vendor Dashboard Pro
 */

/* Variables */
:root {
    /* Colors */
    --vdp-primary: #3483fa;
    --vdp-primary-hover: #2c72d7;
    --vdp-secondary: #39b54a;
    --vdp-secondary-hover: #2d9e3c;
    --vdp-accent: #f5a623;
    --vdp-danger: #e74c3c;
    --vdp-warning: #f1c40f;
    --vdp-info: #3498db;
    --vdp-success: #2ecc71;
    
    /* Grays */
    --vdp-gray-100: #f8f9fa;
    --vdp-gray-200: #e9ecef;
    --vdp-gray-300: #dee2e6;
    --vdp-gray-400: #ced4da;
    --vdp-gray-500: #adb5bd;
    --vdp-gray-600: #6c757d;
    --vdp-gray-700: #495057;
    --vdp-gray-800: #343a40;
    --vdp-gray-900: #212529;
    
    /* Typography */
    --vdp-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --vdp-font-size-xs: 0.75rem;
    --vdp-font-size-sm: 0.875rem;
    --vdp-font-size-md: 1rem;
    --vdp-font-size-lg: 1.125rem;
    --vdp-font-size-xl: 1.25rem;
    --vdp-font-size-2xl: 1.5rem;
    --vdp-font-size-3xl: 1.875rem;
    --vdp-font-size-4xl: 2.25rem;
    
    /* Spacing */
    --vdp-spacing-xs: 0.25rem;
    --vdp-spacing-sm: 0.5rem;
    --vdp-spacing-md: 1rem;
    --vdp-spacing-lg: 1.5rem;
    --vdp-spacing-xl: 2rem;
    --vdp-spacing-2xl: 3rem;
    
    /* Layout */
    --vdp-sidebar-width: 280px;
    --vdp-header-height: 60px;
    --vdp-border-radius: 0.25rem;
    --vdp-box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
.vdp-wrapper {
    font-family: var(--vdp-font-family);
    font-size: var(--vdp-font-size-md);
    line-height: 1.5;
    color: var(--vdp-gray-800);
}

.vdp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--vdp-spacing-md);
}

/* Dashboard Layout */
.vdp-dashboard-wrapper {
    width: 100%;
    max-width: 100%;
}

.vdp-dashboard {
    display: flex;
    background-color: #fff;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    margin: var(--vdp-spacing-lg) 0;
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Sidebar */
.vdp-sidebar {
    width: var(--vdp-sidebar-width);
    background-color: var(--vdp-gray-100);
    border-right: 1px solid var(--vdp-gray-200);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}

.vdp-vendor-profile {
    padding: var(--vdp-spacing-lg);
    border-bottom: 1px solid var(--vdp-gray-200);
    display: flex;
    align-items: center;
}

.vdp-vendor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--vdp-spacing-md);
    background-color: var(--vdp-gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdp-vendor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdp-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: var(--vdp-font-size-2xl);
    color: var(--vdp-gray-600);
}

.vdp-vendor-info {
    flex: 1;
}

.vdp-vendor-name {
    margin: 0;
    font-size: var(--vdp-font-size-lg);
    display: flex;
    align-items: center;
}

.vdp-verified-badge {
    margin-left: var(--vdp-spacing-xs);
    color: var(--vdp-primary);
    font-size: var(--vdp-font-size-sm);
    display: inline-flex;
}

.vdp-vendor-status {
    font-size: var(--vdp-font-size-sm);
    color: var(--vdp-gray-600);
    margin-top: var(--vdp-spacing-xs);
    display: flex;
    align-items: center;
}

.vdp-status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: var(--vdp-spacing-xs);
}

.vdp-status-active {
    background-color: var(--vdp-secondary);
}

.vdp-status-inactive {
    background-color: var(--vdp-gray-500);
}

/* Sidebar Navigation */
.vdp-sidebar-nav {
    flex: 1;
    padding: var(--vdp-spacing-md) 0;
}

.vdp-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vdp-nav-item {
    margin: 0;
}

.vdp-nav-link {
    display: flex;
    align-items: center;
    padding: var(--vdp-spacing-md) var(--vdp-spacing-lg);
    color: var(--vdp-gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.vdp-nav-link:hover {
    color: var(--vdp-primary);
    background-color: rgba(52, 131, 250, 0.05);
}

.vdp-nav-item.vdp-active .vdp-nav-link {
    color: var(--vdp-primary);
    background-color: rgba(52, 131, 250, 0.1);
    font-weight: 600;
}

.vdp-nav-item.vdp-active .vdp-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--vdp-primary);
}

.vdp-nav-link i {
    margin-right: var(--vdp-spacing-md);
    font-size: var(--vdp-font-size-lg);
    width: 20px;
    text-align: center;
}

.vdp-sidebar-footer {
    padding: var(--vdp-spacing-md) var(--vdp-spacing-lg);
    border-top: 1px solid var(--vdp-gray-200);
}

.vdp-hivepress-link {
    display: flex;
    align-items: center;
    color: var(--vdp-gray-600);
    text-decoration: none;
    font-size: var(--vdp-font-size-sm);
    transition: color 0.2s ease;
}

.vdp-hivepress-link:hover {
    color: var(--vdp-primary);
}

.vdp-hivepress-link i {
    margin-right: var(--vdp-spacing-sm);
}

/* Main Content Area */
.vdp-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Header */
.vdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--vdp-spacing-md) var(--vdp-spacing-lg);
    border-bottom: 1px solid var(--vdp-gray-200);
    height: var(--vdp-header-height);
}

.vdp-header-title h1 {
    margin: 0;
    font-size: var(--vdp-font-size-2xl);
    font-weight: 600;
}

.vdp-header-actions {
    display: flex;
    align-items: center;
}

/* Content Area */
.vdp-content-area {
    flex: 1;
    padding: var(--vdp-spacing-lg);
    overflow: auto;
    position: relative;
}

/* Buttons */
.vdp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: var(--vdp-border-radius);
    font-size: var(--vdp-font-size-md);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.vdp-btn:focus {
    outline: none;
}

.vdp-btn i {
    margin-right: var(--vdp-spacing-sm);
}

.vdp-btn-primary {
    background-color: var(--vdp-primary);
    color: white;
}

.vdp-btn-primary:hover {
    background-color: var(--vdp-primary-hover);
    color: white;
}

.vdp-btn-secondary {
    background-color: var(--vdp-secondary);
    color: white;
}

.vdp-btn-secondary:hover {
    background-color: var(--vdp-secondary-hover);
    color: white;
}

.vdp-btn-outline {
    background-color: transparent;
    color: var(--vdp-primary);
    border: 1px solid var(--vdp-primary);
}

.vdp-btn-outline:hover {
    background-color: var(--vdp-primary);
    color: white;
}

.vdp-btn-danger {
    background-color: var(--vdp-danger);
    color: white;
}

.vdp-btn-danger:hover {
    background-color: #c0392b;
    color: white;
}

.vdp-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: var(--vdp-font-size-sm);
}

.vdp-btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: var(--vdp-font-size-lg);
}

/* Notifications */
.vdp-notifications {
    position: relative;
    margin-left: var(--vdp-spacing-md);
}

.vdp-notification-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--vdp-gray-700);
    text-decoration: none;
    position: relative;
}

.vdp-notification-count {
    position: absolute;
    top: -5px;
    right: 0;
    background-color: var(--vdp-danger);
    color: white;
    font-size: var(--vdp-font-size-xs);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdp-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.vdp-notification-dropdown.vdp-show {
    display: block;
}

.vdp-notification-header {
    padding: var(--vdp-spacing-md);
    border-bottom: 1px solid var(--vdp-gray-200);
}

.vdp-notification-header h3 {
    margin: 0;
    font-size: var(--vdp-font-size-md);
    font-weight: 600;
}

.vdp-notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.vdp-notification-item {
    display: flex;
    padding: var(--vdp-spacing-md);
    border-bottom: 1px solid var(--vdp-gray-200);
    text-decoration: none;
    color: var(--vdp-gray-800);
    transition: background-color 0.2s ease;
}

.vdp-notification-item:hover {
    background-color: var(--vdp-gray-100);
}

.vdp-notification-item.vdp-unread {
    background-color: rgba(52, 131, 250, 0.05);
}

.vdp-notification-item.vdp-unread:hover {
    background-color: rgba(52, 131, 250, 0.1);
}

.vdp-notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--vdp-gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--vdp-spacing-md);
    color: var(--vdp-gray-700);
    flex-shrink: 0;
}

.vdp-notification-content {
    flex: 1;
    min-width: 0;
}

.vdp-notification-text {
    margin: 0 0 var(--vdp-spacing-xs);
    font-size: var(--vdp-font-size-sm);
}

.vdp-notification-time {
    margin: 0;
    font-size: var(--vdp-font-size-xs);
    color: var(--vdp-gray-600);
}

.vdp-notification-footer {
    padding: var(--vdp-spacing-md);
    border-top: 1px solid var(--vdp-gray-200);
    text-align: center;
}

.vdp-notification-footer a {
    color: var(--vdp-primary);
    text-decoration: none;
    font-size: var(--vdp-font-size-sm);
}

.vdp-notification-footer a:hover {
    text-decoration: underline;
}

/* Dashboard Content */
.vdp-dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--vdp-spacing-lg);
}

/* Stat Cards */
.vdp-stat-card {
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    padding: var(--vdp-spacing-lg);
    display: flex;
    flex-direction: column;
}

.vdp-stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-stat-card-title {
    margin: 0;
    font-size: var(--vdp-font-size-md);
    font-weight: 600;
    color: var(--vdp-gray-600);
}

.vdp-stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(52, 131, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vdp-primary);
}

.vdp-stat-value {
    font-size: var(--vdp-font-size-3xl);
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.vdp-stat-trend {
    display: flex;
    align-items: center;
    font-size: var(--vdp-font-size-sm);
    margin-top: var(--vdp-spacing-sm);
}

.vdp-trend-up {
    color: var(--vdp-secondary);
}

.vdp-trend-down {
    color: var(--vdp-danger);
}

.vdp-trend-steady {
    color: var(--vdp-gray-600);
}

.vdp-stat-trend i {
    margin-right: var(--vdp-spacing-xs);
}

/* Chart Cards */
.vdp-chart-card {
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    padding: var(--vdp-spacing-lg);
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-chart-title {
    font-size: var(--vdp-font-size-md);
    font-weight: 600;
    margin: 0;
}

.vdp-chart-controls {
    display: flex;
    align-items: center;
}

.vdp-chart-container {
    height: 200px;
}

.vdp-chart-empty {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vdp-gray-600);
    font-size: var(--vdp-font-size-sm);
    background-color: var(--vdp-gray-100);
    border-radius: var(--vdp-border-radius);
}

/* Overview Grid */
.vdp-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--vdp-spacing-lg);
    margin-bottom: var(--vdp-spacing-lg);
}

/* Listing Cards */
.vdp-listings {
    margin-top: var(--vdp-spacing-xl);
}

.vdp-listings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-listings-title {
    font-size: var(--vdp-font-size-xl);
    font-weight: 600;
    margin: 0;
}

.vdp-listings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--vdp-spacing-md);
}

.vdp-listing-card {
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.vdp-listing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vdp-listing-image {
    height: 180px;
    background-color: var(--vdp-gray-200);
    position: relative;
}

.vdp-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdp-listing-status {
    position: absolute;
    top: var(--vdp-spacing-sm);
    right: var(--vdp-spacing-sm);
    padding: 0.2rem 0.5rem;
    border-radius: var(--vdp-border-radius);
    font-size: var(--vdp-font-size-xs);
    font-weight: 600;
}

.vdp-status-published {
    background-color: var(--vdp-secondary);
    color: white;
}

.vdp-status-draft {
    background-color: var(--vdp-gray-600);
    color: white;
}

.vdp-status-pending {
    background-color: var(--vdp-warning);
    color: var(--vdp-gray-800);
}

.vdp-listing-content {
    padding: var(--vdp-spacing-md);
}

.vdp-listing-title {
    margin: 0 0 var(--vdp-spacing-sm);
    font-size: var(--vdp-font-size-lg);
    font-weight: 600;
    line-height: 1.3;
}

.vdp-listing-price {
    color: var(--vdp-primary);
    font-size: var(--vdp-font-size-lg);
    font-weight: 700;
    margin-bottom: var(--vdp-spacing-sm);
}

.vdp-listing-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--vdp-spacing-md);
    font-size: var(--vdp-font-size-sm);
    color: var(--vdp-gray-600);
}

.vdp-listing-date {
    display: flex;
    align-items: center;
}

.vdp-listing-date i {
    margin-right: var(--vdp-spacing-xs);
}

.vdp-listing-actions {
    display: flex;
    gap: var(--vdp-spacing-sm);
    margin-top: var(--vdp-spacing-md);
}

.vdp-no-listings {
    text-align: center;
    padding: var(--vdp-spacing-xl);
    background-color: var(--vdp-gray-100);
    border-radius: var(--vdp-border-radius);
    margin-top: var(--vdp-spacing-md);
}

.vdp-no-listings-icon {
    font-size: 3rem;
    color: var(--vdp-gray-400);
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-no-listings-message {
    margin-bottom: var(--vdp-spacing-md);
    color: var(--vdp-gray-700);
}

/* Products Table */
.vdp-products-table {
    width: 100%;
    border-collapse: collapse;
}

.vdp-products-table th, 
.vdp-products-table td {
    padding: var(--vdp-spacing-md);
    border-bottom: 1px solid var(--vdp-gray-200);
    text-align: left;
}

.vdp-products-table th {
    font-weight: 600;
    color: var(--vdp-gray-700);
    background-color: var(--vdp-gray-100);
}

.vdp-products-table tbody tr:hover {
    background-color: var(--vdp-gray-50);
}

.vdp-product-title {
    font-weight: 600;
}

.vdp-product-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--vdp-border-radius);
    background-color: var(--vdp-gray-200);
}

.vdp-product-actions {
    display: flex;
    gap: var(--vdp-spacing-sm);
}

/* Filters */
.vdp-filters {
    display: flex;
    margin-bottom: var(--vdp-spacing-lg);
    gap: var(--vdp-spacing-md);
    flex-wrap: wrap;
}

.vdp-filter-group {
    flex: 1;
    min-width: 200px;
}

.vdp-filter-label {
    display: block;
    margin-bottom: var(--vdp-spacing-xs);
    font-size: var(--vdp-font-size-sm);
    color: var(--vdp-gray-700);
}

.vdp-filter-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--vdp-gray-300);
    border-radius: var(--vdp-border-radius);
    font-size: var(--vdp-font-size-md);
    color: var(--vdp-gray-700);
}

.vdp-search-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--vdp-gray-300);
    border-radius: var(--vdp-border-radius);
    font-size: var(--vdp-font-size-md);
    color: var(--vdp-gray-700);
}

/* Quick Actions */
.vdp-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--vdp-spacing-md);
    margin: var(--vdp-spacing-lg) 0;
}

.vdp-quick-action {
    display: flex;
    align-items: center;
    padding: var(--vdp-spacing-md);
    border-radius: var(--vdp-border-radius);
    text-decoration: none;
    color: var(--vdp-gray-800);
    background-color: white;
    box-shadow: var(--vdp-box-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vdp-quick-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.vdp-quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--vdp-spacing-md);
    flex-shrink: 0;
}

.vdp-quick-action-content {
    flex: 1;
}

.vdp-quick-action-title {
    font-size: var(--vdp-font-size-md);
    font-weight: 500;
    margin: 0;
}

/* Form Styles */
.vdp-form {
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-form-section {
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-form-section-title {
    font-size: var(--vdp-font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--vdp-spacing-md);
    padding-bottom: var(--vdp-spacing-sm);
    border-bottom: 1px solid var(--vdp-gray-200);
}

.vdp-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--vdp-spacing-md);
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-form-group {
    margin-bottom: var(--vdp-spacing-md);
}

.vdp-form-group.vdp-full-width {
    grid-column: 1 / -1;
}

.vdp-form-label {
    display: block;
    margin-bottom: var(--vdp-spacing-xs);
    font-weight: 500;
    color: var(--vdp-gray-700);
}

.vdp-form-label-required::after {
    content: "*";
    color: var(--vdp-danger);
    margin-left: 0.25rem;
}

.vdp-form-control {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: var(--vdp-font-size-md);
    line-height: 1.5;
    color: var(--vdp-gray-700);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--vdp-gray-300);
    border-radius: var(--vdp-border-radius);
    transition: border-color 0.15s ease-in-out;
}

.vdp-form-control:focus {
    border-color: var(--vdp-primary);
    outline: 0;
}

.vdp-form-help {
    margin-top: var(--vdp-spacing-xs);
    font-size: var(--vdp-font-size-sm);
    color: var(--vdp-gray-600);
}

.vdp-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: var(--vdp-spacing-lg);
}

/* File Input */
.vdp-file-input-container {
    display: flex;
    align-items: center;
}

.vdp-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.vdp-file-btn {
    margin-right: var(--vdp-spacing-sm);
}

.vdp-file-label {
    color: var(--vdp-gray-600);
    font-size: var(--vdp-font-size-sm);
}

/* Messages */
.vdp-messages-list {
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-message-row {
    display: flex;
    padding: var(--vdp-spacing-md);
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    margin-bottom: var(--vdp-spacing-md);
    transition: transform 0.2s ease;
}

.vdp-message-row:hover {
    transform: translateY(-2px);
}

.vdp-message-sender {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--vdp-spacing-md);
    background-color: var(--vdp-gray-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdp-message-sender img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdp-message-content-wrapper {
    flex: 1;
    min-width: 0;
}

.vdp-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--vdp-spacing-xs);
}

.vdp-message-sender-name {
    font-weight: 600;
    margin-right: var(--vdp-spacing-sm);
}

.vdp-message-date {
    font-size: var(--vdp-font-size-xs);
    color: var(--vdp-gray-600);
}

.vdp-message-content {
    font-size: var(--vdp-font-size-md);
    color: var(--vdp-gray-700);
    margin: 0;
}

.vdp-message-meta {
    display: flex;
    align-items: center;
    margin-top: var(--vdp-spacing-sm);
    font-size: var(--vdp-font-size-xs);
    color: var(--vdp-gray-600);
}

.vdp-message-listing {
    margin-right: var(--vdp-spacing-md);
}

.vdp-message-listing i {
    margin-right: var(--vdp-spacing-xs);
}

.vdp-message-status {
    display: flex;
    align-items: center;
}

.vdp-message-status i {
    margin-right: var(--vdp-spacing-xs);
}

.vdp-status-unread {
    color: var(--vdp-primary);
}

.vdp-status-read {
    color: var(--vdp-gray-600);
}

.vdp-message-actions {
    display: flex;
    align-items: center;
}

/* Message Thread */
.vdp-message-thread {
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-thread-header {
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-thread-subject {
    font-size: var(--vdp-font-size-xl);
    font-weight: 600;
    margin: 0 0 var(--vdp-spacing-sm);
}

.vdp-thread-meta {
    display: flex;
    align-items: center;
    color: var(--vdp-gray-600);
    font-size: var(--vdp-font-size-sm);
    flex-wrap: wrap;
    gap: var(--vdp-spacing-sm);
}

.vdp-thread-meta-item {
    display: flex;
    align-items: center;
}

.vdp-thread-meta-item i {
    margin-right: var(--vdp-spacing-xs);
}

.vdp-thread-message {
    display: flex;
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-thread-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: var(--vdp-spacing-md);
    background-color: var(--vdp-gray-200);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdp-thread-message-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdp-thread-message-content {
    flex: 1;
    background-color: white;
    padding: var(--vdp-spacing-md);
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
}

.vdp-thread-message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--vdp-spacing-sm);
}

.vdp-thread-message-sender {
    font-weight: 600;
}

.vdp-thread-message-date {
    font-size: var(--vdp-font-size-xs);
    color: var(--vdp-gray-600);
}

.vdp-thread-message-body {
    color: var(--vdp-gray-800);
}

.vdp-thread-message-self .vdp-thread-message-content {
    background-color: rgba(52, 131, 250, 0.05);
}

.vdp-reply-form {
    margin-top: var(--vdp-spacing-lg);
}

.vdp-reply-form textarea {
    min-height: 120px;
    margin-bottom: var(--vdp-spacing-md);
}

/* Analytics */
.vdp-analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--vdp-spacing-lg);
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-analytics-card {
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
    padding: var(--vdp-spacing-lg);
}

.vdp-analytics-title {
    font-size: var(--vdp-font-size-lg);
    font-weight: 600;
    margin: 0 0 var(--vdp-spacing-md);
}

.vdp-filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--vdp-spacing-lg);
    gap: var(--vdp-spacing-md);
}

.vdp-filter-tabs {
    display: flex;
    gap: var(--vdp-spacing-xs);
}

.vdp-filter-tab {
    padding: 0.25rem 0.75rem;
    border-radius: var(--vdp-border-radius);
    font-size: var(--vdp-font-size-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

.vdp-filter-tab:hover {
    background-color: var(--vdp-gray-200);
}

.vdp-filter-tab.vdp-active {
    background-color: var(--vdp-primary);
    color: white;
}

/* Notices */
.vdp-notice {
    padding: var(--vdp-spacing-md);
    border-radius: var(--vdp-border-radius);
    margin-bottom: var(--vdp-spacing-lg);
}

.vdp-notice-success {
    background-color: rgba(46, 204, 113, 0.1);
    border-left: 4px solid var(--vdp-success);
    color: #1d8348;
}

.vdp-notice-error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid var(--vdp-danger);
    color: #a93226;
}

.vdp-notice-warning {
    background-color: rgba(241, 196, 15, 0.1);
    border-left: 4px solid var(--vdp-warning);
    color: #9a7d0a;
}

.vdp-notice-info {
    background-color: rgba(52, 152, 219, 0.1);
    border-left: 4px solid var(--vdp-info);
    color: #1a5276;
}

/* Loading indicator and notices */
.vdp-loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    height: 3px;
    background: linear-gradient(to right, 
        var(--vdp-primary) 0%, 
        var(--vdp-accent) 50%, 
        var(--vdp-primary) 100%);
    background-size: 200% 100%;
    animation: loading 2s infinite;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s;
}

.vdp-loading.vdp-active {
    visibility: visible;
    opacity: 1;
}

@keyframes loading {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

.vdp-loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid rgba(52, 131, 250, 0.2);
    border-top-color: var(--vdp-primary);
    animation: spinner 1s infinite linear;
    display: none;
}

.vdp-loading.vdp-active .vdp-loading-spinner {
    display: block;
}

@keyframes spinner {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.vdp-notices {
    position: fixed;
    top: var(--vdp-spacing-lg);
    right: var(--vdp-spacing-lg);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--vdp-spacing-sm);
    max-width: 400px;
}

.vdp-notices .vdp-notice {
    margin-bottom: 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.vdp-notices .vdp-notice.vdp-notice-visible {
    transform: translateX(0);
    opacity: 1;
}

/* Expandable text */
.vdp-expandable-text {
    position: relative;
}

.vdp-expandable-text-content {
    max-height: 100px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vdp-expandable-text.vdp-expanded .vdp-expandable-text-content {
    max-height: 1000px;
}

.vdp-expandable-text:not(.vdp-expanded) .vdp-expandable-text-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(to bottom, transparent, white);
}

.vdp-expand-toggle {
    display: inline-flex;
    align-items: center;
    color: var(--vdp-primary);
    font-size: var(--vdp-font-size-sm);
    cursor: pointer;
    margin-top: var(--vdp-spacing-xs);
}

.vdp-expand-toggle::before {
    content: attr(data-expand-text);
}

.vdp-expandable-text.vdp-expanded .vdp-expand-toggle::before {
    content: attr(data-collapse-text);
}

/* Performance indicator */
.vdp-performance-indicator {
    display: flex;
    align-items: center;
    gap: var(--vdp-spacing-xs);
    margin-top: var(--vdp-spacing-xs);
    font-size: var(--vdp-font-size-sm);
}

.vdp-performance-badge {
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
    font-size: var(--vdp-font-size-xs);
    font-weight: 600;
}

.vdp-performance-excellent {
    background-color: rgba(46, 204, 113, 0.1);
    color: var(--vdp-success);
}

.vdp-performance-good {
    background-color: rgba(241, 196, 15, 0.1);
    color: #b7950b;
}

.vdp-performance-average {
    background-color: rgba(243, 156, 18, 0.1);
    color: #b9770e;
}

.vdp-performance-needs-improvement {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--vdp-danger);
}

/* Mobile menu toggle */
.vdp-mobile-menu-toggle {
    display: none;
    position: absolute;
    top: var(--vdp-spacing-md);
    left: var(--vdp-spacing-md);
    z-index: 20;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--vdp-primary);
    color: white;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Badge Styles */
.vdp-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background-color: var(--vdp-gray-500);
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin-left: 8px;
}

.vdp-badge-unread {
    background-color: var(--vdp-danger);
}

/* Login Form */
.vdp-login-required,
.vdp-not-vendor {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--vdp-spacing-lg);
    background-color: white;
    border-radius: var(--vdp-border-radius);
    box-shadow: var(--vdp-box-shadow);
}

/* Responsive styles */
@media (max-width: 992px) {
    .vdp-dashboard {
        flex-direction: column;
    }
    
    .vdp-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--vdp-gray-200);
        display: none;
    }
    
    .vdp-sidebar.vdp-mobile-open {
        display: flex;
    }
    
    .vdp-mobile-menu-toggle {
        display: flex;
    }
    
    .vdp-header {
        padding-left: calc(var(--vdp-spacing-lg) + 40px + var(--vdp-spacing-xs));
    }
    
    .vdp-analytics-grid,
    .vdp-overview-grid,
    .vdp-dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .vdp-listings-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .vdp-filters {
        flex-direction: column;
        gap: var(--vdp-spacing-sm);
    }
    
    .vdp-filter-group {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .vdp-container {
        padding: 0 var(--vdp-spacing-sm);
    }
    
    .vdp-header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding-top: calc(var(--vdp-spacing-md) + 40px + var(--vdp-spacing-sm));
    }
    
    .vdp-header-actions {
        margin-top: var(--vdp-spacing-md);
        width: 100%;
        justify-content: space-between;
    }
    
    .vdp-content-area {
        padding: var(--vdp-spacing-md);
    }
    
    .vdp-form-row {
        grid-template-columns: 1fr;
    }
    
    .vdp-notices {
        left: var(--vdp-spacing-sm);
        right: var(--vdp-spacing-sm);
        top: auto;
        bottom: var(--vdp-spacing-lg);
    }
    
    .vdp-notices .vdp-notice {
        max-width: none;
        width: auto;
    }
}

/* Progress bar for page transitions */
.vdp-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--vdp-primary), var(--vdp-accent));
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vdp-progress.vdp-active {
    opacity: 1;
    animation: vdpProgress 2s ease;
}

@keyframes vdpProgress {
    0% {
        width: 0%;
    }
    10% {
        width: 10%;
    }
    25% {
        width: 25%;
    }
    50% {
        width: 50%;
    }
    75% {
        width: 75%;
    }
    100% {
        width: 100%;
    }
}

/* Progress bar for page transitions */
.vdp-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--vdp-primary), var(--vdp-accent));
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.vdp-progress.vdp-active {
    opacity: 1;
    animation: vdpProgress 2s ease;
}

@keyframes vdpProgress {
    0% {
        width: 0%;
    }
    10% {
        width: 10%;
    }
    25% {
        width: 25%;
    }
    50% {
        width: 50%;
    }
    75% {
        width: 75%;
    }
    100% {
        width: 100%;
    }
}