:root {
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(255, 196, 0, 0.16), transparent 35%),
    #f7f7f5;
  color: #15171a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.mp-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.mp-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 30px;
  border: 1px solid #e1e3e6;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.mp-card--wide {
  max-width: 980px;
}

.mp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mp-logo {
  display: inline-flex;
  align-items: center;
  color: #111;
  font-size: 1.5rem;
  font-weight: 950;
  text-decoration: none;
}

.mp-logo::before {
  content: "";
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  background: #ffc400;
}

.mp-logout {
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.mp-muted,
small {
  color: #606873;
}

.mp-alert {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #e4d18a;
  border-radius: 14px;
  background: #fff8db;
  color: #3d3211;
  font-weight: 700;
}

.mp-alert--success {
  border-color: #bfe5c8;
  background: #e9f8ed;
  color: #174f2a;
}

.mp-alert--error {
  border-color: #f0b6bd;
  background: #fdecee;
  color: #8e1627;
}

.mp-form {
  display: grid;
  gap: 20px;
}

label,
fieldset {
  display: grid;
  gap: 8px;
}

label span,
legend {
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  padding: 13px 14px;
  background: #fff;
  color: #15171a;
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid #d8dce2;
  border-radius: 18px;
}

.mp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mp-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mp-check {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #e0e3e8;
  border-radius: 14px;
  background: #fff;
}

.mp-check input {
  width: auto;
}

.mp-check--standalone {
  align-self: end;
  min-height: 48px;
}

.mp-submit {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: #ffc400;
  color: #111;
  font-weight: 950;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 196, 0, 0.28);
}

@media (max-width: 760px) {
  .mp-shell {
    width: min(100% - 22px, 1080px);
    padding: 24px 0;
  }

  .mp-card {
    padding: 22px;
    border-radius: 20px;
  }

  .mp-grid,
  .mp-services {
    grid-template-columns: 1fr;
  }
}

.mp-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.mp-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  background: #f2f3f5;
  aspect-ratio: 4 / 3;
}

.mp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 760px) {
  .mp-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FixNow master admin toolbar + theme */
.mp-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.mp-lang-switch,
.mp-theme-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8dce2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  overflow: hidden;
}

.mp-lang-switch a,
.mp-theme-toggle {
  min-height: 38px;
  padding: 0 12px;
  color: #15171a;
  text-decoration: none;
  font-weight: 950;
  font-size: 0.9rem;
}

.mp-lang-switch a {
  display: inline-flex;
  align-items: center;
}

.mp-lang-switch a.is-active {
  background: #ffc400;
  color: #111;
}

.mp-theme-toggle {
  gap: 7px;
  cursor: pointer;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 35%),
    #0f1115;
  color: #f4f6f8;
}

html[data-theme="dark"] .mp-card,
html[data-theme="dark"] fieldset {
  background: rgba(21, 24, 30, 0.96);
  border-color: #2c3340;
  color: #f4f6f8;
}

html[data-theme="dark"] .mp-logo,
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] label,
html[data-theme="dark"] legend {
  color: #f4f6f8;
}

html[data-theme="dark"] .mp-muted,
html[data-theme="dark"] .mp-help,
html[data-theme="dark"] small {
  color: #aeb7c4;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select {
  background: #11151c;
  border-color: #354050;
  color: #f4f6f8;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #818b99;
}

html[data-theme="dark"] .mp-lang-switch,
html[data-theme="dark"] .mp-theme-toggle {
  background: rgba(17, 21, 28, 0.9);
  border-color: #354050;
}

html[data-theme="dark"] .mp-lang-switch a,
html[data-theme="dark"] .mp-theme-toggle {
  color: #f4f6f8;
}

html[data-theme="dark"] .mp-lang-switch a.is-active {
  background: #ffc400;
  color: #111;
}

html[data-theme="dark"] .mp-alert {
  border-color: #665623;
  background: #2b2514;
  color: #ffe49a;
}

html[data-theme="dark"] .mp-alert--success {
  border-color: #2f6b43;
  background: #13291c;
  color: #bff0cb;
}

html[data-theme="dark"] .mp-alert--error {
  border-color: #80333d;
  background: #32161b;
  color: #ffc5cc;
}

