/**
 * @Author: Rahmatullah Ade <user>
 * @Date:   2025-12-22T10:46:36+07:00
 * @Email:  rahmatamat0212@gmail.com
 * @Filename: login-member.css
 * @Last modified by:   user
 * @Last modified time: 2025-12-22T11:08:52+07:00
 */
 
/* =========================
   PAGE CENTER
   ========================= */
.page-member-area .login-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* =========================
   LOGIN CARD
   ========================= */
.page-member-area .login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 36px 32px;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0,0,0,.3);
}

/* =========================
   HEADER AREA
   ========================= */
.login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.login-logo img {
  max-width: 120px;
}

.tagline {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.login-subtitle {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 28px;
}

/* ===============================
   FIX FORM DI TENGAH
   =============================== */

/* Form jadi container tengah */
.login-card .login-form {
  max-width: 340px;       /* lebar ideal */
  margin: 0 auto;         /* CENTER */
  text-align: left;       /* label & input rapi */
}

/* Label */
.login-card .fieldLabel {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 14px;
}

/* Input */
.login-card .form-control {
  width: 100%;
  height: 44px;
  border-radius: 8px;
  padding: 0 12px;
}

/* Button */
.login-card .memberButton {
  margin-top: 20px;
  width: 100%;
  height: 44px;
  font-size: 16px;
  border-radius: 8px;
}

/* Login extra */
.login-card .login-extra {
  margin-top: 20px;
  text-align: center;
}

/* Responsive HP */
@media (max-width: 480px) {
  .login-card .login-form {
    max-width: 100%;
  }
}

/* =========================
   LOGIN EXTRA
   ========================= */
.login-extra {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
}

.login-extra-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.btn-register {
  background: #7c5cff;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

.btn-register:hover {
  background: #6848e6;
}

/* =========================
   MOBILE
   ========================= */
@media (max-width: 480px) {
  .login-card {
    margin: 16px;
    padding: 28px 22px;
  }

  .login-form {
    max-width: 100%;
  }

  .login-extra-bottom {
    flex-direction: column;
  }
}

/* ===============================
   PASSWORD TOGGLE
   =============================== */

/* Wrapper password */
.password-wrapper {
  position: relative;
}

/* Icon mata */
.toggle-password {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  font-size: 16px;
}

.toggle-password:hover {
  color: #000;
}

/* ===============================
   LOGIN LOGOS (3 LOGO)
   =============================== */

.login-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.login-logos img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* Mobile: logo lebih kecil */
@media (max-width: 480px) {
  .login-logos img {
    max-height: 36px;
  }
}

/* =====================================
   HIDE FOOTER ONLY ON LOGIN PAGE
   ===================================== */

body .login-only ~ footer,
body .login-only ~ .footer,
body .login-only ~ #footer,
body .login-only ~ .footer-wrapper,
body .login-only ~ .bg-kreasi-footer {
  display: none !important;
}

/* Kembali ke Home */

.btn-home {
  display: inline-block;
  padding: 10px 16px;
  background-color: #0042cf;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}

.btn-home:hover {
  background-color: #0042cf;
  color: #ffffff;
}
