/*==================================================
=            ROOT
==================================================*/

:root {
  /*======================================
      BRAND
    ======================================*/
  --tblr-primary: #0f62fe;
  --lugina-primary: #0f62fe;
  --lugina-primary-hover: #035afc;

  --lugina-success: #2fb344;

  --lugina-danger: #d63939;

  --lugina-warning: #f59f00;

  --lugina-info: #4299e1;

  --lugina-purple: #7c4dff;

  /*======================================
      SOFT COLOR
    ======================================*/

  --lugina-primary-soft: #edf5ff;

  --lugina-success-soft: #eaf8ee;

  --lugina-danger-soft: #fdeeee;

  --lugina-warning-soft: #fff7e6;

  --lugina-info-soft: #eef8ff;

  /*======================================
      BACKGROUND
    ======================================*/

  --lugina-bg: #f6f8fb;

  --lugina-card: #ffffff;

  --lugina-sidebar: #ffffff;

  --lugina-navbar: #ffffff;

  /*======================================
      BORDER
    ======================================*/

  --lugina-border: #e6ebf2;

  /*======================================
      TEXT
    ======================================*/

  --lugina-title: #182433;

  --lugina-text: #5f6b7a;

  --lugina-muted: #9aa6b2;

  /*======================================
      RADIUS
    ======================================*/

  --radius-xs: 6px;

  --radius-sm: 10px;

  --radius-md: 14px;

  --radius-lg: 18px;

  --radius-xl: 24px;

  /*======================================
      SHADOW
    ======================================*/

  --shadow-xs: 0 2px 6px rgba(16, 24, 40, 0.04);

  --shadow-sm: 0 4px 12px rgba(16, 24, 40, 0.05);

  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.06);

  --shadow-lg: 0 18px 45px rgba(16, 24, 40, 0.08);

  /*======================================
      ANIMATION
    ======================================*/

  --transition: 0.25s ease;
}

/*==================================================
=            BASE
==================================================*/

html {
  scroll-behavior: smooth;
}

body {
  background: var(--lugina-bg);

  color: var(--lugina-text);

  font-family: Inter, "Segoe UI", Roboto, sans-serif;

  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;
}

.page {
  background: var(--lugina-bg);
}

a {
  transition: var(--transition);

  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--lugina-primary);

  color: white;
}

/*==================================================
=            TYPOGRAPHY
==================================================*/

.page-title {
  font-size: 30px;

  font-weight: 700;

  color: var(--lugina-title);
}

.page-subtitle {
  font-size: 15px;

  color: var(--lugina-muted);

  margin-top: 4px;
}

.section-title {
  font-size: 18px;

  font-weight: 700;

  color: var(--lugina-title);
}

.section-subtitle {
  font-size: 14px;

  color: var(--lugina-muted);
}

.text-muted {
  color: var(--lugina-muted) !important;
}

.text-title {
  color: var(--lugina-title);
}

/*==================================================
=            3. LAYOUT
==================================================*/

/*==================================================
=            CARD
==================================================*/

.card {
  border: none;

  border-radius: var(--radius-sm);

  background: var(--lugina-card);

  box-shadow: var(--shadow-sm);

  transition: all var(--transition);

  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);

  box-shadow: var(--shadow-md);
}

.card-header {
  background: transparent;

  border-bottom: 1px solid var(--lugina-border);

  padding: 1rem 1.5rem;
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  background: transparent;

  border-top: 1px solid var(--lugina-border);
}

.card-title {
  font-size: 1rem;

  font-weight: 700;

  color: var(--lugina-title);

  margin: 0;
}

.card-subtitle {
  font-size: 0.85rem;

  color: var(--lugina-muted);

  margin-top: 0.25rem;
}

/*==================================================
=            BUTTON
==================================================*/

.btn {
  border-radius: 12px;

  font-weight: 600;

  transition: all 0.25s;

  box-shadow: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--lugina-primary);

  border-color: var(--lugina-primary);
}

.btn-primary:hover {
  background: var(--lugina-primary-hover);

  border-color: var(--lugina-primary-hover);
}

.btn-success {
  background: var(--lugina-success);
}

.btn-danger {
  background: var(--lugina-danger);
}

.btn-warning {
  background: var(--lugina-warning);

  color: #fff;
}

