/* ─── VOLTFRIQ OCEAN — ELECTRICIAN PORTAL STYLES ─────────────────── */

/* ─── LOGIN SCREEN ────────────────────────────────────────────────── */
#screen-elec-login {
  background: var(--dark);
  color: var(--white);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.elec-login-glow {
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,184,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.elec-login-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1120px);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(5, 11, 21, 0.72);
  box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}

.elec-login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px 34px;
}

.elec-login-content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  width: 100%; max-width: 420px;
}

.elec-login-visual {
  order: -1;
  height: 190px;
  overflow: hidden;
  background: #07111f;
}

.elec-login-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 18%;
}

.logo {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.logo-bolt { font-size: 32px; }
.logo-text {
  font-size: 28px; font-weight: 800;
  color: var(--yellow);
  letter-spacing: -0.5px;
}

.elec-login-subtitle {
  font-size: 14px; font-weight: 600;
  color: var(--mid); margin-bottom: 40px;
  text-transform: uppercase; letter-spacing: 1px;
}

.elec-login-form {
  width: 100%; margin-bottom: 16px;
}

.form-label-light { color: rgba(255,255,255,0.6); }

.form-input-dark {
  background: var(--dark2);
  border-color: rgba(255,255,255,0.1);
  color: var(--white);
}
.form-input-dark::placeholder { color: rgba(255,255,255,0.3); }
.form-input-dark:focus { border-color: var(--yellow); }

.elec-login-error {
  background: var(--red-light);
  color: #991B1B;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.elec-inline-error {
  background: var(--red-light);
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
}

.elec-apply-link {
  color: var(--yellow) !important;
  font-size: 15px !important;
  margin-top: 8px;
  text-decoration: none !important;
}
.elec-apply-link:hover { text-decoration: underline !important; }

/* ─── REGISTRATION ────────────────────────────────────────────────── */
.elec-reg-body {
  flex: 1; padding: 20px 20px 40px;
  overflow-y: auto;
}

.progress-bar {
  height: 6px;
  background: var(--light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}
.progress-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 3px;
  transition: width 0.4s ease;
}
.progress-label {
  font-size: 13px;
  color: var(--mid);
  font-weight: 600;
  margin-bottom: 24px;
}

.photo-placeholder {
  display: flex; align-items: center; gap: 12px;
  padding: 20px;
  border: 2px dashed #E5E7EB;
  border-radius: 14px;
  color: var(--mid);
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.photo-placeholder:hover {
  border-color: var(--yellow);
  background: var(--yellow-light);
}
.photo-icon { font-size: 24px; }

.skills-grid {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 16px;
}

.elec-reg-note {
  padding: 14px;
  background: var(--blue-light);
  border-radius: 12px;
  font-size: 13px;
  color: #1E40AF;
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ─── PENDING SCREEN ──────────────────────────────────────────────── */
.elec-pending-wrap {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.elec-pending-anim {
  position: relative;
  width: 120px; height: 120px;
  margin-bottom: 32px;
}
.pending-ring {
  position: absolute; inset: 0;
  border: 3px solid rgba(255,184,0,0.15);
  border-radius: 50%;
}
.pending-ring.r1 { animation: pendingPulse 2s ease-in-out infinite; }
.pending-ring.r2 {
  inset: 15px;
  border-color: rgba(255,184,0,0.25);
  animation: pendingPulse 2s ease-in-out 0.5s infinite;
}
.pending-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  animation: float 3s ease-in-out infinite;
}

@keyframes pendingPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 1; }
}

.elec-pending-title {
  font-size: 28px; font-weight: 800;
  margin-bottom: 8px;
}
.elec-pending-sub {
  font-size: 16px; color: var(--mid);
  margin-bottom: 20px; line-height: 1.5;
}
.elec-pending-ref {
  padding: 12px 20px;
  background: var(--yellow-light);
  border-radius: 999px;
  font-size: 14px;
  color: #92400E;
  font-weight: 800;
}
.elec-pending-note {
  font-size: 13px; color: var(--mid);
  margin-top: 16px; line-height: 1.5;
}

.elec-appeal-card {
  width: 100%;
  max-width: 520px;
  background: var(--white);
  border: 1.5px solid #F3F4F6;
  border-radius: 14px;
  padding: 14px;
  margin: 10px 0 18px;
  text-align: left;
}

/* ─── DASHBOARD ───────────────────────────────────────────────────── */
.elec-top-bar {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 52px 20px 14px;
  flex-shrink: 0;
  border-bottom: 1px solid #F3F4F6;
}
.elec-top-left {
  display: flex; align-items: center; gap: 12px;
}
.elec-top-avatar {
  width: 44px; height: 44px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.elec-top-name {
  font-size: 17px; font-weight: 700;
}
.elec-top-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--green);
  font-weight: 600;
}

