@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Heebo"; src: url("/fonts/heebo-hebrew-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --primary: #0b2a4a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #0ea5e9;
  --teal: #14b8a6;
  --orange: #f59e0b;
  --danger: #dc2626;
  --green: #16a34a;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --page-bg: #f8fafc;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Heebo", Arial, sans-serif;
  min-height: 100vh;
  color: var(--text-main);
  background: var(--page-bg);
  overflow-x: hidden;
  position: relative;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}





.login-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.90), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(37,99,235,.07), transparent 24%),
    radial-gradient(circle at 16% 84%, rgba(20,184,166,.07), transparent 26%),
    linear-gradient(135deg, #f8fafc 0%, #eef5fc 48%, #f8fafc 100%);
}

.soft-grid {
  position: absolute;
  inset: -20%;
  background-image:
    linear-gradient(rgba(37,99,235,.020) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.020) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: .88;
  animation: gridDrift 40s linear infinite;
}

.background-graphics {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  z-index: 1;
}

.bg-curve {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 16 12;
  animation: dashMove 22s linear infinite;
}

.bg-curve.blue {
  stroke: rgba(37,99,235,.17);
}

.bg-curve.teal {
  stroke: rgba(20,184,166,.16);
}

.bg-bars rect {
  fill: rgba(37,99,235,.08);
}

.bg-bars rect.alt {
  fill: rgba(20,184,166,.10);
}

.panel-faint {
  opacity: .24;
  animation: floatSlow 8s ease-in-out infinite alternate;
}

.panel-faint .panel-box {
  fill: rgba(255,255,255,.50);
  stroke: rgba(37,99,235,.10);
  stroke-width: 1.3;
}

.panel-faint.blue path,
.panel-faint.blue line,
.panel-faint.blue circle {
  stroke: rgba(37,99,235,.20);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.panel-faint.orange path,
.panel-faint.orange line,
.panel-faint.orange circle {
  stroke: rgba(245,158,11,.18);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.soft-dots {
  fill: rgba(37,99,235,.15);
  animation: pointPulse 3s ease-in-out infinite alternate;
}

.soft-dots.teal {
  fill: rgba(20,184,166,.15);
  animation-delay: -.8s;
}


.module-wheel {
  position: absolute;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  opacity: .16;
  filter: saturate(.85);
  animation: wheelFloat 10s ease-in-out infinite alternate;
}

.crm-wheel-bg {
  left: 86px;
  bottom: 74px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,.96) 0 31%, transparent 32%),
    conic-gradient(
      from -30deg,
      rgba(37,99,235,.95) 0deg 90deg,
      rgba(20,184,166,.90) 90deg 180deg,
      rgba(245,158,11,.88) 180deg 270deg,
      rgba(220,38,38,.86) 270deg 360deg
    );
}

.crm-wheel-bg::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 10px solid rgba(255,255,255,.42);
}

.crm-wheel-bg::after {
  content: "";
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.62);
}

.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 118px;
  height: 118px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.48);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: .6px;
  box-shadow: 0 8px 22px rgba(15,23,42,.05);
  z-index: 2;
}

.wheel-icon {
  position: absolute;
  width: 56px;
  height: 56px;
  color: rgba(255,255,255,.96);
  display: grid;
  place-items: center;
  z-index: 2;
}

.wheel-icon svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-top {
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.icon-right {
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
}

.icon-bottom {
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
}

.icon-left {
  left: 34px;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes gridDrift {
  from { transform: translate(0, 0); }
  to { transform: translate(48px, 48px); }
}

@keyframes dashMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -160; }
}

@keyframes floatSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}

@keyframes pointPulse {
  from {
    transform: scale(.92);
    opacity: .12;
  }
  to {
    transform: scale(1.22);
    opacity: .30;
  }
}

@keyframes wheelFloat {
  from {
    transform: translateY(0) rotate(-2deg);
  }

  to {
    transform: translateY(-10px) rotate(2deg);
  }
}





header {
  height: 70px;
  padding: 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,.80);
  border-bottom: 1px solid rgba(226,232,240,.78);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(11,42,74,.03);
}

.header-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  min-width: 0;
}

.header-logo-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.header-logo-img {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(11,42,74,.08));
}

.header-company-logo {
  width: 132px;
  max-width: 32vw;
  height: auto;
  max-height: 50px;
}

.header-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .88rem;
  font-weight: 800;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(226,232,240,.92);
  border-radius: 999px;
  padding: 8px 15px;
  box-shadow: 0 8px 20px rgba(11,42,74,.035);
}

.header-note svg {
  width: 18px;
  height: 18px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}





