body, html {
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100%;
        font-family: 'Source Sans Pro', sans-serif;
        
        /* Menggunakan background bg.jpg dengan efek blur terang */
        background: url('../../images/bg.jpg') no-repeat center center fixed;
        background-size: cover;
        
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: auto;
        position: relative;
      }

      /* Lapisan Blur & Overlay Terang di atas bg.jpg */
      body::before {
        content: "";
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 1;
      }

      /* Container Utama - Floating Card Modern */
      .login-wrapper {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: row;
        width: 1250px;
        height: 620px;
        background: #ffffff;
        border-radius: 24px;
        /* box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); */
        box-shadow: 0 10px 13px rgba(0, 0, 0, 0.35), 0 -4px 15px rgba(0, 0, 0, 0.15);
        overflow: visible; /* Diubah agar efek blur garis batas bisa keluar dengan mulus */
        margin: 20px;
      }

      /* Neon / Glow Divider di antara panel hijau dan form putih */
      .login-wrapper::before {
        content: "";
        position: absolute;
        top: 0%;
        bottom: 0%;
        left: 65%;
        width: 2px;
        transform: translateX(-50%);
        border-radius: 999px;
        pointer-events: none;
        z-index: 30;

        /* Garis inti putih-cyan dengan gradasi transparan di ujung */
        background: linear-gradient(
          to bottom,
          rgba(91, 255, 190, 0) 0%,
          rgba(91, 255, 190, 0.75) 12%,
          rgba(255, 255, 255, 1) 35%,
          rgba(91, 255, 220, 1) 50%,
          rgba(255, 255, 255, 1) 65%,
          rgba(91, 255, 190, 0.75) 88%,
          rgba(91, 255, 190, 0) 100%
        );

        box-shadow:
          0 0 4px rgba(255, 255, 255, 0.95),
          0 0 9px rgba(77, 255, 190, 0.95),
          0 0 18px rgba(32, 220, 145, 0.75),
          0 0 30px rgba(32, 220, 145, 0.35);
      }

      /* Halo lembut di kedua sisi garis agar transisi tidak terlihat kaku */
      .login-wrapper::after {
        content: "";
        position: absolute;
        top: 5%;
        bottom: 5%;
        left: 65%;
        width: 34px;
        transform: translateX(-50%);
        border-radius: 50%;
        pointer-events: none;
        z-index: 29;
        background: linear-gradient(
          to right,
          rgba(32, 220, 145, 0),
          rgba(32, 220, 145, 0.16),
          rgba(255, 255, 255, 0.22),
          rgba(32, 220, 145, 0.16),
          rgba(32, 220, 145, 0)
        );
        filter: blur(8px);
      }

      /* Bagian Kiri - Area Slider (65% proporsi) dengan Gradasi Hijau Profesional */
      .slide-panel {
        flex: 0 0 65%;
        width: 65%;
        position: relative;
        background: 
          radial-gradient(circle at 20% 30%, rgba(52, 152, 219, 0.08) 0%, transparent 40%),
          radial-gradient(circle at 80% 70%, rgba(46, 204, 113, 0.15) 0%, transparent 50%),
          linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%, rgba(255,255,255,0.04)),
          linear-gradient(45deg, rgba(255,255,255,0.04) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.04) 75%, rgba(255,255,255,0.04)),
          linear-gradient(135deg, #145a32 0%, #196f3d 50%, #229954 100%);
        background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px, 100% 100%;
        background-position: 0 0, 30px 30px, 0 0, 10px 10px, 0 0;
        
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 25px 30px;
        box-sizing: border-box;
        border-top-left-radius: 24px;
        border-bottom-left-radius: 24px;
      }

      /* Header di Panel Slide dengan Motif Batik Elegan & Gradasi Hijau Terang yang Profesional */
      .slide-header {
        text-align: center;
        z-index: 5;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 22px 20px;
        border-radius: 14px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
      }
      
      .slide-header .slide-title-main {
        font-size: 26px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: 0.8px;
        display: block;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(0,0,0,0.4);
      }
      .slide-header .slide-title-sub {
        font-size: 15px;
        font-weight: 500;
        color: #d4efdf;
        display: block;
        margin-top: 4px;
        letter-spacing: 0.5px;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
      }

      /* Wrapper Carousel dengan Shadow Atas & Bawah */
      .carousel-wrapper {
        position: relative;
        width: 100%;
        height: 380px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 -4px 15px rgba(0, 0, 0, 0.15);
      }

      /* Footer di Panel Slide (Rata Tengah) */
      .slide-footer {
        text-align: center;
        z-index: 5;
        font-size: 11px;
        color: #a3e4d7;
        letter-spacing: 0.3px;
      }

      /* Bagian Kanan - Form Login (35% proporsi) */
      .form-panel {
        flex: 0 0 35%;
        width: 35%;
        background-color: #ffffff;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 25px 35px;
        position: relative;
        box-sizing: border-box;
        border-top-right-radius: 24px;
        border-bottom-right-radius: 24px;
      }

      /* Styling Header Form Kanan (Logo di atas, Teks di bawah, Rata Tengah) */
      .login-logo {
        text-align: center;
        border-bottom: 1px solid #edf2f7;
        padding-bottom: 10px;
      }
      .login-logo img.brand-logo {
        height: 65px;
        width: auto;
        display: block;
        margin: 0 auto 6px auto;
        object-fit: contain;
      }
      .login-logo a {
        color: #2c3e50 !important; 
        text-shadow: none;
        line-height: 1.2;
        display: block;
        text-decoration: none !important;
      }
      .login-logo .title-main {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.5px;
        display: block;
        color: #1a202c;
      }
      .login-logo .title-sub {
        font-size: 12px;
        font-weight: 600;
        color: #208754; 
        display: block;
        margin-top: 2px;
      }

      /* Container Isian Form di Tengah-tengah secara vertikal */
      .form-content-center {
        width: 100%;
        margin-top: -120px;
      }

      /* Form Elements */
      .login-box-msg {
        font-size: 14px;
        font-weight: 600;
        color: #4a5568;
        padding: 0 0 6px 0 !important;
        margin-bottom: 10px;
        text-align: center;
      }

      .form-group.has-feedback { margin-bottom: 10px; }
      .form-control {
        height: 40px;
        border-radius: 10px !important;
        border: 1.5px solid #e2e8f0;
        box-shadow: none !important;
        padding-left: 18px;
        padding-right: 42px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: #f8fafc;
      }
      .form-control:focus {
        border-color: #208754;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(32, 135, 84, 0.1) !important;
      }
      .form-control-feedback {
        height: 40px;
        line-height: 40px !important;
        width: 42px;
        color: #a0aec0;
        font-size: 15px;
      }

      /* Button Styling Modern */
      .btn-custom-login {
        height: 40px;
        border-radius: 10px !important;
        background: linear-gradient(135deg, #208754 0%, #145c38 100%);
        border: none;
        font-weight: 600;
        font-size: 15px;
        letter-spacing: 0.5px;
        color: #ffffff;
        box-shadow: 0 6px 12px rgba(32, 135, 84, 0.25);
        transition: all 0.3s ease;
        margin-top: 4px;
      }
      .btn-custom-login:hover, .btn-custom-login:focus {
        background: linear-gradient(135deg, #259c61 0%, #0f522d 100%);
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(32, 135, 84, 0.3);
      }

      /* Link Lupa Password */
      .forgot-link-wrapper {
        text-align: center;
        margin-top: 6px;
        margin-bottom: 6px;
      }
      .forgot-link-wrapper a {
        color: #718096;
        font-size: 13px;
        font-weight: 500;
        transition: color 0.2s ease;
        text-decoration: none;
      }
      .forgot-link-wrapper a:hover {
        color: #208754;
        text-decoration: underline;
      }

      /* Area Bawah / Footer (Rata Tengah) */
      .footer-area {
        border-top: 1px solid #edf2f7;
        padding-top: 8px;
        text-align: center;
      }
      
      .login-footer-logos {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-bottom: 4px;
      }
      .login-footer-logos img {
        height: 26px;
        border-radius: 6px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        border: 1px solid #edf2f7;
        background: #ffffff;
        padding: 2px;
      }

      .login-copyright {
        text-align: center;
        color: #a0aec0;
        font-size: 11px;
      }

      /* Penyesuaian Carousel agar gambar pas sepenuhnya dengan height & width slide */
      .carousel, .carousel-inner, .carousel-inner .item {
        height: 100%;
        width: 100%;
        border-radius: 16px;
      }
      .carousel-inner .item {
        background-size: 100% 100%;
        background-position: center;
        background-repeat: no-repeat;
      }
      
      /* Gradient Overlay untuk teks slide dengan sudut rounded */
      .carousel-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(to top, rgba(10, 47, 27, 0.95) 0%, rgba(0,0,0,0) 70%);
        border-radius: 16px;
      }
      
      .carousel-caption {
        bottom: 8%;
        text-align: left;
        padding-left: 25px;
        padding-right: 25px;
        z-index: 5;
      }
      .carousel-caption h2 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 4px;
        text-shadow: 0 2px 5px rgba(0,0,0,0.5);
      }
      .carousel-caption p {
        font-size: 13px;
        font-weight: 400;
        opacity: 0.9;
        text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        margin-bottom: 0;
      }

      /* Responsive tablet dan mobile */
      @media (max-width: 768px) {
        html, body {
          width: 100%;
          height: auto;
          min-height: 100%;
          margin: 0;
        }

        body {
          display: block;
          padding: 14px;
          overflow-x: hidden;
          overflow-y: auto;
          background-attachment: scroll;
        }

        body::before {
          position: fixed;
          inset: 0;
        }

        .login-wrapper {
          display: flex;
          flex-direction: column;
          width: 100%;
          max-width: 520px;
          height: auto;
          min-height: 0;
          margin: 14px auto;
          overflow: hidden;
          border-radius: 20px;
        }

        /* Form login ditampilkan lebih dahulu, di atas panel slider */
        .form-panel {
          order: 1;
          flex: 0 0 auto;
          width: 100%;
          min-width: 0;
          padding: 24px 22px 18px;
          gap: 20px;
          justify-content: flex-start;
          border-radius: 20px 20px 0 0;
        }

        .slide-panel {
          order: 2;
          flex: 0 0 auto;
          width: 100%;
          height: auto;
          min-height: 0;
          padding: 18px;
          gap: 16px;
          border-radius: 0 0 20px 20px;
        }

        /* Divider desktop tidak diperlukan ketika panel tersusun vertikal */
        .login-wrapper::before,
        .login-wrapper::after {
          display: none;
        }

        .login-logo {
          padding-bottom: 14px;
          text-align: center;
        }

        .login-logo img.brand-logo {
          height: 58px;
        }

        .form-content-center {
          width: 100%;
          margin-top: 0;
        }

        .login-box-msg {
          margin-bottom: 14px;
          text-align: center;
        }

        .form-group.has-feedback {
          margin-bottom: 12px;
        }

        .form-control,
        .btn-custom-login {
          height: 44px;
        }

        .form-control-feedback {
          height: 44px;
          line-height: 44px !important;
        }

        .forgot-link-wrapper {
          margin-top: 10px;
          margin-bottom: 0;
          text-align: center;
        }

        .footer-area {
          width: 100%;
          margin-top: 2px;
          padding-top: 12px;
          text-align: center;
        }

        .login-copyright {
          text-align: center;
          line-height: 1.5;
        }

        .slide-header {
          padding: 16px 14px;
        }

        .slide-header .slide-title-main {
          font-size: 20px;
          line-height: 1.25;
        }

        .slide-header .slide-title-sub {
          font-size: 12px;
        }

        .carousel-wrapper {
          width: 100%;
          height: clamp(190px, 52vw, 270px);
          min-height: 190px;
        }

        .carousel,
        .carousel-inner,
        .carousel-inner .item {
          height: 100%;
          width: 100%;
        }

        .carousel-caption {
          right: 8%;
          left: 8%;
          bottom: 7%;
          padding: 0 8px;
        }

        .carousel-caption h2 {
          font-size: 17px;
          line-height: 1.25;
        }

        .carousel-caption p {
          font-size: 11px;
          line-height: 1.4;
        }

        .slide-footer {
          font-size: 10px;
          line-height: 1.4;
        }
      }

      /* Optimasi tambahan untuk HP dengan lebar sangat kecil */
      @media (max-width: 380px) {
        body {
          padding: 8px;
        }

        .login-wrapper {
          margin: 8px auto;
          border-radius: 16px;
        }

        .form-panel {
          padding: 20px 16px 16px;
        }

        .slide-panel {
          padding: 14px;
        }

        .slide-header .slide-title-main {
          font-size: 17px;
        }

        .carousel-wrapper {
          height: 190px;
          min-height: 190px;
        }

        .carousel-caption h2 {
          font-size: 15px;
        }
      }