.elec-notif-btn {
  position: relative;
}
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.elec-dash-scroll {
  flex: 1; overflow-y: auto;
  padding: 16px 20px 100px;
}

.elec-trust-panel {
  background: var(--dark);
  color: var(--white);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  border: 1px solid rgba(255,184,0,0.22);
}
.elec-level-pill {
  display: inline-flex;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}
.elec-trust-title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 6px;
}
.elec-trust-copy {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.5;
}
.elec-trust-meter {
  height: 7px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
  margin: 14px 0 8px;
}
.elec-trust-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--yellow);
}
.elec-trust-meta,
.elec-watch-note {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.5;
}
.elec-watch-note {
  color: #FDE68A;
  margin-top: 8px;
}

.elec-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.elec-section {
  margin-bottom: 24px;
}
.elec-section-head {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.elec-section-title {
  font-size: 16px; font-weight: 700;
  margin-bottom: 12px;
}
.elec-section-head .elec-section-title { margin-bottom: 0; }

/* Job Cards */
.elec-job-item {
  background: var(--white);
  border: 1.5px solid #F3F4F6;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.elec-job-item:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow-sm);
}
.elec-job-item-head {
  display: flex; align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 8px;
}
.elec-job-item-name {
  font-size: 15px; font-weight: 700;
}
.elec-job-item-time {
  font-size: 12px; color: var(--mid);
}
.elec-job-item-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 8px;
}
.elec-job-item-tags .badge {
  font-size: 11px; padding: 3px 10px;
}
.elec-job-item-status {
  font-size: 12px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.elec-job-item-note {
  font-size: 13px;
  color: var(--dark2);
  line-height: 1.6;
  margin-top: 10px;
}
.elec-customer-trust-mini {
  color: #1E40AF;
  background: var(--blue-light);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.elec-job-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mid);
}
.elec-inline-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 14px;
}
.elec-job-photo-stack {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.elec-job-photo-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #E5E7EB;
  border: 1px solid rgba(17, 24, 39, 0.08);
  flex-shrink: 0;
}
.elec-job-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--mid);
}

/* New assignment alert */
.elec-alert-card {
  background: var(--yellow-light);
  border: 1.5px solid rgba(255,184,0,0.3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
  cursor: pointer;
  animation: fadeSlideUp 0.4s ease;
}
.elec-alert-card .elec-job-item-name { color: #92400E; }

/* Empty State */
.elec-empty {
  display: flex; flex-direction: column;
  align-items: center; padding: 40px 20px;
  text-align: center; color: var(--mid);
}
.elec-empty-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.4; }
.elec-empty-text { font-size: 14px; font-weight: 500; }

/* ─── JOB DETAIL ──────────────────────────────────────────────────── */
.elec-job-scroll {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 40px;
}

.elec-job-card {
  background: var(--white);
  border: 1.5px solid #F3F4F6;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.elec-job-row {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.elec-job-row:last-of-type { border-bottom: none; }
.elec-job-label { color: var(--mid); font-weight: 500; }
.elec-job-value { font-weight: 700; text-align: right; }

.elec-job-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 0;
}

.elec-job-desc {
  padding: 10px 0 0;
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
  border-top: 1px solid #F3F4F6;
}
.elec-job-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}
.elec-job-photo-card {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #E5E7EB;
  background: #E5E7EB;
}
.elec-job-photo-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border-radius: 14px;
  background: var(--light);
  color: var(--mid);
  font-size: 13px;
  text-align: center;
}

