@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

        * { margin: 0; padding: 0; box-sizing: border-box; }

        :root {
            --primary-dark: #141E30;
            --primary-light: #243B55;
        }

        body {
            height: 100vh;
            background: #f6f5f7;
            font-family: 'Poppins', sans-serif;
            display: flex;
            align-items: center;
            justify-content: center;
            background: url('../assets/bg-login1.png') no-repeat center center fixed;
        }

        .container {
            position: relative;
            width: 850px;
            height: 540px;
            background-color: #fff;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border-radius: 13px;
            display: flex;
        }

        .form-container {
            flex: 1;
            padding: 50px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .form-container h1 {
            color: var(--primary-dark);
            margin-bottom: 20px;
        }

        .form-container input {
            margin: 10px 0;
            padding: 12px 15px;
            width: 100%;
            background: #f3f3f3;
            border: none;
            outline: none;
            border-radius: 5px;
        }

        .form-container a {
            font-size: 14px;
            color: #333;
            margin-top: 10px;
            text-decoration: none;
        }

        .form-container button {
            margin-top: 20px;
            padding: 12px 45px;
            border-radius: 20px;
            background: var(--primary-light);
            color: #fff;
            border: none;
            cursor: pointer;
            font-weight: bold;
        }

        .image-container {
            flex: 1;
            background: linear-gradient(to right, var(--primary-dark), var(--primary-light));
            color: white;
            border-top-right-radius: 13px;
            border-bottom-right-radius: 13px;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .image-container h1 {
            margin-bottom: 5px;
            margin-top: 10px;
            font-size: 22px;
        }

        .image-container p {
            font-size: 13px;
            margin-bottom: 20px;
        }

        .image-slider-wrapper {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            padding: 10px;
        }

        .image-slider {
  width: 160px;      /* atau 250px sesuai kebutuhan */
  height: 160px;     /* sama agar kotak */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

        .image-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;     /* agar terisi penuh tapi proporsional */
  border-radius: 10px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

        .image-slider img.active {
  opacity: 1;
  z-index: 1;
}

        .image-slider img[src*="kmenkes"] {
  object-fit: contain;
  transform: scale(1.1);
}

        .image-slider img[src*="puskesmas"] {
  object-fit: contain;
  transform: scale(1.1);
}

        .dots {
            display: flex;
            justify-content: center;
            margin-top: 15px;
            gap: 8px;
        }

        .dot {
            width: 7px;
            height: 7px;
            background-color: #ffffff80;
            border-radius: 50%;
            transition: background-color 0.5s ease;
            cursor: default;
        }

        .dot.active {
            background-color: #fff;
        }

        .error-message {
  color: #e74c3c;
  font-size: 14px;
  margin: 10px 0 20px;
  text-align: center;
  background-color: #ffe6e6;
  padding: 8px 12px;
  border-radius: 6px;
}
