:root {
  --black: #0a1018;
  --black-soft: #111b26;
  --panel: #182636;
  --wine: #9f0008;
  --red: #ed1019;
  --red-light: #ff3038;
  --graphite: #6f7478;
  --white: #f7f4ef;
  --pearl: #d9d3c8;
  --muted: #bfc5ca;
  --line: rgba(255, 255, 255, 0.14);
  --dark-line: rgba(0, 0, 0, 0.24);
  --shadow: 0 26px 76px rgba(0, 0, 0, 0.42);
  font-family: Inter, Segoe UI, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 8%, rgba(237, 16, 25, 0.12), transparent 18rem),
    radial-gradient(circle at 78% 26%, rgba(217, 211, 200, 0.08), transparent 18rem),
    linear-gradient(145deg, #070b10, #101820 58%, #0a1018);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.phone {
  width: min(100%, 430px);
  min-height: 860px;
  max-height: 940px;
  position: relative;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(21, 39, 55, 0.98), rgba(7, 17, 29, 0.99)),
    var(--black);
  box-shadow: var(--shadow);
  padding: 24px 18px 96px;
}

.phone::before {
  content: "";
  position: sticky;
  top: -24px;
  display: block;
  height: 1px;
  margin-bottom: -1px;
  background: transparent;
}

.topbar,
.section-title,
.summary-panel,
.bottom-nav,
.quick-stats {
  display: flex;
  align-items: center;
}

.topbar {
  gap: 12px;
  justify-content: center;
}