/* Status Tracker */
.elec-status-tracker {
  margin-bottom: 24px;
}
.elec-status-tracker .track-step {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 0;
}
.elec-status-tracker .track-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  color: var(--mid);
  flex-shrink: 0;
  transition: all 0.3s;
}
.elec-status-tracker .track-step.done .track-dot {
  background: var(--green);
  color: var(--white);
}
.elec-status-tracker .track-step.active .track-dot {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 0 0 4px rgba(255,184,0,0.2);
}
.elec-status-tracker .track-info strong {
  font-size: 14px; display: block;
}
.elec-status-tracker .track-info span {
  font-size: 12px; color: var(--mid);
}
.elec-status-tracker .track-line {
  width: 2px; height: 16px;
  background: #E5E7EB;
  margin-left: 15px;
  transition: background 0.3s;
}
.elec-status-tracker .track-line.done-line {
  background: var(--green);
}

/* Job Actions */
.elec-job-actions {
  display: flex; flex-direction: column; gap: 10px;
}

/* ─── ASSESSMENT FORM ─────────────────────────────────────────────── */
.elec-assess-scroll {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 40px;
}

.elec-quote-section {
  margin-bottom: 20px;
}
.elec-quote-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.elec-quote-label {
  font-size: 14px; font-weight: 700;
  color: var(--dark);
}
.btn-add-item {
  background: none; border: 1.5px solid var(--yellow);
  border-radius: 8px; padding: 6px 14px;
  font-family: inherit; font-size: 13px;
  font-weight: 700; color: var(--yellow-dark);
  cursor: pointer; transition: all 0.15s;
}
.btn-add-item:hover {
  background: var(--yellow-light);
}

.elec-materials-note {
  font-size: 12px; color: var(--mid);
  font-style: italic;
  margin-bottom: 10px;
}

.elec-line-item {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
  animation: fadeSlideUp 0.3s ease;
}
.elec-line-item input {
  padding: 10px 12px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  outline: none;
}
.elec-line-item input:focus { border-color: var(--yellow); }
.elec-line-item .li-desc { flex: 2; }
.elec-line-item .li-amount { flex: 1; }
.elec-line-item .li-name { flex: 2; }
.elec-line-item .li-qty { width: 50px; flex-shrink: 0; }
.elec-line-item .li-price { flex: 1; }
.elec-line-item .btn-remove-item {
  width: 32px; height: 32px;
  background: var(--red-light);
  border: none; border-radius: 8px;
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--red);
}

.elec-quote-total {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--dark);
  margin-top: 8px;
  font-size: 18px; font-weight: 800;
}

/* ─── CHAT SCREEN ─────────────────────────────────────────────────── */
#screen-elec-chat .chat-container {
  flex: 1; min-height: 0;
}

/* ─── CONFIRMATION SCREEN ─────────────────────────────────────────── */
.elec-confirm-scroll {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 40px;
}
.elec-confirm-summary {
  background: var(--light);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 20px;
}
.elec-confirm-summary .elec-job-row {
  background: transparent;
}

.elec-confirm-status {
  display: flex; align-items: center; gap: 12px;
  padding: 16px;
  background: var(--yellow-light);
  border-radius: 14px;
  margin-bottom: 20px;
}
.confirm-status-icon { font-size: 24px; }
.confirm-status-text {
  font-size: 14px; font-weight: 600;
  color: #92400E;
}

.elec-confirmed-badge {
  text-align: center;
  margin-top: 16px;
  padding: 14px;
  background: var(--green-light);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #065F46;
}

