:root {
      --cd-primary: #1f5a66;
      --cd-primary-dark: #174a54;
      --cd-secondary: #287783;
      --cd-text: #263238;
      --cd-muted: #6c757d;
      --cd-border: #dee2e6;
      --cd-panel: #ffffff;
      --cd-soft-bg: #f4f6f8;
      --cd-danger: #9b3b35;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
    }

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

    body {
      min-height: 100vh;
      color: var(--cd-text);
      background: var(--cd-soft-bg);
      font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      font-size: 0.95rem;
    }

    button,
    input {
      font: inherit;
    }

    .login-layout {
      min-height: 100vh;
      display: grid;
      grid-template-columns: minmax(0, 64fr) minmax(390px, 36fr);
    }

    .login-visual {
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      background: var(--cd-primary-dark);
    }

    .login-visual img {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover;
      object-position: center;
    }

    .login-visual::after {
      position: absolute;
      inset: 0;
      content: "";
      pointer-events: none;
      background: linear-gradient(90deg, rgba(23, 74, 84, 0.04), rgba(23, 74, 84, 0));
    }

    .login-panel {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      padding: clamp(1.5rem, 4vw, 4rem);
      background: var(--cd-panel);
      box-shadow: -8px 0 28px rgba(23, 74, 84, 0.08);
      z-index: 1;
    }

    .login-panel-inner {
      width: min(100%, 470px);
      margin: auto;
    }

    .brand-header {
      margin-bottom: clamp(2rem, 6vh, 3.75rem);
    }

    .logo-slot {
     width: min(100%, 500px);
      min-height: 92px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      margin-bottom: 1.8rem;
    }

    .cncr-logo {
      width: auto;
      max-width: 100%;
      max-height: 92px;
      object-fit: contain;
      object-position: left center;
    }

    .logo-placeholder {
      width: 100%;
      min-height: 92px;
      display: grid;
      place-items: center;
      padding: 1rem;
      color: #64777d;
      background: #f8fafb;
      border: 1px dashed #9eb7be;
      border-radius: 0.35rem;
      font-size: 0.82rem;
      font-weight: 650;
      text-align: center;
    }

    .product-name {
      margin: 0;
      color: var(--cd-primary-dark);
      font-size: clamp(2rem, 3vw, 2.7rem);
      font-weight: 780;
      letter-spacing: -0.035em;
      line-height: 1.08;
    }

    .product-description {
      margin: 0.55rem 0 0;
      color: var(--cd-muted);
      font-size: 1rem;
    }

    .login-heading {
      margin-bottom: 1.8rem;
    }

    .login-heading h1 {
      margin: 0;
      color: var(--cd-text);
      font-size: 1.45rem;
      font-weight: 760;
      line-height: 1.25;
    }

    .login-heading p {
      margin: 0.45rem 0 0;
      color: var(--cd-muted);
      font-size: 0.98rem;
    }

    .form-group + .form-group {
      margin-top: 1.25rem;
    }

    .form-label {
      display: inline-block;
      margin-bottom: 0.45rem;
      color: #34445a;
      font-size: 0.88rem;
      font-weight: 700;
    }

    .form-control-wrap {
      position: relative;
    }

    .form-control {
      width: 100%;
      min-height: 3.15rem;
      padding: 0.75rem 0.9rem;
      color: var(--cd-text);
      background: #fff;
      border: 1px solid #cdd5dc;
      border-radius: 0.28rem;
      outline: none;
      transition: border-color 150ms ease, box-shadow 150ms ease;
    }

    .form-control::placeholder {
      color: #8b969e;
    }

    .form-control:hover {
      border-color: #aebcc4;
    }

    .form-control:focus {
      border-color: var(--cd-secondary);
      box-shadow: 0 0 0 0.2rem rgba(40, 119, 131, 0.16);
    }

    .form-control-password {
      padding-right: 3.25rem;
    }

    .password-toggle {
      position: absolute;
      top: 50%;
      right: 0.55rem;
      width: 2.3rem;
      height: 2.3rem;
      display: grid;
      place-items: center;
      padding: 0;
      color: #62747a;
      background: transparent;
      border: 0;
      border-radius: 0.25rem;
      cursor: pointer;
      transform: translateY(-50%);
    }

    .password-toggle:hover,
    .password-toggle:focus-visible {
      color: var(--cd-primary-dark);
      background: #edf4f6;
      outline: none;
    }

    .password-toggle svg {
      width: 1.25rem;
      height: 1.25rem;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.8;
    }

    .validation-message {
      margin: 0 0 1.1rem;
      padding: 0.75rem 0.85rem;
      color: #74322e;
      background: #fbefee;
      border: 1px solid #e8c8c5;
      border-radius: 0.28rem;
      font-size: 0.88rem;
    }

    .login-button {
      width: 100%;
      min-height: 3.15rem;
      margin-top: 1.65rem;
      padding: 0.75rem 1rem;
      color: #fff;
      background: var(--cd-primary);
      border: 1px solid var(--cd-primary);
      border-radius: 0.28rem;
      font-weight: 750;
      cursor: pointer;
      transition: background-color 150ms ease, border-color 150ms ease, transform 100ms ease;
    }

    .login-button:hover,
    .login-button:focus-visible {
      background: var(--cd-primary-dark);
      border-color: var(--cd-primary-dark);
      outline: none;
    }

    .login-button:focus-visible {
      box-shadow: 0 0 0 0.2rem rgba(40, 119, 131, 0.2);
    }

    .login-button:active {
      transform: translateY(1px);
    }

    .authorized-note {
      margin: 1.3rem 0 0;
      color: var(--cd-muted);
      font-size: 0.83rem;
      text-align: center;
    }

    .environment-badge {
      align-self: flex-end;
      margin-top: 1.5rem;
      padding: 0.28rem 0.55rem;
      color: var(--cd-primary-dark);
      background: #e8f1f3;
      border: 1px solid #cbdde3;
      border-radius: 999px;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.08em;
    }

    @media (max-width: 900px) {
      .login-layout {
        grid-template-columns: minmax(0, 54fr) minmax(360px, 46fr);
      }

      .login-panel {
        padding: 2rem;
      }
    }

    @media (max-width: 700px) {
      .login-layout {
        min-height: 100vh;
        display: block;
      }

      .login-visual {
        min-height: 220px;
        height: 31vh;
        max-height: 300px;
      }

      .login-visual img {
        object-position: center 58%;
      }

      .login-panel {
        min-height: calc(100vh - 220px);
        padding: 2rem 1.25rem 1.25rem;
        box-shadow: 0 -8px 28px rgba(23, 74, 84, 0.08);
      }

      .login-panel-inner {
        margin: 0 auto;
      }

      .brand-header {
        margin-bottom: 2.25rem;
      }

      .logo-slot,
      .logo-placeholder {
        min-height: 72px;
      }

      .cncr-logo {
        max-height: 72px;
      }

      .environment-badge {
        margin-top: 2rem;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
        scroll-behavior: auto !important;
        transition: none !important;
      }
    }