* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body, html {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

/* Slideshow full background */
.background-slider {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.slides {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.8s ease-in-out;
}

.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Login overlay box */
.login-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  position: relative;
  z-index: 1;
}

.login-box {
  width: 100%;
  max-width: 360px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.9); /* transparan putih */
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  text-align: center;
}

.login-box h2 {
  margin-bottom: 10px;
  color: #1877f2;
}

.login-box p {
  margin-bottom: 20px;
  color: #555;
}

.alert {
  background-color: #f8d7da;
  padding: 10px;
  color: #721c24;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 14px;
}

.input-group {
  position: relative;
  margin-bottom: 15px;
}

.input-group input,
.input-group select {
  width: 100%;
  padding: 10px 40px 10px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.input-group .icon {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #aaa;
}

.remember {
  margin-bottom: 15px;
  font-size: 14px;
}

.btn-login {
  width: 100%;
  padding: 10px;
  background-color: #1877f2;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.btn-login:hover {
  background-color: #155dc0;
}
