/* index.php login UI - extracted from inline <style> */
    @font-face {
      font-family: 'UTM Swiss 721 Black Condensed';
      src: url('../../fonts/UTMSwiss721BlackCondensed.woff') format('woff'),
           url('../../fonts/UTMSwiss721BlackCondensed.ttf') format('truetype');
    }

    /* ===== RESET & BASE ===== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      /* Hide scrollbars globally */
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    }

    /* Hide scrollbars on chrome/safari/opera */
    ::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
    }

    html, body {
      background-color: #282828; /* Exact grey side frames color (#282828) from original page */
    }

    body {
      font-family: 'Montserrat', sans-serif;
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      overflow-x: hidden;
      overflow-y: auto;
      touch-action: manipulation; /* Ngăn double-tap zoom như src cũ */
      -ms-touch-action: manipulation;
    }

    /* ===== OUTER WRAPPER ===== */
    .rooot_wrapper {
      width: 100%;
      min-height: 100vh;
      background-color: #282828; /* Exact grey background outside the screen */
      display: flex;
      justify-content: center;
    }

    .wp_check_show {
      width: 100%;
      max-width: 575px; /* Maximum width of the interface */
      background-color: #0a0a0c;
      box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
      position: relative;
    }

    .wp_root_nologin {
      width: 100%;
      min-height: 100vh;
    }

    /* ===== MAIN LOGIN SCREEN ===== */
    .root_login {
      background: #0a0a0c;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      position: relative;
      overflow-x: hidden;
      padding: 60px 0;
      background-image: url("../../image/bg_login.png");
      background-repeat: no-repeat;
      background-size: cover;
      background-attachment: fixed;
    }

    /* Disabled decorative layers (same as original site: content:none) */
    .root_login::before {
      content: none;
    }

    .root_login::after {
      content: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      pointer-events: none;
      background: radial-gradient(circle at 20% 30%,rgba(218,37,28,.12) 0,transparent 40%),
                  radial-gradient(circle at 80% 70%,rgba(250,210,27,.08) 0,transparent 40%),
                  radial-gradient(circle at 50% 50%,rgba(154,0,0,.08) 0,transparent 60%);
      filter: blur(80px);
      animation: auroraBG 15s ease-in-out infinite alternate;
      z-index: 0;
    }

    @keyframes auroraBG {
      0% { transform: scale(1) translate(0); }
      50% { transform: scale(1.2) translate(2%,2%); }
      to { transform: scale(1.1) translate(-2%,1%); }
    }

    @keyframes fadeInDown {
      0% {
        opacity: 0;
        transform: translateY(-20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

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

    .login_content_form {
      width: 100%;
      max-width: 450px;
      margin: 0 auto;
      padding: 30px 40px;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 100;
    }

    /* ===== LOGO SECTION ===== */
    .logo_page_form {
      text-align: center;
      margin-bottom: 40px;
      animation: fadeInDown .8s ease-out;
    }

    .logo_page_form img {
      max-width: 120px;
      margin-bottom: 15px;
      filter: drop-shadow(0 0 15px rgba(250,210,27,.4));
    }

    .logo_page_form h2 {
      color: #fff;
      font-size: 24px;
      font-weight: 800;
      margin-bottom: 5px;
      letter-spacing: 1px;
      text-transform: uppercase;
      font-family: 'UTM Swiss 721 Black Condensed', 'Montserrat', sans-serif;
    }

    .logo_page_form p {
      color: #fad21b;
      font-size: 14px;
      font-weight: 500;
      opacity: .9;
    }

    /* ===== GLASSMORPHISM LOGIN CARD ===== */
    .frm_formLogin_new {
      width: 100%;
      background: hsla(0,0%,100%,.05);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border: 1px solid hsla(0,0%,100%,.1);
      border-radius: 24px;
      padding: 35px;
      box-shadow: 0 25px 50px -12px rgba(0,0,0,.5);
      position: relative;
      z-index: 110;
    }

    .form_title {
      color: #fff;
      font-size: 22px;
      font-weight: 700;
      margin-bottom: 30px;
      text-align: center;
      position: relative;
      padding-bottom: 10px;
      font-family: 'Montserrat', sans-serif;
    }

    .form_title::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 50px;
      height: 3px;
      background: #da251c;
      border-radius: 2px;
    }

    /* ===== INPUT GROUP ===== */
    .input_group_new {
      margin-bottom: 22px;
    }

    .input_group_new label {
      display: block;
      color: hsla(0,0%,100%,.7);
      font-size: 13px;
      font-weight: 500;
      margin-bottom: 8px;
      margin-left: 5px;
    }

    .input_login_new {
      position: relative;
      display: flex;
      align-items: center;
    }

    .input_login_new input {
      width: 100%;
      height: 52px;
      background: hsla(0,0%,100%,.08);
      border: 1.5px solid hsla(0,0%,100%,.1);
      border-radius: 12px;
      padding: 0 45px;
      color: #fff;
      font-size: 15px;
      transition: all .3s ease;
      font-family: 'Montserrat', sans-serif;
    }

    .input_login_new input::placeholder {
      color: rgba(255, 255, 255, 0.45);
    }

    .input_login_new input:focus {
      outline: none;
      background: hsla(0,0%,100%,.12);
      border-color: #fad21b;
      box-shadow: 0 0 15px rgba(250,210,27,.15);
    }

    .input_login_new .icon_input {
      position: absolute;
      left: 15px;
      width: 20px;
      opacity: .6;
      transition: all .3s ease;
    }

    .input_login_new input:focus + .icon_input {
      opacity: 1;
      filter: sepia(100%) saturate(300%) brightness(100%) hue-rotate(-10deg);
    }

    /* password toggle */
    .password_toggle {
      position: absolute;
      right: 15px;
      cursor: pointer;
      padding: 5px;
      opacity: .6;
      transition: .3s;
      display: flex;
      align-items: center;
    }

    .password_toggle:hover {
      opacity: 1;
    }

    .password_toggle img {
      width: 20px;
    }

    /* ===== FORM OPTIONS ===== */
    .form_options {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 30px;
      padding: 0 5px;
    }

    .checkbox_container {
      display: flex;
      align-items: center;
      color: hsla(0,0%,100%,.6);
      font-size: 13px;
      cursor: pointer;
      user-select: none;
    }

    .checkbox_container input {
      display: none;
    }

    .checkmark {
      width: 18px;
      height: 18px;
      background: hsla(0,0%,100%,.1);
      border: 1px solid hsla(0,0%,100%,.2);
      border-radius: 4px;
      margin-right: 10px;
      position: relative;
      transition: .3s;
      display: inline-block;
    }

    .checkbox_container:hover input ~ .checkmark {
      background: hsla(0,0%,100%,.2);
    }

    .checkbox_container input:checked ~ .checkmark {
      background: #da251c;
      border-color: #da251c;
    }

    .checkmark:after {
      content: "";
      position: absolute;
      display: none;
      left: 6px;
      top: 2px;
      width: 5px;
      height: 10px;
      border: solid #fff;
      border-width: 0 2px 2px 0;
      transform: rotate(45deg);
    }

    .checkbox_container input:checked ~ .checkmark:after {
      display: block;
    }

    .forgot_pw {
      color: #fad21b;
      font-size: 13px;
      font-weight: 500;
      cursor: pointer;
      transition: .3s;
      text-decoration: none;
    }

    .forgot_pw:hover {
      text-decoration: underline !important;
    }

    /* ===== LOGIN BUTTON ===== */
    .btn_login_new {
      width: 100%;
    }

    .btn_login_new button {
      width: 100%;
      height: 54px;
      background: linear-gradient(135deg,#da251c,#a30000);
      border: none;
      border-radius: 12px;
      color: #fff;
      font-size: 16px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 10px 20px -5px rgba(218,37,28,.4);
      transition: all .3s cubic-bezier(.175,.885,.32,1.275);
      font-family: 'Montserrat', sans-serif;
    }

    .btn_login_new button:hover {
      transform: translateY(-2px);
      box-shadow: 0 15px 30px -5px rgba(218,37,28,.6);
      background: linear-gradient(135deg,#f33,#da251c);
    }

    .btn_login_new button:active {
      transform: translateY(0);
    }

    /* ===== REGISTER LINK ===== */
    .textRegister_new {
      text-align: center;
      margin-top: 25px;
      color: hsla(0,0%,100%,.6);
      font-size: 14px;
      display: block;
      width: 100%;
    }

    .textRegister_new span {
      color: #fad21b;
      font-weight: 700;
      cursor: pointer;
      transition: .3s;
      padding: 2px 5px;
      display: inline-block;
    }

    .textRegister_new span:hover {
      color: #fff;
      text-decoration: underline !important;
    }

    /* Mobile Responsive styling */
    @media (max-width: 768px) {
      body {
        align-items: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
      }
      .rooot_wrapper {
        align-items: flex-start;
        min-height: 100vh;
      }
      .wp_check_show {
        max-width: 100%;
        min-height: 100vh;
      }
      .root_login {
        min-height: 100vh;
        padding: 40px 0 60px;
        background-attachment: scroll; /* Fixed không hoạt động tốt trên mobile */
      }
      .frm_formLogin_new {
        padding: 25px 20px;
        border-radius: 16px;
      }
      .login_content_form {
        padding: 20px 15px;
        max-width: 100%;
      }
      .logo_page_form h2 {
        font-size: 20px;
      }
      .form_title {
        font-size: 19px;
      }
      .input_login_new input {
        height: 48px;
        font-size: 16px; /* Phải >= 16px để iOS Safari không zoom khi focus */
      }
      .btn_login_new button {
        height: 50px;
        font-size: 15px;
      }
      /* Ngăn zoom trên tất cả input khi focus - giống src cũ */
      input, select, textarea {
        font-size: 16px !important;
      }
    }