.btn-outline-primary {
  border-width: 2px;
}

.btn-icon {
  width: 42px;

  height: 42px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 12px;
}

/*==================================================
=            BADGE
==================================================*/

.badge {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 0.35rem 0.75rem;

  border-radius: 999px;

  font-size: 0.75rem;

  font-weight: 600;

  letter-spacing: 0.02em;

  border: 1px solid transparent;
}

/* .badge::before {
  content: "";

  width: 8px;

  height: 8px;

  border-radius: 50%;

  background: currentColor;
} */

/* SUCCESS */

.badge.bg-success,
.badge.bg-green {
  background: var(--lugina-success-soft) !important;

  color: var(--lugina-success) !important;

  border-color: #c9ecd4;
}

/* PRIMARY */

.badge.bg-primary,
.badge.bg-blue {
  background: var(--lugina-primary-soft) !important;

  color: var(--lugina-primary) !important;

  border-color: #cfe3ff;
}

/* WARNING */

.badge.bg-warning,
.badge.bg-orange {
  background: var(--lugina-warning-soft) !important;

  color: #b57700 !important;

  border-color: #ffe3a6;
}

/* DANGER */

.badge.bg-danger,
.badge.bg-red {
  background: var(--lugina-danger-soft) !important;

  color: var(--lugina-danger) !important;

  border-color: #ffd2d2;
}

/* SECONDARY */

.badge.bg-secondary {
  background: #eef2f6 !important;

  color: #667085 !important;

  border-color: #dde3ea;
}

/*==================================================
=            FORM
==================================================*/

.form-control,
.form-select {
  border-radius: 12px;

  border: 1px solid var(--lugina-border);

  background: #fff;

  transition: 0.25s;

  box-shadow: none;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--lugina-primary);

  box-shadow: 0 0 0 0.2rem rgba(32, 107, 196, 0.1);
}

.input-group-text {
  border-radius: 12px;

  border-color: var(--lugina-border);

  background: #fff;
}

.search-box {
  position: relative;
}

.search-box .form-control {
  padding-left: 45px;
}

.search-box i {
  position: absolute;

  left: 16px;

  top: 50%;

  transform: translateY(-50%);

  color: var(--lugina-muted);
}

/*==================================================
=            TABLE
==================================================*/

.table {
  margin-bottom: 0;
}

.table thead th {
  background: #fafbfd;

  color: #7b8794;

  font-size: 0.72rem;

  font-weight: 700;

  text-transform: uppercase;

  letter-spacing: 0.05em;

  border-bottom: 1px solid var(--lugina-border);

  padding: 1rem;
}

.table tbody td {
  padding: 1rem;

  vertical-align: middle;

  border-color: #f1f3f5;
}

.table-hover tbody tr {
  transition: 0.2s;
}

.table-hover tbody tr:hover {
  background: #f8fbff;
}

.table td strong {
  color: var(--lugina-title);
}

/*==================================================
=            DROPDOWN
==================================================*/

.dropdown-menu {
  border: none;

  border-radius: 14px;

  box-shadow: var(--shadow-md);

  padding: 0.5rem;
}

.dropdown-item:hover {
  color: var(--lugina-primary) !important;
  background: var(--lugina-primary-soft);
}

.dropdown-item {
  border-radius: 10px;

  padding: 0.65rem 0.85rem;

  transition: 0.2s;
}

/* .dropdown-item:hover { */
  
  /* color: var(--lugina-primary); */
/* } */

.dropdown-divider {
  border-color: var(--lugina-border);
}

/*==================================================
=            10. AVATAR
==================================================*/

/*==================================================
=            11. MODAL
==================================================*/

/*==================================================
=            12. EMPTY STATE
==================================================*/

/*==================================================
=            13. PAGINATION
==================================================*/

/*==================================================
=            14. ALERT
==================================================*/

/*==================================================
=            15. UTILITY
==================================================*/

/*==================================================
=            16. RESPONSIVE
==================================================*/


/* Button Divider */
.btn-divider {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-divider i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-divider span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}




/* Button Kontak */
.btn-kontak-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-kontak-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-kontak-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* Button Import */
.btn-import-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-import-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-import-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* Button Campaign */
.btn-campaign-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-campaign-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-campaign-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* Button Manual */
.btn-manual-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-manual-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-manual-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* Button Template */
.btn-template-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-template-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-template-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* Button Reporting */
.btn-reporting-qa {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 8px;
}

