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

html, body {
  height: 100%;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
  background: #f5f5f5;
  color: #333;
}

/* ===== HEADER ===== */
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 620px;
  margin: 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bni-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bni-text {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: -0.5px;
}

.bni-b {
  color: #f47920;
  font-style: italic;
}

.bni-direct {
  color: #009688;
  font-style: italic;
}

.bni-cash {
  font-size: 10px;
  color: #888;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 2px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
}

.flag-icon {
  width: 20px;
  border-radius: 2px;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  max-width: 620px;
  margin: 0;
  padding: 20px 20px 10px;
}

.login-container {
  width: 100%;
}

/* ===== SECURITY BOX ===== */
.security-box {
  background: #00897b;
  color: #fff;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.security-title {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.security-list {
  padding-left: 18px;
  font-size: 12.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.security-list li {
  margin-bottom: 4px;
}

.security-list a {
  color: #ffe082;
  text-decoration: none;
}

.security-url-box {
  background: #00796b;
  border-radius: 6px;
  padding: 10px 14px;
  text-align: center;
}

.security-url-label {
  font-size: 12px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.security-url-value {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

/* ===== LOGIN FORM ===== */
.login-form-box {
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 10px;
}

.form-input {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 11px 14px;
  font-size: 13.5px;
  color: #555;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
}

.form-input:focus {
  border-color: #009688;
}

.form-input::placeholder {
  color: #aaa;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .form-input {
  padding-right: 40px;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  font-size: 15px;
}

.eye-icon:hover {
  color: #009688;
}

.form-buttons {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  margin-bottom: 12px;
}

.btn-masuk {
  background: #f47920;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-masuk:hover {
  background: #e06b10;
}

.btn-hapus {
  background: #009688;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 32px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-hapus:hover {
  background: #00796b;
}

.save-password-hint {
  font-size: 12px;
  color: #777;
  padding: 4px 0;
}

/* ===== BELOW FORM ===== */
.below-form {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
  padding: 8px 0;
}

.lupa-link {
  color: #f47920;
  font-size: 13px;
  font-weight: bold;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.lupa-link:hover {
  text-decoration: underline;
}

.lupa-desc {
  font-size: 11.5px;
  color: #777;
  line-height: 1.5;
}

.syarat-link {
  color: #009688;
  text-decoration: none;
}

.syarat-link:hover {
  text-decoration: underline;
}

.digicert-badge {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 8px 14px;
  min-width: 110px;
}

.digicert-label {
  font-size: 10px;
  color: #999;
  margin-bottom: 5px;
}

.digicert-icon {
  color: #f47920;
  font-size: 20px;
  margin-right: 4px;
}

.digicert-text {
  font-size: 14px;
  font-weight: bold;
  color: #0066cc;
  letter-spacing: 0.5px;
}

/* ===== BANTUAN ===== */
.bantuan-box {
  background: #009688;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 0;
}

.bantuan-title {
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.bantuan-links {
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #fff;
  margin-bottom: 30px;
}

.bantuan-link {
  display: block;
  padding: 11px 18px;
  color: #555;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
}

.bantuan-link:last-child {
  border-bottom: none;
}

.bantuan-link:hover {
  background: #f0faf9;
  color: #009688;
}

/* ===== SERVICE ACTION TEAM ===== */
.sat-section {
  max-width: 620px;
  margin: 0;
  padding: 0 20px 20px;
}

.sat-box {
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.sat-title {
  font-weight: bold;
  font-size: 13px;
  color: #444;
  line-height: 1.6;
  min-width: 90px;
  border-right: 2px solid #ddd;
  padding-right: 20px;
}

.sat-contacts {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sat-contact-item {
  font-size: 13px;
  color: #555;
}

.sat-contact-item i {
  color: #009688;
  width: 18px;
}

/* ===== CAROUSEL ===== */
.carousel-section {
  max-width: 620px;
  margin: 0 0 30px;
  padding: 0 20px;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  display: flex;
  align-items: center;
  background: #eee;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 120px;
  border-radius: 8px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.slide-1 {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
}

.slide-2 {
  background: linear-gradient(135deg, #00897b, #004d40);
}

.slide-3 {
  background: linear-gradient(135deg, #f57c00, #e65100);
}

.bni-mini-logo {
  font-size: 12px;
  font-weight: bold;
  opacity: 0.9;
  margin-bottom: 6px;
  display: block;
}

.slide-content p {
  font-size: 13.5px;
  font-weight: bold;
  line-height: 1.5;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.55);
}

.prev-btn { left: 8px; }
.next-btn { right: 8px; }

.carousel-dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  margin: 0 3px;
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #009688;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  border-top: 1px solid #e0e0e0;
  padding: 28px 20px 22px;
}

.footer-inner {
  max-width: 620px;
  margin: 0;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 120px;
}

.footer-brand {
  min-width: 80px;
  flex: 0 0 auto;
}

.footer-bni-logo {
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-bni-icon {
  color: #f47920;
  font-size: 22px;
}

.footer-bni-word {
  color: #f47920;
  font-size: 22px;
  font-weight: bold;
}

.footer-col-title {
  font-weight: bold;
  font-size: 12.5px;
  color: #333;
  margin-bottom: 8px;
}

.footer-col-content {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.footer-col-content i {
  width: 16px;
  color: #009688;
}

.footer-link {
  color: #009688;
  text-decoration: none;
  font-size: 12px;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ===== BOTTOM BAR ===== */
.bottom-bar {
  background: #009688;
  color: #fff;
  font-size: 13px;
  padding: 10px 20px;
  text-align: center;
}

.bottom-bar marquee {
  max-width: 620px;
  margin: 0;
}
