/* ===================================
   LOGIN PAGE STYLES - CLEAN VERSION
   =================================== */

/* Reset untuk halaman login */
body.login-page {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Container utama split layout */
.login-split-container {
  display: flex;
  height: 100vh;
  width: 100%;
}

/* Sisi Kiri - Form Login */
.login-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%);
  position: relative;
  overflow-y: auto;
}

.login-content {
  width: 100%;
  max-width: 450px;
  z-index: 10;
}

/* Logo Section */
.login-logo-section {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo {
  width: 240px;
  height: auto;
  margin-bottom: 20px;
  animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-title {
  font-size: 42px;
  font-weight: 700;
  color: #0066cc;
  margin: 0 0 8px 0;
  animation: fadeIn 0.8s ease 0.2s both;
}

.login-subtitle {
  font-size: 18px;
  color: #64748b;
  margin: 0;
  animation: fadeIn 0.8s ease 0.3s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Alert Messages */
.alert {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background: #fee;
  color: #c00;
  border: 1px solid #fcc;
}

.alert-success {
  background: #efe;
  color: #070;
  border: 1px solid #cfc;
}

/* Form Container */
.modern-login-form {
  background: white;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  animation: fadeInUp 0.8s ease 0.4s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-group-modern {
  margin-bottom: 22px;
}

.form-label-modern {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}

.form-label-modern i {
  color: #0066cc;
  width: 18px;
  height: 18px;
}

.form-input-modern {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: #f8fafc;
  color: #1e293b;
  box-sizing: border-box;
}

.form-input-modern:focus {
  outline: none;
  border-color: #0066cc;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-input-modern::placeholder {
  color: #94a3b8;
}

/* Password Wrapper */
.password-input-wrapper-modern {
  position: relative;
}

.password-input-wrapper-modern .form-input-modern {
  padding-right: 45px;
}

.toggle-password-modern {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.2s ease;
}

.toggle-password-modern:hover {
  background: #f1f5f9;
  color: #0066cc;
}

/* Login Button */
.btn-login-modern {
  width: 100%;
  padding: 16px 22px;
  font-size: 18px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-login-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-login-modern:active {
  transform: translateY(0);
}

/* Footer */
.login-footer {
  text-align: center;
  margin-top: 24px;
  animation: fadeIn 1s ease 0.6s both;
}

.login-footer p {
  font-size: 12px;
  color: #94a3b8;
  margin: 0;
}

/* Sisi Kanan - Background Full Image */
.login-right {
  flex: 1;
  position: relative;
  background: url("/images/bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

/* Hide overlay dan content - hanya tampilkan gambar */
.login-bg-overlay {
  display: none;
}

.login-right-content {
  display: none;
  animation: fadeIn 1s ease 0.5s both;
}

.welcome-title {
  display: none;
}

.welcome-text {
  display: none;
}

.welcome-features {
  display: none;
}

.feature-item {
  display: none;
}

.feature-icon {
  display: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .login-right {
    display: none;
  }
}

@media (max-width: 640px) {
  .login-left {
    padding: 24px;
  }

  .modern-login-form {
    padding: 28px 20px;
  }

  .login-logo {
    width: 150px;
  }

  .login-title {
    font-size: 26px;
  }

  .login-subtitle {
    font-size: 13px;
  }
}
