/* CARD ADMIN */
.admin-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

/* FORM */
.form-label {
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.form-control,
.form-select {
  height: 48px;
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* Align select height with inputs (Bootstrap adds its own padding) */
.form-select {
  height: 48px !important;
  padding: 10px 38px 10px 14px;
  line-height: 1.5;
  background-position: right 12px center;
}

/* Extra: force consistent rendering across browsers */
.form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 12px 8px;
  background-position: right 12px center;
}

/* Summernote (Konten) */
.note-editor.note-frame {
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: none;
}

.note-editor .note-toolbar {
  border-bottom: 1px solid #eee;
  background: #f9fafb;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.note-editor .note-editing-area .note-editable {
  min-height: 220px;
  font-size: 14px;
  line-height: 1.6;
  padding: 14px;
}

.note-editor .note-statusbar {
  border-top: 1px solid #eee;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Blog grid: keep cards equal height by clamping title and excerpt */
.tj-post-area .blog-style-2 .title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 1.3;
  max-height: 2.6em;
}

.tj-post-area .blog-style-2 .desc p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.6;
  max-height: 4.8em;
}

/* .color-box {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid #fe0000;
    vertical-align: middle;
} */

/* 1. Hilangkan panah bawaan Select2 yang kaku */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  display: none !important;
}

/* 2. Tambahkan panah baru yang lebih modern (Gaya Bootstrap 5) */
.select2-container--default .select2-selection--single {
  height: 48px !important;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem !important; /* Beri ruang di kanan untuk panah */
  border: 1px solid #dee2e6 !important;
  border-radius: 0.375rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://w3.org' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  display: flex !important;
  align-items: center !important;
}

/* 3. Rapikan teks agar tidak bertumpuk dengan panah */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding: 0 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
}

/* 4. Efek focus saat diklik agar sama dengan input Bootstrap */
.select2-container--default.select2-container--focus
  .select2-selection--single {
  border-color: #86b7fe !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25) !important;
}

/* Halaman Login Admin */
/* ROOT */
.adm-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../images/bg/pheader-bg.webp") no-repeat center/cover;
  padding: 20px;
  font-family: sans-serif;
}

/* WRAPPER */
.adm-login__wrapper {
  width: 100%;
  max-width: 520px;
}

/* HEADER */
.adm-login__header {
  text-align: center;
  margin-bottom: 25px;
}

.adm-login__header img {
  max-width: 140px;
  margin-bottom: 10px;
}

.adm-login__header h1 {
  font-size: 28px;
  margin: 10px 0;
}

/* CARD */
.adm-login__card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* FORM */
.adm-form-group {
  margin-bottom: 18px;
}

.adm-form-group input {
  width: 100%;
  height: 45px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

/* PASSWORD */
.adm-password {
  position: relative;
}

.adm-password button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
}

/* ROW */
.adm-login__row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 15px;
}