.btn-reporting-qa i {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  padding-right: 10px;
  /* margin-right: 2px; */

  border-right: 1px solid currentColor;
  line-height: 1;
}

.btn-reporting-qa span {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 600;
}

/* hilangkan text dekorasi */

/* ==========================================
   LUGINA SETTINGS MENU
========================================== */

.list-group-item {
  border: 0;
  /* border-radius: 12px; */
  margin-bottom: 6px;
  padding: 14px 360px;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.list-group-item:hover {
  background: #eef5ff;
  /* background: #afca40; */
  color: #206bc4;
  text-decoration: none !important;
  transform: translateX(4px);
}

.list-group-item-action:hover {
  /* text-decoration: none !important; */
  background: #eef6ff !important;
  /* background: #e6084a !important; */
  color: #206bc4 !important;
  /* transform: translateX(4px) !important; */
  /* box-shadow: 0 8px 24px rgba(32, 107, 196, 0.18); */
  max-width: 100% !important;
}

.list-group-item i {
  transition: all 0.25s ease;
}

.list-group-item:hover i {
  color: #206bc4;
}

.list-group-item.active {
  background: var(--lugina-primary);
  color: #fff;
  box-shadow: 0 8px 24px rgba(32, 107, 196, 0.18);
}

.list-group-item.active i {
  color: #fff;
}

/* Danger Zone: active state uses danger color only for the Danger menu */
.list-group-item.text-danger.active {
  background: var(--lugina-danger);
  color: #fff;
  box-shadow: 0 8px 24px rgba(214, 57, 57, 0.18);
}

.list-group-item.text-danger.active span {
  color: #fff;
}

.list-group-item.text-danger.active i {
  color: #fff;
}

.list-group-item.text-danger:hover {
  /* background: #fff5f5; */
  color: #d63939;
}

/* .list-group-item.text-danger:hover .active{
  background: #fff5f5;
  color: #d63939;
} */

/* .list-group-item.text-danger span>i:hover {
  color: #d63939;
} */

/* isi tabel */

/* .table > :not(caption) > * > *{
    padding: .65rem .85rem;
    vertical-align: middle;
}

.avatar{
    width:40px;
    height:40px;
    font-size:16px;
}


.table td{
    line-height:1.2;
}

.table .small{
    font-size:.78rem;
}

.table .fw-bold,
.table strong{
    line-height:1.2;
}


.btn-icon{
    width:34px;
    height:34px;
    padding:0;
} */

.lh-sm {
  line-height: 1.2;
}

.table .small {
  font-size: 0.78rem;
}

td:nth-child(2) {
  min-width: 260px;
}

td:nth-child(3) {
  min-width: 180px;
}

td:nth-child(4) {
  min-width: 170px;
}

td:nth-child(5) {
  min-width: 180px;
}

.avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;

  flex-shrink: 0; /* Tidak boleh mengecil */
  aspect-ratio: 1 / 1; /* Selalu persegi */
}

/* ikon eye password */

.password-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  color: var(--tblr-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-icon i {
  font-size: 20px;
  line-height: 1;
}

.password-icon,
.password-icon:hover,
.password-icon:focus,
.password-icon:active {
  text-decoration: none !important;
  color: var(--tblr-secondary);
}

.password-icon i {
  line-height: 1;
}

/* tabel kontak */

 /* 1. Kunci struktur tabel agar mematuhi lebar yang kita tentukan */
  /* .table-konsisten {
    table-layout: fixed; */
    /* width: 100%;  */
    /* Lebar total tabel */
    /* word-wrap: break-word;  */
    /* Potong teks otomatis jika terlalu panjang */
  /* } */

  /* 2. Berikan warna atau style opsional agar teks panjang tidak merusak tampilan */
  /* .table-konsisten th, .table-konsisten td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;  */
    /* Teks memanjang akan dipotong pakai tanda titik-titik (...) */
  /* } */

  /* Mengatur warna bintang menjadi merah */
  .required {
    color: red;
    margin-left: 0.01rem; /* Memberi sedikit jarak setelah teks label */
  }

  /* button group */
  .btn-thin {
  border-width: 0.5px;
}

