  /* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
}

/* ===== HEADER LOGO saikone ===== */
.header-logo {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 10;
}

.saikone-logo {
  width: auto;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* ===== MAIN CONTAINER ===== */
.container {
  display: flex;
  height: 100vh;
  position: relative;
  margin: 0;
  padding: 0;
}

/* ===== LEFT SIDE - SLIDER===== */
.left-side {
  flex: 0 0 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  z-index: 2;
  height: 100vh;
  overflow: hidden;
}

/* ===== WAVE DECORATION ===== */
.wave-decoration {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  line-height: 0;
  font-size: 0;
}

.wave-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom left;
  margin: 0;
  padding: 0;
  border: 0;
}

.login-container {
  width: 100%;
  max-width: 480px;
  padding: 3rem 2rem 2rem 2rem;
  text-align: center;
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

/* Welcome Section */
.welcome-section {
  margin-bottom: 2rem;
}

.welcome-section h1 {
  font-size: 3rem;
  color: #2c2c2c;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Logo Section */
.logo-section {
  margin-bottom: 1rem;
}

.logo-img {
  max-width: 270px;
  /* max-height: 120px; */
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Login Form */

.form-control {
    padding: 0.9rem 1rem;
    border: 2px solid #2e2e2e;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.08);
}
.login-form {
  margin-bottom: 2.5rem;
  pointer-events: auto;
}

.form-group {
  margin-bottom: 1.2rem;
  pointer-events: auto;
}

.form-group input {
  width: 100%;
  padding: 1.1rem 1rem;
    border: 2px solid #2e2e2e;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #374151;
  text-align: left;
  pointer-events: auto;
}

.form-group input:focus {
  outline: none;
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
  background: white;
}

.form-group input::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

.login-btn {
  width: 100%;
  padding: 1.1rem;
  background: #1e40af;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 1.5rem;
  pointer-events: auto;
}

.login-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.form-links {
  text-align: center;
  margin-bottom: 1rem;
  pointer-events: auto;
}

.password-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
 /* padding: 10px 40px 10px 10px;  right padding for the icon */
  font-size: 16px;
  box-sizing: border-box;
}

.eye-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  color: #888;
}

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


.forgot-password {
  color: #1e40af;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  pointer-events: auto;
}

.forgot-password:hover {
  color: #f59e0b;
  text-decoration: underline;
}

/* Additional Links */
.additional-links {
  border-top: 1px solid #e5e7eb;
  padding-top: 1.5rem;
  text-align: center;
  pointer-events: auto;
}

.additional-links .link {
  display: block;
  color: #1e40af;
  text-decoration: none;
  margin: 0.8rem 0;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
  pointer-events: auto;
}

.additional-links .link:hover {
  color: #f59e0b;
  text-decoration: underline;
}

.info-link {
  color: #6b7280 !important;
  font-weight: 400 !important;
}

.info-link:hover {
  color: #4b5563 !important;
}

/* ===== CUSTOM SEPARATOR ===== */
.separator {
  position: absolute;
  top: 0;
  left: 45%;
  width: auto;
  height: 100vh;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.separator-img {
  width: auto;
  height: 100vh;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
}

/* ===== RIGHT SIDE - LOGIN FORM ===== */
.right-side {

  display: flex;
   flex: 0 0 50%;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 100vh;
 
}

.slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
}

/* ===== KEN BURNS EFFECT - SUBTLE VERSION ===== */
.slide img {
  width: 105%;
  height: 105%;
  object-fit: cover;
  transform-origin: center center;
  position: absolute;
  top: -2.5%;
  left: -2.5%;
}

.slide:nth-child(1) img {
  animation: kenBurnsSubtle1 10s ease-in-out infinite alternate;
}

.slide:nth-child(2) img {
  animation: kenBurnsSubtle2 10s ease-in-out infinite alternate;
}

.slide:nth-child(3) img {
  animation: kenBurnsSubtle3 10s ease-in-out infinite alternate;
}

@keyframes kenBurnsSubtle1 {
  0% {
    transform: scale(1) translate(0, 0);
  }

  100% {
    transform: scale(1.08) translate(-2%, -1%);
  }
}

@keyframes kenBurnsSubtle2 {
  0% {
    transform: scale(1.02) translate(1%, 0);
  }

  100% {
    transform: scale(1.1) translate(-1%, -2%);
  }
}

@keyframes kenBurnsSubtle3 {
  0% {
    transform: scale(1) translate(-1%, 1%);
  }

  100% {
    transform: scale(1.09) translate(2%, -1%);
  }
}

/* Pause animation saat hover untuk better UX */
.slider-container:hover .slide img {
  animation-play-state: paused;
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* CTA Section */
.cta-section {
  position: absolute;
  bottom: 30px;
  right: 100px;
  z-index: 2;
}

.cta-btn {
  background: #1e40af;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cta-btn:hover {
  background: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet dan Mobile - Hide slider completely */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }

  .right-side {
    flex: 1 !important;
    width: 100%;
    min-height: 100vh;
    height: auto;
  }

  .left-side {
    display: none !important;
  }

  .separator {
    display: none !important;
  }
}

/* Tablet specific adjustments */
@media (max-width: 1200) and (min-width: 769px) {
  .login-container {
    max-width: 410px;
    padding: 4rem 3rem 3rem 3rem;
  }

  .welcome-section h1 {
    font-size: 2rem;
  }

  .logo-img {
    max-width: 180px;
  }

  .wave-decoration {
    bottom: -40px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header-logo {
    top: 20px;
    left: 20px;
  }

  .saikone-logo {
    height: 35px;
  }

  .login-container {
    max-width: 100%;
    padding: 2rem 1.5rem 2rem 1.5rem;
  }

  .welcome-section h1 {
    font-size: 1.5rem;
  }

  .logo-img {
    max-width: 200px;
  }

  .wave-decoration {
    bottom: -30px;
  }

  .form-group input {
    padding: 1rem 0.9rem;
    font-size: 0.9rem;
  }

  .login-btn {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

/* Mobile small adjustments */
@media (max-width: 480px) {
  .header-logo {
    top: 15px;
    left: 15px;
  }

  .saikone-logo {
    height: 35px;
  }

  .login-container {
    padding: 1.5rem 1rem 1.5rem 1rem;
  }

  .welcome-section {
    margin-bottom: 1.5rem;
  }

  .welcome-section h1 {
    font-size: 1.3rem;
  }

  .logo-section {
    margin-bottom: 2.5rem;
  }

  .logo-img {
    max-width: 200px;
  }

  .wave-decoration {
    bottom: -20px;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group input {
    padding: 0.9rem 0.8rem;
    font-size: 0.85rem;
  }

  .login-btn {
    padding: 0.9rem;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .additional-links {
    padding-top: 1.2rem;
  }

  .additional-links .link {
    margin: 0.6rem 0;
    font-size: 0.85rem;
  }
}

/* Extra small mobile */
@media (max-width: 360px) {
  .login-container {
    padding: 1rem 0.8rem 1rem 0.8rem;
  }

  .welcome-section h1 {
    font-size: 1.1rem;
  }

  .logo-img {
    max-width: 150px;
  }

  .wave-decoration {
    bottom: -15px;
  }
}