/* BUTTON */
.adm-btn {
  width: 100%;
  height: 45px;
  border: none;
  background: #0d6efd;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

/* ALERT */
.adm-alert {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 14px;
}

.adm-alert--success {
  background: #d1e7dd;
}

.adm-alert--error {
  background: #f8d7da;
}

/* NOTE */
.adm-note {
  text-align: center;
  font-size: 12px;
  margin-top: 15px;
}

/* MOBILE */
@media (max-width: 480px) {
  .adm-login__card {
    padding: 20px;
  }

  .adm-login__row {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(135deg, #0f2c45, #224e7a);
  transition: all 0.3s ease;
}

/* Optional: efek saat scroll */
.sticky-header.scrolled {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Summernote: pastikan toolbar & popup di atas nav admin (lokal + hosting) */
.tj-admin .note-editor,
.tj-admin .note-popover,
.tj-admin .note-dropdown-menu,
.tj-admin .note-modal,
.tj-admin .note-tooltip,
.tj-admin .note-hint-popover {
  z-index: 200000 !important;
}

.tj-admin .note-editor.fullscreen,
.tj-admin .note-editor.note-frame.fullscreen {
  z-index: 200001 !important;
  background: #fff !important; /* Mencegah background transparan */
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.tj-admin .note-editor.fullscreen .note-toolbar,
.tj-admin .note-editor.fullscreen .note-statusbar {
  z-index: 200002 !important;
}

.tj-admin .note-editor .dropdown-menu,
.tj-admin .note-popover .dropdown-menu {
  z-index: 200003 !important;
}

.tj-admin .note-modal,
.tj-admin .note-modal-backdrop {
  z-index: 200004 !important;
}

.tj-admin .note-dropdown-menu,
.tj-admin .note-popover .dropdown-menu {
  background: #ffffff;
}

.tj-admin .note-dropdown-menu .dropdown-item,
.tj-admin .note-dropdown-menu .note-dropdown-item,
.tj-admin .note-popover .dropdown-menu .dropdown-item {
  color: #1f2937;
}

.tj-admin .admin-header,
.tj-admin .sticky-header,
.tj-admin .tj-header-area {
  z-index: 5000;
}

/* Memastikan area ketik terlihat saat fullscreen */
.tj-admin .note-editor.note-frame.fullscreen .note-editable {
  background-color: #ffffff !important;
}

/* Fullscreen Summernote: sembunyikan nav supaya editor benar-benar full */
body.note-fullscreen-body .admin-header,
body.note-fullscreen-body .sticky-header,
body.note-fullscreen-body .tj-header-area,
body.note-fullscreen-body .body-overlay {
  display: none !important;
}

/* ROOT */
/* :root {
                        --bg: #020617;
                        --card: rgba(255, 255, 255, 0.05);
                        --border: rgba(255, 255, 255, 0.1);
                        --text: #cbd5e1;
                        --white: #fff;
                        --blue: #2563eb;
                        --blue2: #1d4ed8;
                        --green: #10b981;
                        --green2: #059669;
                    } */

/* SECTION */
.cta {
  padding: 80px 20px;
  /* background: radial-gradient(circle at top, #0f172a, #020617); */
  color: var(--text);
  /* position: relative; */
  overflow: hidden;
}

/* GLOW */
.cta::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: #38bdf8;
  filter: blur(220px);
  opacity: 0.15;
  top: -200px;
  left: -200px;
}

/* CONTAINER */
.cta-container {
  max-width: 1100px;
  margin: auto;
  position: relative;
}

/* HEADER */
.cta-header h1 {
  font-size: 42px;
  color: var(--white);
  margin: 10px 0;
}

.cta-header span {
  /* background: linear-gradient(90deg, #38bdf8, #60a5fa); */
  /* -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; */
  color: #38bdf8;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--blue), #38bdf8);
  padding: 6px 14px;
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
}

/* GRID */
/* .cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
} */

/* CARD */
.card-cta2 {
  background: var(--card);
  border-radius: 18px;
  padding: 30px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  transition: 0.3s;
}

.card-cta2:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
}

/* ICON */
.icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.icon svg {
  width: 22px;
  fill: #38bdf8;
}

/* TEXT */
.card-cta2 h5 {
  font-size: 12px;
  color: #38bdf8;
  letter-spacing: 1px;
}

.card-cta2 h3 {
  color: var(--white);
  margin: 5px 0;
}

.card-cta2 h2 {
  color: var(--white);
  font-size: 30px;
  margin: 10px 0;
}

/* LIST */
.card-cta2 ul {
  list-style: none;
  padding: 0;
}

.card-cta2 li {
  margin-bottom: 6px;
}

.card-cta2 a {
  color: var(--text);
  text-decoration: none;
}

.card-cta2 a:hover {
  color: #38bdf8;
}

/* BUTTON */
/* .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
} */

/* .btn.blue {
  background: linear-gradient(90deg, var(--blue), var(--blue2));
}

.btn.green {
  background: linear-gradient(90deg, var(--green), var(--green2));
}

.btn:hover {
  transform: scale(1.05);
} */

/* FOOTER */
.cta-footer {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-header h1 {
    font-size: 28px;
  }
}

/* GRID PARENT BIAR CARD SAMA TINGGI */
.cta-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
  align-items: stretch;
  /* penting */
}

/* CARD FLEX BIAR BUTTON NEMPEL BAWAH */
/* .card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
} */

/* PUSH BUTTON KE BAWAH */
/* .card .btn {
  margin-top: auto;
} */

/* LIST KONSULTAN JADI 3 KOLOM */
.konsultan-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

/* BIAR RAPI */
.konsultan-list li {
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-box {
    grid-template-columns: 1fr;
  }

  .konsultan-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .konsultan-list {
    grid-template-columns: 1fr;
  }
}
