* {
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
body {
  background: linear-gradient(to right, #0860e4, #76bcf5);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  display: flex;
  background: #fff;
  border-radius: 30px;
  overflow: hidden;
  width: 960px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.login-box {
  width: 50%;
  padding: 40px;
}
.logo {
    width: 305px;
    margin: 20px 0px 30px 45px;
}
.subtitle {
  text-transform: uppercase;
  font-size: 12px;
  margin-top: 10px;
}
.multirule {
  background: #555;
  color: #fff;
  font-size: 10px;
  padding: 4px 10px;
  display: inline-block;
  border-radius: 8px;
  margin-top: 5px;
}
.login-title {
  margin: 30px 0 10px;
  font-weight: bold;
  justify-content: center;
  margin-left: 40px;
}
.input-group {
  position: relative;
  margin-bottom: 20px;
}
.input-group input {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.input-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 18px;
}
.toggle-password {
  position: absolute;
  right: 12px;
  top: 12px;
  cursor: pointer;
}
.toggle-password img {
  width: 18px;
}

.button-slide {
  position: relative;
  overflow: hidden;
  background: #006eec;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: color 0.3s ease;
  z-index: 1;
  width: 100%;
}

.button-slide::before {
  content: "";
  position: absolute;
  background: #494949;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s ease;
  z-index: -1;
}

.button-slide:hover::before {
  left: 0;
}

.button-slide:hover {
  color: white;
}

.slider-box {
  width: 50%;
  background: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.slider img {
  display: none;
  width: 100%;
  padding: 15px;

}
.slider img.active {
  display: block;
}
.dots {
  position: absolute;
  bottom: 30px;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #fff;
  margin: 0 4px;
  border-radius: 50%;
  opacity: 0.5;
}
.dot.active {
  opacity: 1;
}
.slide-text {
  color: #fff;
  position: absolute;
  text-align: center;
  padding: 0 20px;
  bottom: 100px;
}
footer {
  position: absolute;
  bottom: 20px;
  font-size: 11px;
  color: #333;
}

/* Modal Profile Setting Styles */
#modalProfileSetting {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.25);
  z-index: 9999;
}

.modal-profile-content {
  background: #fff;
  max-width: 380px;
  margin: 60px auto;
  padding: 32px 24px 24px 24px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.modal-profile-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #ff7e00;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}

.modal-profile-close:hover {
  color: #e56e00;
}

.modal-profile-title {
  text-align: center;
  color: #ff7e00;
  margin-bottom: 24px;
  font-size: 1.4rem;
  font-weight: bold;
}

.profile-input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 16px;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: 1rem;
  background: #f8f9fa;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
}

.profile-input:focus {
  outline: none;
  border-color: #ff7e00;
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.1);
  background: #fff;
}

.profile-input::placeholder {
  color: #9ca3af;
  font-size: 0.95rem;
}

.profile-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #ff7e00 0%, #f56500 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.profile-submit-btn:hover {
  background: linear-gradient(135deg, #e56e00 0%, #d45500 100%);
  transform: translateY(-1px);
}

.profile-submit-btn:active {
  transform: translateY(0);
}

.profile-message {
  margin-top: 16px;
  text-align: center;
  color: #059669;
  font-size: 1rem;
  font-weight: 500;
}

.profile-separator {
  width: 100%;
  height: 1px;
  background: #e5e7eb;
  margin: 24px 0 0 0;
  border: none;
  display: block;
}

#setting-profile-link {
  color: #333;
  font-size: 0.97rem;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 5px;
  transition: color 0.18s, background 0.18s;
  cursor: pointer;
  display: inline-block;
}

#setting-profile-link:hover {
  color: #2563eb;
  background: #f3f6fa;
  text-decoration: none;
}

#setting-profile-link:active {
  color: #2563eb;
  background: #f3f6fa;
  text-decoration: none !important;
}

/* Modern select styling - senada dengan input/button design */
.modern-select {
  width: 100%;
  padding: 12px 40px 12px 40px; /* ruang kiri untuk ikon, kanan untuk panah */
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

/* custom arrow (SVG data URI) - subtle dark blue arrow */
.modern-select {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23006EEC" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"/></svg>');
}

/* Ensure left icon doesn't overlap with text */
.input-group .modern-select {
  padding-left: 40px;
}

/* focus state */
.modern-select:focus {
  outline: none;
  border-color: #006eec;
  box-shadow: 0 0 0 5px rgba(6,110,236,0.08);
  background: linear-gradient(180deg, #ffffff 0%, #eef7ff 100%);
}

/* disabled state */
.modern-select:disabled,
.modern-select[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

/* smaller selects (e.g. perpage) can scale down */
.perpage .modern-select {
  width: auto;
  min-width: 100px;
  padding: 8px 36px 8px 12px;
  font-size: 13px;
}

/* keep date input appearance consistent when shown */
input[type="date"].modern-select {
  padding-left: 12px;
}

/* tweak for select inside top control rows to avoid shrinking */
.filter-row .modern-select {
  min-width: 180px;
}