@media (max-width: 560px) {
  .mp-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mp-lang-switch,
  .mp-theme-toggle {
    justify-content: center;
  }
}

/* FixNow master work photo upload */
.mp-photo-upload-card {
  margin-top: 22px;
  padding: 22px;
  border-radius: 26px;
  border: 1px solid rgba(16, 24, 40, .12);
  background: rgba(255, 255, 255, .72);
}

.mp-photo-upload-card h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -.035em;
}

.mp-photo-upload-card p {
  margin: 0 0 16px;
  color: var(--muted, #667085);
  line-height: 1.6;
}

.mp-photo-upload-form {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.mp-file-drop {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px dashed rgba(16, 24, 40, .26);
  border-radius: 20px;
  background: rgba(255, 196, 0, .08);
  cursor: pointer;
}

.mp-file-drop span {
  font-weight: 900;
}

.mp-file-drop small {
  color: var(--muted, #667085);
  line-height: 1.5;
}

.mp-file-drop input {
  margin-top: 8px;
}

.mp-submit--photos {
  width: fit-content;
}

.mp-photo figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffc400;
  color: #111;
  font-size: .76rem;
  font-weight: 900;
}

.mp-photo {
  position: relative;
}

html[data-theme="dark"] .mp-photo-upload-card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .055);
}

html[data-theme="dark"] .mp-file-drop {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 196, 0, .08);
}

/* FixNow master photo delete */
.mp-photo-delete-form {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  margin: 0;
}

.mp-photo-delete-button {
  min-height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 17, 17, .82);
  color: #fff;
  font-weight: 900;
  font-size: .78rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
}

.mp-photo-delete-button:hover {
  background: #c1121f;
}

html[data-theme="dark"] .mp-photo-delete-button {
  background: rgba(255, 255, 255, .88);
  color: #111;
}

html[data-theme="dark"] .mp-photo-delete-button:hover {
  background: #ff4d5e;
  color: #fff;
}

