* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background-color: #ffffff;
}

.main-container {
  min-height: 100vh;
  display: flex;
}

/* Left Panel - Branding */
.left-panel {
  flex: 1;
  background: linear-gradient(135deg, #02002e 0%, #12366f 50%, #1c1c9b 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px;
  overflow: hidden;
}


.left-panel::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("../images/sapolman.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100%;

  opacity: 100%;
  z-index: 1;
  pointer-events: none;
}


.left-panel>* {
  position: relative;
  z-index: 2;
}


.logo {
  position: absolute;
  top: 40px;
  left: 60px;
  width: 50px;
  height: 50px;
  background-color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: #4F46E5;
  z-index: 10;
}

.quote-section {
  position: relative;
  z-index: 10;
}

.quote-text {
  font-size: 42px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 40px;
  text-wrap: balance;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgb(255, 255, 255);
}

.logo_my {
  width: 206px;
  height: 66px;
  margin-bottom: 40px;
}

.logo_institution {
  width: 95px;
  height: 30px;
  margin-bottom: 40px;
}

.logo_blu {
  width: 30px;
  height: 30px;
  margin-bottom: 40px;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.author-title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Right Panel - Login Form */
.right-panel {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  position: relative;
  background-image: url('images/bg.png');
  background-size: cover;
}

.signup-link {
  position: absolute;
  top: 40px;
  right: 80px;
  font-size: 14px;
  color: #6b7280;
}

.signup-link a {
  color: #6b7280;
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
}

.signup-link a:hover {
  text-decoration: none;
}

.form-container {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 52px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  background-color: #f9fafb;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #141C8F;
  box-shadow: 0 0 0 3px rgba(20, 28, 143, 0.1);
  background-color: #ffffff;
}

.form-control::placeholder {
  color: #9ca3af;
}

.password-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  font-size: 18px;
}

.password-toggle:hover {
  color: #6b7280;
}

.forgot-password {
  text-align: right;
  margin-bottom: 24px;
}

.forgot-password a {
  font-size: 13px;
  color: #6b7280;
  text-decoration: none;
}

.forgot-password a:hover {
  color: #4b5563;
}

.btn-signin {
  width: 100%;
  height: 52px;
  background-color: #141C8F;
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom:24px;
   /* ✨ modern shadow */
  box-shadow: 
    0 8px 24px rgba(20, 28, 143, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-signin:hover {
  background-color: #0f1570;
  transform: translateY(-1px);
}

.btn-signin:active {
  transform: translateY(0);
}

.divider {
  display: flex;
  align-items: center;
  margin: 10px 0;
  gap: 16px;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: #e5e7eb;
}

.divider-text {
  font-size: 13px;
  color: #9ca3af;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  border-radius: 9px;
  border: none;
  cursor: pointer;

  font-size: 12px;
  color: #ffffff;
  transition: all 0.2s ease;
  margin: 10px;
  padding: 10px 16px;
  margin-bottom:30px;
}

.social-btn a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
}

.social-btn a:hover {
  text-decoration: none;
}

.social-btn .icon {
  font-size: 7px;
  line-height: 1;
}

.icon {
  color: #dbdbdb;
  cursor: pointer;
}

.hover-scale:hover {
  transform: scale(1.2);
  transition: 0.3s ease;
}


.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  
}

.social-btn.google {
  background-color: #ea4335;
}

.social-btn.panduan {
  background-color: #141C8F;
}

.social-btn.linkedin {
  background-color: #0a66c2;
}

.footer-text {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
  margin-top: 20px;
}

.footer-text a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: none;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 992px) {
  .left-panel {
    display: none;
  }

  .right-panel {
    padding: 40px 24px;
  }

  .signup-link {
    position: static;
    text-align: center;
    margin-bottom: 40px;
  }

  .form-container {
    max-width: 100%;
  }

  .footer-text {
    position: static;
    margin-top: 5px;
  }
}

@media (max-width: 576px) {
  .form-title {
    font-size: 24px;
  }

  .social-btn {
    width: auto;
    height: auto;
  }
}

/* Animation Keyframes */
@keyframes slideInDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Base Animation Settings */
.quote-text,
.author-info,
.signup-link,
.logo_my,
.logo_institution,
.logo_blu,
.form-group,
.forgot-password,
.btn-signin,
.divider,
.social-buttons,
.footer-text {
  animation: slideInDown 0.8s ease-out forwards;
  opacity: 0;
}

/* Staggered Delays - Left Panel */
.quote-text {
  animation-delay: 0.2s;
}

.author-info {
  animation-delay: 0.4s;
}

/* Staggered Delays - Right Panel */
.signup-link {
  animation-delay: 0.2s;
}

.logo_my {
  animation-delay: 0.4s;
}

.logo_institution {
  animation-delay: 0.4s;
}

.logo_blu {
  animation-delay: 0.4s;
}

.form-group:nth-of-type(1) {
  animation-delay: 0.6s;
}

.form-group:nth-of-type(2) {
  animation-delay: 0.8s;
}

.forgot-password {
  animation-delay: 1.0s;
}

.btn-signin {
  animation-delay: 1.2s;
}

.divider {
  animation-delay: 1.4s;
}

.social-buttons {
  animation-delay: 1.6s;
}

.footer-text {
  animation-delay: 1.8s;
}