/* ===============================================
   Astravon Mercura — Vendor Dashboard Styles
   Author: House Astravon
   =============================================== */

/* Main Dashboard Container */
.vendor-dashboard {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: 'Poppins', sans-serif;
  color: var(--text-primary);
}

/* Header Section */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.dashboard-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.dashboard-header .stats {
  display: flex;
  gap: 1.5rem;
}

.dashboard-header .stat-card {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.stat-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.orders-table th,
.orders-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.orders-table th {
  background-color: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
}

.orders-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.orders-table tr:hover {
  background-color: #f1f5f9;
}

/* Buttons */
.dashboard-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dashboard-btn.view {
  background-color: var(--accent-color);
  color: #ffffff;
}

.dashboard-btn.view:hover {
  background-color: #ffb700;
}

.dashboard-btn.complete {
  background-color: #00a859;
  color: #ffffff;
}

.dashboard-btn.complete:hover {
  background-color: #007a43;
}

/* Sidebar (if implemented) */
.vendor-sidebar {
  background-color: #ffffff;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  width: 250px;
}

.vendor-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vendor-sidebar ul li {
  margin-bottom: 1rem;
}

.vendor-sidebar ul li a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  transition: color 0.3s ease;
}

.vendor-sidebar ul li a:hover {
  color: var(--accent-color);
}

/* Responsive Layout */
@media (max-width: 1200px) {
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .dashboard-header .stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .orders-table th,
  .orders-table td {
    padding: 0.5rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .vendor-dashboard {
    padding: 1rem;
  }

  .vendor-sidebar {
    width: 100%;
    margin-bottom: 1rem;
  }
}
