@import url('https://fonts.googleapis.com/css2?family=Inter&family=Great+Vibes&display=swap');

body.register-page {
  background-color: white;
}

/* auth.css – styling khusus untuk halaman login & register */

@media screen and (max-width: 400px) {
  .auth-form-box {
    padding: 30px 20px;
  }

  .auth-header h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 400px) {
  .auth-form-box h2 {
    font-size: 24px;
  }

  .auth-form-box button,
  .auth-form-box .social-btn {
    font-size: 14px;
  }

  .auth-form-box input {
    font-size: 14px;
  }
}

.auth-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 25px; /* ganti ini dari margin-top */
  padding-bottom: 100px; /* tidak perlu 180px jika sudah pakai flex */
  font-family: 'Inter', sans-serif;
  padding-left: 20px;
  padding-right: 20px;
}

.auth-header {
  background-color: var(--orange);
  color: white;
  text-align: center;
  padding: 50px 0;
}

.auth-header h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.auth-form-box {
  background-color: white;
  padding: 24px 32px;
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  max-width: 390px;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 60px; 
}

.auth-form-box h2 {
  margin-bottom: 20px;
  color: #333; /* ✅ Tambahkan ini */
}

.auth-form-box input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #333; /* ✅ Tambahkan ini */
}

.auth-form-box label,
.auth-form-box .remember,
.auth-form-box .form-footer,
.auth-form-box .form-footer a {
  color: #555; /* ✅ Tambahkan ini */
  opacity: 1 !important;   /* ✅ jika ada pengaruh opacity */
}

.auth-form-box button {
  width: 100%;
  background-color: var(--orange);
  color: white;
  padding: 12px 0; /* ↓ lebih ramping secara vertikal */
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.auth-form-box button:hover {
  background-color: #e69500;
}

.auth-form-box .divider {
  text-align: center;
  margin: 15px 0;
  position: relative;
  color: black;
}

.auth-form-box .divider::before,
.auth-form-box .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 20px);
  height: 1px;
  background: #ccc;
}

.auth-form-box .divider::before {
  left: 0;
}

.auth-form-box .divider::after {
  right: 0;
}

.auth-form-box .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 12px 0;
  border-radius: 5px;
  margin-bottom: 8px;
  font-size: 14px;
  background-color: white;
  cursor: pointer;
  opacity: 1 !important; /* ✅ Pastikan tidak transparan */
  filter: none !important; /* ✅ Pastikan tidak grayscale */
  color: #333 !important; /* ✅ Pastikan teksnya terlihat */
}

.auth-form-box .social-btn img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.auth-form-box input::placeholder {
  color: #999; /* ✅ Tambahkan */
}

.auth-form-box .form-footer {
  font-size: 0.9rem;
  color: #555;
  text-align: right;
  margin-top: 10px;
}

.auth-form-box .form-footer a {
  color: #555;
  text-decoration: none;
}

.auth-form-box .form-footer a:hover {
  text-decoration: underline;
}

.auth-form-box input,
.auth-form-box button,
.auth-form-box label,
.auth-form-box .social-btn {
  opacity: 1 !important;
  filter: none !important;
}