.elec-customer-stars {
  display: flex;
  gap: 8px;
  margin: 6px 0 14px;
}
.elec-customer-stars .star {
  font-size: 34px;
  color: #D1D5DB;
  cursor: pointer;
  user-select: none;
  transition: color 0.15s, transform 0.15s;
}
.elec-customer-stars .star:hover {
  transform: scale(1.08);
}
.elec-customer-stars .star.active {
  color: var(--yellow);
}

/* ─── PROFILE ─────────────────────────────────────────────────────── */
.elec-profile-scroll {
  flex: 1; overflow-y: auto;
  padding: 20px 20px 100px;
}

.elec-profile-header {
  text-align: center;
  padding: 20px 0 24px;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 24px;
}
.elec-profile-avatar {
  width: 72px; height: 72px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  margin: 0 auto 12px;
}
.elec-profile-name {
  font-size: 20px; font-weight: 800;
  margin-bottom: 4px;
}
.elec-profile-meta {
  font-size: 14px; color: var(--mid);
  font-weight: 500;
}

.elec-skill-item {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
}
.elec-skill-item:last-child { border-bottom: none; }
.elec-skill-name {
  font-size: 14px; font-weight: 600;
}
.skill-status {
  font-size: 11px; font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.skill-status.approved { background: var(--green-light); color: #065F46; }
.skill-status.pending { background: var(--yellow-light); color: #92400E; }
.skill-status.rejected { background: var(--red-light); color: #991B1B; }

.elec-info-card {
  background: var(--light);
  border-radius: 14px;
  padding: 4px 16px;
}
.elec-info-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
  font-size: 14px;
}
.elec-info-row:last-child { border-bottom: none; }
.elec-info-label { color: var(--mid); font-weight: 500; }
.elec-info-value { font-weight: 700; text-align: right; }

/* ─── HISTORY ─────────────────────────────────────────────────────── */
.elec-history-scroll {
  flex: 1; overflow-y: auto;
  padding: 16px 20px 100px;
}

.elec-hist-card {
  background: var(--white);
  border: 1.5px solid #F3F4F6;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 10px;
}
.elec-hist-top {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.elec-hist-customer {
  font-size: 15px; font-weight: 700;
}
.elec-hist-date {
  font-size: 12px; color: var(--mid);
}
.elec-hist-cat {
  font-size: 13px; color: var(--mid);
  margin-bottom: 8px;
}
.elec-hist-bottom {
  display: flex; justify-content: space-between;
  align-items: center;
}
.elec-hist-amount {
  font-size: 16px; font-weight: 800;
  color: var(--dark);
}
.elec-hist-rating {
  font-size: 13px; font-weight: 600;
  color: #92400E;
  background: var(--yellow-light);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ─── MODAL ───────────────────────────────────────────────────────── */
.elec-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex; align-items: flex-end;
  justify-content: center;
}
.elec-modal {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  max-height: 70vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}
.elec-modal-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.elec-modal-header h3 {
  font-size: 18px; font-weight: 700;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ─── RESPONSIVE — TABLET 640px+ ──────────────────────────────────── */
@media (min-width: 640px) {
  .elec-reg-body { max-width: 500px; margin: 0 auto; }
  .elec-dash-scroll { max-width: 600px; margin: 0 auto; }
  .elec-job-scroll { max-width: 600px; margin: 0 auto; }
  .elec-assess-scroll { max-width: 600px; margin: 0 auto; }
  .elec-confirm-scroll { max-width: 600px; margin: 0 auto; }
  .elec-profile-scroll { max-width: 600px; margin: 0 auto; }
  .elec-history-scroll { max-width: 600px; margin: 0 auto; }
  .elec-pending-wrap { max-width: 500px; }
  .elec-modal { max-width: 480px; border-radius: 20px; margin-bottom: 10%; }

  .elec-dash-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .certification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .certification-grid input:first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 768px) {
  .elec-dash-scroll,
  .elec-job-scroll,
  .elec-assess-scroll,
  .elec-confirm-scroll,
  .elec-profile-scroll,
  .elec-history-scroll {
    width: 100%;
    max-width: 920px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .elec-inline-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .elec-job-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ─── RESPONSIVE — DESKTOP 1024px+ ────────────────────────────────── */
@media (min-width: 1024px) {
  #screen-elec-login { background: linear-gradient(135deg, #111827, #1a1a2e); }
  .elec-login-glow { width: 600px; height: 600px; }
  .elec-login-shell {
    grid-template-columns: minmax(360px, 0.82fr) minmax(420px, 1fr);
  }
  .elec-login-panel {
    padding: 54px;
  }
  .elec-login-visual {
    order: 0;
    height: auto;
    min-height: 640px;
  }
  .elec-login-visual img {
    object-position: center center;
  }

  .elec-top-bar {
    max-width: 1200px; margin: 0 auto; width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .elec-dash-scroll,
  .elec-job-scroll,
  .elec-assess-scroll,
  .elec-confirm-scroll,
  .elec-profile-scroll,
  .elec-history-scroll {
    max-width: 1200px;
  }

  .elec-reg-body {
    max-width: 720px;
  }

  .elec-job-photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .elec-modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .elec-modal {
    margin-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .elec-profile-scroll {
    max-width: 960px;
  }
}

/* ─── MVP REDESIGN ADDITIONS ─────────────────────────────────────── */
.elec-onboarding-card,
.elec-video-card,
.elec-live-card {
  padding: 18px;
  border-radius: 16px;
  border: 1.5px solid #F3F4F6;
  background: var(--white);
  margin-bottom: 16px;
}

.elec-onboarding-card {
  background: linear-gradient(180deg, #FFFCF2 0%, #FFFFFF 100%);
  border-color: rgba(255,184,0,0.28);
}

.elec-onboarding-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--yellow-light);
  color: #92400E;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.elec-onboarding-note {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}

.elec-video-title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 10px;
}

.elec-question-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #F3F4F6;
  background: var(--white);
  margin-bottom: 10px;
}

.elec-question-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.expertise-picker {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expertise-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
}

.expertise-empty,
.certification-empty,
.doc-empty-state,
.expertise-no-match {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--light);
  color: var(--mid);
  font-size: 13px;
}

.expertise-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--yellow-light);
  color: #92400E;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.expertise-dropdown {
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.expertise-dropdown .form-input {
  border: 0;
  border-radius: 0;
}

.expertise-options {
  display: flex;
  flex-direction: column;
  max-height: 240px;
  overflow-y: auto;
  border-top: 1px solid #F3F4F6;
}

.expertise-option {
  border: 0;
  border-bottom: 1px solid #F3F4F6;
  background: var(--white);
  padding: 14px 16px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}

.expertise-option:last-child {
  border-bottom: 0;
}

.certification-card {
  border: 1.5px solid #F3F4F6;
  border-radius: 14px;
  padding: 14px;
  background: var(--white);
  margin-bottom: 10px;
}

.certification-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.certification-remove {
  margin-top: 12px;
  color: var(--red) !important;
}

.validation-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.validation-option {
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  background: var(--white);
  padding: 14px;
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}

.validation-option.active {
  border-color: var(--yellow);
  background: #FFFBEB;
}

.validation-question-feedback,
.validation-feedback {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mid);
}

.validation-feedback {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--light);
}

.validation-feedback.is-good {
  background: #ECFDF5;
  color: #065F46;
}

.validation-feedback.is-review {
  background: #FEF2F2;
  color: #991B1B;
}

.document-group {
  border: 1.5px solid #F3F4F6;
  border-radius: 16px;
  padding: 14px;
  background: var(--white);
  margin-bottom: 14px;
}

.document-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}

.document-group-meta {
  color: var(--mid);
  font-weight: 600;
  font-size: 12px;
}

.document-group-or {
  padding: 4px 0 10px;
  text-align: center;
  color: var(--mid);
  font-size: 12px;
  font-weight: 700;
}

.doc-field-card {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid #F3F4F6;
  background: var(--white);
  margin-bottom: 12px;
}

.doc-field-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.doc-field-label {
  font-size: 13px;
  font-weight: 700;
}

.doc-field-help {
  font-size: 12px;
  color: var(--mid);
  margin-bottom: 10px;
}

.doc-field-body {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.doc-preview-image,
.doc-preview-file {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid #E5E7EB;
  background: var(--light);
}

.doc-preview-file {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--mid);
}

.doc-file-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.doc-file-meta strong {
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.doc-file-meta span {
  font-size: 12px;
  color: var(--mid);
}

.doc-progress {
  height: 6px;
  border-radius: 999px;
  background: #E5E7EB;
  overflow: hidden;
}

.doc-progress span {
  display: block;
  height: 100%;
  background: var(--yellow);
}

.doc-remove-btn {
  color: var(--red) !important;
  min-height: auto !important;
  padding: 0 !important;
}

.doc-field-actions {
  display: flex;
}

.doc-field-actions .btn-secondary {
  width: 100%;
}

.confirm-check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--light);
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.confirm-check-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--yellow);
}

