:root {
  --mjv2-primary: #0b1220;
  --mjv2-accent: #0b6bcb;
  --mjv2-accent-2: #11b5a4;
  --mjv2-muted: #5b6577;
  --mjv2-border: #e3e8ef;
  --mjv2-bg: #f6f8fb;
  --mjv2-card: #ffffff;
  --mjv2-card-bg: #ffffff;
  --mjv2-shadow: 0 10px 30px rgba(11, 18, 32, 0.08);
  --mjv2-radius: 12px;
  --mjv2-font: "Work Sans", "Segoe UI", system-ui, sans-serif;
}

.mjv2-form {
  font-family: var(--mjv2-font);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 22px;
  max-width: 760px;
  box-shadow: var(--mjv2-shadow);
  position: relative;
  overflow: hidden;
}

.mjv2-form *,
.mjv2-checkout *,
.mjv2-jobs *,
.mjv2-dashboard *,
.mjv2-card * {
  box-sizing: border-box;
}

.mjv2-form .mjv2-field {
  margin-bottom: 14px;
}

.mjv2-form label {
  font-weight: 600;
  color: var(--mjv2-primary);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}

.mjv2-form input[type="text"],
.mjv2-form input[type="email"],
.mjv2-form input[type="number"],
.mjv2-form textarea,
.mjv2-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mjv2-form input[type="text"]:focus,
.mjv2-form input[type="email"]:focus,
.mjv2-form input[type="number"]:focus,
.mjv2-form textarea:focus,
.mjv2-form select:focus {
  outline: none;
  border-color: var(--mjv2-accent);
  box-shadow: 0 0 0 3px rgba(11, 107, 203, 0.15);
}

.mjv2-form textarea {
  min-height: 120px;
}

.mjv2-form fieldset {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #ffffff;
}

.mjv2-form legend {
  font-weight: 600;
  color: var(--mjv2-muted);
  padding: 0 6px;
}

.mjv2-btn {
  background: linear-gradient(135deg, var(--mjv2-primary) 0%, #1f2b43 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mjv2-btn.secondary {
  background: #e8eef7;
  color: #0b1220;
}

.mjv2-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.18);
}

.mjv2-btn:active {
  transform: translateY(0);
  opacity: 0.9;
}

.mjv2-form .mjv2-help {
  color: var(--mjv2-muted);
  font-size: 12px;
}

.mjv2-checkout {
  font-family: var(--mjv2-font);
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 20px;
  max-width: 680px;
  box-shadow: var(--mjv2-shadow);
}

.mjv2-checkout .mjv2-total {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mjv2-inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mjv2-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 10px 0 16px;
}

.mjv2-search {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  align-items: end;
  margin-bottom: 16px;
  background: #ffffff;
  border: 1px solid var(--mjv2-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--mjv2-shadow);
}

.mjv2-search select,
.mjv2-search input {
  width: 100%;
}

.mjv2-addon-row {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 0.7fr auto;
  gap: 8px;
  margin-bottom: 10px;
}

.mjv2-addon-row textarea {
  grid-column: 1 / -1;
}

.mjv2-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.mjv2-addon-option {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #f8fafc;
  margin-bottom: 10px;
}

.mjv2-addon-option input[type="number"] {
  width: 120px;
  margin-top: 8px;
}

.mjv2-addon-summary {
  border: 1px dashed var(--mjv2-border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
  background: #fff;
}

.mjv2-wallet .mjv2-card {
  margin-bottom: 12px;
}

.mjv2-memberships .mjv2-card h3 {
  margin-top: 0;
}

.mjv2-filter-summary {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}

.mjv2-filter-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.mjv2-filter-group {
  background: #fff;
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  gap: 8px;
}

.mjv2-filter-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mjv2-muted);
}

.mjv2-range {
  display: grid;
  gap: 6px;
}

.mjv2-range input[type="number"] {
  width: 100%;
}

.mjv2-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.mjv2-map {
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--mjv2-border);
  overflow: hidden;
  background: #eef2f7;
}

.mjv2-newsletter {
  max-width: 420px;
  background: #fff;
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--mjv2-shadow);
}

.mjv2-chip {
  background: #eef2f7;
  color: #0b1220;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

.mjv2-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mjv2-trending {
  margin: 18px 0 26px;
}

.mjv2-requests {
  margin: 12px 0 24px;
}

.mjv2-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mjv2-card {
  background: #fff;
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  box-shadow: var(--mjv2-shadow);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mjv2-card-content {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.mjv2-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(11, 18, 32, 0.12);
}

.mjv2-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mjv2-card-body h3 .mjv2-card-link {
  display: inline;
}

.mjv2-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #eef2f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mjv2-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mjv2-card-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(135deg, #e9eff6 0%, #f4f7fb 100%);
}

.mjv2-badges {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mjv2-badge {
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-block;
  margin-top: 6px;
}

.mjv2-badge.featured {
  background: #f59e0b;
}

.mjv2-badge.new {
  background: #10b981;
}

.mjv2-badge.delivery {
  background: #0b6bcb;
}

.mjv2-card-body {
  padding: 14px;
}

.mjv2-card-body h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--mjv2-primary);
}

.mjv2-card-meta {
  color: var(--mjv2-muted);
  font-size: 13px;
  margin: 0 0 8px;
}

.mjv2-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.mjv2-stars {
  --rating: 0;
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
}

.mjv2-stars::before {
  content: "★★★★★";
  color: #d1d5db;
}

.mjv2-stars::after {
  content: "★★★★★";
  color: #f59e0b;
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
}

.mjv2-card-desc {
  color: var(--mjv2-muted);
  font-size: 13px;
  margin: 0;
}

.mjv2-card-body p {
  margin: 0 0 8px;
}