main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 18px;
  min-height: 0;
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, rgba(255,255,255,.93), rgba(255,255,255,.82));
  border: 1px solid rgba(255,255,255,.96);
  border-radius: 28px;
  padding: 32px 33px 27px;
  box-shadow:
    0 26px 60px rgba(11,42,74,.10),
    0 8px 20px rgba(37,99,235,.05),
    inset 0 1px 0 rgba(255,255,255,.90);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  animation: cardIn .7s ease both;
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.48);
  pointer-events: none;
}

.login-card::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  left: -72px;
  top: -72px;
  background: radial-gradient(circle, rgba(37,99,235,.09), transparent 70%);
  pointer-events: none;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-logo,
.login-header,
.form,
.secure-note {
  position: relative;
  z-index: 2;
}

.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.login-logo img {
  width: 218px;
  max-width: 84%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(11,42,74,.08));
}

.login-header {
  text-align: center;
  margin-bottom: 23px;
}

.login-header h1 {
  font-size: 1.68rem;
  line-height: 1.16;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 7px;
}

.login-header p {
  color: var(--text-muted);
  font-size: .96rem;
  font-weight: 500;
}

.form {
  display: grid;
  gap: 15px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .9rem;
  color: var(--primary);
  font-weight: 800;
}

.input-control {
  position: relative;
}

input {
  width: 100%;
  height: 46px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(226,232,240,.96);
  border-radius: 15px;
  padding: 0 15px;
  font-size: .98rem;
  font-family: inherit;
  font-weight: 500;
  outline: none;
  color: var(--text-main);
  transition: .2s ease;
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
}

input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

input:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.13);
}

input:disabled {
  opacity: .68;
  cursor: not-allowed;
}

.password-wrap input {
  padding-left: 50px;
}

.show-pass {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .18s ease;
  font-family: inherit;
}

.show-pass:hover {
  background: #eff6ff;
  color: var(--blue);
}

.show-pass:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.show-pass svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.eye-closed {
  display: none;
}

.show-pass.is-visible .eye-open {
  display: none;
}

.show-pass.is-visible .eye-closed {
  display: block;
}

.actions {
  padding-top: 7px;
}

.primary {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 15px;
  font-size: 1.05rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #0b2a4a 0%, #2563eb 62%, #0ea5e9 100%);
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(37,99,235,.20);
  transition: .22s ease;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.25;
  white-space: normal;
}

.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37,99,235,.26);
}

.primary:disabled {
  opacity: .72;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 12px 24px rgba(37,99,235,.12);
}

.primary.is-loading {
  height: auto;
  min-height: 58px;
  padding: 0 18px;
  font-size: .98rem;
}

.login-btn-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.38);
  border-top-color: #ffffff;
  flex: 0 0 auto;
  animation: loginSpin .78s linear infinite;
}

@keyframes loginSpin {
  to { transform: rotate(360deg); }
}

.message {
  min-height: 18px;
  font-size: .9rem;
  text-align: center;
  margin-top: 10px;
  font-weight: 750;
}

.message.error {
  color: var(--danger);
}

.message.success {
  color: var(--green);
}

.secure-note {
  margin-top: 21px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,23,42,.06);
  color: var(--text-muted);
  font-size: .84rem;
  font-weight: 650;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.secure-note svg {
  width: 17px;
  height: 17px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}





footer {
  min-height: 46px;
  padding: 10px 22px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 500;
  background: rgba(255,255,255,.70);
  border-top: 1px solid rgba(226,232,240,.62);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
}

footer a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.footer-sep {
  color: #cbd5e1;
}





@media (max-width: 900px) {
  .background-graphics {
    opacity: .78;
  }

  .module-wheel {
    opacity: .09;
  }

  .crm-wheel-bg {
    left: -92px;
    bottom: 70px;
  }
}

@media (max-width: 640px) {
  header {
    height: auto;
    min-height: 66px;
    padding: 11px 18px;
  }

  .header-note {
    display: none;
  }

  .header-brand {
    gap: 10px;
  }

  .header-company-logo {
    width: 110px;
    max-width: 42vw;
    max-height: 42px;
  }

  main {
    padding: 28px 14px;
  }

  .login-card {
    max-width: 430px;
    padding: 28px 22px 24px;
    border-radius: 23px;
  }

  .login-card::before {
    inset: 12px;
    border-radius: 18px;
  }

  .login-logo img {
    width: 190px;
  }

  .login-header h1 {
    font-size: 1.48rem;
  }

  .background-graphics {
    opacity: .55;
  }

  .module-wheel {
    opacity: .06;
  }
}

.auth-link { display: block; text-align: center; padding: 10px; color: #1d4ed8; min-height: 44px; }
