.logo-fix-size {
  max-height: 60px !important;
  max-width: 120px !important;
  width: 100% !important;
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

.clinic-auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(500px, 0.95fr);
  background: #f8fafc;
}

.clinic-auth-brand-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px clamp(48px, 7vw, 110px);
  color: #fff;
  background: linear-gradient(145deg, #071a3d 0%, #0b3c83 58%, #0874d1 100%);
}

.clinic-auth-brand-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: auto 0;
}

.clinic-auth-logo-wrap {
  display: inline-flex;
  align-items: center;
  margin-bottom: 56px;
}

.clinic-auth-logo {
  width: 210px;
  height: 82px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: brightness(0) invert(1);
}

.clinic-auth-eyebrow, .clinic-auth-form-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: #60a5fa;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clinic-auth-brand-panel h1 {
  max-width: 590px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.35rem, 4vw, 4.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.clinic-auth-brand-panel p {
  max-width: 560px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  line-height: 1.8;
}

.clinic-auth-benefits {
  display: grid;
  gap: 18px;
}

.clinic-auth-benefit {
  display: flex;
  align-items: center;
  gap: 15px;
}

.clinic-auth-benefit > span {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #93c5fd;
}

.clinic-auth-benefit strong, .clinic-auth-benefit small {
  display: block;
}

.clinic-auth-benefit strong {
  margin-bottom: 2px;
  color: #fff;
}

.clinic-auth-benefit small {
  color: rgba(255, 255, 255, 0.65);
}

.clinic-auth-brand-footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.clinic-auth-brand-footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.clinic-auth-brand-footer a:hover {
  text-decoration: underline;
}

.clinic-auth-glow {
  position: absolute;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.13);
}

.clinic-auth-glow-one {
  width: 440px;
  height: 440px;
  right: -180px;
  top: -150px;
}

.clinic-auth-glow-two {
  width: 320px;
  height: 320px;
  left: -140px;
  bottom: -100px;
}

.clinic-auth-form-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px clamp(32px, 7vw, 110px);
  background: #f8fafc;
}

.clinic-auth-form-panel::before, .clinic-auth-form-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.clinic-auth-form-panel::before {
  width: 330px;
  height: 330px;
  top: -190px;
  right: -150px;
  border: 55px solid rgba(8, 116, 209, 0.055);
}

.clinic-auth-form-panel::after {
  width: 220px;
  height: 220px;
  bottom: -135px;
  left: -110px;
  background: rgba(96, 165, 250, 0.06);
}

.clinic-auth-language {
  position: absolute;
  top: 28px;
  right: 32px;
}

.clinic-auth-form-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
}

.clinic-auth-form-wrap h2 {
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.clinic-auth-form-wrap > div > p {
  color: #64748b;
  font-size: 1rem;
}

.clinic-auth-context {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clinic-auth-context span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #64748b;
  font-size: 0.73rem;
  font-weight: 600;
}

.clinic-auth-context i {
  color: #1688e8;
}

.clinic-auth-mobile-logo {
  display: none;
  margin-bottom: 34px;
}

.clinic-auth-mobile-logo img {
  display: block;
  width: 190px;
  height: 76px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left center;
     object-position: left center;
}

.clinic-auth-mobile-logo small {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 500;
}

.clinic-system-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #cbd5e1;
  color: #15803d;
}

.clinic-system-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.clinic-auth-form .form-label {
  margin-bottom: 9px;
  color: #334155;
  font-weight: 600;
}

.clinic-auth-input-wrap {
  position: relative;
  height: 54px;
}