.mjv2-card-footer {
  padding: 12px 14px 14px;
  border-top: 1px solid var(--mjv2-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mjv2-card-seller {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--mjv2-muted);
  margin-bottom: 6px;
}

.mjv2-card-seller img {
  border-radius: 50%;
}

.mjv2-fav {
  margin-left: auto;
  font-size: 12px;
  color: var(--mjv2-accent);
}

.mjv2-fav form {
  display: inline;
}

.mjv2-fav button {
  background: none;
  border: none;
  color: var(--mjv2-accent);
  cursor: pointer;
  font-weight: 600;
}

.mjv2-job-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--mjv2-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.mjv2-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.mjv2-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.mjv2-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.mjv2-package {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 12px;
  background: #fff;
}

.mjv2-list {
  padding-left: 18px;
  margin: 0 0 10px;
}

.mjv2-faq {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 10px;
  background: #fff;
}

.mjv2-seller-header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.mjv2-seller-avatar img {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: var(--mjv2-shadow);
}

.mjv2-reviews {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.mjv2-review {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.mjv2-pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.mjv2-pagination a {
  text-decoration: none;
  color: var(--mjv2-accent);
  font-weight: 600;
}

.mjv2-skeleton-card {
  height: 220px;
  background: linear-gradient(90deg, #eef2f7 25%, #f8fafc 50%, #eef2f7 75%);
  background-size: 200% 100%;
  animation: mjv2-skeleton 1.5s infinite;
}

@keyframes mjv2-skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.mjv2-seller-card {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  margin-bottom: 12px;
}

.mjv2-link {
  color: var(--mjv2-accent);
  text-decoration: none;
  font-weight: 600;
}

.mjv2-link:hover {
  text-decoration: underline;
}

.mjv2-featured {
  margin: 18px 0;
}

.mjv2-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.mjv2-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
}

.mjv2-carousel .mjv2-card {
  scroll-snap-align: start;
}

.mjv2-dashboard {
  font-family: var(--mjv2-font);
}

.mjv2-dashboard h2,
.mjv2-dashboard h3 {
  color: var(--mjv2-primary);
  margin: 8px 0 12px;
}

.mjv2-dashboard .mjv2-card {
  padding: 14px;
}

.mjv2-dashboard .mjv2-table {
  margin-bottom: 18px;
}

.mjv2-workroom .mjv2-form {
  margin: 12px 0 20px;
}

.mjv2-workroom .mjv2-review p {
  margin: 6px 0 0;
}

.mjv2-request-single .mjv2-card {
  margin: 10px 0;
}

.mjv2-requests .mjv2-card-content h3 {
  margin: 0;
}

.mjv2-request-single .mjv2-review {
  display: grid;
  gap: 6px;
}

.mjv2-attachments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.mjv2-attachment {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 8px;
  background: #f8fafc;
  display: grid;
  gap: 6px;
}

.mjv2-attachment img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@media (max-width: 600px) {
  .mjv2-form,
  .mjv2-checkout {
    padding: 16px;
  }

  .mjv2-search {
    grid-template-columns: 1fr;
  }

  .mjv2-carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.mjv2-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 20px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.mjv2-table th,
.mjv2-table td {
  border: 1px solid var(--mjv2-border);
  padding: 8px;
  text-align: left;
}

.mjv2-table th {
  background: #f1f5fb;
  color: var(--mjv2-primary);
  font-weight: 700;
}

.mjv2-inline {
  display: inline-block;
}

/* Flash messages */
.mjv2-flash {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.mjv2-flash-error {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.mjv2-flash-success {
  background: #f0fdf4;
  border: 1px solid #86efac;
  color: #166534;
}

.mjv2-flash ul {
  margin: 0;
  padding-left: 18px;
}

/* Notification bell */
.mjv2-notif-bell {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--mjv2-primary);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.mjv2-notif-bell:hover {
  transform: scale(1.1);
}

.mjv2-notif-bell a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mjv2-notif-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Notification list */
.mjv2-notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mjv2-notif-item {
  padding: 12px 16px;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  background: #fff;
  transition: background 0.15s ease;
}

.mjv2-notif-unread {
  background: #f0f7ff;
  border-color: #bfdbfe;
}

.mjv2-notif-body {
  margin-bottom: 4px;
}

.mjv2-notif-link {
  color: var(--mjv2-accent);
  text-decoration: none;
  font-weight: 500;
}

.mjv2-notif-link:hover {
  text-decoration: underline;
}

.mjv2-notif-meta {
  font-size: 12px;
}

/* Breadcrumbs */
.mjv2-breadcrumbs {
  font-family: var(--mjv2-font);
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mjv2-breadcrumbs a {
  color: var(--mjv2-accent);
  text-decoration: none;
}

.mjv2-breadcrumbs a:hover {
  text-decoration: underline;
}

.mjv2-breadcrumbs span[aria-current] {
  color: var(--mjv2-primary);
  font-weight: 600;
}

/* Seller online indicator */
.mjv2-online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-left: 6px;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
}

/* Similar jobs section */
.mjv2-similar-jobs {
  margin-top: 32px;
}

.mjv2-similar-jobs h3 {
  font-family: var(--mjv2-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--mjv2-primary);
  margin-bottom: 16px;
}

.mjv2-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* SEO single page */
.mjv2-seo-single {
  font-family: var(--mjv2-font);
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.mjv2-seo-content {
  line-height: 1.7;
}

/* View counter */
.mjv2-views {
  color: var(--mjv2-muted);
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Chat */
.mjv2-chat {
  font-family: var(--mjv2-font);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 500px;
  background: #fff;
}

.mjv2-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mjv2-chat-msg {
  display: flex;
  gap: 8px;
  max-width: 75%;
}

.mjv2-chat-mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.mjv2-chat-theirs {
  align-self: flex-start;
}

.mjv2-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.mjv2-chat-bubble {
  background: #f0f4fa;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
}

.mjv2-chat-mine .mjv2-chat-bubble {
  background: var(--mjv2-accent);
  color: #fff;
}

.mjv2-chat-name {
  font-size: 12px;
  color: var(--mjv2-muted);
  display: block;
  margin-bottom: 2px;
}

.mjv2-chat-mine .mjv2-chat-name {
  color: rgba(255,255,255,0.7);
}

.mjv2-chat-bubble p {
  margin: 0;
}

.mjv2-chat-time {
  font-size: 11px;
  color: var(--mjv2-muted);
  display: block;
  margin-top: 4px;
}

.mjv2-chat-mine .mjv2-chat-time {
  color: rgba(255,255,255,0.6);
}

.mjv2-chat-attachment a {
  font-size: 12px;
  color: var(--mjv2-accent);
}

.mjv2-chat-mine .mjv2-chat-attachment a {
  color: rgba(255,255,255,0.9);
}

.mjv2-chat-typing {
  padding: 4px 16px;
}

.mjv2-chat-input {
  border-top: 1px solid var(--mjv2-border);
  padding: 10px 12px;
  background: #f9fbff;
}

.mjv2-chat-input-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.mjv2-chat-input textarea {
  flex: 1;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  resize: none;
  max-height: 120px;
  font-family: var(--mjv2-font);
}

.mjv2-chat-attach-btn {
  cursor: pointer;
  color: var(--mjv2-muted);
  display: flex;
  align-items: center;
  padding: 6px;
}

.mjv2-chat-attach-btn:hover {
  color: var(--mjv2-accent);
}

.mjv2-chat-upload-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: #e8f0fe;
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 13px;
}

.mjv2-chat-remove-file {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
}

/* Analytics stats grid */
/* Stats grid — see consolidated definition below (~line 2192) */

.mjv2-period-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.mjv2-period-filter .mjv2-active {
  background: var(--mjv2-primary);
  color: #fff;
}

/* Referral */
.mjv2-copy-field {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.mjv2-copy-field input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  background: #f6f8fb;
  font-size: 14px;
}

.mjv2-ref-link-box {
  margin-bottom: 20px;
}

/* Portfolio grid — see consolidated definition below (~line 2081) */

.mjv2-portfolio-item {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.mjv2-portfolio-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.mjv2-portfolio-body {
  padding: 12px;
}

.mjv2-portfolio-body h4 {
  margin: 0 0 6px;
  color: var(--mjv2-primary);
}

.mjv2-portfolio-actions {
  padding: 8px 12px;
  border-top: 1px solid var(--mjv2-border);
}

/* Milestones */
.mjv2-milestones {
  margin: 16px 0;
}

.mjv2-milestone {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 8px;
  background: #fff;
}

.mjv2-milestone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mjv2-milestone-status {
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.mjv2-milestone-status.pending { background: #fef3c7; color: #92400e; }
.mjv2-milestone-status.submitted { background: #dbeafe; color: #1e40af; }
.mjv2-milestone-status.released { background: #d1fae5; color: #065f46; }

.mjv2-progress-bar {
  background: #e5e7eb;
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin: 12px 0;
}

.mjv2-progress-fill {
  background: var(--mjv2-accent-2);
  height: 100%;
  transition: width 0.3s ease;
}

/* Dispute evidence */
.mjv2-evidence-list {
  margin: 12px 0;
}

.mjv2-evidence-item {
  padding: 12px;
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  margin-bottom: 8px;
}

.mjv2-evidence-item.buyer { border-left: 3px solid var(--mjv2-accent); }
.mjv2-evidence-item.seller { border-left: 3px solid var(--mjv2-accent-2); }

.mjv2-evidence-meta {
  font-size: 12px;
  color: var(--mjv2-muted);
  margin-bottom: 6px;
}

/* Review response */
.mjv2-review-response {
  background: #f6f8fb;
  border-left: 3px solid var(--mjv2-accent);
  padding: 10px 12px;
  margin-top: 8px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
}

.mjv2-review-response-meta {
  font-size: 11px;
  color: var(--mjv2-muted);
  margin-top: 4px;
}

@media (max-width: 600px) {
  .mjv2-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mjv2-chat {
    height: 400px;
  }

  .mjv2-chat-msg {
    max-width: 90%;
  }

  .mjv2-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ COURSES / LEARNING PLATFORM ============ */

.mjv2-course-catalog h2 {
  font-family: var(--mjv2-font);
  color: var(--mjv2-primary);
  margin-bottom: 16px;
}

.mjv2-course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.mjv2-course-card .mjv2-course-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-bottom: 4px;
}

.mjv2-course-students {
  font-size: 12px;
}

.mjv2-course-info-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-top: 4px;
}

.mjv2-course-price {
  color: var(--mjv2-primary);
  font-size: 16px;
}

/* Course Single - Hero */
.mjv2-course-hero {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  margin-bottom: 32px;
}

.mjv2-course-hero-content h1 {
  font-family: var(--mjv2-font);
  font-size: 28px;
  color: var(--mjv2-primary);
  margin: 0 0 12px;
}

.mjv2-course-excerpt {
  color: var(--mjv2-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mjv2-course-instructor-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}

.mjv2-course-instructor-row small {
  display: block;
  font-size: 12px;
  color: var(--mjv2-muted);
}

.mjv2-course-instructor-row img {
  border-radius: 50%;
}

.mjv2-course-hero-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
}

.mjv2-course-preview {
  aspect-ratio: 16 / 9;
  border-radius: var(--mjv2-radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 16px;
}

.mjv2-course-preview iframe,
.mjv2-course-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mjv2-course-hero-sidebar img {
  border-radius: var(--mjv2-radius);
  width: 100%;
}

.mjv2-course-price-card {
  background: #fff;
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--mjv2-shadow);
}

.mjv2-course-price-big {
  font-size: 32px;
  font-weight: 700;
  color: var(--mjv2-primary);
  margin-bottom: 16px;
}

.mjv2-btn-full {
  width: 100%;
  justify-content: center;
}

/* Course Sections */
.mjv2-course-section {
  margin-bottom: 32px;
}

.mjv2-course-section h3 {
  font-family: var(--mjv2-font);
  font-size: 20px;
  color: var(--mjv2-primary);
  margin: 0 0 12px;
}

.mjv2-course-meta-sm {
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-bottom: 12px;
}

.mjv2-learn-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
}

.mjv2-learn-list li {
  padding: 8px 12px 8px 28px;
  position: relative;
  font-size: 14px;
}

.mjv2-learn-list li::before {
  content: "\2713";
  position: absolute;
  left: 8px;
  color: var(--mjv2-accent-2);
  font-weight: 700;
}

/* Curriculum Accordion */
.mjv2-curriculum {
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  overflow: hidden;
}

.mjv2-curriculum-section {
  border-bottom: 1px solid var(--mjv2-border);
}

.mjv2-curriculum-section:last-child {
  border-bottom: none;
}

.mjv2-curriculum-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f6f8fb;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--mjv2-font);
  font-size: 14px;
}

.mjv2-curriculum-toggle small {
  margin-left: auto;
  color: var(--mjv2-muted);
  font-size: 12px;
}

.mjv2-curriculum-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  color: var(--mjv2-muted);
}

.mjv2-curriculum-section.open .mjv2-curriculum-arrow {
  transform: rotate(90deg);
}

.mjv2-curriculum-lessons {
  display: none;
}

.mjv2-curriculum-section.open .mjv2-curriculum-lessons {
  display: block;
}

.mjv2-curriculum-lesson {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 32px;
  font-size: 14px;
  border-top: 1px solid #f0f2f5;
  color: var(--mjv2-primary);
}

a.mjv2-curriculum-lesson {
  text-decoration: none;
  transition: background 0.15s ease;
}

a.mjv2-curriculum-lesson:hover,
a.mjv2-curriculum-lesson.active {
  background: #edf4ff;
}

a.mjv2-curriculum-lesson.completed {
  color: var(--mjv2-muted);
}

.mjv2-lesson-icon {
  font-size: 12px;
  color: var(--mjv2-accent);
  flex-shrink: 0;
}

.mjv2-lesson-check {
  font-size: 14px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

a.mjv2-curriculum-lesson.completed .mjv2-lesson-check {
  color: var(--mjv2-accent-2);
}

.mjv2-lesson-title {
  flex: 1;
}

.mjv2-lesson-dur {
  font-size: 12px;
  color: var(--mjv2-muted);
  flex-shrink: 0;
}

/* Learning Player Layout */
.mjv2-learn-wrapper {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  min-height: 600px;
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  overflow: hidden;
  background: #fff;
}

.mjv2-learn-sidebar {
  background: #f6f8fb;
  border-right: 1px solid var(--mjv2-border);
  overflow-y: auto;
  padding: 16px;
  max-height: 80vh;
}

.mjv2-learn-course-title {
  font-family: var(--mjv2-font);
  font-size: 16px;
  color: var(--mjv2-primary);
  margin: 0 0 12px;
}

.mjv2-progress-label {
  display: block;
  font-size: 12px;
  color: var(--mjv2-muted);
  margin-bottom: 16px;
}

.mjv2-learn-curriculum {
  border: none;
  border-radius: 0;
}

.mjv2-learn-curriculum .mjv2-curriculum-toggle {
  padding: 8px 0;
  background: transparent;
  font-size: 13px;
}

.mjv2-learn-curriculum .mjv2-curriculum-lesson {
  padding: 8px 0 8px 16px;
  font-size: 13px;
  border-top-color: #e9ecf0;
}

.mjv2-learn-main {
  padding: 24px;
  overflow-y: auto;
  max-height: 80vh;
}

.mjv2-learn-lesson-title {
  font-family: var(--mjv2-font);
  font-size: 22px;
  color: var(--mjv2-primary);
  margin: 0 0 16px;
}

/* Video Player */
.mjv2-video-player {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--mjv2-radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.mjv2-video-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mjv2-learn-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

.mjv2-learn-content {
  line-height: 1.7;
  margin-bottom: 24px;
}

.mjv2-learn-resources {
  margin-bottom: 20px;
}

.mjv2-learn-resources h4 {
  margin: 0 0 8px;
  color: var(--mjv2-primary);
}

.mjv2-learn-resources a {
  display: inline-block;
  margin-right: 12px;
}

/* Bookmarks */
.mjv2-learn-bookmarks {
  margin-top: 20px;
  border-top: 1px solid var(--mjv2-border);
  padding-top: 12px;
}

.mjv2-learn-bookmarks h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--mjv2-primary);
}

.mjv2-bookmark-item {
  padding: 6px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 12px;
}

.mjv2-bookmark-item p {
  margin: 2px 0 0;
  color: var(--mjv2-muted);
}

/* Q&A */
.mjv2-qa-section {
  margin-top: 32px;
}

.mjv2-qa-section h3 {
  font-family: var(--mjv2-font);
  font-size: 18px;
  color: var(--mjv2-primary);
  margin-bottom: 12px;
}

.mjv2-qa-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mjv2-qa-item {
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 16px;
  background: #fff;
}

.mjv2-qa-author {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.mjv2-qa-author small {
  color: var(--mjv2-muted);
}

.mjv2-qa-question h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--mjv2-primary);
}

.mjv2-qa-question p {
  margin: 0;
  font-size: 14px;
  color: var(--mjv2-muted);
}

.mjv2-qa-replies {
  margin: 12px 0 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mjv2-qa-reply {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.mjv2-qa-reply p {
  margin: 2px 0 0;
}

.mjv2-qa-reply small {
  color: var(--mjv2-muted);
}

.mjv2-qa-reply-form {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.mjv2-qa-reply-form input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid var(--mjv2-border);
  border-radius: 8px;
  font-size: 13px;
}

/* Certificate */
.mjv2-certificate {
  font-family: var(--mjv2-font);
  max-width: 700px;
  margin: 0 auto;
}

.mjv2-cert-border {
  border: 3px solid var(--mjv2-primary);
  border-radius: 16px;
  padding: 48px 40px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f9fbff 100%);
}

.mjv2-cert-header h2 {
  font-size: 28px;
  color: var(--mjv2-primary);
  margin: 0 0 4px;
}

.mjv2-cert-subtitle {
  font-size: 14px;
  color: var(--mjv2-accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 32px;
}

.mjv2-cert-presented {
  color: var(--mjv2-muted);
  font-size: 14px;
  margin: 0 0 8px;
}

.mjv2-cert-name {
  font-size: 32px;
  color: var(--mjv2-primary);
  margin: 0 0 8px;
  border-bottom: 2px solid var(--mjv2-accent);
  display: inline-block;
  padding-bottom: 4px;
}

.mjv2-cert-completed {
  color: var(--mjv2-muted);
  font-size: 14px;
  margin: 16px 0 8px;
}

.mjv2-cert-course {
  font-size: 22px;
  color: var(--mjv2-accent);
  margin: 0 0 8px;
}

.mjv2-cert-instructor {
  color: var(--mjv2-muted);
  font-size: 14px;
  margin: 0 0 32px;
}

.mjv2-cert-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--mjv2-border);
  padding-top: 16px;
  font-size: 12px;
  color: var(--mjv2-muted);
}

/* Course Builder */
.mjv2-builder-section {
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 16px;
  margin-bottom: 12px;
  background: #f9fbff;
}

.mjv2-course-desc {
  line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
  .mjv2-course-hero {
    grid-template-columns: 1fr;
  }

  .mjv2-course-hero-sidebar {
    position: static;
  }

  .mjv2-learn-wrapper {
    grid-template-columns: 1fr;
  }

  .mjv2-learn-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--mjv2-border);
    max-height: 300px;
  }

  .mjv2-learn-main {
    max-height: none;
  }

  .mjv2-course-grid {
    grid-template-columns: 1fr;
  }

  .mjv2-learn-list {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════════════════
   TRAINER MARKETPLACE
   ═══════════════════════════════════════════════════ */

/* Trainer Directory Filters */
.mjv2-trainer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  align-items: center;
}
.mjv2-trainer-filters input,
.mjv2-trainer-filters select {
  padding: 8px 12px;
  border: 1px solid var(--mjv2-border);
  border-radius: 6px;
  font-size: 14px;
}
.mjv2-trainer-filters input[type="text"] { flex: 1; min-width: 180px; }

/* Trainer Grid */
.mjv2-trainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

/* Trainer Card */
.mjv2-trainer-card {
  background: var(--mjv2-card-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.mjv2-trainer-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.mjv2-trainer-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}
.mjv2-trainer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--mjv2-border);
}
.mjv2-trainer-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--mjv2-accent-2);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.mjv2-trainer-card-body {
  margin-bottom: 12px;
}
.mjv2-trainer-name { margin: 0 0 4px; font-size: 16px; }
.mjv2-trainer-name a { color: var(--mjv2-primary); text-decoration: none; }
.mjv2-trainer-name a:hover { color: var(--mjv2-accent); }
.mjv2-trainer-headline {
  color: var(--mjv2-muted);
  font-size: 13px;
  margin: 0 0 10px;
  line-height: 1.4;
}
.mjv2-trainer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.mjv2-trainer-meta span { color: var(--mjv2-muted); }
.mjv2-trainer-rating .mjv2-stars { color: #f59e0b; }
.mjv2-trainer-topics { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.mjv2-trainer-langs { margin-top: 6px; }
.mjv2-trainer-langs small { color: var(--mjv2-muted); }
.mjv2-trainer-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--mjv2-border);
  margin-bottom: 12px;
}
.mjv2-trainer-pricing { display: flex; gap: 12px; }
.mjv2-trainer-price { font-weight: 700; font-size: 15px; }
.mjv2-trainer-price small { font-weight: 400; color: var(--mjv2-muted); font-size: 12px; }

/* Training type badges */
.mjv2-trainer-type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.mjv2-type-online { background: #dbeafe; color: #1d4ed8; }
.mjv2-type-onsite { background: #dcfce7; color: #166534; }
.mjv2-type-hybrid { background: #fef3c7; color: #92400e; }

/* Tags */
.mjv2-tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--mjv2-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--mjv2-muted);
}
.mjv2-tag-primary { background: var(--mjv2-accent); color: #fff; border-color: var(--mjv2-accent); }
.mjv2-tag-more { background: transparent; font-style: italic; }

/* CTA Box */
.mjv2-cta-box {
  background: linear-gradient(135deg, var(--mjv2-primary), var(--mjv2-accent));
  color: #fff;
  padding: 32px;
  border-radius: 12px;
  text-align: center;
  margin-top: 32px;
}
.mjv2-cta-box h3 { color: #fff; margin-top: 0; }
.mjv2-cta-box .mjv2-btn { background: #fff; color: var(--mjv2-primary); }

/* Trainer Profile Page */
.mjv2-trainer-profile-header {
  display: grid;
  grid-template-columns: auto 1fr 280px;
  gap: 24px;
  align-items: start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-trainer-profile-avatar { position: relative; }
.mjv2-trainer-profile-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--mjv2-border);
}
.mjv2-trainer-profile-info h1 { margin: 0 0 4px; font-size: 24px; }
.mjv2-trainer-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 12px 0;
}
.mjv2-trainer-profile-stats .mjv2-stat { text-align: center; }
.mjv2-trainer-profile-stats .mjv2-stat strong { display: block; font-size: 18px; }
.mjv2-trainer-profile-stats .mjv2-stat small { color: var(--mjv2-muted); font-size: 12px; }
.mjv2-trainer-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--mjv2-muted);
  font-size: 13px;
}

/* Pricing card */
.mjv2-pricing-card {
  background: var(--mjv2-card-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  padding: 20px;
}
.mjv2-pricing-card h3 { margin-top: 0; font-size: 16px; }
.mjv2-price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-price-row:last-of-type { border-bottom: none; }
.mjv2-price-label { color: var(--mjv2-muted); }
.mjv2-price-value { font-weight: 700; }

/* Trainer sections */
.mjv2-trainer-section {
  margin-bottom: 32px;
}
.mjv2-trainer-section h2 {
  font-size: 18px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-trainer-section h4 { margin: 12px 0 8px; color: var(--mjv2-muted); font-size: 14px; }
.mjv2-trainer-bio { line-height: 1.7; color: #374151; }

/* Certifications */
.mjv2-cert-list { display: flex; flex-direction: column; gap: 8px; }
.mjv2-cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--mjv2-bg);
  border-radius: 8px;
}
.mjv2-cert-issuer { color: var(--mjv2-muted); }
.mjv2-cert-year { color: var(--mjv2-muted); font-size: 13px; }
.mjv2-cert-link { margin-left: auto; color: var(--mjv2-accent); font-size: 13px; }

/* Portfolio grid */
.mjv2-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.mjv2-portfolio-item {
  background: var(--mjv2-card-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 16px;
}
.mjv2-portfolio-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 10px;
}
.mjv2-portfolio-item h4 { margin: 0 0 6px; font-size: 15px; }
.mjv2-portfolio-client { color: var(--mjv2-accent); font-size: 13px; margin: 0 0 6px; }
.mjv2-portfolio-meta {
  display: flex;
  gap: 12px;
  color: var(--mjv2-muted);
  font-size: 12px;
  margin-top: 8px;
}

/* Availability grid */
.mjv2-availability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.mjv2-avail-day {
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  font-size: 13px;
}
.mjv2-avail-day strong { display: block; margin-bottom: 4px; font-size: 14px; }
.mjv2-avail-yes { background: #dcfce7; color: #166534; }
.mjv2-avail-no { background: #f3f4f6; color: #9ca3af; }

/* Availability editor */
.mjv2-availability-editor { display: flex; flex-direction: column; gap: 10px; }
.mjv2-avail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: var(--mjv2-bg);
  border-radius: 8px;
}
.mjv2-avail-row .mjv2-checkbox-label { min-width: 140px; }
.mjv2-avail-row input[type="time"] { padding: 4px 8px; border: 1px solid var(--mjv2-border); border-radius: 4px; }

/* Dashboard tabs */
.mjv2-dashboard-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 2px solid var(--mjv2-border);
  margin-bottom: 24px;
}
.mjv2-tab {
  padding: 10px 20px;
  text-decoration: none;
  color: var(--mjv2-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
.mjv2-tab:hover { color: var(--mjv2-primary); }
.mjv2-tab-active {
  color: var(--mjv2-accent);
  border-bottom-color: var(--mjv2-accent);
}

/* Stats grid */
.mjv2-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.mjv2-stat-card {
  background: var(--mjv2-card-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.mjv2-stat-value { display: block; font-size: 28px; font-weight: 700; color: var(--mjv2-primary); }
.mjv2-stat-label { display: block; font-size: 13px; color: var(--mjv2-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Onboarding hero */
.mjv2-onboarding-hero {
  text-align: center;
  padding: 32px 0;
  margin-bottom: 24px;
}
.mjv2-onboarding-hero h1 { font-size: 28px; margin-bottom: 8px; }
.mjv2-onboarding-hero p { color: var(--mjv2-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* Form enhancements */
.mjv2-form fieldset {
  border: 1px solid var(--mjv2-border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}
.mjv2-form fieldset legend {
  font-weight: 600;
  font-size: 16px;
  padding: 0 8px;
  color: var(--mjv2-primary);
}
.mjv2-form-cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mjv2-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.mjv2-checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  cursor: pointer;
}
.mjv2-form-actions { text-align: center; padding: 16px 0; }

/* Button variants */
.mjv2-btn-outline {
  background: transparent;
  border: 1px solid var(--mjv2-primary);
  color: var(--mjv2-primary);
}
.mjv2-btn-outline:hover { background: var(--mjv2-primary); color: #fff; }
.mjv2-btn-block { display: block; width: 100%; text-align: center; }
.mjv2-btn-lg { padding: 14px 32px; font-size: 16px; }
.mjv2-btn-danger { background: #dc2626; color: #fff; border: none; }
.mjv2-btn-danger:hover { background: #b91c1c; }

/* Video wrapper */
.mjv2-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}
.mjv2-video-wrapper iframe,
.mjv2-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Reviews in trainer profile */
.mjv2-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.mjv2-review-item {
  padding: 16px;
  background: var(--mjv2-bg);
  border-radius: 10px;
}
.mjv2-review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.mjv2-review-avatar { width: 36px; height: 36px; border-radius: 50%; }
.mjv2-review-header .mjv2-stars { color: #f59e0b; margin-left: 8px; }
.mjv2-review-header small { color: var(--mjv2-muted); }
.mjv2-review-response {
  margin-top: 10px;
  padding: 10px 14px;
  background: #f0f4ff;
  border-radius: 8px;
  border-left: 3px solid var(--mjv2-accent);
}

/* Profile preview in dashboard */
.mjv2-profile-preview {
  background: var(--mjv2-card-bg);
  border: 1px solid var(--mjv2-border);
  border-radius: 12px;
  padding: 20px;
}
.mjv2-profile-preview h3 { margin-top: 0; }

/* Responsive */
@media (max-width: 768px) {
  .mjv2-trainer-profile-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .mjv2-trainer-profile-avatar { margin: 0 auto; }
  .mjv2-trainer-profile-stats { justify-content: center; }
  .mjv2-trainer-profile-meta { justify-content: center; }
  .mjv2-trainer-filters { flex-direction: column; }
  .mjv2-trainer-grid { grid-template-columns: 1fr; }
  .mjv2-form-cols-2 { grid-template-columns: 1fr; }
  .mjv2-dashboard-tabs { overflow-x: auto; }
  .mjv2-avail-row { flex-wrap: wrap; }
  .mjv2-availability-grid { grid-template-columns: repeat(2, 1fr); }
  .mjv2-tr-grid { grid-template-columns: 1fr; }
  .mjv2-tr-detail-grid { grid-template-columns: 1fr; }
  .mjv2-proposal-form-grid { grid-template-columns: 1fr; }
  .mjv2-proposal-header { flex-direction: column; gap: 10px; }
}

/* ═══════════════════════════════════════
   Training Requests & Proposals
   ═══════════════════════════════════════ */

/* Header with title + CTA */
.mjv2-tr-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.mjv2-tr-header h2 { margin: 0; }

/* Filters bar */
.mjv2-tr-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.mjv2-tr-filters input,
.mjv2-tr-filters select {
  flex: 1;
  min-width: 140px;
}

/* Request cards grid */
.mjv2-tr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.mjv2-tr-card {
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 20px;
  transition: box-shadow .2s, border-color .2s;
}
.mjv2-tr-card:hover {
  box-shadow: var(--mjv2-shadow);
  border-color: var(--mjv2-accent);
}
.mjv2-tr-card--closed { opacity: .65; }

.mjv2-tr-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.mjv2-tr-status {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.mjv2-tr-status--open { background: #e8f5e9; color: #2e7d32; }
.mjv2-tr-status--awarded { background: #e3f2fd; color: #1565c0; }
.mjv2-tr-status--closed { background: #f5f5f5; color: #757575; }

.mjv2-tr-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.mjv2-tr-card-title a {
  color: var(--mjv2-primary);
  text-decoration: none;
}
.mjv2-tr-card-title a:hover { color: var(--mjv2-accent); }

.mjv2-tr-card-excerpt {
  color: var(--mjv2-muted);
  font-size: 14px;
  margin: 0 0 12px;
  line-height: 1.5;
}

.mjv2-tr-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-bottom: 10px;
}
.mjv2-tr-meta-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: var(--mjv2-muted);
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 6px;
}
.mjv2-tr-meta-item:first-child::before { display: none; }

.mjv2-tr-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.mjv2-tr-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--mjv2-muted);
  padding-top: 12px;
  border-top: 1px solid var(--mjv2-border);
}

.mjv2-tr-proposals { font-weight: 600; color: var(--mjv2-accent); }
.mjv2-tr-card-cta { margin-top: 12px; }

/* Single request detail */
.mjv2-tr-detail-header { margin-bottom: 24px; }
.mjv2-tr-detail-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.mjv2-tr-detail-title-row h2 { margin: 0; }
.mjv2-tr-detail-meta {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: var(--mjv2-muted);
  flex-wrap: wrap;
  align-items: center;
}

.mjv2-tr-detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  align-items: start;
}

.mjv2-tr-detail-section {
  margin-bottom: 24px;
}
.mjv2-tr-detail-section h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--mjv2-primary);
}
.mjv2-tr-description { line-height: 1.7; }

.mjv2-tr-detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mjv2-tr-attachments {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mjv2-tr-attachments li {
  padding: 6px 0;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-tr-attachments a {
  color: var(--mjv2-accent);
  text-decoration: none;
}

/* Sidebar cards */
.mjv2-tr-sidebar-card {
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 18px;
  margin-bottom: 16px;
}
.mjv2-tr-sidebar-card h4 {
  margin: 0 0 10px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--mjv2-muted);
}
.mjv2-tr-sidebar-budget {
  font-size: 22px;
  font-weight: 700;
  color: var(--mjv2-accent);
  margin: 0;
}
.mjv2-tr-sidebar-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mjv2-tr-sidebar-details li {
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-tr-sidebar-details li:last-child { border-bottom: none; }

/* Notices */
.mjv2-notice { padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.mjv2-notice-info { background: #e3f2fd; color: #1565c0; border: 1px solid #bbdefb; }

/* ─── Proposals ─── */
.mjv2-tr-proposals-section {
  margin-top: 32px;
}
.mjv2-tr-proposals-section h3 {
  font-size: 18px;
  margin: 0 0 16px;
}

.mjv2-proposals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mjv2-proposal-card {
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 20px;
  transition: border-color .2s;
}
.mjv2-proposal--shortlisted { border-left: 3px solid #ff9800; }
.mjv2-proposal--accepted { border-left: 3px solid #4caf50; background: #f1f8e9; }
.mjv2-proposal--rejected { opacity: .55; }

.mjv2-proposal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.mjv2-proposal-trainer {
  display: flex;
  gap: 12px;
  align-items: center;
}
.mjv2-proposal-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.mjv2-proposal-headline {
  display: block;
  font-size: 13px;
  color: var(--mjv2-muted);
}

.mjv2-proposal-price {
  text-align: right;
}
.mjv2-proposal-price strong {
  display: block;
  font-size: 18px;
  color: var(--mjv2-accent);
}
.mjv2-proposal-price span {
  font-size: 13px;
  color: var(--mjv2-muted);
}

.mjv2-proposal-body {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.mjv2-proposal-body p:last-child { margin-bottom: 0; }

.mjv2-proposal-methodology {
  background: var(--mjv2-bg);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  font-size: 14px;
}
.mjv2-proposal-methodology strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--mjv2-muted);
}

.mjv2-proposal-extras {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  margin-bottom: 12px;
}
.mjv2-proposal-extras a {
  color: var(--mjv2-accent);
  text-decoration: none;
}
.mjv2-proposal-extras a:hover { text-decoration: underline; }

.mjv2-proposal-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--mjv2-border);
}
.mjv2-proposal-date {
  font-size: 12px;
  color: var(--mjv2-muted);
}

.mjv2-proposal-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.mjv2-proposal-badge--accepted { background: #e8f5e9; color: #2e7d32; }
.mjv2-proposal-badge--rejected { background: #fbe9e7; color: #c62828; }
.mjv2-proposal-badge--shortlisted { background: #fff3e0; color: #e65100; }

.mjv2-proposal-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

/* Proposal form layout */
.mjv2-proposal-form-header { margin-bottom: 20px; }
.mjv2-proposal-form-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  align-items: start;
}
.mjv2-proposal-form-main .mjv2-form { max-width: none; }
.mjv2-proposal-your-profile .mjv2-proposal-trainer-preview {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mjv2-proposal-your-profile .mjv2-proposal-trainer-preview span {
  display: block;
  font-size: 13px;
  color: var(--mjv2-muted);
}

/* Training request form */
.mjv2-training-request-form .mjv2-form { max-width: 800px; }
.mjv2-form-subtitle {
  color: var(--mjv2-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════
   Trainer Discovery (Enhanced)
   ═══════════════════════════════════════ */

.mjv2-discovery-hero {
  text-align: center;
  padding: 40px 20px 30px;
  background: linear-gradient(135deg, #0b1220 0%, #1a2744 100%);
  border-radius: var(--mjv2-radius);
  color: #fff;
  margin-bottom: 30px;
}
.mjv2-discovery-hero h1 { margin: 0 0 8px; font-size: 28px; }
.mjv2-discovery-hero p { margin: 0 0 20px; opacity: .8; font-size: 15px; }

.mjv2-discovery-search {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  gap: 8px;
}
.mjv2-discovery-search input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
}

.mjv2-discovery-section { margin-bottom: 30px; }
.mjv2-discovery-section-title {
  font-size: 18px;
  margin: 0 0 14px;
  color: var(--mjv2-primary);
}

/* Featured trainers */
.mjv2-featured-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mjv2-featured-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 16px 20px;
  transition: box-shadow .2s;
}
.mjv2-featured-card:hover { box-shadow: var(--mjv2-shadow); }
.mjv2-featured-card-left { position: relative; flex-shrink: 0; }
.mjv2-featured-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}
.mjv2-featured-card-left .mjv2-verified {
  position: absolute;
  bottom: -2px;
  right: -2px;
}
.mjv2-featured-card-body { flex: 1; min-width: 0; }
.mjv2-featured-card-body h3 { margin: 0 0 4px; font-size: 16px; }
.mjv2-featured-card-body h3 a { color: var(--mjv2-primary); text-decoration: none; }
.mjv2-featured-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--mjv2-muted);
  margin-bottom: 6px;
}
.mjv2-featured-card-right {
  text-align: right;
  flex-shrink: 0;
}
.mjv2-featured-price {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--mjv2-accent);
  margin-bottom: 8px;
}
.mjv2-featured-price small { font-weight: 400; font-size: 13px; }

/* Topic browsing */
.mjv2-topic-browse {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mjv2-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: 20px;
  font-size: 14px;
  color: var(--mjv2-primary);
  text-decoration: none;
  transition: all .2s;
}
.mjv2-topic-chip:hover { border-color: var(--mjv2-accent); color: var(--mjv2-accent); }
.mjv2-topic-chip--active { background: var(--mjv2-accent); color: #fff; border-color: var(--mjv2-accent); }
.mjv2-topic-count {
  background: rgba(0,0,0,.08);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 12px;
}
.mjv2-topic-chip--active .mjv2-topic-count { background: rgba(255,255,255,.25); }

/* Discovery layout */
.mjv2-discovery-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

/* Sidebar filters */
.mjv2-discovery-filters {
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 20px;
  position: sticky;
  top: 20px;
}
.mjv2-discovery-filters h3 {
  margin: 0 0 16px;
  font-size: 16px;
}
.mjv2-filter-group {
  margin-bottom: 14px;
}
.mjv2-filter-group > label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--mjv2-muted);
}
.mjv2-filter-group select,
.mjv2-filter-group input[type="text"],
.mjv2-filter-group input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--mjv2-border);
  border-radius: 6px;
  font-size: 14px;
}
.mjv2-filter-range {
  display: flex;
  gap: 6px;
  align-items: center;
}
.mjv2-filter-range input { width: 50%; }

/* Results bar */
.mjv2-results-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--mjv2-muted);
  flex-wrap: wrap;
}
.mjv2-results-for { font-style: italic; }
.mjv2-filter-active-tag {
  background: var(--mjv2-accent);
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
}
.mjv2-filter-active-tag a { color: #fff; text-decoration: none; margin-left: 4px; }

/* Empty state */
.mjv2-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.mjv2-empty-state h3 { margin: 0 0 8px; }
.mjv2-empty-state p { color: var(--mjv2-muted); margin: 0 0 16px; }

/* Compare */
.mjv2-compare-check {
  position: absolute;
  top: 4px;
  right: 4px;
  cursor: pointer;
}
.mjv2-trainer-card { position: relative; }
.mjv2-compare-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--mjv2-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.mjv2-compare-list { display: flex; gap: 6px; flex: 1; flex-wrap: wrap; }
.mjv2-compare-item {
  background: rgba(255,255,255,.15);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 13px;
}
.mjv2-compare-item a { color: #fff; text-decoration: none; margin-left: 4px; }

.mjv2-compare-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mjv2-compare-modal-content {
  background: #fff;
  border-radius: var(--mjv2-radius);
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  overflow: auto;
  padding: 24px;
}
.mjv2-compare-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.mjv2-compare-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--mjv2-muted);
}
.mjv2-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.mjv2-compare-table th,
.mjv2-compare-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--mjv2-border);
  text-align: left;
  vertical-align: top;
}
.mjv2-compare-table th { background: var(--mjv2-bg); font-weight: 600; }

/* ═══════════════════════════════════════
   Scheduling & Calendar
   ═══════════════════════════════════════ */

.mjv2-cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}
.mjv2-cal-header h2 { margin: 0; }
.mjv2-cal-tz { font-size: 13px; color: var(--mjv2-muted); }

.mjv2-cal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--mjv2-border);
  padding-bottom: 0;
}
.mjv2-cal-tab {
  padding: 10px 18px;
  text-decoration: none;
  color: var(--mjv2-muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.mjv2-cal-tab:hover { color: var(--mjv2-primary); }
.mjv2-cal-tab--active {
  color: var(--mjv2-accent);
  border-bottom-color: var(--mjv2-accent);
}

.mjv2-cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* Month grid */
.mjv2-cal-month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: var(--mjv2-border);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  overflow: hidden;
}
.mjv2-cal-dow {
  background: var(--mjv2-bg);
  padding: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--mjv2-muted);
  text-transform: uppercase;
}
.mjv2-cal-day {
  background: var(--mjv2-card);
  min-height: 90px;
  padding: 6px;
  position: relative;
}
.mjv2-cal-day--empty { background: var(--mjv2-bg); }
.mjv2-cal-day--today { background: #f0f7ff; }
.mjv2-cal-day--today .mjv2-cal-day-num {
  background: var(--mjv2-accent);
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mjv2-cal-day-num {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-block;
}

.mjv2-cal-event {
  display: block;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  margin-bottom: 2px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mjv2-cal-event--scheduled { background: #e3f2fd; color: #1565c0; }
.mjv2-cal-event--pending_confirmation { background: #fff3e0; color: #e65100; }
.mjv2-cal-event--completed { background: #e8f5e9; color: #2e7d32; }
.mjv2-cal-event--cancelled { background: #f5f5f5; color: #999; text-decoration: line-through; }
.mjv2-cal-event-time { font-weight: 600; margin-right: 3px; }

/* Session list (upcoming/past) */
.mjv2-session-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mjv2-session-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--mjv2-card);
  border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
  padding: 16px;
  transition: box-shadow .2s;
}
.mjv2-session-card:hover { box-shadow: var(--mjv2-shadow); }
.mjv2-session--cancelled { opacity: .6; }

.mjv2-session-date-col {
  text-align: center;
  min-width: 55px;
  flex-shrink: 0;
}
.mjv2-session-day { display: block; font-size: 24px; font-weight: 700; color: var(--mjv2-accent); line-height: 1; }
.mjv2-session-month { display: block; font-size: 13px; font-weight: 600; color: var(--mjv2-muted); text-transform: uppercase; }
.mjv2-session-weekday { display: block; font-size: 11px; color: var(--mjv2-muted); }

.mjv2-session-info { flex: 1; min-width: 0; }
.mjv2-session-info h4 { margin: 0 0 4px; font-size: 15px; }
.mjv2-session-info h4 a { color: var(--mjv2-primary); text-decoration: none; }
.mjv2-session-meta {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--mjv2-muted);
  flex-wrap: wrap;
}
.mjv2-session-people { margin-top: 4px; }
.mjv2-session-people small { font-size: 12px; color: var(--mjv2-muted); }

.mjv2-session-status-col { text-align: right; flex-shrink: 0; }
.mjv2-session-status {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.mjv2-session-status--scheduled { background: #e3f2fd; color: #1565c0; }
.mjv2-session-status--pending_confirmation { background: #fff3e0; color: #e65100; }
.mjv2-session-status--completed { background: #e8f5e9; color: #2e7d32; }
.mjv2-session-status--cancelled { background: #f5f5f5; color: #999; }

/* Session detail */
.mjv2-session-detail-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.mjv2-session-detail-header h2 { margin: 0; }

.mjv2-session-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.mjv2-session-detail-section { margin-bottom: 24px; }
.mjv2-session-detail-section h3 {
  font-size: 16px;
  margin: 0 0 10px;
  color: var(--mjv2-primary);
}

.mjv2-session-datetime {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.mjv2-session-dt-block {
  background: var(--mjv2-bg);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 14px;
}
.mjv2-session-dt-block strong { display: block; font-size: 12px; text-transform: uppercase; color: var(--mjv2-muted); margin-bottom: 2px; }
.mjv2-session-tz-note { color: var(--mjv2-muted); display: block; margin-top: 6px; }

.mjv2-session-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mjv2-session-details-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mjv2-border);
  font-size: 14px;
}
.mjv2-session-details-list li:last-child { border-bottom: none; }

.mjv2-session-notes {
  background: var(--mjv2-bg);
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.mjv2-session-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mjv2-session-reschedule {
  background: var(--mjv2-bg);
  padding: 20px;
  border-radius: var(--mjv2-radius);
}
.mjv2-reschedule-form { max-width: none !important; }

.mjv2-session-person {
  display: flex;
  gap: 10px;
  align-items: center;
}
.mjv2-session-person small { display: block; font-size: 12px; color: var(--mjv2-muted); }

/* Schedule session form layout */
.mjv2-schedule-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.mjv2-schedule-form-col .mjv2-form { max-width: none; }

.mjv2-avail-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.mjv2-avail-list li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-avail-list li:last-child { border-bottom: none; }
.mjv2-avail--on span { color: #2e7d32; }
.mjv2-avail--off span { color: #999; }

.mjv2-blocked-dates {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--mjv2-border);
  font-size: 12px;
}
.mjv2-blocked-dates strong { display: block; margin-bottom: 2px; }

.mjv2-scheduled-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mjv2-scheduled-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-scheduled-list li:last-child { border-bottom: none; }
.mjv2-scheduled-list strong { display: block; font-size: 13px; }
.mjv2-scheduled-list small { display: block; font-size: 12px; color: var(--mjv2-muted); }

.mjv2-tz-info p { font-weight: 600; margin: 4px 0; }

/* ─── Session Materials ─── */
.mjv2-session-materials h3 small { font-weight: 400; color: var(--mjv2-muted); }
.mjv2-materials-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mjv2-material-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; background: var(--mjv2-bg); border-radius: 8px;
}
.mjv2-material-info a { font-weight: 500; color: var(--mjv2-accent); text-decoration: none; }
.mjv2-material-info a:hover { text-decoration: underline; }
.mjv2-material-info small { display: block; font-size: 12px; color: var(--mjv2-muted); }
.mjv2-material-actions { display: flex; align-items: center; gap: 8px; }
.mjv2-material-actions a { font-size: 18px; text-decoration: none; color: var(--mjv2-accent); }
.mjv2-material-delete {
  background: none; border: none; color: #e53e3e; cursor: pointer;
  font-size: 18px; font-weight: 700; line-height: 1;
}
.mjv2-upload-materials-form { margin-top: 8px; }
.mjv2-upload-row { display: flex; gap: 8px; align-items: center; }
.mjv2-upload-row input[type="file"] { flex: 1; font-size: 13px; }
.mjv2-empty-note { color: var(--mjv2-muted); font-size: 13px; font-style: italic; }

/* ─── Attendance ─── */
.mjv2-attendance-badge {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  font-size: 13px; font-weight: 600; margin-bottom: 8px;
}
.mjv2-attendance-badge--present { background: #c6f6d5; color: #22543d; }
.mjv2-attendance-badge--absent { background: #fed7d7; color: #9b2c2c; }
.mjv2-attendance-badge--late { background: #fefcbf; color: #975a16; }
.mjv2-attendance-badge--excused { background: #e9d8fd; color: #553c9a; }
.mjv2-attendance-form { margin-top: 6px; }
.mjv2-attendance-options { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.mjv2-attendance-option {
  padding: 6px 14px; border: 1px solid var(--mjv2-border); border-radius: 20px;
  font-size: 13px; cursor: pointer; transition: all 0.15s;
}
.mjv2-attendance-option input { display: none; }
.mjv2-attendance-option:hover, .mjv2-attendance-option--selected {
  border-color: var(--mjv2-accent); background: rgba(11,107,203,0.06);
}

/* ─── Session Notes ─── */
.mjv2-session-notes-section textarea {
  width: 100%; border: 1px solid var(--mjv2-border); border-radius: 8px;
  padding: 10px; font-family: var(--mjv2-font); font-size: 14px;
  resize: vertical; margin-bottom: 8px;
}
.mjv2-note-block {
  padding: 12px; border-radius: 8px; margin-bottom: 10px;
}
.mjv2-note-block strong { display: block; font-size: 12px; text-transform: uppercase; margin-bottom: 4px; }
.mjv2-note-block--trainer { background: #ebf4ff; }
.mjv2-note-block--client { background: #f0fff4; }
.mjv2-note-block p { margin: 0; font-size: 14px; }

/* ─── Session Feedback ─── */
.mjv2-feedback-display { margin-bottom: 12px; }
.mjv2-feedback-stars { font-size: 20px; color: #ecc94b; margin-bottom: 4px; }
.mjv2-feedback-stars span { font-size: 14px; color: var(--mjv2-muted); margin-left: 4px; }
.mjv2-feedback-text p { font-size: 14px; margin: 0; }
.mjv2-star-rating-input {
  display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px;
}
.mjv2-star-rating-input input { display: none; }
.mjv2-star-rating-input label {
  font-size: 28px; color: #d4d4d4; cursor: pointer; transition: color 0.15s;
}
.mjv2-star-rating-input input:checked ~ label,
.mjv2-star-rating-input label:hover,
.mjv2-star-rating-input label:hover ~ label { color: #ecc94b; }
.mjv2-feedback-form .mjv2-form-row { margin-bottom: 12px; }
.mjv2-feedback-form textarea {
  width: 100%; border: 1px solid var(--mjv2-border); border-radius: 8px;
  padding: 10px; font-family: var(--mjv2-font); font-size: 14px; resize: vertical;
}

/* ─── Training Progress Dashboard ─── */
.mjv2-training-progress { font-family: var(--mjv2-font); max-width: 960px; margin: 0 auto; }
.mjv2-tp-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.mjv2-tp-header h2 { margin: 0 0 4px; font-size: 22px; }
.mjv2-tp-header-meta { font-size: 14px; color: var(--mjv2-muted); display: flex; gap: 6px; align-items: center; }
.mjv2-tp-sep { color: var(--mjv2-border); }
.mjv2-tp-header-actions { display: flex; gap: 8px; }
.mjv2-order-status-badge {
  display: inline-block; padding: 2px 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; background: var(--mjv2-bg); text-transform: capitalize;
}

/* Stats Grid */
.mjv2-tp-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px;
}
.mjv2-tp-stat-card {
  background: var(--mjv2-card); border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius); padding: 16px; text-align: center;
}
.mjv2-tp-stat-label { font-size: 12px; color: var(--mjv2-muted); text-transform: uppercase; margin-bottom: 6px; }
.mjv2-tp-stat-value { font-size: 28px; font-weight: 700; color: var(--mjv2-primary); }
.mjv2-tp-stat-value small { font-size: 14px; font-weight: 400; color: var(--mjv2-muted); }
.mjv2-tp-stat-detail { font-size: 12px; color: var(--mjv2-muted); display: block; margin-top: 2px; }
.mjv2-tp-stars { font-size: 16px; color: #ecc94b; display: block; }

/* Progress bar */
.mjv2-tp-stat-progress { grid-column: span 1; }
.mjv2-tp-progress-bar-wrap { margin: 8px 0; }
.mjv2-tp-progress-bar {
  height: 8px; background: var(--mjv2-bg); border-radius: 4px; overflow: hidden;
}
.mjv2-tp-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--mjv2-accent), var(--mjv2-accent-2));
  border-radius: 4px; transition: width 0.3s;
}
.mjv2-tp-progress-label { font-size: 12px; color: var(--mjv2-muted); }

/* Status summary chips */
.mjv2-tp-status-summary { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.mjv2-tp-status-chip {
  padding: 4px 12px; border-radius: 20px; font-size: 13px; font-weight: 500;
}
.mjv2-tp-status-completed { background: #c6f6d5; color: #22543d; }
.mjv2-tp-status-scheduled { background: #bee3f8; color: #2a4365; }
.mjv2-tp-status-pending { background: #fefcbf; color: #975a16; }
.mjv2-tp-status-cancelled { background: #fed7d7; color: #9b2c2c; }
.mjv2-tp-status-materials { background: #e9d8fd; color: #553c9a; }

/* Participants row */
.mjv2-tp-participants {
  display: flex; gap: 24px; margin-bottom: 24px; padding: 12px 16px;
  background: var(--mjv2-card); border: 1px solid var(--mjv2-border); border-radius: var(--mjv2-radius);
}
.mjv2-tp-participant { display: flex; align-items: center; gap: 10px; }
.mjv2-tp-participant strong { display: block; font-size: 14px; }
.mjv2-tp-participant small { display: block; font-size: 12px; color: var(--mjv2-muted); }

/* Timeline */
.mjv2-tp-timeline { margin-bottom: 24px; }
.mjv2-tp-timeline h3 { margin: 0 0 16px; font-size: 18px; }
.mjv2-tp-timeline-list { display: flex; flex-direction: column; }
.mjv2-tp-timeline-item { display: flex; gap: 16px; }
.mjv2-tp-timeline-marker {
  display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0;
}
.mjv2-tp-timeline-dot {
  width: 12px; height: 12px; border-radius: 50%; background: var(--mjv2-border);
  border: 2px solid var(--mjv2-card); flex-shrink: 0; margin-top: 4px;
}
.mjv2-tp-timeline-item--completed .mjv2-tp-timeline-dot { background: #48bb78; }
.mjv2-tp-timeline-item--scheduled .mjv2-tp-timeline-dot { background: var(--mjv2-accent); }
.mjv2-tp-timeline-item--pending_confirmation .mjv2-tp-timeline-dot { background: #ecc94b; }
.mjv2-tp-timeline-item--cancelled .mjv2-tp-timeline-dot { background: #e53e3e; }
.mjv2-tp-timeline-line { width: 2px; flex: 1; background: var(--mjv2-border); min-height: 20px; }
.mjv2-tp-timeline-content {
  flex: 1; padding-bottom: 20px; border-bottom: 1px solid var(--mjv2-border); margin-bottom: 8px;
}
.mjv2-tp-timeline-item:last-child .mjv2-tp-timeline-content { border-bottom: none; }
.mjv2-tp-timeline-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.mjv2-tp-session-title { font-weight: 600; color: var(--mjv2-primary); text-decoration: none; }
.mjv2-tp-session-title:hover { color: var(--mjv2-accent); }
.mjv2-tp-timeline-meta { font-size: 13px; color: var(--mjv2-muted); display: flex; gap: 6px; align-items: center; margin-bottom: 6px; }
.mjv2-tp-timeline-indicators { display: flex; gap: 8px; flex-wrap: wrap; }
.mjv2-tp-indicator {
  display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 500;
}
.mjv2-tp-indicator--attendance-present { background: #c6f6d5; color: #22543d; }
.mjv2-tp-indicator--attendance-absent { background: #fed7d7; color: #9b2c2c; }
.mjv2-tp-indicator--attendance-late { background: #fefcbf; color: #975a16; }
.mjv2-tp-indicator--attendance-excused { background: #e9d8fd; color: #553c9a; }
.mjv2-tp-indicator--materials { background: #bee3f8; color: #2a4365; }
.mjv2-tp-indicator--rating { color: #ecc94b; background: #fffff0; }
.mjv2-tp-indicator--notes { background: #fefcbf; color: #975a16; }

/* Materials Library */
.mjv2-tp-materials-library { margin-bottom: 24px; }
.mjv2-tp-materials-library h3 { margin: 0 0 12px; font-size: 18px; }
.mjv2-tp-materials-library h3 small { font-weight: 400; color: var(--mjv2-muted); }
.mjv2-tp-materials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.mjv2-tp-material-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--mjv2-card); border: 1px solid var(--mjv2-border);
  border-radius: 8px;
}
.mjv2-tp-material-icon { font-size: 24px; flex-shrink: 0; }
.mjv2-tp-material-info { flex: 1; min-width: 0; }
.mjv2-tp-material-name {
  font-weight: 500; color: var(--mjv2-primary); text-decoration: none;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mjv2-tp-material-name:hover { color: var(--mjv2-accent); }
.mjv2-tp-material-info small { font-size: 12px; color: var(--mjv2-muted); }
.mjv2-tp-material-dl {
  font-size: 20px; text-decoration: none; color: var(--mjv2-accent);
  flex-shrink: 0; padding: 4px;
}
.mjv2-tp-material-dl:hover { color: var(--mjv2-primary); }

/* Responsive */
@media (max-width: 768px) {
  .mjv2-discovery-layout { grid-template-columns: 1fr; }
  .mjv2-discovery-filters { position: static; }
  .mjv2-featured-card { flex-direction: column; text-align: center; }
  .mjv2-featured-card-right { text-align: center; }
  .mjv2-cal-month-grid { font-size: 12px; }
  .mjv2-cal-day { min-height: 60px; }
  .mjv2-session-card { flex-direction: column; text-align: center; }
  .mjv2-session-detail-grid { grid-template-columns: 1fr; }
  .mjv2-schedule-layout { grid-template-columns: 1fr; }
  .mjv2-tp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .mjv2-tp-header { flex-direction: column; }
  .mjv2-tp-participants { flex-direction: column; gap: 12px; }
  .mjv2-tp-materials-grid { grid-template-columns: 1fr; }
  .mjv2-upload-row { flex-direction: column; align-items: stretch; }
  .mjv2-attendance-options { flex-direction: column; }
  .mjv2-org-profile-grid { grid-template-columns: 1fr; }
  .mjv2-org-dash-header { flex-direction: column; }
  .mjv2-org-member-row { grid-template-columns: 1fr; gap: 8px; }
  .mjv2-org-members-head { display: none; }
  .mjv2-invite-row { flex-direction: column; }
  .mjv2-org-order-row { flex-direction: column; gap: 6px; }
  .mjv2-org-stats-row { grid-template-columns: 1fr; }
  .mjv2-org-team-grid { grid-template-columns: 1fr; }
}

/* ─── Organizations ─── */
.mjv2-org { font-family: var(--mjv2-font); max-width: 960px; margin: 0 auto; }

/* Org Onboarding */
.mjv2-org-onboarding .mjv2-onboarding-hero { text-align: center; margin-bottom: 24px; }
.mjv2-org-onboarding .mjv2-onboarding-hero h1 { margin: 0 0 8px; }
.mjv2-org-onboarding .mjv2-onboarding-hero p { color: var(--mjv2-muted); }

/* Org Profile */
.mjv2-org-profile-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
  padding: 24px; background: var(--mjv2-card); border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius);
}
.mjv2-org-logo { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.mjv2-org-logo-sm { width: 50px; height: 50px; border-radius: 10px; object-fit: cover; }
.mjv2-org-profile-info h1 { margin: 0 0 4px; font-size: 24px; }
.mjv2-org-industry { font-size: 14px; color: var(--mjv2-accent); margin-right: 12px; }
.mjv2-org-location { font-size: 14px; color: var(--mjv2-muted); }
.mjv2-verified-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%; background: var(--mjv2-accent);
  color: white; font-size: 12px; vertical-align: middle; margin-left: 6px;
}

.mjv2-org-profile-grid {
  display: grid; grid-template-columns: 1fr 300px; gap: 24px;
}
.mjv2-org-section { margin-bottom: 24px; }
.mjv2-org-section h3 { margin: 0 0 12px; font-size: 18px; }
.mjv2-org-section h3 small { font-weight: 400; color: var(--mjv2-muted); }
.mjv2-org-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mjv2-org-section-head h3 { margin: 0; }
.mjv2-link { color: var(--mjv2-accent); text-decoration: none; font-size: 14px; }
.mjv2-link:hover { text-decoration: underline; }

.mjv2-org-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.mjv2-org-stat {
  text-align: center; padding: 16px;
  background: var(--mjv2-bg); border-radius: var(--mjv2-radius);
}
.mjv2-org-stat-value { display: block; font-size: 28px; font-weight: 700; color: var(--mjv2-primary); }
.mjv2-org-stat-label { display: block; font-size: 12px; color: var(--mjv2-muted); text-transform: uppercase; }

.mjv2-org-details-list { list-style: none; padding: 0; margin: 0; }
.mjv2-org-details-list li { padding: 8px 0; border-bottom: 1px solid var(--mjv2-border); font-size: 14px; }
.mjv2-org-details-list li:last-child { border-bottom: none; }
.mjv2-org-details-list strong { display: block; font-size: 12px; color: var(--mjv2-muted); text-transform: uppercase; }
.mjv2-org-details-list a { color: var(--mjv2-accent); text-decoration: none; }

/* Team Grid */
.mjv2-org-team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.mjv2-org-team-member {
  display: flex; align-items: center; gap: 10px;
  padding: 10px; background: var(--mjv2-bg); border-radius: 8px;
}
.mjv2-org-team-member strong { display: block; font-size: 14px; }
.mjv2-org-team-member small { font-size: 12px; color: var(--mjv2-muted); }
.mjv2-org-team-more { display: flex; align-items: center; justify-content: center; }
.mjv2-org-team-more a { color: var(--mjv2-accent); text-decoration: none; font-weight: 500; }

/* Role Badges */
.mjv2-role-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.mjv2-role-admin { background: #fed7d7; color: #9b2c2c; }
.mjv2-role-manager { background: #bee3f8; color: #2a4365; }
.mjv2-role-member { background: var(--mjv2-bg); color: var(--mjv2-muted); }

/* Dashboard */
.mjv2-org-dash-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.mjv2-org-dash-identity { display: flex; align-items: center; gap: 14px; }
.mjv2-org-dash-identity h1 { margin: 0; font-size: 22px; }
.mjv2-org-industry-label { font-size: 13px; color: var(--mjv2-accent); }
.mjv2-org-dash-actions { display: flex; gap: 8px; }

/* Orders list */
.mjv2-org-orders-list { display: flex; flex-direction: column; gap: 6px; }
.mjv2-org-order-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: var(--mjv2-card); border: 1px solid var(--mjv2-border);
  border-radius: 8px;
}
.mjv2-org-order-info { flex: 1; min-width: 0; }
.mjv2-org-order-info a { color: var(--mjv2-primary); text-decoration: none; }
.mjv2-org-order-info a:hover { color: var(--mjv2-accent); }
.mjv2-org-order-info small { display: block; font-size: 12px; color: var(--mjv2-muted); }
.mjv2-org-order-amount { font-weight: 600; font-size: 14px; white-space: nowrap; }
.mjv2-org-order-sessions { font-size: 13px; color: var(--mjv2-muted); white-space: nowrap; }

/* Invite Banner */
.mjv2-org-invite-banner { margin-bottom: 20px; }
.mjv2-org-invite-notice {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; background: #ebf4ff; border: 1px solid #bee3f8;
  border-radius: var(--mjv2-radius); margin-bottom: 8px;
}
.mjv2-org-invite-notice-actions { display: flex; gap: 6px; }

/* Team Management Page */
.mjv2-org-team-header {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.mjv2-org-team-header h2 { margin: 0; }

.mjv2-org-invite-section, .mjv2-org-pending-section, .mjv2-org-members-section {
  margin-bottom: 24px;
}
.mjv2-org-invite-section h3, .mjv2-org-pending-section h3, .mjv2-org-members-section h3 {
  margin: 0 0 12px; font-size: 18px;
}
.mjv2-org-pending-section h3 small, .mjv2-org-members-section h3 small {
  font-weight: 400; color: var(--mjv2-muted);
}

.mjv2-invite-form { max-width: 100%; }
.mjv2-invite-row { display: flex; gap: 8px; align-items: center; }
.mjv2-invite-row input[type="email"] { flex: 1; }
.mjv2-invite-row select { width: 130px; }

.mjv2-org-invites-list { display: flex; flex-direction: column; gap: 6px; }
.mjv2-org-invite-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: #fffff0; border: 1px solid #fefcbf;
  border-radius: 8px;
}
.mjv2-org-invite-info strong { display: block; font-size: 14px; }
.mjv2-org-invite-info small { font-size: 12px; color: var(--mjv2-muted); }

/* Members table */
.mjv2-org-members-table { border: 1px solid var(--mjv2-border); border-radius: var(--mjv2-radius); overflow: hidden; }
.mjv2-org-members-head {
  display: grid; grid-template-columns: 2fr 1fr 1fr 100px;
  padding: 10px 16px; background: var(--mjv2-bg); font-size: 12px;
  text-transform: uppercase; color: var(--mjv2-muted); font-weight: 600;
}
.mjv2-org-member-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 100px;
  padding: 12px 16px; align-items: center;
  border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-org-member-row:last-child { border-bottom: none; }
.mjv2-org-member-info { display: flex; align-items: center; gap: 10px; }
.mjv2-org-member-info strong { display: block; font-size: 14px; }
.mjv2-org-member-info small { display: block; font-size: 12px; color: var(--mjv2-muted); }
.mjv2-org-member-role select {
  padding: 4px 8px; border: 1px solid var(--mjv2-border); border-radius: 6px;
  font-size: 13px; background: var(--mjv2-card);
}
.mjv2-org-member-joined { font-size: 13px; color: var(--mjv2-muted); }
.mjv2-inline-form { display: inline; }

/* Roles info */
.mjv2-org-roles-info {
  padding: 16px; background: var(--mjv2-bg); border-radius: var(--mjv2-radius);
}
.mjv2-org-roles-info h4 { margin: 0 0 8px; font-size: 14px; }
.mjv2-org-roles-info ul { list-style: none; padding: 0; margin: 0; }
.mjv2-org-roles-info li { padding: 4px 0; font-size: 13px; color: var(--mjv2-muted); }
.mjv2-org-roles-info li strong { color: var(--mjv2-primary); }

/* ─── Session Integrations ─── */
.mjv2-session-integrations {
  margin-top: 16px; padding: 16px; background: var(--mjv2-bg);
  border-radius: var(--mjv2-radius);
}
.mjv2-integration-group {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 8px;
}
.mjv2-integration-group:last-child { margin-bottom: 0; }
.mjv2-integration-label {
  font-size: 13px; font-weight: 600; color: var(--mjv2-muted); min-width: 120px;
}

/* ─── Invoice ─── */
.mjv2-invoice { font-family: var(--mjv2-font); max-width: 800px; margin: 0 auto; }
.mjv2-invoice-toolbar {
  display: flex; gap: 8px; margin-bottom: 20px; justify-content: flex-end;
}
.mjv2-invoice-paper {
  background: var(--mjv2-card); border: 1px solid var(--mjv2-border);
  border-radius: var(--mjv2-radius); padding: 40px;
}
.mjv2-invoice-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid var(--mjv2-primary);
}
.mjv2-invoice-brand h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: 2px; color: var(--mjv2-primary); }
.mjv2-invoice-brand strong { display: block; font-size: 16px; margin-bottom: 4px; }
.mjv2-invoice-brand p { margin: 2px 0; font-size: 13px; color: var(--mjv2-muted); }
.mjv2-invoice-meta table { border-collapse: collapse; }
.mjv2-invoice-meta td { padding: 3px 12px; font-size: 13px; text-align: right; }
.mjv2-invoice-meta td:first-child { text-align: left; color: var(--mjv2-muted); }
.mjv2-invoice-status {
  display: inline-block; padding: 2px 10px; border-radius: 10px;
  font-size: 12px; font-weight: 600; background: #c6f6d5; color: #22543d;
}

.mjv2-invoice-parties {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px;
}
.mjv2-invoice-party h4 {
  margin: 0 0 8px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--mjv2-muted);
}
.mjv2-invoice-party strong { display: block; font-size: 15px; margin-bottom: 2px; }
.mjv2-invoice-party p { margin: 2px 0; font-size: 13px; color: var(--mjv2-muted); }

.mjv2-invoice-description { margin-bottom: 24px; }
.mjv2-invoice-description h4 {
  margin: 0 0 6px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--mjv2-muted);
}
.mjv2-invoice-description p { margin: 0; font-size: 14px; }
.mjv2-invoice-ref { font-size: 13px; color: var(--mjv2-muted); }

.mjv2-invoice-table {
  width: 100%; border-collapse: collapse; margin-bottom: 24px;
}
.mjv2-invoice-table th {
  text-align: left; padding: 10px 12px; font-size: 11px; text-transform: uppercase;
  letter-spacing: 1px; color: var(--mjv2-muted); border-bottom: 2px solid var(--mjv2-border);
}
.mjv2-invoice-table td {
  padding: 10px 12px; font-size: 14px; border-bottom: 1px solid var(--mjv2-border);
}
.mjv2-invoice-right { text-align: right; }

.mjv2-invoice-totals {
  display: flex; justify-content: flex-end; margin-bottom: 32px;
}
.mjv2-invoice-totals table { border-collapse: collapse; min-width: 280px; }
.mjv2-invoice-totals td {
  padding: 6px 12px; font-size: 14px;
}
.mjv2-invoice-totals td:last-child { text-align: right; }
.mjv2-invoice-commission td { color: var(--mjv2-muted); font-size: 13px; }
.mjv2-invoice-total-row {
  border-top: 2px solid var(--mjv2-primary);
}
.mjv2-invoice-total-row td { padding-top: 10px; font-size: 16px; }

.mjv2-invoice-footer {
  text-align: center; padding-top: 24px; border-top: 1px solid var(--mjv2-border);
}
.mjv2-invoice-footer p { margin: 4px 0; font-size: 12px; color: var(--mjv2-muted); }

/* Print styles */
@media print {
  body * { visibility: hidden; }
  .mjv2-invoice, .mjv2-invoice * { visibility: visible; }
  .mjv2-invoice { position: absolute; left: 0; top: 0; width: 100%; }
  .mjv2-invoice-toolbar { display: none; }
  .mjv2-invoice-paper { border: none; box-shadow: none; padding: 20px; }
}

/* Order Timeline */
.mjv2-timeline { display: flex; align-items: flex-start; gap: 0; margin: 24px 0; position: relative; }
.mjv2-timeline::before { content: ''; position: absolute; top: 14px; left: 0; right: 0; height: 2px; background: var(--mjv2-border); }
.mjv2-timeline-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.mjv2-timeline-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--mjv2-bg); border: 2px solid var(--mjv2-border); margin: 0 auto 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mjv2-timeline-step.completed .mjv2-timeline-dot { background: var(--mjv2-accent); border-color: var(--mjv2-accent); color: #fff; }
.mjv2-timeline-step.active .mjv2-timeline-dot { background: var(--mjv2-primary); border-color: var(--mjv2-primary); color: #fff; animation: mjv2-pulse 2s infinite; }
.mjv2-timeline-label { font-size: 12px; color: var(--mjv2-muted); }
.mjv2-timeline-step.completed .mjv2-timeline-label { color: var(--mjv2-text, var(--mjv2-primary)); }
.mjv2-timeline-date { font-size: 11px; color: var(--mjv2-muted); margin-top: 2px; }
.mjv2-timeline-warning { font-size: 11px; color: #dc2626; margin-top: 4px; }
@keyframes mjv2-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); } 50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); } }

/* Seller Badges */
.mjv2-badges { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.mjv2-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.mjv2-badge-email_verified { background: #dbeafe; color: #1d4ed8; }
.mjv2-badge-identity_verified { background: #dcfce7; color: #166534; }
.mjv2-badge-portfolio_verified { background: #fef3c7; color: #92400e; }

/* Search Filters */
.mjv2-search-filters { background: var(--mjv2-card-bg, #fff); border: 1px solid var(--mjv2-border); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.mjv2-search-filters summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--mjv2-text); }
.mjv2-filter-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.mjv2-filter-group label { display: block; font-size: 12px; color: var(--mjv2-muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .5px; }
.mjv2-filter-group input, .mjv2-filter-group select { width: 100%; padding: 8px 12px; border: 1px solid var(--mjv2-border); border-radius: 8px; font-size: 14px; }
.mjv2-filter-actions { display: flex; gap: 12px; align-items: center; margin-top: 16px; }
.mjv2-price-range { display: flex; gap: 8px; align-items: center; }
.mjv2-price-range input { width: 50%; }

/* ═══ Dark Mode ═══ */
@media (prefers-color-scheme: dark) {
  :root {
    --mjv2-primary: #e2e8f0;
    --mjv2-accent: #60a5fa;
    --mjv2-accent-2: #34d399;
    --mjv2-muted: #94a3b8;
    --mjv2-border: #334155;
    --mjv2-bg: #0f172a;
    --mjv2-card: #1e293b;
    --mjv2-card-bg: #1e293b;
    --mjv2-text: #e2e8f0;
    --mjv2-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  body { background: var(--mjv2-bg); color: var(--mjv2-text, #e2e8f0); }
  .mjv2-form { background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%); }
  .mjv2-input, .mjv2-textarea, .mjv2-select, .mjv2-form input, .mjv2-form select, .mjv2-form textarea {
    background: #0f172a; color: #e2e8f0; border-color: var(--mjv2-border);
  }
  .mjv2-btn.secondary { background: #334155; color: #e2e8f0; }
  .mjv2-chip { background: #334155; color: #e2e8f0; }
  .mjv2-table th { background: #1e293b; color: #e2e8f0; }
  .mjv2-table td { border-color: var(--mjv2-border); }
  .mjv2-help { color: var(--mjv2-muted); }
  img { opacity: 0.92; }
}

/* ═══ Toast Notifications ═══ */
.mjv2-toast-container {
  position: fixed; bottom: 20px; right: 20px; z-index: 99999;
  display: flex; flex-direction: column-reverse; gap: 8px; max-width: 380px;
}
[dir="rtl"] .mjv2-toast-container { right: auto; left: 20px; }
.mjv2-toast {
  padding: 14px 20px; border-radius: 10px; color: #fff; font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15); animation: mjv2-toast-in 0.3s ease;
  display: flex; align-items: center; gap: 10px;
}
.mjv2-toast-success { background: #059669; }
.mjv2-toast-error { background: #dc2626; }
.mjv2-toast-info { background: #2563eb; }
.mjv2-toast-close { margin-left: auto; cursor: pointer; opacity: 0.7; background: none; border: none; color: inherit; font-size: 18px; }
@keyframes mjv2-toast-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.mjv2-toast.hiding { animation: mjv2-toast-out 0.3s ease forwards; }
@keyframes mjv2-toast-out { to { opacity: 0; transform: translateY(20px); } }

/* ═══ Skeleton Loading ═══ */
.mjv2-skeleton {
  background: linear-gradient(90deg, var(--mjv2-border) 25%, transparent 50%, var(--mjv2-border) 75%);
  background-size: 200% 100%;
  animation: mjv2-shimmer 1.5s infinite;
  border-radius: 8px;
}
.mjv2-skeleton-text { height: 14px; margin-bottom: 8px; width: 80%; }
.mjv2-skeleton-title { height: 20px; margin-bottom: 12px; width: 60%; }
.mjv2-skeleton-img { height: 160px; width: 100%; margin-bottom: 12px; }
.mjv2-skeleton-avatar { width: 48px; height: 48px; border-radius: 50%; }
.mjv2-skeleton-card { padding: 20px; border: 1px solid var(--mjv2-border); border-radius: 12px; }
@keyframes mjv2-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ═══ Favicon Badge ═══ */
/* JS-driven, no CSS needed — see notification bell JS */

/* ═══ Order Timeline ═══ */
.mjv2-timeline {
  display: flex; align-items: flex-start; gap: 0; padding: 20px 0; overflow-x: auto;
}
.mjv2-timeline-step {
  flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; min-width: 100px; text-align: center;
}
.mjv2-timeline-step::after {
  content: ''; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px; background: var(--mjv2-border);
}
.mjv2-timeline-step:last-child::after { display: none; }
.mjv2-timeline-step.completed::after { background: var(--mjv2-primary); }
.mjv2-timeline-dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--mjv2-border); position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--mjv2-muted);
}
.mjv2-timeline-step.completed .mjv2-timeline-dot { background: var(--mjv2-primary); color: #fff; }
.mjv2-timeline-step.active .mjv2-timeline-dot { background: var(--mjv2-primary); color: #fff; animation: mjv2-pulse 2s infinite; }
.mjv2-timeline-label { font-size: 12px; margin-top: 8px; font-weight: 600; color: var(--mjv2-muted); }
.mjv2-timeline-step.completed .mjv2-timeline-label,
.mjv2-timeline-step.active .mjv2-timeline-label { color: var(--mjv2-text, #1e293b); }
.mjv2-timeline-date { font-size: 11px; color: var(--mjv2-muted); margin-top: 2px; }
.mjv2-timeline-warning { font-size: 11px; color: #f59e0b; margin-top: 4px; font-weight: 500; }
@keyframes mjv2-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.4); } 50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); } }

/* ═══ Seller Badges ═══ */
.mjv2-seller-badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; line-height: 1.4;
}
.mjv2-seller-badge-email { background: #dbeafe; color: #1d4ed8; }
.mjv2-seller-badge-identity { background: #dcfce7; color: #15803d; }
.mjv2-seller-badge-portfolio { background: #fef3c7; color: #92400e; }

/* ═══ Search Filters ═══ */
.mjv2-search-filters { margin-bottom: 20px; border: 1px solid var(--mjv2-border); border-radius: 12px; overflow: hidden; }
.mjv2-search-filters summary {
  padding: 14px 20px; cursor: pointer; font-weight: 600; background: var(--mjv2-bg, #fff);
  list-style: none; display: flex; align-items: center; gap: 8px;
}
.mjv2-search-filters summary::before { content: '\25B6'; font-size: 10px; transition: transform 0.2s; }
.mjv2-search-filters[open] summary::before { transform: rotate(90deg); }
.mjv2-filter-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; padding: 20px;
}
.mjv2-filter-group label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 4px; color: var(--mjv2-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.mjv2-filter-group input, .mjv2-filter-group select { width: 100%; }
.mjv2-filter-actions { padding: 0 20px 20px; display: flex; gap: 10px; align-items: center; }
.mjv2-price-range { display: flex; gap: 8px; align-items: center; }
.mjv2-price-range input { width: 50%; }