.brand-logo {
  width: 330px;
  height: 92px;
  flex: 0 0 auto;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.brand-copy p,
.label {
  margin: 0 0 5px;
  color: var(--red-light);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy h1,
.hero h2,
.section-title h2,
.summary-panel p,
.empty {
  margin: 0;
}

.brand-copy h1 {
  font-size: 28px;
  line-height: 1;
}

.round-button {
  position: absolute;
  right: 18px;
  top: 22px;
  width: 38px;
  height: 38px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--red-light);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.hero {
  margin: 12px 0 10px;
  padding: 14px;
  border: 1px solid rgba(247, 244, 239, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(237, 16, 25, 0.06), rgba(217, 211, 200, 0.035)),
    rgba(255, 255, 255, 0.035);
}

.hero h2 {
  max-width: 340px;
  font-size: 20px;
  line-height: 1.12;
}

.hero-text {
  max-width: 330px;
  margin: 7px 0 0;
  color: var(--pearl);
  font-size: 13px;
  line-height: 1.35;
}

.primary-button {
  min-height: 38px;
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, #ff3038, #ed1019 62%, #b9000a);
  box-shadow: 0 10px 22px rgba(237, 16, 25, 0.22);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  border-color: #f5c76b;
  color: #f5c76b;
  box-shadow:
    0 12px 24px rgba(237, 16, 25, 0.24),
    0 0 0 2px rgba(245, 199, 107, 0.18);
  filter: saturate(1.08);
  transform: translateY(-1px);
}

.wide {
  width: 100%;
}

.quick-stats {
  gap: 8px;
  margin-bottom: 14px;
}

.entry-panel {
  margin: 14px 0;
  padding: 14px;
  border: 1px solid rgba(247, 244, 239, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.045), rgba(247, 244, 239, 0.018)),
    rgba(8, 20, 31, 0.46);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.entry-card {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 68px;
  padding: 13px 34px 13px 14px;
  border: 1px solid transparent;
  color: #f0ede6;
  text-align: left;
  background:
    linear-gradient(145deg, rgba(9, 22, 34, 0.98), rgba(12, 28, 42, 0.98)) padding-box,
    linear-gradient(135deg, rgba(245, 199, 107, 0.48), rgba(247, 244, 239, 0.14), rgba(237, 16, 25, 0.16)) border-box;
  clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px), calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px);
  cursor: pointer;
  transition: color 0.2s ease, filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.entry-card::after {
  content: ">";
  position: absolute;
  right: 13px;
  top: 50%;
  color: rgba(245, 199, 107, 0.82);
  font-size: 18px;
  font-weight: 400;
  transform: translateY(-50%);
}

.entry-card span {
  margin: 0;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.18;
}

.entry-card:hover,
.entry-card:focus-visible {
  color: #f5c76b;
  background:
    linear-gradient(145deg, rgba(13, 26, 37, 0.98), rgba(22, 36, 49, 0.98)) padding-box,
    linear-gradient(135deg, rgba(245, 199, 107, 0.95), rgba(189, 133, 34, 0.72), rgba(245, 199, 107, 0.48)) border-box;
  box-shadow: 0 12px 28px rgba(189, 133, 34, 0.16);
  filter: brightness(1.08);
  transform: translateY(-1px);
  outline: 0;
}

.entry-card:hover::after,
.entry-card:focus-visible::after {
  color: #f5c76b;
}

.secondary-button {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(237, 16, 25, 0.48);
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  background: rgba(237, 16, 25, 0.12);
  cursor: pointer;
}

.quick-stats article {
  flex: 1;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.quick-stats strong {
  display: block;
  font-size: 20px;
}

.quick-stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.tab {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #c9d7e7;
  font-size: 12px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.tab:hover,
.tab:focus-visible {
  border-color: rgba(245, 199, 107, 0.8);
  color: #f5c76b;
  background: rgba(245, 199, 107, 0.08);
  box-shadow: inset 0 0 0 1px rgba(245, 199, 107, 0.16);
}

.tab.active {
  color: #fff;
  background: var(--red);
}

.tab.active:hover,
.tab.active:focus-visible {
  color: #f5c76b;
  border-color: #f5c76b;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin: 14px 0 20px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.search span {
  color: var(--red-light);
  font-size: 11px;
  font-weight: 900;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.search input::placeholder,
textarea::placeholder,
input::placeholder {
  color: #9fa8ad;
}

.section-title {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-title.compact {
  align-items: flex-start;
}

.section-title h2 {
  font-size: 20px;
}

.section-title span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

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

.service-card {
  display: grid;
  place-items: center;
  gap: 9px;
  min-height: 104px;
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.service-card:hover,
.service-card.selected {
  border-color: rgba(237, 16, 25, 0.55);
  background: rgba(237, 16, 25, 0.1);
}

.service-card .icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 0;
  border-radius: 8px;
  color: var(--red-light);
  background:
    linear-gradient(145deg, rgba(247, 244, 239, 0.1), rgba(237, 16, 25, 0.16)),
    rgba(0, 0, 0, 0.22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 18px rgba(0, 0, 0, 0.24);
}

.service-card .icon svg {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.35));
}

.service-card .icon .base {
  fill: #616160;
}

.service-card .icon .accent {
  fill: var(--red-light);
}

.service-card .icon .dark {
  fill: #202020;
}

.service-card .icon .light {
  fill: #f7f7f5;
}

.service-card .icon .line {
  fill: none;
  stroke: #f7f7f5;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card .icon svg * {
  vector-effect: non-scaling-stroke;
}

.service-card strong {
  display: block;
  margin: 0;
  font-size: 15px;
  line-height: 1.15;
}

.service-card small {
  display: none;
  color: var(--muted);
  line-height: 1.35;
}

.service-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(245, 199, 107, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 199, 107, 0.12), rgba(237, 16, 25, 0.055)),
    rgba(255, 255, 255, 0.045);
}

.service-detail[hidden] {
  display: none;
}

.service-detail-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.service-detail-icon svg {
  width: 38px;
  height: 38px;
}

.service-detail strong {
  display: block;
  font-size: 18px;
}

.service-detail p {
  margin: 5px 0 10px;
  color: var(--pearl);
  font-size: 13px;
  line-height: 1.42;
}

.service-detail .secondary-button {
  min-height: 36px;
  margin-top: 0;
}

.request-card,
.orders,
.faq-section,
.privacy-section,
.auth-card,
.admin-panel,
.professional-panel,
.install-section,
.partner-card {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.professional-panel {
  background:
    linear-gradient(180deg, rgba(247, 244, 239, 0.055), rgba(247, 244, 239, 0.025)),
    rgba(10, 16, 24, 0.42);
}

.pro-summary {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 16px;
  border: 1px solid rgba(245, 199, 107, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 199, 107, 0.13), rgba(237, 16, 25, 0.06));
}

.pro-summary strong {
  font-size: 20px;
}

.pro-summary span,
.pro-summary small {
  color: var(--pearl);
}

.pro-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.pro-metrics article {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.54);
}

.pro-metrics b,
.pro-metrics span {
  display: block;
}

.pro-metrics b {
  color: var(--white);
  font-size: 13px;
}

.pro-metrics span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.pro-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 14px;
}

