:root {
  --navy-950: #081430;
  --navy-900: #0d1b48;
  --navy-850: #112556;
  --navy-700: #1b3474;
  --white: #ffffff;
  --card-top: #fbfcff;
  --card-bottom: #edf1ff;
  --ink-900: #162863;
  --ink-700: #465b90;
  --ink-600: #5d6f9e;
  --line-soft: rgba(152, 168, 214, 0.28);
  --field-bg: rgba(255, 255, 255, 0.9);
  --blue-a: #2443db;
  --blue-b: #2db8ff;
  --cyan: #54d7ff;
  --shadow-card: 0 28px 70px rgba(7, 17, 49, 0.38);
  --shadow-soft: 0 14px 36px rgba(11, 23, 67, 0.14);
  --radius-card: 32px;
  --radius-field: 14px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--white);
  background: #091733 url("assets/background_landingpage.png") center center / cover no-repeat fixed;
}

body::before,
body::after {
  display: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before {
  display: none;
}

.ambient,
.cube {
  position: absolute;
  pointer-events: none;
}

.ambient {
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.55;
  display: none;
}

.ambient-left {
  left: -48px;
  top: 180px;
  width: 120px;
  height: 120px;
  background: rgba(136, 182, 255, 0.22);
}

.ambient-right {
  right: -22px;
  bottom: 120px;
  width: 150px;
  height: 150px;
  background: rgba(156, 176, 255, 0.18);
}

.cube {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(133, 179, 255, 0.26), rgba(62, 89, 172, 0.08));
  border: 1px solid rgba(178, 205, 255, 0.15);
  box-shadow: inset 0 0 16px rgba(255, 255, 255, 0.04);
  transform: rotate(12deg);
  display: none;
}

.cube::before,
.cube::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.cube::before {
  transform: translate(-10px, 8px);
  background: rgba(54, 78, 149, 0.18);
}

.cube::after {
  transform: translate(9px, -9px);
  background: rgba(177, 204, 255, 0.08);
}

.cube-a {
  left: 24px;
  top: 420px;
}

.cube-b {
  left: 90px;
  top: 540px;
  width: 54px;
  height: 54px;
}

.cube-c {
  left: 54%;
  bottom: 250px;
}

.cube-d {
  right: 17%;
  top: 230px;
  width: 34px;
  height: 34px;
}

.layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(470px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  min-height: 100vh;
  padding: 22px 56px 22px 56px;
}

