/* /mohasebe-aghsat-vam — aligned with layout-theme (navy / blue / emerald) */
.lcx {
  --lcx-navy: var(--navy, #0f172a);
  --lcx-navy-2: var(--navy-light, #1e293b);
  --lcx-blue: var(--blue, #2563eb);
  --lcx-blue-2: var(--blue-light, #3b82f6);
  --lcx-emerald: var(--emerald, #059669);
  --lcx-amber: var(--amber, #d97706);
  --lcx-red: var(--red, #dc2626);
  --lcx-text: var(--text, #0f172a);
  --lcx-muted: var(--text-muted, #64748b);
  --lcx-bg: var(--bg, #f8fafc);
  --lcx-surface: var(--surface, #ffffff);
  --lcx-line: #e2e8f0;
  background: var(--lcx-bg);
  padding-bottom: 3rem;
}

.lcx-hero {
  background:
    radial-gradient(ellipse 70% 80% at 90% -20%, rgba(37, 99, 235, .35), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(5, 150, 105, .22), transparent 50%),
    linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #fff;
  padding: 2rem 0 4.5rem;
}
.lcx-hero .container,
.lcx-body { max-width: 1100px; }
.lcx-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin-bottom: .85rem;
}
.lcx-crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.lcx-crumb a:hover { color: #fff; }
.lcx-hero__title {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 800;
  margin: 0 0 .5rem;
  letter-spacing: -.02em;
  line-height: 1.4;
}
.lcx-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #3b82f6, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lcx-hero__lead {
  max-width: 44rem;
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.8;
  font-size: .95rem;
}

.lcx-body { margin-top: -3rem; position: relative; }

/* Card */
.lcx-card {
  background: var(--lcx-surface);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 22px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 48px rgba(15, 23, 42, .08);
  padding: 1.25rem;
}

.lcx-tabs {
  display: inline-flex;
  gap: .25rem;
  padding: .3rem;
  background: var(--lcx-bg);
  border: 1px solid var(--lcx-line);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}
.lcx-tab {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-width: 112px;
  justify-content: center;
  padding: .55rem 1.1rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--lcx-muted);
  font-weight: 800;
  font-size: .92rem;
  cursor: pointer;
  transition: background .15s, color .15s, box-shadow .15s;
}
.lcx-tab:hover { color: var(--lcx-navy); }
.lcx-tab.is-active {
  background: linear-gradient(135deg, var(--lcx-blue), var(--lcx-blue-2));
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}

.lcx-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 1.25rem;
  align-items: start;
}

/* Form */
.lcx-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1rem;
}
.lcx-form[hidden] { display: none; }
.lcx-field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.lcx-field[hidden] { display: none; }
.lcx-field--full { grid-column: 1 / -1; }
.lcx-field label {
  font-size: .86rem;
  font-weight: 700;
  color: var(--lcx-navy);
}
.lcx-field label small { color: var(--lcx-muted); font-weight: 500; font-size: .78rem; }

.lcx-input {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 1.5px solid var(--lcx-line);
  border-radius: 14px;
  background: #fff;
  color: var(--lcx-text);
  font-size: 1rem;
  font-weight: 700;
  transition: border-color .15s, box-shadow .15s;
}
.lcx-input::placeholder { color: #a0aec0; font-weight: 500; font-size: .9rem; }
.lcx-input:focus {
  outline: none;
  border-color: var(--lcx-blue-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.lcx-input.is-invalid { border-color: var(--lcx-red); box-shadow: 0 0 0 4px rgba(220, 38, 38, .08); }
.lcx-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.4rem;
  cursor: pointer;
}
.lcx-words {
  min-height: 1.1em;
  font-size: .78rem;
  color: var(--lcx-emerald);
  font-weight: 600;
}

.lcx-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: .6rem .85rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, .07);
  color: var(--lcx-red);
  font-size: .85rem;
  font-weight: 600;
}
.lcx-error[hidden] { display: none; }

.lcx-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .25rem;
}
.lcx-actions::before,
.lcx-actions::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--lcx-line);
}
.lcx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-width: 200px;
  height: 50px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--lcx-navy-2), var(--lcx-navy));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
  transition: filter .15s, transform .15s;
}
.lcx-btn:hover { filter: brightness(1.12); }
.lcx-btn:active { transform: translateY(1px); }

.lcx-tip {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  font-size: .84rem;
  line-height: 1.9;
  color: var(--lcx-muted);
}
.lcx-tip[hidden] { display: none; }
.lcx-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--lcx-blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* Result */
.lcx-result {
  position: sticky;
  top: 90px;
  min-height: 100%;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(37, 99, 235, .08), transparent 60%),
    radial-gradient(ellipse 70% 50% at 0% 100%, rgba(5, 150, 105, .07), transparent 60%),
    var(--lcx-bg);
  border: 1px solid var(--lcx-line);
  padding: 1.25rem;
}
.lcx-result__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  gap: .4rem;
  color: var(--lcx-muted);
}
.lcx-result__empty[hidden] { display: none; }
.lcx-result__empty strong { color: var(--lcx-navy); font-size: 1rem; }
.lcx-result__empty p { margin: 0; font-size: .86rem; }
.lcx-result__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(16, 185, 129, .12));
  color: var(--lcx-blue);
  font-size: 1.7rem;
  margin-bottom: .4rem;
}
.lcx-result__body[hidden] { display: none; }
.lcx-result__body { animation: lcxIn .25s ease; }
@keyframes lcxIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.lcx-result__head {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}
.lcx-result__label { font-size: .82rem; color: rgba(255,255,255,.65); }
.lcx-result__main {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  letter-spacing: -.01em;
  background: linear-gradient(135deg, #93c5fd, #6ee7b7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lcx-result__words { font-size: .8rem; color: rgba(255,255,255,.6); }

.lcx-rows { margin: 1rem 0 0; display: flex; flex-direction: column; }
.lcx-rows > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: .6rem .1rem;
  border-bottom: 1px dashed var(--lcx-line);
  font-size: .88rem;
}
.lcx-rows > div:last-child { border-bottom: 0; }
.lcx-rows dt { color: var(--lcx-muted); font-weight: 500; }
.lcx-rows dd { margin: 0; font-weight: 800; color: var(--lcx-navy); text-align: left; }
.lcx-rows dd.is-good { color: var(--lcx-emerald); }
.lcx-rows dd.is-bad { color: var(--lcx-red); }

.lcx-bar { margin-top: .9rem; }
.lcx-bar[hidden] { display: none; }
.lcx-bar__track {
  display: flex;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--lcx-line);
}
.lcx-bar__a { background: linear-gradient(90deg, var(--lcx-blue), var(--lcx-blue-2)); transition: width .3s; }
.lcx-bar__b { background: linear-gradient(90deg, var(--lcx-amber), #f59e0b); transition: width .3s; }
.lcx-bar__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .4rem 1rem;
  margin-top: .5rem;
  font-size: .78rem;
  color: var(--lcx-muted);
}
.lcx-bar__legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.lcx-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.lcx-dot--a { background: var(--lcx-blue); }
.lcx-dot--b { background: var(--lcx-amber); }

.lcx-note {
  margin: .9rem 0 0;
  padding: .6rem .8rem;
  border-radius: 12px;
  background: rgba(217, 119, 6, .08);
  color: #92400e;
  font-size: .8rem;
  line-height: 1.8;
}
.lcx-note[hidden] { display: none; }

.lcx-result__cta { margin-top: 1rem; }
.lcx-result__cta[hidden] { display: none; }
.lcx-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(37, 99, 235, .3);
  background: #fff;
  color: var(--lcx-blue);
  font-weight: 800;
  font-size: .88rem;
  text-decoration: none;
  transition: background .15s, border-color .15s;
}
.lcx-cta-btn:hover { background: rgba(37, 99, 235, .06); border-color: var(--lcx-blue); color: var(--lcx-blue); }

