/* KlikBCA 1:1 match m.klikbca.com */

* { margin:0; padding:0; box-sizing:border-box; }

html, body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  background: #fff;
  color: #111;
  -webkit-text-size-adjust: 100%;
}

#wrapper {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fff;
}

/* ── HEADER ── */
#header {
  background: #3D3DB4;
  border-bottom: 7px solid #F5C400;
  display: flex;
  align-items: center;
  padding: 4px 8px 0 4px;
  gap: 10px;
  min-height: 58px;
}
#header img#logo {
  height: 50px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
#header-date {
  color: #ffffff;
  font-size: 14px;
}

/* ── PAGE TITLE BAR ── */
.page-title {
  background: #3D3DB4;
  color: #ffffff;
  font-size: 15px;
  font-weight: bold;
  padding: 10px 10px;
  text-transform: uppercase;
  width: 100%;
}

/* ── MENU LIST ── */
.menu-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.menu-list li {
  border-bottom: 1.5px solid #3D3DB4;
  margin: 0;
}
.menu-list li a {
  display: block;
  padding: 11px 10px;
  color: #3D3DB4;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  width: 100%;
}
.menu-list li a:hover,
.menu-list li a:active { background: #f0f0ff; }

/* Sub-items */
.menu-list li.sub a {
  padding-left: 26px;
}

/* ── FOOTER NAV ── */
#footer-nav {
  background: #3D3DB4;
  padding: 12px 14px;
  display: flex;
  gap: 20px;
  margin-top: auto;
  width: 100%;
}
#footer-nav a {
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
#footer-nav a:hover { text-decoration: underline; }

/* ── LOGIN PAGE ── */
#content {
  padding: 14px 10px 6px 10px;
}
.login-table { width: 100%; border: none; }
.login-table td { padding: 2px 0; }

.lbl-id {
  display: block;
  font-size: 13px;
  color: #111;
  text-decoration: underline;
  margin-bottom: 1px;
}
.lbl-en {
  display: block;
  font-size: 12px;
  color: #E57C00;
  font-style: italic;
  margin-bottom: 5px;
}
.input-field {
  display: block;
  width: 100%;
  max-width: 380px;
  height: 34px;
  border: 2px solid #111;
  padding: 4px 8px;
  font-size: 14px;
  outline: none;
  background: #fff;
  border-radius: 0;
  margin-bottom: 10px;
}
.input-field:focus { border-color: #3D3DB4; }

.btn-table { width: 100%; max-width: 380px; margin-top: 4px; border: none; }
.btn-table td { vertical-align: middle; }
.td-fullsite { text-align: right; padding-right: 4px; }

.btn-login {
  background: #fff;
  border: 2px solid #111;
  padding: 5px 18px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  color: #111;
}
.btn-login:hover { background: #f2f2f2; }

.link-fullsite {
  color: #3D3DB4;
  font-size: 13px;
  text-decoration: none;
}
.link-fullsite:hover { text-decoration: underline; }

.error-box {
  background: #fff5f5;
  border: 1px solid #ffbbbb;
  color: #cc0000;
  font-size: 13px;
  padding: 7px 10px;
  margin-top: 8px;
  max-width: 380px;
}

/* ── BANNER ── */
#banner-area {
  margin: 10px 10px 0 10px;
  position: relative;
  overflow: hidden;
  background: #3D3DB4;
  line-height: 0;
  min-height: 90px;
}
#banner-slider { position: relative; width: 100%; }

.banner-slide {
  width: 100%;
  display: block;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
  pointer-events: none;
}
.banner-slide:first-child { position: relative; }
.banner-slide.slide-active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

#banner-dots {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}
.dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.dot-active { background: #fff; transform: scale(1.3); }

/* ── TRUST BADGES ── */
#security-row {
  padding: 10px 10px 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
#img-keamanan { height: 50px; width: auto; cursor: pointer; }
#img-digicert  { height: 50px; width: auto; }

/* ── LEGAL ── */
#legal { padding: 0 10px 16px; }
.legal-hr { border: none; border-top: 1px solid #ccc; margin: 6px 0; }
#legal-id { font-size: 12px; line-height: 1.65; color: #111; }
#legal-en { font-size: 12px; line-height: 1.65; color: #E57C00; }
#legal-id a { color: #111; text-decoration: underline; }
#legal-en a  { color: #E57C00; text-decoration: underline; }

#login-footer { background: #3D3DB4; height: 26px; margin-top: auto; }

/* ── FORM PAGES (e-commerce etc) ── */
.form-section { padding: 0; }
.form-row {
  background: #f0f0f0;
  padding: 7px 10px 5px;
  border-bottom: 1px solid #ddd;
}
.form-row label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #3D3DB4;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.form-row select,
.form-row input[type="text"],
.form-row input[type="password"] {
  width: 100%;
  border: 1.5px solid #3D3DB4;
  padding: 6px 8px;
  font-size: 14px;
  background: #fff;
  outline: none;
  border-radius: 0;
  color: #111;
}
.form-row select:focus,
.form-row input:focus { border-color: #111; }

.btn-lanjutkan {
  display: inline-block;
  background: #d0d0d0;
  border: 1.5px solid #888;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: bold;
  color: #3D3DB4;
  cursor: pointer;
  margin: 8px 10px;
}
.btn-lanjutkan:hover { background: #bbb; }

.msg-ok {
  margin: 8px 10px;
  padding: 8px 10px;
  background: #efffef;
  border: 1px solid #99cc99;
  color: #226622;
  font-size: 13px;
}
.msg-err {
  margin: 8px 10px;
  padding: 8px 10px;
  background: #fff0f0;
  border: 1px solid #ffaaaa;
  color: #cc0000;
  font-size: 13px;
}
