/* Be Vietnam Pro — self-hosted (no external CDN) */
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-vietnamese-400.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-vietnamese-500.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-vietnamese-600.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-vietnamese-700.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-vietnamese-800.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9,
    U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("./fonts/be-vietnam-pro-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

.pvi-login-page {
  display: grid;
  font-family: "Be Vietnam Pro", "Segoe UI", sans-serif;
  grid-template-columns: 1fr 1fr;
  inset: 0;
  overflow: hidden;
  position: fixed;
  z-index: 999;
}

.pvi-login-page .login-left {
  background-color: #003f72;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  overflow: hidden;
  position: relative;
}

.pvi-login-page .login-left:after {
  background: linear-gradient(140deg, #000f37e0, #003c82a6 55%, #0083ca4d);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.pvi-login-page .login-left .left-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 44px 52px;
  position: relative;
  z-index: 2;
}

.pvi-login-page .login-left .left-logo img {
  filter: brightness(0) invert(1);
  height: 38px;
  width: auto;
}

.pvi-login-page .login-left .left-body .left-tagline {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin: 0 0 16px;
}

.pvi-login-page .login-left .left-body .left-tagline em {
  color: #f5a623;
  font-style: normal;
}

.pvi-login-page .login-left .left-body .left-desc {
  color: #ffffffb3;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 44px;
  max-width: 340px;
}

.pvi-login-page .login-left .left-footer {
  color: #ffffff59;
  font-size: 12px;
}

.pvi-login-page .login-right {
  align-items: center;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: 48px 40px;
  position: relative;
}

.pvi-login-page .login-right .back-btn {
  align-items: center;
  background: #f0f5fc;
  border: 1px solid #dce6f5;
  border-radius: 8px;
  color: #005b99;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  left: 24px;
  padding: 8px 14px;
  position: absolute;
  top: 24px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pvi-login-page .login-right .back-btn:hover {
  background: #0083ca14;
  border-color: #0083ca;
  color: #0083ca;
}

.pvi-login-page .login-right .login-box {
  animation: fadeSlideUp 0.4s ease both;
  max-width: 400px;
  width: 100%;
}

.pvi-login-page .login-right .login-box .login-header {
  margin-bottom: 32px;
}

.pvi-login-page .login-right .login-box .login-header .login-logo {
  display: block;
  margin-bottom: 24px;
}

.pvi-login-page .login-right .login-box .login-header .login-logo img {
  height: 34px;
  width: auto;
}

.pvi-login-page .login-right .login-box .login-header h2 {
  color: #0d1b2a;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.pvi-login-page .login-right .login-box .login-header p {
  color: #6b7a99;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.pvi-login-page .login-right .login-box .login-form .form-item {
  margin-bottom: 24px;
}

.pvi-login-page .login-right .login-box .login-form .form-label {
  color: #0d1b2a;
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pvi-login-page .login-right .login-box .login-form .form-label.required::before {
  color: #e24b4a;
  content: "*";
  display: inline-block;
  font-family: SimSun, sans-serif;
  font-size: 14px;
  line-height: 1;
  margin-inline-end: 4px;
}

.pvi-login-page .login-right .login-box .login-form .input-affix {
  align-items: center;
  background: #f0f5fc;
  border: 1.5px solid #dce6f5;
  border-radius: 10px;
  box-shadow: none !important;
  display: flex;
  height: 48px;
  padding: 0 11px;
  transition: border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pvi-login-page .login-right .login-box .login-form .input-affix:hover {
  border-color: #0083ca80;
}

.pvi-login-page .login-right .login-box .login-form .input-affix:focus-within {
  background: #fff;
  border-color: #0083ca;
  box-shadow: 0 0 0 3px #0083ca1a !important;
}

.pvi-login-page .login-right .login-box .login-form .input-affix .input-prefix {
  color: #6b7a99;
  display: inline-flex;
  font-size: 15px;
  margin-right: 8px;
}

.pvi-login-page .login-right .login-box .login-form .input-affix .input-suffix {
  align-items: center;
  background: transparent;
  border: none;
  color: #6b7a99;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 15px;
  justify-content: center;
  line-height: 1;
  margin-left: 8px;
  padding: 0;
}

.pvi-login-page .login-right .login-box .login-form .input-affix .input-suffix svg {
  display: block;
  height: 1em;
  width: 1em;
}

.pvi-login-page .login-right .login-box .login-form .input-affix input::-ms-reveal,
.pvi-login-page .login-right .login-box .login-form .input-affix input::-ms-clear {
  display: none;
}

.pvi-login-page .login-right .login-box .login-form .input-affix input {
  background: transparent;
  border: none;
  color: #0d1b2a;
  flex: 1;
  font-size: 14px;
  height: 100%;
  min-width: 0;
  outline: none;
  padding: 0;
}

.pvi-login-page .login-right .login-box .login-form .input-affix input::placeholder {
  color: #b0bdd0;
}

.pvi-login-page .login-right .login-box .login-form .form-error {
  color: #e24b4a;
  font-size: 12px;
  margin-top: 4px;
}

.pvi-login-page .login-right .login-box .login-form .submit-btn {
  align-items: center;
  background: #0083ca;
  border: 1px solid #0083ca;
  border-radius: 12px;
  box-shadow: 0 4px 18px #0083ca61;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 8px;
  height: 50px;
  justify-content: center;
  letter-spacing: 0.02em;
  margin-top: 8px;
  transition: background 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.pvi-login-page .login-right .login-box .login-form .submit-btn:hover:not(:disabled) {
  background: #005b99 !important;
  border-color: #005b99 !important;
  box-shadow: 0 6px 24px #0083ca73;
}

.pvi-login-page .login-right .login-box .login-form .submit-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.pvi-login-page .login-right .login-box .login-divider {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

.pvi-login-page .login-right .login-box .login-divider:after,
.pvi-login-page .login-right .login-box .login-divider:before {
  background: #dce6f5;
  content: "";
  flex: 1 1;
  height: 1px;
}

.pvi-login-page .login-right .login-box .login-divider span {
  color: #6b7a99;
  font-size: 12px;
  white-space: nowrap;
}

.pvi-login-page .login-right .login-box .login-hotline {
  align-items: center;
  background: #0083ca0d;
  border: 1px solid #0083ca24;
  border-radius: 12px;
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.pvi-login-page .login-right .login-box .login-hotline:hover {
  background: #0083ca1a;
  border-color: #0083ca47;
}

.pvi-login-page .login-right .login-box .login-hotline .hotline-icon {
  align-items: center;
  animation: pulse-ring 2s ease infinite;
  background: #f5a623;
  border-radius: 50%;
  color: #1a1a1a;
  display: flex;
  flex-shrink: 0;
  font-size: 17px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.pvi-login-page .login-right .login-box .login-hotline .hotline-text .lbl {
  color: #6b7a99;
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pvi-login-page .login-right .login-box .login-hotline .hotline-text .num {
  color: #005b99;
  display: block;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

@media (max-width: 768px) {
  .pvi-login-page {
    grid-template-columns: 1fr;
    inset: 0;
    position: fixed;
  }

  .pvi-login-page .login-left {
    display: none;
  }

  .pvi-login-page .login-right {
    background: #f0f5fc;
    padding: 56px 24px 40px;
  }

  .pvi-login-page .login-right .login-box {
    max-width: 100%;
  }

  .pvi-login-page .login-right .login-header {
    text-align: center;
  }

  .pvi-login-page .login-right .login-logo {
    display: flex;
    justify-content: center;
  }
}

@keyframes pulse-ring {
  0%,
  to {
    box-shadow: 0 0 0 0 #f5a62380;
  }
  50% {
    box-shadow: 0 0 0 7px #f5a62300;
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reset / base for static package */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  color: #0d1b2a;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.pvi-login-page .login-left {
  background-image: url("../images/left_login_pvi.png");
}

.pvi-login-page .login-right .login-box .status-error {
  background: #fff2f0;
  border: 1px solid #ffccc7;
  border-radius: 10px;
  color: #e24b4a;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
  padding: 10px 12px;
}

.pvi-login-page .login-right .login-box .status-error[hidden],
.pvi-login-page .login-right .login-box .panel[hidden] {
  display: none !important;
}

.pvi-login-page .login-right .login-box .panel-title {
  color: #0d1b2a;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 6px;
}

.pvi-login-page .login-right .login-box .panel-desc {
  color: #6b7a99;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.pvi-login-page .login-right .login-box .btn-secondary {
  align-items: center;
  background: #fff;
  border: 1.5px solid #dce6f5;
  border-radius: 12px;
  color: #005b99;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  margin-top: 10px;
  transition: all 0.2s ease;
  width: 100%;
}

.pvi-login-page .login-right .login-box .btn-secondary:hover:not(:disabled) {
  border-color: #0083ca;
  color: #0083ca;
}

.pvi-login-page .login-right .login-box .btn-secondary:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.pvi-login-page .login-right .login-box .submit-btn .spinner {
  animation: spin 0.8s linear infinite;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  border-top-color: #fff;
  display: inline-block;
  height: 16px;
  width: 16px;
}

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