.brand-panel {
  width: min(100%, 760px);
  margin: 0 auto;
  padding-top: 14px;
  padding-left: clamp(24px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-logo {
  width: min(100%, 468px);
  display: block;
  margin-bottom: 2px;
  filter: drop-shadow(0 8px 28px rgba(18, 97, 255, 0.18));
}

.brand-copy {
  max-width: 540px;
  margin-bottom: 1.9rem;
}

.brand-copy h1,
.card-header h2 {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(4.25rem, 6.2vw, 5.95rem);
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-copy h1 {
  color: #f4f7ff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(220, 224, 234, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.subtitle {
  margin: 0.35rem 0 0;
  font-size: clamp(1.15rem, 1.9vw, 1.95rem);
  line-height: 1.25;
  font-weight: 400;
  color: rgba(241, 246, 255, 0.95);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(210, 216, 228, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.16);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.12rem;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  font-weight: 400;
}

.feature-list li {
  position: relative;
  padding-left: 2.95rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 0.58rem;
  border-left: 4px solid var(--cyan);
  border-bottom: 4px solid var(--cyan);
  transform: rotate(-45deg);
  filter: drop-shadow(0 0 6px rgba(84, 215, 255, 0.3));
}

.login-panel {
  display: flex;
  justify-content: center;
}

.card {
  width: min(100%, 660px);
  color: var(--ink-900);
  background:
    radial-gradient(circle at 32% 12%, rgba(255, 255, 255, 0.8), transparent 0 24%),
    radial-gradient(circle at 60% 26%, rgba(116, 164, 255, 0.08), transparent 0 28%),
    linear-gradient(180deg, var(--card-top) 0%, var(--card-bottom) 100%);
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.card-header {
  text-align: center;
  padding: 28px 38px 14px;
}

.card-logo {
  width: min(100%, 300px);
  display: block;
  margin: 0 auto 8px;
}

.card-header h2 {
  font-size: clamp(2.95rem, 3.85vw, 4.15rem);
  color: #13265f;
  background: linear-gradient(180deg, rgba(31, 52, 110, 0.98), rgba(64, 74, 98, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-header p {
  margin: 0.3rem 0 0;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 400;
  color: #2e4378;
  background: linear-gradient(180deg, rgba(56, 73, 118, 0.98), rgba(95, 107, 134, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-form {
  padding: 4px 50px 18px;
}

.login-form h3 {
  margin: 0.55rem 0 1.55rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.85rem, 2.3vw, 2.5rem);
  line-height: 1.05;
  font-weight: 500;
  color: #1a2b67;
}
my-error-class {
    color: red !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
.input-group {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius-field);
  background: var(--field-bg);
  border: 1px solid rgba(190, 201, 226, 0.62);
  box-shadow: 0 5px 18px rgba(14, 26, 66, 0.05);
  overflow: hidden;
}

.password-group {
  grid-template-columns: 66px 1fr 68px;
}

.input-icon,
.toggle-password {
  display: grid;
  place-items: center;
  height: 100%;
  color: #384a80;
  background: rgba(255, 255, 255, 0.3);
}

.input-icon {
  border-right: 1px solid rgba(177, 190, 222, 0.6);
}

.toggle-password {
  border: 0;
  border-left: 1px solid rgba(177, 190, 222, 0.6);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toggle-password:hover {
  background: rgba(227, 234, 255, 0.8);
}

.input-group svg,
.secure-note svg {
  width: 23px;
  height: 23px;
}

.input-group input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 1rem 1rem;
  font: inherit;
  font-size: 1.15rem;
  color: #20356d;
}

.input-group input::placeholder {
  color: rgba(43, 59, 108, 0.7);
}

.input-group:focus-within {
  border-color: rgba(71, 112, 221, 0.6);
  box-shadow: 0 0 0 4px rgba(80, 143, 255, 0.12);
}

.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin: 1.25rem 0 1.65rem;
  color: #2b417d;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  font-size: 1rem;
}

.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--blue-a);
}

.text-link {
  color: #2045ab;
  text-decoration: none;
  font-size: 1rem;
}

.text-link:hover {
  text-decoration: underline;
}

.submit-btn {
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 0.82rem 1.2rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 500;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(90deg, #1f40d9 0%, #31b4ff 100%);
  box-shadow: 0 12px 24px rgba(38, 91, 237, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(38, 91, 237, 0.26);
  filter: brightness(1.03);
}

.secure-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin: 1.2rem 0 0;
  color: #30467e;
  font-size: 0.92rem;
}

.secure-note span {
  display: inline-grid;
  place-items: center;
  color: #1f4ea8;
}

.secure-note svg {
  width: 19px;
  height: 19px;
}

.secure-note strong {
  color: #203364;
}

.card-footer {
  margin-top: 6px;
  border-top: 1px solid rgba(171, 183, 214, 0.42);
  background: linear-gradient(180deg, rgba(238, 242, 253, 0.58), rgba(228, 234, 248, 0.78));
  padding: 16px 20px 18px;
  text-align: center;
  color: #42568a;
  font-size: 0.92rem;
}

.card-footer span {
  padding: 0 0.32rem;
}

@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.6rem;
    padding: 24px 20px 28px;
  }

  .brand-panel {
    width: 100%;
    max-width: 780px;
    text-align: center;
    padding-left: 0;
  }

  .brand-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .brand-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

}

@media (max-width: 760px) {
  .cube {
    display: none;
  }

  .layout {
    padding: 16px 14px 24px;
  }

  .card {
    border-radius: 24px;
  }

  .card-header {
    padding: 22px 18px 8px;
  }

  .card-logo {
    width: 252px;
  }

  .brand-copy h1 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .card-header h2 {
    font-size: 2.45rem;
  }

  .card-header p {
    font-size: 1.08rem;
  }

  .login-form {
    padding: 0 16px 16px;
  }

  .login-form h3 {
    font-size: 2.2rem;
  }

  .input-group {
    grid-template-columns: 56px 1fr;
  }

  .password-group {
    grid-template-columns: 56px 1fr 56px;
  }

  .input-group input {
    font-size: 1rem;
    padding: 0.9rem 0.85rem;
  }

  .form-row {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .submit-btn {
    font-size: 1.2rem;
  }

}

@media (max-width: 520px) {
  .brand-logo {
    width: min(100%, 290px);
  }

  .feature-list {
    gap: 0.9rem;
    font-size: 1rem;
  }

  .secure-note,
  .card-footer {
    font-size: 0.9rem;
  }
}
