/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* LAYOUT */
.auth-container {
  display: flex;
  height: 100vh;
}

/* LEFT SIDE */
.auth-left {
  flex: 1;
  background: linear-gradient(135deg, #1a73e8, #4facfe);
  color: white;
  position: relative;
}

.overlay {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 60px;
}

.brand h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.brand p {
  margin-bottom: 20px;
  font-size: 16px;
  opacity: 0.9;
}

.brand ul {
  list-style: none;
}

.brand ul li {
  margin-bottom: 10px;
}

/* RIGHT SIDE */
.auth-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f9fa;
}

/* CARD */
.login-card {
  width: 350px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  animation: fadeIn 0.6s ease;
}

/* LOGO */
.logo img {
  width: 45px;
  margin-bottom: 20px;
}

/* TEXT */
h2 {
  margin-bottom: 5px;
}

.subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

/* INPUT */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 15px;
}

.input-group label {
  position: absolute;
  left: 5px;
  top: 10px;
  color: #999;
  transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
  top: -10px;
  font-size: 12px;
  color: #1a73e8;
}

.input-group input:focus {
  border-bottom: 2px solid #1a73e8;
}

/* OPTIONS */
.options {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 25px;
}

.options a {
  text-decoration: none;
  color: #1a73e8;
}

/* BUTTON */
.btn-login {
  width: 100%;
  padding: 10px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #1669c1;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .auth-left {
    display: none;
  }

  .auth-right {
    flex: 1;
  }
}

.row {
    display: flex !important;
    flex-wrap: wrap !important;
}

select {
    font-family: monospace;
}


/* Fix tinggi select2 agar sama dengan form-control */
.select2-container--default .select2-selection--single {
    height: 38px !important;
    display: flex !important;
    align-items: center !important; /* 🔥 ini bikin text center vertikal */
    padding-left: 10px;
}

/* Text di dalam select */
.select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
}

/* Panah dropdown */
.select2-selection__arrow {
    height: 38px !important;
}

/* Dropdown item biar rapi */
.select2-results__option {
    padding: 8px 12px;
}

.select2-container--default .select2-selection--single {
     font-family: monospace;
    border-radius: 6px;
    border: 1px solid #ced4da;
}


/* === FIX SUBMENU TEXT WRAP === */
.nav-sidebar .nav-treeview {
    padding-left: 0 !important;
}

.nav-sidebar .nav-treeview .nav-link {
    display: flex !important;
    align-items: flex-start !important;
}

/* biar text bisa turun */
.nav-sidebar .nav-treeview .nav-link p {
    white-space: normal !important;
    line-height: 1.2;
    margin: 0;
}

/* 🔥 INI KUNCI UTAMA: hilangkan indent bawaan */
.nav-sidebar .nav-treeview .nav-link p {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* opsional: rapihin icon supaya tidak ikut turun */
.nav-sidebar .nav-treeview .nav-icon {
    font-size: 10px !important;
    margin-top: 3px;
}
/* ==> END OF FIX SUBMENU TEXT WRAP === */
/* MATIKAN SEMUA ANIMASI */
* {
    animation: none !important;
    transition: none !important;
}

/* khusus adminlte */
.content-wrapper,
.main-sidebar,
.navbar {
    transition: none !important;
}

/* hilangkan efek fade */
.fade {
    opacity: 1 !important;
    transition: none !important;
}
 
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa; /* abu lembut */
}

.table-striped tbody tr:hover {
    background-color: #e9ecef; /* hover effect */
}

.table td, .table th {
    vertical-align: middle;
}

.text-right {
    font-family: monospace;
}

/* ===> End of: MATIKAN SEMUA ANIMASI */
/* CSS untuk form login */
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Background */
body {
  background: #f1f3f4;
}

/* Container */
.container {
  display: flex;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

/* Card */
.login-box {
  background: #fff;
  padding: 40px;
  width: 360px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
}

/* Logo */
.logo img {
  width: 50px;
  margin-bottom: 20px;
}

/* Title */
h2 {
  font-weight: 500;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 14px;
  color: #5f6368;
  margin-bottom: 30px;
}

/* Input */
.input-group {
  position: relative;
  margin-bottom: 25px;
}

.input-group input {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: 1px solid #ccc;
  outline: none;
  font-size: 16px;
}

.input-group label {
  position: absolute;
  left: 5px;
  top: 10px;
  color: #999;
  font-size: 14px;
  transition: 0.3s;
}

/* Focus effect */
.input-group input:focus + label,
.input-group input:valid + label {
  top: -10px;
  font-size: 12px;
  color: #1a73e8;
}

.input-group input:focus {
  border-bottom: 2px solid #1a73e8;
}

/* Options */
.options {
  text-align: left;
  font-size: 13px;
  margin-bottom: 25px;
  color: #555;
}

/* Button */
.btn-login {
  width: 100%;
  padding: 10px;
  background: #1a73e8;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-login:hover {
  background: #1669c1;
}