/* styles.css */

body {
    margin: 0;
    font-family: 'Inter', sans-serif !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f4f4f4;
    background-image: url('../media/bg/bg-4.jpg') !important; /* Ganti dengan path gambar Anda */
    background-size: cover !important; /* Membuat gambar menutupi seluruh layar */
    background-position: center !important; /* Pusatkan gambar */
    background-repeat: no-repeat !important; /* Jangan ulang gambar */
    background-attachment: fixed !important;  /* Membuat gambar tetap saat menggulir */
    font-family: 'Inter', sans-serif; /* Gunakan font Inter */
  }

  h1 {
    font-family: 'Inter', sans-serif  !important;
  }
  
  p {
    font-family: 'Inter', sans-serif  !important;
    font-style: italic; /* Italic */
  }


  
  .container {
    display: flex;
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    background: white;
  }
  
  .left-panel {
    flex: 1;
    /* background-color: #eef1f5; */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .left-panel .illustration img {
    max-width: 80%;
    height: auto;
  }
  
  .right-panel {
    flex: 1;
    padding: 40px;
    display: flex;
    overflow-y: auto; /* Scroll hanya muncul jika diperlukan */
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  
  .form-container h1 {
    margin: 0;
    font-size: 2rem;
    color: #333;
  }
  
  .form-container p {
    margin: 10px 0;
    color: #666;
  }
  
  .social-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
  }
  
  .social-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    line-height: 30px; /* Vertikal rata tengah teks */
    height: 30px; /* Tinggi tombol lebih kecil */
  }
  
  .social-buttons .google {
    background-color: #4285f4;
    color: white;
  }
  
  .social-buttons .apple {
    background-color: #333;
    color: white;
  }
  
  form {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  form input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    font-size: 1rem;
  }
  
  form button {
    padding: 10px;
    background-color: #183e9f;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
  }
  
  form button:hover {
    background-color: #0b2a79;
  }
  
  a {
    color: #0066ff;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }

  .password-container {
    position: relative;
    width: 100%;
}
.password-input {
    width: 100%;
    padding: 10px;
    font-size: 14px;
}

.email-container {
  position: relative;
  width: 100%;
}
.email-input {
  width: 100%;
  padding: 10px;
  font-size: 14px;
}
.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
  
#kt_login_forgot,#kt_login_signup{
  color: #0b2a79 !important;
}
  /* Responsive styles */
  @media (max-width: 768px) {
    .container {
      flex-direction: column;
      width: 90%;
      height: auto;
    }
  
    .left-panel, .right-panel {
      flex: none;
      width: 100%;
      padding: 20px;
    }
  
    .left-panel {
      display: none; /* Hide the illustration on small screens */
    }
  
    .right-panel {
      padding: 20px;
    }
  
    .form-container h1 {
      font-size: 1.8rem;
    }
    .form-container{
      width:80%;
    }
  }
  .custom-logo {
    max-width: 150px;
    height: auto;
}
  
  @media (max-width: 480px) {
    .form-container h1 {
      font-size: 1.5rem;
    }
  
    form input, form button {
      font-size: 0.9rem;
      padding: 8px;
    }
  
    .social-buttons button {
      font-size: 0.9rem;
      padding: 8px 16px;
    }
  }
  .flex-root {
    flex: 0 !important;
}
/* ===== UI/UX refresh v3: login (profesional, tenang, responsif) ===== */
body { background: radial-gradient(1200px 600px at 10% -10%, #e3ecfb 0%, transparent 60%), radial-gradient(900px 500px at 100% 110%, #fdeedd 0%, transparent 55%), #f6f8fc !important; background-image: radial-gradient(1200px 600px at 10% -10%, #e3ecfb 0%, transparent 60%), radial-gradient(900px 500px at 100% 110%, #fdeedd 0%, transparent 55%) !important; background-attachment: fixed !important; font-family: 'Inter', 'Poppins', sans-serif !important; color: #1f2a44; -webkit-font-smoothing: antialiased; }
p { font-style: normal !important; }
.container { width: min(1080px, 94vw); height: min(680px, 92vh); margin: auto; padding: 0 !important; border-radius: 24px; background: #fff; box-shadow: 0 30px 70px rgba(15,42,107,.16), 0 2px 8px rgba(15,42,107,.06); overflow: hidden; }
.left-panel { flex: 0 0 46%; overflow: hidden; position: relative; display: flex; align-items: stretch; background: #0f2a6b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='540' height='680' viewBox='0 0 540 680'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%230d2562'/%3E%3Cstop offset='.55' stop-color='%23173b97'/%3E%3Cstop offset='1' stop-color='%231f55c9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='540' height='680' fill='url(%23g)'/%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.07'%3E%3Ccircle cx='520' cy='620' r='120'/%3E%3Ccircle cx='520' cy='620' r='190'/%3E%3Ccircle cx='520' cy='620' r='260'/%3E%3Ccircle cx='520' cy='620' r='330'/%3E%3C/g%3E%3Cpath d='M-20 120 C 120 60, 220 190, 380 120 S 520 40, 580 90' fill='none' stroke='%23ff9a4d' stroke-opacity='.35' stroke-width='2'/%3E%3C/svg%3E") center/cover no-repeat; }
.brand-panel { position: relative; z-index: 1; padding: 48px 46px 36px; display: flex; flex-direction: column; justify-content: center; color: #fff; width: 100%; }
.brand-logo { width: 150px; background: #fff; border-radius: 20px; padding: 12px 14px 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 34px; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
.brand-logo img { width: 122px; height: auto; aspect-ratio: 360 / 294; object-fit: cover; object-position: top; display: block; } /* potong baris domain lama di logo */
.brand-panel h2 { font-family: 'Poppins', sans-serif; font-size: 1.85rem; line-height: 1.28; font-weight: 600; color: #fff; margin: 0 0 14px; letter-spacing: -.015em; }
.brand-sub { color: rgba(255,255,255,.8) !important; font-size: 1rem; line-height: 1.6; margin: 0 0 30px; max-width: 340px; }
.brand-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.brand-points li { display: flex; align-items: center; gap: 14px; font-size: .92rem; color: rgba(255,255,255,.94); }
.brand-points i { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; color: #ffb779; font-size: .85rem; flex: none; }
.brand-foot { margin-top: auto; padding-top: 30px; font-size: .8rem; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.right-panel { flex: 1; padding: 48px 60px; display: flex; flex-direction: column; justify-content: center; align-items: stretch; overflow-y: auto; }
.form-container { width: 100%; max-width: 380px; margin: 0 auto; }
.form-container h1 { font-family: 'Poppins', sans-serif !important; font-size: 1.9rem; font-weight: 600; color: #0f2a6b; margin: 0; letter-spacing: -.015em; }
.form-container .form-sub { color: #667089; font-size: .96rem; margin: 8px 0 28px; }
.field-label { display: block; margin: 18px 0 7px; font-size: .8rem; font-weight: 600; color: #3a4560; }
form input { margin: 0 !important; height: 50px; padding: 0 16px !important; border: 1px solid #d5dcea !important; border-radius: 12px !important; background: #fbfcfe; font-size: .96rem; color: #1f2a44; transition: border-color .15s, box-shadow .15s, background .15s; }
form input::placeholder { color: #a0a9bd; }
form input:hover { border-color: #b7c2da !important; }
form input:focus { outline: none; background: #fff; border-color: #183e9f !important; box-shadow: 0 0 0 4px rgba(24,62,159,.12); }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 50px !important; }
.toggle-password { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; background: transparent !important; border: 0 !important; color: #8a94ab !important; padding: 0 !important; cursor: pointer; border-radius: 10px; }
.toggle-password:hover { color: #183e9f !important; }
.toggle-password:focus-visible, .btn-login:focus-visible, #kt_login_forgot:focus-visible { outline: 3px solid rgba(24,62,159,.3); outline-offset: 2px; }
#kt_login_forgot { font-size: .84rem; margin-left: auto; margin-top: 10px; color: #183e9f !important; font-weight: 500; }
.btn-login { margin-top: 14px; height: 52px; padding: 0 !important; font-weight: 600; font-size: 1rem; border-radius: 12px !important; background: linear-gradient(180deg, #2152c4, #183e9f) !important; box-shadow: 0 8px 20px rgba(24,62,159,.3); transition: transform .1s, box-shadow .15s; }
.btn-login:hover { box-shadow: 0 10px 24px rgba(24,62,159,.38); }
.btn-login:active { transform: translateY(1px); }
.secure-note { margin-top: 14px; text-align: center; font-size: .78rem; color: #8a94ab; }
.secure-note i { margin-right: 4px; }
.form-container > p:last-of-type { margin-top: 26px; padding-top: 22px; border-top: 1px solid #eef1f7; text-align: center; color: #667089; font-size: .9rem; }
#kt_login_signup { color: #183e9f !important; font-weight: 600; }
.is-invalid { border-color: #e5484d !important; box-shadow: 0 0 0 4px rgba(229,72,77,.12); }
@media (max-width: 960px) { .left-panel { flex-basis: 42%; } .brand-panel { padding: 36px 30px 28px; } .brand-panel h2 { font-size: 1.45rem; } .brand-sub { font-size: .9rem; } .right-panel { padding: 40px 36px; } }
@media (max-width: 768px) {
  body { display: block; height: auto; min-height: 100vh; background-attachment: scroll !important; }
  .container { flex-direction: column; width: 100%; height: auto; min-height: 100vh; border-radius: 0; box-shadow: none; }
  .left-panel { flex: none; width: 100%; }
  .brand-panel { padding: 22px 22px 24px; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
  .brand-logo { width: 84px; padding: 8px 8px 5px; border-radius: 14px; margin: 0; }
  .brand-logo img { width: 68px; }
  .brand-panel h2 { flex: 1; font-size: 1.08rem; margin: 0; min-width: 150px; line-height: 1.35; }
  .brand-panel h2 br, .brand-sub, .brand-points, .brand-foot { display: none; }
  .right-panel { padding: 30px 22px 40px; justify-content: flex-start; overflow: visible; }
  .form-container { max-width: none; }
  .form-container h1 { font-size: 1.55rem; }
  form input { font-size: 16px !important; }
}
