/* ========== STYLE REGISTER PAGE MOBILE (FULLSCREEN, NO SCROLL + FOOTER RAPIH) ========== */
@media (max-width: 768px) {

   html,
   body {
      height: 100%;
      margin: 0;
      padding: 0;
      overflow: hidden !important;
      /* ⛔ Matikan scroll total */
      touch-action: none;
      /* Nonaktifkan gesture scroll di mobile */
   }

   body {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      height: 100vh;
      width: 100vw;
      position: relative;
      font-family: "Poppins", sans-serif;
      color: #333;
   }

   /* 🌈 Efek gradasi lembut animasi */
   body::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: radial-gradient(circle at top left, #2a5298, #1e3c72);
      animation: bgShift 10s ease-in-out infinite alternate;
      z-index: 0;
   }

   @keyframes bgShift {
      0% {
         transform: scale(1) translate(0, 0);
      }

      100% {
         transform: scale(1.1) translate(-5%, -5%);
      }
   }

   /* ======== Wrapper utama ======== */
   .auth-main {
      height: 100%;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      z-index: 2;
      padding: 0 16px;
   }

   .auth-wrapper.v3 {
      width: 100%;
      max-width: 380px;
      animation: fadeInUp 0.8s ease-out;
   }

   @keyframes fadeInUp {
      from {
         opacity: 0;
         transform: translateY(30px);
      }

      to {
         opacity: 1;
         transform: translateY(0);
      }
   }

   /* ======== Card Form ======== */
   .auth-form {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
      padding: 24px;
      width: 100%;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      overflow: hidden;
   }

   .auth-header img {
      width: 85px !important;
      margin-bottom: 10px;
      animation: bounce 2s infinite ease-in-out;
   }

   @keyframes bounce {

      0%,
      100% {
         transform: translateY(0);
      }

      50% {
         transform: translateY(-5px);
      }
   }

   /* ======== Input & Button ======== */
   .form-control {
      border-radius: 10px;
      padding: 10px 12px;
      font-size: 0.95rem;
      border: 1px solid #cdd6f3;
      transition: 0.3s;
   }

   .form-control:focus {
      border-color: #2a5298;
      box-shadow: 0 0 6px rgba(42, 82, 152, 0.3);
   }

   .btn-primary {
      background: linear-gradient(135deg, #1e3c72, #2a5298);
      border: none;
      color: white;
      border-radius: 10px;
      font-weight: 600;
      padding: 10px;
      transition: all 0.3s;
   }

   .btn-primary:hover {
      transform: scale(1.03);
      box-shadow: 0 6px 14px rgba(42, 82, 152, 0.4);
   }

   /* ======== Password Strength Bar ======== */
   .progress {
      background-color: #e0e0e0;
      border-radius: 10px;
   }

   .progress-bar {
      transition: width 0.4s ease, background-color 0.4s ease;
      border-radius: 10px;
   }

   /* ======== Footer Elegan Fix di Bawah ======== */
   .auth-footer {
      position: absolute;
      bottom: 15px;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 420px;
      text-align: center;
      z-index: 3;
      color: #fff;
      font-size: 0.8rem;
      line-height: 1.4;
      padding: 10px 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      animation: fadeInFooter 1.2s ease-in-out;
   }

   @keyframes fadeInFooter {
      from {
         opacity: 0;
         transform: translateY(10px);
      }

      to {
         opacity: 1;
         transform: translateY(0);
      }
   }

   /* Garis tipis pembatas */
   .auth-footer::before {
      content: "";
      display: block;
      width: 70%;
      height: 1px;
      background: rgba(255, 255, 255, 0.25);
      margin-bottom: 8px;
      border-radius: 2px;
   }

   .auth-footer p {
      margin: 0;
      color: #e8e8e8;
      font-size: 0.8rem;
   }

   .auth-footer p a {
      color: #ffd700;
      text-decoration: none;
      font-weight: 600;
      transition: color 0.3s ease;
   }

   .auth-footer p a:hover {
      color: #fff;
   }

   /* Link navigasi tambahan */
   .auth-footer .footer-link {
      margin-top: 6px;
      padding: 0;
      list-style: none;
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
   }

   .auth-footer .footer-link li {
      display: inline;
   }

   .auth-footer .footer-link a {
      color: #f1f1f1;
      font-size: 0.78rem;
      text-decoration: none;
      transition: color 0.3s ease, transform 0.2s;
   }

   .auth-footer .footer-link a:hover {
      color: #ffd700;
      transform: translateY(-2px);
   }
}