.elec-job-card .badge {
  font-size: 11px;
}

.elec-payout-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--blue-light);
  color: #1E40AF;
  font-size: 11px;
  font-weight: 800;
}

/* Full-app dark theme unification */
.elec-reg-body,
.elec-dash-scroll,
.elec-job-scroll,
.elec-assess-scroll,
.elec-confirm-scroll,
.elec-profile-scroll,
.elec-history-scroll {
  color: var(--text-primary);
}

.progress-bar,
.elec-confirm-summary,
.elec-job-photo-empty,
.elec-status-tracker .track-dot,
.confirm-check-label,
.doc-preview-image,
.doc-preview-file,
.doc-progress {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.progress-label,
.elec-reg-note,
.elec-pending-sub,
.elec-pending-note,
.elec-job-item-time,
.elec-job-item-meta,
.elec-job-desc,
.elec-status-tracker .track-info span,
.elec-materials-note,
.elec-profile-meta,
.doc-field-help,
.doc-file-meta span,
.elec-watch-note {
  color: var(--text-secondary);
}

.photo-placeholder,
.elec-appeal-card,
.elec-job-item,
.elec-job-card {
  background: linear-gradient(180deg, rgba(12, 24, 41, 0.96) 0%, rgba(8, 17, 31, 0.98) 100%);
  border-color: var(--border-subtle);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.photo-placeholder:hover,
.elec-job-item:hover {
  border-color: rgba(255, 184, 0, 0.45);
}

.elec-pending-ref,
.elec-confirm-status {
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.24);
  color: #ffd978;
}

.elec-customer-trust-mini,
.elec-reg-note,
.elec-payout-pill {
  background: rgba(91, 167, 255, 0.12);
  color: #bddcff;
}

.elec-job-row,
.elec-profile-header,
.elec-skill-item,
.elec-job-desc,
.doc-field-body {
  border-color: var(--border-subtle);
}

.elec-job-label {
  color: var(--text-secondary);
}

.elec-line-item input {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border-subtle);
  color: var(--text-primary);
}

.elec-line-item input:focus {
  border-color: rgba(255, 184, 0, 0.55);
  box-shadow: var(--focus-ring);
}

.elec-job-photo-thumb,
.elec-job-photo-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-subtle);
}

.elec-alert-card {
  background: rgba(255, 184, 0, 0.12);
  border-color: rgba(255, 184, 0, 0.28);
}

.elec-alert-card .elec-job-item-name,
.confirm-status-text {
  color: #ffd978;
}

.elec-profile-avatar,
.elec-top-avatar {
  background: rgba(255, 184, 0, 0.14);
  color: var(--yellow);
}