/* Schedule */
.lcx-schedule {
  margin-top: 1.25rem;
  border: 1px solid var(--lcx-line);
  border-radius: 16px;
  overflow: hidden;
}
.lcx-schedule[hidden] { display: none; }
.lcx-schedule > summary {
  list-style: none;
  cursor: pointer;
  padding: .85rem 1.1rem;
  font-weight: 800;
  font-size: .92rem;
  color: var(--lcx-navy);
  background: var(--lcx-bg);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.lcx-schedule > summary::-webkit-details-marker { display: none; }
.lcx-schedule > summary::after {
  content: "\F282";
  font-family: "bootstrap-icons";
  margin-inline-start: auto;
  transition: transform .2s;
}
.lcx-schedule[open] > summary::after { transform: rotate(180deg); }
.lcx-schedule__scroll { max-height: 420px; overflow: auto; }
.lcx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  white-space: nowrap;
}
.lcx-table th,
.lcx-table td { padding: .55rem .8rem; text-align: center; }
.lcx-table thead th {
  position: sticky;
  top: 0;
  background: #fff;
  color: var(--lcx-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--lcx-line);
}
.lcx-table tbody tr:nth-child(even) { background: rgba(248, 250, 252, .8); }
.lcx-table tbody td:first-child { color: var(--lcx-muted); }