.secondary-link {
  display: grid;
  place-items: center;
  min-height: 40px;
  border: 1px solid rgba(245, 199, 107, 0.4);
  border-radius: 8px;
  color: #f5c76b;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(245, 199, 107, 0.08);
}

.available-orders-list {
  display: grid;
  gap: 12px;
}

.available-order-card {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.available-order-card strong {
  font-size: 18px;
}

.available-order-card small,
.available-order-card p,
.lead-meta {
  color: var(--pearl);
}

.available-order-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.lead-flags,
.lead-meta {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}

.lead-flags span,
.lead-flags b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.lead-flags span {
  color: #06131c;
  background: #f5c76b;
}

.lead-flags b {
  color: #fff;
  background: rgba(237, 16, 25, 0.72);
}

.lead-meta {
  font-size: 12px;
}

.available-order-card a {
  display: grid;
  place-items: center;
  min-height: 42px;
  margin-top: 4px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(180deg, #17b761, #10964f);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.auth-tab {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  background: transparent;
  cursor: pointer;
}

.auth-tab.active {
  color: #111820;
  background: linear-gradient(180deg, #f5c76b, #bd8522);
}

.auth-form[hidden],
.user-session[hidden] {
  display: none;
}

.user-session {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(245, 199, 107, 0.3);
  border-radius: 8px;
  background: rgba(245, 199, 107, 0.08);
}

.user-session strong,
.user-session span {
  display: block;
}

.user-session span {
  color: var(--muted);
  font-size: 13px;
}

.auth-check {
  border-color: rgba(245, 199, 107, 0.24);
  background: rgba(245, 199, 107, 0.06);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.admin-stats article {
  padding: 12px;
  border: 1px solid rgba(245, 199, 107, 0.22);
  border-radius: 8px;
  background: rgba(245, 199, 107, 0.07);
}

.admin-stats strong,
.admin-stats span {
  display: block;
}

.admin-stats strong {
  font-size: 20px;
}

.admin-stats span {
  color: var(--muted);
  font-size: 11px;
}

.admin-lists {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.admin-lists h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.admin-list {
  display: grid;
  gap: 8px;
}

.admin-item {
  display: grid;
  gap: 4px;
  padding: 11px;
  border: 1px solid rgba(247, 244, 239, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.admin-item strong,
.admin-item span,
.admin-item small {
  display: block;
}

.admin-item span,
.admin-item small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.distribution-box {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding: 9px;
  border: 1px solid rgba(245, 199, 107, 0.26);
  border-radius: 8px;
  background: rgba(245, 199, 107, 0.07);
}

.distribution-box strong {
  color: #f5c76b;
  font-size: 12px;
}

.distribution-box a {
  color: #e9fff1;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.distribution-empty {
  color: rgba(245, 199, 107, 0.82);
}

.status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.status-actions button,
.notify-link {
  min-height: 30px;
  border: 1px solid rgba(245, 199, 107, 0.28);
  border-radius: 8px;
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  background: rgba(245, 199, 107, 0.08);
  cursor: pointer;
  padding: 0 9px;
}

.notify-link {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  margin-top: 8px;
  color: #e9fff1;
  text-decoration: none;
  background: rgba(36, 211, 102, 0.11);
  border-color: rgba(36, 211, 102, 0.28);
}

.install-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.privacy-card-button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: 8px;
  color: var(--white);
  text-align: left;
  background: rgba(247, 244, 239, 0.08);
  cursor: pointer;
  padding: 12px;
}

.privacy-card-button strong {
  font-size: 15px;
}

.privacy-card-button span {
  color: var(--muted);
  font-size: 13px;
}

.privacy-content {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.privacy-content[hidden] {
  display: none;
}

.privacy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.helper-text {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.media-guidance {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(36, 211, 102, 0.28);
  border-radius: 8px;
  color: #e9fff1;
  background: rgba(36, 211, 102, 0.08);
}

.media-guidance strong {
  font-size: 14px;
}

.media-guidance span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.plan-section,
.payment-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(237, 16, 25, 0.24);
  border-radius: 8px;
  background: rgba(237, 16, 25, 0.06);
}

.payment-section {
  border-color: rgba(245, 199, 107, 0.24);
  background: rgba(245, 199, 107, 0.06);
}

.plan-section h3,
.payment-section h3 {
  margin: 0;
  font-size: 18px;
}

.plans-grid {
  display: grid;
  gap: 10px;
}

.plan-card {
  --plan-color: rgba(247, 244, 239, 0.5);
  --plan-bg: rgba(247, 244, 239, 0.06);
  --plan-glow: rgba(247, 244, 239, 0.1);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 6px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--plan-color);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--plan-bg), rgba(0, 0, 0, 0.16)),
    rgba(0, 0, 0, 0.16);
  box-shadow: inset 3px 0 0 var(--plan-color);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.plan-card.featured {
  border-color: var(--plan-color);
  background:
    linear-gradient(135deg, var(--plan-bg), rgba(0, 0, 0, 0.14)),
    rgba(0, 0, 0, 0.16);
}

.plan-card:hover,
.plan-card:focus-within {
  box-shadow: inset 3px 0 0 var(--plan-color), 0 12px 28px var(--plan-glow);
  transform: translateY(-1px);
}

.plan-free {
  --plan-color: rgba(217, 211, 200, 0.72);
  --plan-bg: rgba(217, 211, 200, 0.08);
  --plan-glow: rgba(217, 211, 200, 0.13);
}

.plan-essential {
  --plan-color: rgba(36, 211, 102, 0.72);
  --plan-bg: rgba(36, 211, 102, 0.08);
  --plan-glow: rgba(36, 211, 102, 0.14);
}

.plan-professional {
  --plan-color: rgba(83, 166, 255, 0.74);
  --plan-bg: rgba(83, 166, 255, 0.09);
  --plan-glow: rgba(83, 166, 255, 0.14);
}

.plan-premium {
  --plan-color: rgba(245, 199, 107, 0.9);
  --plan-bg: rgba(245, 199, 107, 0.1);
  --plan-glow: rgba(245, 199, 107, 0.18);
}

.plan-card input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--plan-color);
}

.plan-card strong,
.plan-card span,
.plan-card small {
  grid-column: 2;
}

.plan-card strong {
  font-size: 16px;
}

.plan-card span {
  color: var(--plan-color);
  font-weight: 900;
}

.plan-card small {
  color: var(--muted);
  line-height: 1.35;
}

.plan-card small b {
  color: var(--white);
  font-weight: 800;
}

.ai-assistant {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(36, 211, 102, 0.28);
  border-radius: 8px;
  background: rgba(36, 211, 102, 0.07);
}

.ai-assistant[hidden] {
  display: none;
}

.ai-assistant h3 {
  margin: 0;
  font-size: 18px;
}

.ai-button {
  border-color: rgba(36, 211, 102, 0.42);
  background: rgba(36, 211, 102, 0.12);
}

.ai-result {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: 8px;
  color: var(--pearl);
  background: rgba(0, 0, 0, 0.18);
}

.ai-result[hidden] {
  display: none;
}

.ai-result strong {
  color: #e9fff1;
}

.ai-result p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.form-error {
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(237, 16, 25, 0.42);
  border-radius: 8px;
  color: #fff3e8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  background: rgba(237, 16, 25, 0.16);
}

.success-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(36, 211, 102, 0.35);
  border-radius: 8px;
  background: rgba(36, 211, 102, 0.1);
}

.success-box[hidden] {
  display: none;
}

.success-box p {
  margin: 0;
  color: #e9fff1;
  font-size: 16px;
  font-weight: 900;
}

.send-button {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(180deg, #24d366, #159947);
  box-shadow: 0 12px 24px rgba(21, 153, 71, 0.24);
}

.faq-card-button {
  display: grid;
  gap: 4px;
  width: 100%;
  border: 1px solid rgba(247, 244, 239, 0.16);
  border-radius: 8px;
  color: var(--white);
  text-align: left;
  background: rgba(247, 244, 239, 0.08);
  cursor: pointer;
  padding: 12px;
}

.faq-card-button strong {
  font-size: 15px;
}

.faq-card-button span {
  color: var(--muted);
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
  outline: 0;
}

textarea {
  resize: vertical;
}

.file-field,
.check-field {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  padding: 12px;
}

.file-field {
  color: var(--muted);
  font-size: 13px;
}

.file-field input {
  padding: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.check-field {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: #dededa;
  font-size: 13px;
  line-height: 1.35;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--red);
}

select option {
  color: #0b1e31;
}

.summary-panel {
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  color: var(--pearl);
  background: rgba(237, 16, 25, 0.1);
}

.summary-content {
  display: grid;
  gap: 10px;
}

.whatsapp-action {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, #24d366, #159947);
  box-shadow: 0 10px 20px rgba(21, 153, 71, 0.24);
  cursor: pointer;
}

.whatsapp-action[hidden] {
  display: none;
}

.partner-whatsapp {
  margin-top: 14px;
}

.whatsapp-action svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.email-action,
.payment-action {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-height: 42px;
  margin-top: 12px;
  border: 1px solid rgba(247, 244, 239, 0.22);
  border-radius: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(247, 244, 239, 0.08);
  padding: 0 14px;
}

.payment-action {
  border-color: rgba(245, 199, 107, 0.42);
  color: #121820;
  background: linear-gradient(180deg, #f5c76b, #bd8522);
}

.email-action[hidden],
.payment-action[hidden] {
  display: none;
}

.receipt-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(245, 199, 107, 0.3);
  border-radius: 8px;
  background: rgba(245, 199, 107, 0.07);
}

.receipt-form[hidden] {
  display: none;
}

.receipt-form strong {
  color: var(--white);
}

.receipt-form span {
  color: var(--pearl);
  font-size: 13px;
  line-height: 1.4;
}

.pulse {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(237, 16, 25, 0.18);
}

.orders-list {
  display: grid;
  gap: 10px;
}

.faq-list {
  display: grid;
  gap: 8px;
}

.faq-list details {
  border: 1px solid rgba(247, 244, 239, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 12px;
}

.faq-list summary {
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.security-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.security-list article {
  padding: 12px;
  border: 1px solid rgba(237, 16, 25, 0.34);
  border-radius: 8px;
  background: rgba(237, 16, 25, 0.08);
}

.security-list strong,
.security-list span {
  display: block;
}

.security-list span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.order-item {
  padding: 12px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.order-item strong {
  display: block;
  margin-bottom: 4px;
}

.order-item span {
  color: var(--muted);
  font-size: 13px;
}

.empty {
  color: var(--muted);
}

.bottom-nav {
  position: sticky;
  right: 18px;
  bottom: 0;
  left: 18px;
  z-index: 2;
  justify-content: space-around;
  min-height: 60px;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.95);
  backdrop-filter: blur(14px);
}

.nav-item {
  min-width: 0;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  background: transparent;
  cursor: pointer;
}

.nav-item.active {
  color: var(--red-light);
}

@media (max-width: 520px) {
  .app-shell {
    padding: 0;
  }

  .phone {
    width: 100%;
    min-height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .entry-panel {
    margin-top: 10px;
    padding: 13px;
  }

  .entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .entry-card {
    min-height: 58px;
    padding: 11px 28px 11px 12px;
  }

  .entry-card span {
    font-size: 13px;
    font-weight: 620;
  }

  .entry-card::after {
    right: 10px;
    font-size: 15px;
  }

  .brand-logo {
    width: min(86vw, 286px);
    height: 70px;
  }

  .hero {
    margin-top: 8px;
    padding: 12px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero-text {
    font-size: 12px;
    line-height: 1.32;
  }

  .hero .primary-button {
    min-height: 34px;
    margin-top: 8px;
    font-size: 13px;
  }

  .service-grid {
    gap: 8px;
  }

  .service-card {
    min-height: 88px;
    padding: 10px 8px;
  }

  .service-card .icon {
    width: 42px;
    height: 42px;
    margin-bottom: 0;
  }

  .service-card .icon svg {
    width: 29px;
    height: 29px;
  }

  .service-card strong {
    font-size: 13px;
  }
}
