body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h2, h3 {
  color: #fff;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
  margin-right: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-weight: bold;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.btn-primary {
  background-color: #1e3c72;
  color: white;
  width: 100%;
  padding: 12px;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.error-message {
  color: #ff4d4d;
  margin-top: 10px;
  display: none;
  text-align: center;
}

/* Gaya untuk card */
.card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gaya untuk halaman login */
#login-page .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

#login-page .card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.user-icon {
  background-color: #1e3c72;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user-icon i {
  color: white;
  font-size: 24px;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-options label {
  color: #ccc;
  font-weight: normal;
}

.form-options a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
}

.form-options a:hover {
  text-decoration: underline;
}

/* Gaya untuk navbar */
.navbar {
  background-color: #1e3c72;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.navbar-logo .logo {
  max-height: 40px;
}

.navbar-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.navbar-user span {
  color: white;
  font-weight: bold;
}

.navbar-user i {
  margin-right: 5px;
}

/* Gaya untuk tabel DataTables */
table.dataTable {
  width: 100%;
  margin-top: 20px;
  background-color: transparent;
  color: #fff;
  font-size: 12px; /* Perkecil ukuran teks di tabel */
}

table.dataTable th,
table.dataTable td {
  padding: 6px; /* Kurangi padding untuk membuat tabel lebih kompak */
  text-align: left;
  border: none;
}

table.dataTable thead th {
  background-color: #1e3c72;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 12px; /* Perkecil ukuran teks header */
}

table.dataTable tbody tr {
  background-color: rgba(255, 255, 255, 0.05);
}

table.dataTable tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.1);
}

table.dataTable tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

table.dataTable tbody td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Atur lebar kolom */
table.dataTable th.col-id,
table.dataTable td.col-id {
  width: 40px; /* Kolom ID lebih sempit */
}

table.dataTable th.col-serial,
table.dataTable td.col-serial {
  width: 120px; /* Kolom Serial Number lebih sempit */
  word-wrap: break-word; /* Aktifkan pembungkus teks */
  white-space: normal; /* Izinkan teks membungkus */
}

table.dataTable th.col-machine,
table.dataTable td.col-machine {
  width: 180px; /* Kolom Machine ID lebih sempit */
  word-wrap: break-word; /* Aktifkan pembungkus teks */
  white-space: normal; /* Izinkan teks membungkus */
}

table.dataTable th.col-status,
table.dataTable td.col-status {
  width: 80px; /* Kolom Status Aktivasi */
}

table.dataTable th.col-created,
table.dataTable td.col-created {
  width: 120px; /* Kolom Dibuat */
}

table.dataTable th.col-action,
table.dataTable td.col-action {
  width: 60px; /* Kolom Aksi */
}

/* Gaya untuk elemen DataTables (search, pagination, dll.) */
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_filter label {
  color: white; /* Warna teks "Cari:" */
}

.dataTables_wrapper .dataTables_filter input {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.dataTables_wrapper .dataTables_length {
  color: white; /* Warna teks "Tampilkan _MENU_ entri" */
}

.dataTables_wrapper .dataTables_length label {
  color: white;
}

.dataTables_wrapper .dataTables_info {
  color: white; /* Warna teks "Menampilkan _START_ sampai _END_ dari _TOTAL_ entri" */
}

.dataTables_wrapper .dataTables_paginate {
  margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: white !important; /* Warna teks tombol paginasi */
  background: none !important;
  border: none !important;
  padding: 5px 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #1e3c72 !important;
  border-radius: 5px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 5px;
}

/* Gaya untuk tombol reset */
.reset-license-btn {
  background-color: #ff9800;
  color: white;
  padding: 4px 8px; /* Perkecil tombol reset */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px; /* Perkecil teks tombol */
}

.reset-license-btn:hover {
  background-color: #e68900;
}