.clinic-auth-input-wrap > i:first-child {
  position: absolute;
  z-index: 2;
  left: 17px;
  top: 27px;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.clinic-auth-input-wrap .form-control {
  height: 54px;
  padding: 12px 48px 12px 16px;
  border: 1px solid #dbe3ee;
  border-radius: 12px;
  background: #fff;
  color: #0f172a;
}

.clinic-auth-input-wrap .form-control:focus {
  border-color: #2684e7;
  box-shadow: 0 0 0 4px rgba(38, 132, 231, 0.11);
}

.clinic-password-toggle {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #64748b;
}

.clinic-auth-link, .clinic-auth-register a {
  color: #0874d1;
  font-weight: 600;
  text-decoration: none;
}

.clinic-auth-submit {
  min-height: 54px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1267c4, #1688e8);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 12px 25px rgba(18, 103, 196, 0.2);
}

.clinic-auth-submit:hover, .clinic-auth-submit:focus {
  color: #fff;
  background: linear-gradient(135deg, #0d57a7, #0874d1);
  transform: translateY(-1px);
}

.clinic-auth-register {
  color: #64748b;
}

.clinic-auth-support {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.6;
  text-align: center;
}

.clinic-auth-support a {
  color: #0874d1;
  font-weight: 600;
  text-decoration: none;
}

.clinic-mobile-developer-credit {
  display: none;
}

@media (max-width: 991.98px) {
  .clinic-mobile-developer-credit {
    display: block;
  }
}
@media (max-width: 991.98px) {
  .clinic-auth-shell {
    grid-template-columns: 1fr;
  }

  .clinic-auth-brand-panel {
    display: none;
  }

  .clinic-auth-form-panel {
    min-height: 100vh;
    padding: 88px 24px 40px;
    background: linear-gradient(160deg, #edf5ff 0%, #f8fafc 52%, #eef4fb 100%);
  }

  .clinic-auth-form-wrap {
    max-width: 520px;
    padding: 38px 42px;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 60px rgba(15, 42, 78, 0.1);
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
  }

  .clinic-auth-mobile-logo {
    display: block;
  }
}
@media (max-width: 575.98px) {
  .clinic-auth-language {
    top: 12px;
    right: 14px;
  }

  .clinic-auth-language .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .clinic-auth-form-panel {
    padding: 62px 10px 14px;
  }

  .clinic-auth-form-wrap {
    padding: 22px 24px 20px;
    border-radius: 20px;
  }

  .clinic-auth-mobile-logo {
    margin-bottom: 20px;
  }

  .clinic-auth-mobile-logo img {
    height: 62px;
  }

  .clinic-auth-form-wrap .mb-8 {
    margin-bottom: 18px !important;
  }

  .clinic-auth-form-wrap h2 {
    font-size: 1.72rem;
  }

  .clinic-auth-form-wrap > div > p {
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  .clinic-auth-context {
    gap: 6px;
    margin-bottom: 18px !important;
  }

  .clinic-auth-context span {
    padding: 5px 8px;
    font-size: 0.65rem;
  }

  .clinic-auth-form .mb-6 {
    margin-bottom: 16px !important;
  }

  .clinic-auth-form .mb-5 {
    margin-bottom: 14px !important;
  }

  .clinic-auth-form .mb-7 {
    margin-bottom: 16px !important;
  }

  .clinic-auth-register {
    margin-top: 18px !important;
  }

  .clinic-auth-support {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 0.75rem;
  }

  .clinic-auth-register span, .clinic-auth-register a {
    display: inline;
  }
}
@media (min-width: 576px) and (max-width: 640px) {
  .clinic-auth-language {
    top: 12px;
    right: 14px;
  }

  .clinic-auth-language .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }

  .clinic-auth-form-panel {
    padding: 62px 10px 14px;
  }

  .clinic-auth-form-wrap {
    padding: 22px 32px 20px;
    border-radius: 20px;
  }

  .clinic-auth-mobile-logo {
    margin-bottom: 20px;
  }

  .clinic-auth-mobile-logo img {
    height: 62px;
  }

  .clinic-auth-form-wrap .mb-8 {
    margin-bottom: 18px !important;
  }

  .clinic-auth-form-wrap h2 {
    font-size: 1.72rem;
  }

  .clinic-auth-form-wrap > div > p {
    margin-bottom: 0;
    font-size: 0.9rem;
  }

  .clinic-auth-context {
    margin-bottom: 18px !important;
  }

  .clinic-auth-form .mb-6 {
    margin-bottom: 16px !important;
  }

  .clinic-auth-form .mb-5 {
    margin-bottom: 14px !important;
  }

  .clinic-auth-form .mb-7 {
    margin-bottom: 16px !important;
  }

  .clinic-auth-register {
    margin-top: 18px !important;
  }

  .clinic-auth-support {
    margin-top: 18px;
    padding-top: 14px;
    font-size: 0.75rem;
  }
}