.lcx-disclaimer {
  margin: 1rem .25rem 0;
  font-size: .8rem;
  color: var(--lcx-muted);
  line-height: 1.8;
}
.lcx-disclaimer i { color: var(--lcx-emerald); }

/* Content sections */
.lcx-section { margin-top: 2.25rem; }
.lcx-section__title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--lcx-navy);
  margin: 0 0 1rem;
}
.lcx-formulas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.lcx-formula {
  background: var(--lcx-surface);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .04);
}
.lcx-formula h3 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--lcx-navy);
  margin: 0 0 .6rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.lcx-formula h3 i { color: var(--lcx-blue); }
.lcx-formula p { margin: 0; font-size: .84rem; color: var(--lcx-muted); line-height: 1.8; }
.lcx-formula .lcx-formula__eq {
  margin: 0 0 .6rem;
  padding: .55rem .75rem;
  border-radius: 10px;
  background: var(--lcx-bg);
  color: var(--lcx-navy);
  font-family: ui-monospace, Consolas, monospace;
  font-size: .82rem;
  text-align: center;
}

.lcx-faq { display: flex; flex-direction: column; gap: .6rem; }
.lcx-faq__item {
  background: var(--lcx-surface);
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: 14px;
  padding: 0 1.1rem;
}
.lcx-faq__item > summary {
  cursor: pointer;
  padding: .9rem 0;
  font-weight: 700;
  font-size: .92rem;
  color: var(--lcx-navy);
}
.lcx-faq__item p { margin: 0 0 1rem; font-size: .88rem; color: var(--lcx-muted); line-height: 1.9; }

.lcx-related {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}
.lcx-related a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  border-radius: 999px;
  background: var(--lcx-surface);
  border: 1px solid var(--lcx-line);
  color: var(--lcx-navy);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lcx-related a:hover { border-color: var(--lcx-blue); color: var(--lcx-blue); }
.lcx-related a i { color: var(--lcx-blue); }

@media (max-width: 991.98px) {
  .lcx-grid { grid-template-columns: 1fr; }
  .lcx-result { position: static; }
  .lcx-result__empty { min-height: 160px; }
  .lcx-formulas { grid-template-columns: 1fr; }
}

@media (max-width: 575.98px) {
  .lcx-hero { padding-bottom: 4rem; }
  .lcx-card { padding: 1rem; border-radius: 18px; }
  .lcx-tabs { display: flex; }
  .lcx-tab { flex: 1; min-width: 0; }
  .lcx-form { grid-template-columns: 1fr; }
  .lcx-btn { min-width: 0; width: 100%; }
  .lcx-actions::before,
  .lcx-actions::after { display: none; }
}