/* FixNow translated file picker */
.mp-native-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.mp-file-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 16px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.mp-file-status {
  display: block;
  margin-top: 8px;
  color: var(--muted, #667085);
  font-weight: 750;
}

.mp-file-list {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted, #667085);
  font-size: .92rem;
}

html[data-theme="dark"] .mp-file-button {
  background: #fff;
  color: #111;
}

/* FixNow dark services readable fix */
html[data-theme="dark"] .mp-services .mp-check {
  background: rgba(255, 255, 255, .075) !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  color: #f4f7fb !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .16) !important;
}

html[data-theme="dark"] .mp-services .mp-check span {
  color: #f4f7fb !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

html[data-theme="dark"] .mp-services .mp-check:hover {
  background: rgba(255, 255, 255, .115) !important;
  border-color: rgba(255, 196, 0, .45) !important;
}

html[data-theme="dark"] .mp-services .mp-check:has(input:checked) {
  background: rgba(255, 196, 0, .16) !important;
  border-color: rgba(255, 196, 0, .72) !important;
  color: #ffffff !important;
}

html[data-theme="dark"] .mp-services .mp-check:has(input:checked) span {
  color: #ffffff !important;
  font-weight: 950 !important;
}

html[data-theme="dark"] .mp-services .mp-check input[type="checkbox"] {
  accent-color: #ffc400 !important;
}

html[data-theme="dark"] fieldset legend {
  color: #ffffff !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .mp-services {
  gap: 10px !important;
}
/* /FixNow dark services readable fix */

/* FixNow: dark mode readability for standalone emergency checkbox */
html[data-theme="dark"] .mp-check.mp-check--standalone {
  background: #111827;
  border-color: #374151;
  color: #f8fafc;
}

html[data-theme="dark"] .mp-check.mp-check--standalone:hover {
  background: #172033;
  border-color: #4b5563;
}

html[data-theme="dark"] .mp-check.mp-check--standalone span {
  color: #f8fafc;
}

html[data-theme="dark"] .mp-check.mp-check--standalone input[type="checkbox"] {
  accent-color: #22c55e;
}

/* FixNow: master profile brand copied from main page logic */
.mp-topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  width: 100% !important;
  margin-bottom: 34px !important;
}

.mp-topbar-left {
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.mp-topbar-right {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.mp-brand {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  color: #111827 !important;
  white-space: nowrap !important;
}

.mp-brand__mark {
  width: 54px !important;
  height: 54px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffc400 !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(255, 196, 0, 0.24) !important;
}

.mp-brand__mark .fixnow-brand-logo {
  display: block !important;
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
}

.mp-brand__name {
  display: inline-block !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  font-weight: 1000 !important;
  letter-spacing: -0.06em !important;
  color: #111827 !important;
}

.fixnow-brand-logo--white {
  display: none !important;
}

html[data-theme="dark"] .fixnow-brand-logo--black {
  display: none !important;
}

html[data-theme="dark"] .fixnow-brand-logo--white {
  display: block !important;
}

html[data-theme="dark"] .mp-brand__name {
  color: #f8fafc !important;
}

html[data-theme="dark"] .mp-brand__mark {
  background: #ffc400 !important;
}

.mp-logo,
.mp-logo::before,
.mp-brand-logo,
.mp-brand-logo--light,
.mp-brand-logo--dark,
.mp-brand-mark,
.mp-brand-text {
  display: none !important;
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* FixNow: dark mode readability for standalone emergency checkbox */
html[data-theme="dark"] .mp-check.mp-check--standalone {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone:hover {
  background: #172033 !important;
  border-color: #4b5563 !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone span {
  color: #f8fafc !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone input[type="checkbox"] {
  accent-color: #22c55e !important;
}

@media (max-width: 900px) {
  .mp-topbar {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 26px !important;
  }

  .mp-topbar-left,
  .mp-brand,
  .mp-topbar-right {
    justify-self: center !important;
  }

  .mp-topbar-left {
    justify-content: center !important;
  }

  .mp-brand__mark {
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
  }

  .mp-brand__mark .fixnow-brand-logo {
    width: 30px !important;
    height: 30px !important;
  }

  .mp-brand__name {
    font-size: 38px !important;
  }
}
/* /FixNow: master profile brand copied from main page logic */

/* FixNow: UNIQUE final master profile topbar logo */
.mp-topbar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 24px !important;
  width: 100% !important;
  margin-bottom: 34px !important;
}

.mp-topbar-left {
  justify-self: start !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

.mp-topbar-right {
  justify-self: end !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.mp-main-logo-link {
  justify-self: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mp-main-logo-mark {
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ffc400 !important;
  overflow: hidden !important;
  box-shadow: 0 16px 36px rgba(255, 196, 0, 0.24) !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mp-main-logo-img {
  width: 36px !important;
  height: 36px !important;
  object-fit: contain !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mp-main-logo-img--black {
  display: block !important;
}

.mp-main-logo-img--white {
  display: none !important;
}

html[data-theme="dark"] .mp-main-logo-img--black {
  display: none !important;
}

html[data-theme="dark"] .mp-main-logo-img--white {
  display: block !important;
}

.mp-main-logo-text {
  display: inline-block !important;
  font-size: clamp(34px, 4vw, 50px) !important;
  font-weight: 1000 !important;
  letter-spacing: -0.06em !important;
  color: #111827 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

html[data-theme="dark"] .mp-main-logo-text {
  color: #f8fafc !important;
}

.mp-logo,
.mp-logo::before,
.mp-brand,
.mp-brand-logo,
.mp-brand-logo--light,
.mp-brand-logo--dark,
.mp-brand-mark,
.mp-brand-text,
.mp-brand__mark,
.mp-brand__name {
  display: none !important;
  content: none !important;
}

/* FixNow: dark mode readability for standalone emergency checkbox */
html[data-theme="dark"] .mp-check.mp-check--standalone {
  background: #111827 !important;
  border-color: #374151 !important;
  color: #f8fafc !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone:hover {
  background: #172033 !important;
  border-color: #4b5563 !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone span {
  color: #f8fafc !important;
}

html[data-theme="dark"] .mp-check.mp-check--standalone input[type="checkbox"] {
  accent-color: #22c55e !important;
}

@media (max-width: 900px) {
  .mp-topbar {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 26px !important;
  }

  .mp-topbar-left,
  .mp-main-logo-link,
  .mp-topbar-right {
    justify-self: center !important;
  }

  .mp-topbar-left {
    justify-content: center !important;
  }

  .mp-main-logo-mark {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 16px !important;
  }

  .mp-main-logo-img {
    width: 30px !important;
    height: 30px !important;
  }

  .mp-main-logo-text {
    font-size: 38px !important;
  }
}
/* /FixNow: UNIQUE final master profile topbar logo */

/* FixNow: premium contact visibility switch */
.mp-contact-premium {
  margin-top: 22px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 0, 0.18), transparent 42%),
    linear-gradient(135deg, rgba(255, 246, 203, 0.92), rgba(255, 255, 255, 0.86));
  box-shadow: 0 22px 60px rgba(17, 24, 39, 0.08);
}

.mp-contact-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #8a5a00;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-contact-premium__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffc400;
  box-shadow: 0 0 0 5px rgba(255, 196, 0, 0.18);
}

.mp-contact-premium__title {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  letter-spacing: -0.04em;
}

.mp-contact-premium__body,
.mp-contact-premium__hint {
  margin: 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.55;
}

.mp-premium-switch {
  margin-top: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.mp-premium-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mp-premium-switch__track {
  width: 66px;
  height: 38px;
  padding: 4px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #d1d5db;
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.mp-premium-switch__thumb {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.22);
  transform: translateX(0);
  transition: transform 0.18s ease;
}

.mp-premium-switch input:checked + .mp-premium-switch__track {
  background: linear-gradient(135deg, #ffc400, #f59e0b);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
}

.mp-premium-switch input:checked + .mp-premium-switch__track .mp-premium-switch__thumb {
  transform: translateX(28px);
}

.mp-premium-switch__text {
  display: grid;
  gap: 4px;
}

.mp-premium-switch__text strong {
  color: #111827;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.mp-premium-switch__text small {
  color: #6b7280;
  font-size: 0.94rem;
  line-height: 1.4;
}

.mp-premium-switch.is-locked {
  opacity: 0.92;
}

.mp-premium-switch.is-locked .mp-premium-switch__track {
  background: #cbd5e1;
}

.mp-contact-premium__hint {
  margin-top: 12px;
}

html[data-theme="dark"] .mp-contact-premium {
  border-color: rgba(255, 196, 0, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 0, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(30, 25, 10, 0.94), rgba(15, 23, 42, 0.92));
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
}

html[data-theme="dark"] .mp-contact-premium__eyebrow {
  color: #fde68a;
}

html[data-theme="dark"] .mp-contact-premium__title {
  color: #f8fafc;
}

html[data-theme="dark"] .mp-contact-premium__body,
html[data-theme="dark"] .mp-contact-premium__hint {
  color: #cbd5e1;
}

html[data-theme="dark"] .mp-premium-switch {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .mp-premium-switch__text strong {
  color: #f8fafc;
}

html[data-theme="dark"] .mp-premium-switch__text small {
  color: #cbd5e1;
}

@media (max-width: 680px) {
  .mp-contact-premium {
    padding: 18px;
    border-radius: 22px;
  }

  .mp-premium-switch {
    grid-template-columns: 1fr;
  }
}
/* /FixNow: premium contact visibility switch */

/* FixNow: paid profile request card */
.mp-paid-profile-card {
  margin: 0 0 28px;
  padding: 26px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(255, 196, 0, 0.36);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 0, 0.20), transparent 44%),
    linear-gradient(135deg, rgba(255, 251, 235, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.09);
}

.mp-paid-profile-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #8a5a00;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mp-paid-profile-card__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffc400;
  box-shadow: 0 0 0 6px rgba(255, 196, 0, 0.18);
}

.mp-paid-profile-card h2 {
  margin: 0 0 8px;
  color: #111827;
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  letter-spacing: -0.045em;
}

.mp-paid-profile-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.58;
}

.mp-paid-profile-card__benefits {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: #374151;
}

.mp-paid-profile-card__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.mp-paid-profile-card__benefits li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffc400;
  color: #111827;
  font-weight: 1000;
  font-size: 0.85rem;
}

.mp-paid-profile-card__side {
  display: flex;
  justify-content: flex-end;
}

.mp-paid-profile-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  cursor: pointer;
  background: linear-gradient(135deg, #111827, #334155);
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.mp-paid-profile-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 46px rgba(17, 24, 39, 0.28);
}

.mp-paid-profile-status {
  max-width: 340px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 24, 39, 0.10);
  color: #111827;
  font-weight: 850;
  line-height: 1.45;
}

.mp-paid-profile-status small {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-weight: 650;
}

.mp-paid-profile-status.is-active,
.mp-paid-profile-status.is-paid {
  border-color: rgba(34, 197, 94, 0.34);
  background: rgba(220, 252, 231, 0.92);
}

.mp-paid-profile-status.is-payment_sent {
  border-color: rgba(245, 158, 11, 0.38);
  background: rgba(255, 251, 235, 0.95);
}

html[data-theme="dark"] .mp-paid-profile-card {
  border-color: rgba(255, 196, 0, 0.34);
  background:
    radial-gradient(circle at top left, rgba(255, 196, 0, 0.16), transparent 44%),
    linear-gradient(135deg, rgba(30, 25, 10, 0.96), rgba(15, 23, 42, 0.94));
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .mp-paid-profile-card__eyebrow {
  color: #fde68a;
}

html[data-theme="dark"] .mp-paid-profile-card h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .mp-paid-profile-card p,
html[data-theme="dark"] .mp-paid-profile-card__benefits {
  color: #cbd5e1;
}

html[data-theme="dark"] .mp-paid-profile-button {
  background: linear-gradient(135deg, #ffc400, #f59e0b);
  color: #111827;
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.22);
}

html[data-theme="dark"] .mp-paid-profile-status {
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(148, 163, 184, 0.22);
  color: #f8fafc;
}

html[data-theme="dark"] .mp-paid-profile-status small {
  color: #cbd5e1;
}

html[data-theme="dark"] .mp-paid-profile-status.is-active,
html[data-theme="dark"] .mp-paid-profile-status.is-paid {
  background: rgba(20, 83, 45, 0.38);
  border-color: rgba(34, 197, 94, 0.34);
}

@media (max-width: 820px) {
  .mp-paid-profile-card {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
  }

  .mp-paid-profile-card__side {
    justify-content: stretch;
  }

  .mp-paid-profile-button,
  .mp-paid-profile-request-form,
  .mp-paid-profile-status {
    width: 100%;
  }

  .mp-paid-profile-button {
    text-align: center;
  }
}
/* /FixNow: paid profile request card */

/* FixNow: master availability card at top */
.mp-availability-card {
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 36%),
    linear-gradient(135deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 20px 54px rgba(15, 23, 42, 0.08);
}

.mp-availability-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.mp-availability-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mp-availability-card__eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.16);
}

.mp-availability-card h2 {
  margin: 0 0 7px;
  color: #111827;
  font-size: clamp(1.22rem, 2.1vw, 1.75rem);
  letter-spacing: -0.045em;
}

.mp-availability-card p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.mp-availability-card__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 18px;
  align-items: end;
}

.mp-availability-card__emergency {
  min-height: 52px;
  margin: 0;
  align-self: end;
}

.mp-availability-card__note {
  margin-top: 18px;
}

html[data-theme="dark"] .mp-availability-card {
  border-color: rgba(34, 197, 94, 0.26);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 38%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(17, 24, 39, 0.78));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .mp-availability-card h2 {
  color: #f8fafc;
}

html[data-theme="dark"] .mp-availability-card p {
  color: #cbd5e1;
}

html[data-theme="dark"] .mp-availability-card__eyebrow {
  color: #86efac;
}

html[data-theme="dark"] .mp-availability-card select,
html[data-theme="dark"] .mp-availability-card input[type="text"] {
  background: #020617;
  border-color: rgba(148, 163, 184, 0.34);
  color: #f8fafc;
}

html[data-theme="dark"] .mp-availability-card label > span {
  color: #f8fafc;
}

@media (max-width: 760px) {
  .mp-availability-card {
    padding: 20px;
    border-radius: 24px;
  }

  .mp-availability-card__grid {
    grid-template-columns: 1fr;
  }

  .mp-availability-card__emergency {
    width: 100%;
  }
}
/* /FixNow: master availability card at top */


/* fixnow_service_groups_sos_demo_v1 */
.mp-service-search {
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 14px;
  font-size: 1rem;
}

.mp-services-accordion {
  display: grid;
  gap: 0.8rem;
}

.mp-service-group {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.mp-service-group summary {
  cursor: pointer;
  padding: 0.9rem 1rem;
  font-weight: 700;
}

.mp-service-options {
  display: grid;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.mp-service-option {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 0.8rem;
}

.mp-service-option.is-selected {
  border-color: rgba(245, 158, 11, 0.75);
}

.mp-service-main {
  margin: 0;
}

.mp-service-sos {
  display: block;
  margin: 0.65rem 0 0 1.8rem;
  font-size: 0.92rem;
}

.mp-service-option[hidden],
.mp-service-sos[hidden] {
  display: none !important;
}
/* /fixnow_service_groups_sos_demo_v1 */

/* fixnow_service_sos_explanation_demo_v1 */
.mp-service-help {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.08);
}

.mp-service-help strong {
  display: block;
  margin-bottom: 0.35rem;
}

.mp-service-help p {
  margin: 0;
  line-height: 1.5;
}

.mp-service-sos-title {
  display: block;
  font-weight: 700;
}

.mp-service-sos-hint {
  display: block;
  margin-top: 0.25rem;
  opacity: 0.78;
  line-height: 1.35;
}
/* /fixnow_service_sos_explanation_demo_v1 */

/* fixnow_sos_switch_visual_demo_v1 */

/* Skryje starý globálny checkbox "Prijímam urgentné zákazky", aby nemýlil majstra.
   Backend teraz odvodzuje emergency_available iba z per-service FixNow SOS. */
.mp-check:has(input[name="emergency_available"]) {
  display: none !important;
}

.mp-fixnow-sos-switch {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0.75rem 0 0 1.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.08);
  cursor: pointer;
}

.mp-fixnow-sos-switch input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.mp-fixnow-sos-track {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.mp-fixnow-sos-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25);
  transition: transform 0.18s ease;
}

.mp-fixnow-sos-switch:has(input[type="checkbox"]:checked) {
  border-color: rgba(245, 158, 11, 0.95);
  background: rgba(245, 158, 11, 0.16);
}

.mp-fixnow-sos-switch:has(input[type="checkbox"]:checked) .mp-fixnow-sos-track {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.mp-fixnow-sos-switch:has(input[type="checkbox"]:checked) .mp-fixnow-sos-knob {
  transform: translateX(26px);
}

.mp-fixnow-sos-copy {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.mp-service-sos-title strong {
  display: block;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.mp-service-sos-title em {
  display: block;
  margin-top: 0.12rem;
  font-style: normal;
  font-weight: 600;
  opacity: 0.9;
}

.mp-service-sos-hint {
  max-width: 42rem;
}

.mp-service-option:has(.mp-service-sos-checkbox:checked) {
  border-color: rgba(245, 158, 11, 0.95);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.mp-service-option[hidden],
.mp-service-sos[hidden] {
  display: none !important;
}

/* /fixnow_sos_switch_visual_demo_v1 */

/* fixnow_services_collapsed_sos_top_demo_v1 */
.mp-service-help {
  position: relative;
  margin: 0 0 1rem;
  padding: 1rem 1rem 1rem 1.1rem;
  border: 1px solid rgba(245, 158, 11, 0.6);
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.1);
}

.mp-service-help strong {
  font-size: 1.05rem;
}

.mp-service-group:not([open]) .mp-service-options {
  display: none;
}

.mp-service-group[hidden] {
  display: none !important;
}
/* /fixnow_services_collapsed_sos_top_demo_v1 */

/* fixnow_sos_top_controls_demo_v1 */

.mp-sos-top-panel {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid rgba(245, 158, 11, 0.62);
  border-radius: 20px;
  background: rgba(245, 158, 11, 0.1);
}

.mp-sos-top-panel-head strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 850;
  margin-bottom: 0.35rem;
}

.mp-sos-top-panel-head p {
  margin: 0 0 0.85rem;
  line-height: 1.45;
}

.mp-sos-top-list {
  display: grid;
  gap: 0.7rem;
}

.mp-sos-top-empty {
  margin: 0;
  opacity: 0.72;
}

.mp-sos-top-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mp-sos-top-toggle.is-on {
  border-color: rgba(245, 158, 11, 0.95);
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.mp-sos-top-track {
  position: relative;
  flex: 0 0 auto;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.mp-sos-top-knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  font-size: 0.9rem;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25);
  transition: transform 0.18s ease;
}

.mp-sos-top-toggle.is-on .mp-sos-top-track {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.mp-sos-top-toggle.is-on .mp-sos-top-knob {
  transform: translateX(26px);
}

.mp-sos-top-copy {
  display: grid;
  gap: 0.15rem;
}

.mp-sos-top-copy strong {
  font-weight: 850;
}

.mp-sos-top-copy em {
  font-style: normal;
  opacity: 0.86;
}

/* Spodný zoznam služieb nech ostane čistý. Reálne checkboxy services_sos[] ostávajú v HTML
   kvôli submitu, ale ovládajú sa z horného panelu. */
.mp-service-option .mp-fixnow-sos-switch {
  display: none !important;
}

.mp-service-option.has-sos,
.mp-service-option:has(.mp-service-sos-checkbox:checked) {
  border-color: rgba(245, 158, 11, 0.95);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

/* /fixnow_sos_top_controls_demo_v1 */

/* fixnow_sos_availability_rules_demo_v1 */

.mp-sos-top-panel {
  margin-bottom: 1.1rem;
}

/* dostupnostny box nech nie je chápaný ako "vždy zelený stav",
   zelená je len sekcia; skutočný stav určuje select */
.mp-sos-top-toggle.is-on {
  border-color: rgba(249, 115, 22, 1);
}

/* /fixnow_sos_availability_rules_demo_v1 */

/* fixnow_clean_live_sos_autosave_demo_v1 */

.mp-sos-top-panel[data-save-state="saving"]::after {
  content: "Ukladám...";
  display: block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

.mp-sos-top-panel[data-save-state="saved"]::after {
  content: "Uložené";
  display: block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  opacity: 0.75;
}

.mp-sos-top-panel[data-save-state="error"]::after {
  content: "Nepodarilo sa uložiť";
  display: block;
  margin-top: 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
}

/* /fixnow_clean_live_sos_autosave_demo_v1 */

/* fixnow_autosave_translation_demo_v1 */
.mp-sos-top-panel[data-save-state]::after {
  content: attr(data-save-message);
}
/* /fixnow_autosave_translation_demo_v1 */

/* fixnow_sos_mode_clean_demo_v1 */

.mp-sos-mode-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin: 0.95rem 0 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mp-sos-mode-toggle.is-on {
  border-color: rgba(245, 158, 11, 0.95);
  background: rgba(245, 158, 11, 0.18);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12);
}

.mp-sos-mode-track {
  position: relative;
  flex: 0 0 auto;
  width: 68px;
  height: 38px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.5);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.mp-sos-mode-knob {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  color: #f97316;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.28);
  transition: transform 0.18s ease;
}

.mp-sos-mode-toggle.is-on .mp-sos-mode-track {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.mp-sos-mode-toggle.is-on .mp-sos-mode-knob {
  transform: translateX(30px);
}

.mp-sos-mode-copy {
  display: grid;
  gap: 0.15rem;
}

.mp-sos-mode-copy strong {
  font-weight: 900;
}

.mp-sos-mode-copy em {
  font-style: normal;
  opacity: 0.82;
}

.mp-sos-mode-hint {
  margin: 0 0 0.85rem;
  line-height: 1.45;
  opacity: 0.88;
}

.mp-autosave-note {
  margin: 1rem 0 0.25rem;
  font-size: 0.92rem;
  opacity: 0.75;
}

.mp-sos-top-panel[data-save-state]::after {
  content: attr(data-save-message);
}

/* /fixnow_sos_mode_clean_demo_v1 */

/* fixnow_remove_global_sos_mode_demo_v1 */
.mp-sos-mode-toggle,
.mp-sos-mode-hint {
  display: none !important;
}
/* /fixnow_remove_global_sos_mode_demo_v1 */

/* fixnow_clear_availability_labels_demo_v1 */
.mp-availability-inline-help {
  display: block;
  margin-top: 0.45rem;
  line-height: 1.35;
  opacity: 0.78;
}
/* /fixnow_clear_availability_labels_demo_v1 */
