﻿/* =============================================================
   headerStyle.css
   DDC-CPBMS โ€” styles เธชเธณเธซเธฃเธฑเธ layout เธซเธฅเธฑเธ
   ============================================================= */


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   1. CSS Variables / Root
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
:root {
  --navy: #0d2b55;
  --blue: #1a5fa8;
  --teal: #0d9488;
  --font: 'IBM Plex Sans Thai', 'Sarabun', sans-serif;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   2. Body / Layout
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
body {
  margin: 0;
  font-size: 14px;
  background-color: #edf2fb;
}

* {
  box-sizing: border-box;
}

.container-fluid {
  max-width: 1600px;
}

#wrapper {
  padding-top: 120px !important;
}

.wrapper {
  background: #f5f5f5;
  width: 400px;
  height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px;
  margin: 0 auto;
}

p {
  text-indent: 1.5em;
  margin-top: 0;
  margin-bottom: 0;
}

.p1 { font-family: "Prompt", Times, serif; }
.p2 { font-family: "Prompt", Helvetica, sans-serif; text-indent: 2.5em; margin-top: 0; margin-bottom: 0; }
.p3 { font-family: "Prompt", "Courier New", monospace; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   3. Print
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
@page {
  size: A4;
  margin: 1px;
}

@media print {
  #wrapper { margin: -120px 0 0 0; }

  .page_content__print_break {
    page-break-after: always;
    break-after: always;
  }

  footer.footer_content {
    visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
    position: fixed;
    bottom: 0;
  }

  footer.footer_content::after {
    counter-increment: page_number;
    content: "Page:" counter(page_number);
  }
}

@media screen {
  footer.footer_content,
  .page_content__print_break {
    visibility: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
  }
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   4. Breadcrumb
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.breadcrumb {
  font-size: 14px;
  margin: 10px 0;
  color: #555;
}

.breadcrumb a {
  color: #007bff;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  color: #000;
  font-weight: bold;
}

#breadcrumbs li { display: inline-block; }
#breadcrumbs li:not(:first-child) { margin-left: 0.4em; }
#breadcrumbs li:not(:first-child):before { content: '>'; margin-right: 0.4em; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   5. Card
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: none;
  border-radius: 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-body    { flex: 0 1 auto; padding: 1rem; }
.card-title   { margin-bottom: .5rem; }
.card-subtitle { margin-top: -.25rem; margin-bottom: 0; }
.card-text:last-child { margin-bottom: 0; }
.card-link:hover { text-decoration: none; }
.card-link + .card-link { margin-left: 1rem; }
.d-flex { display: flex !important; }

.card-header {
  padding: .5rem 1rem;
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, .03);
  border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.card-header:first-child {
  border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
}

.card-footer {
  padding: .5rem 1rem;
  background-color: rgba(0, 0, 0, .03);
  border-top: 1px solid rgba(0, 0, 0, .125);
}
.card-footer:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}

.card-img, .card-img-bottom, .card-img-top { width: 100%; }
.card-img, .card-img-top {
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}
.card-img, .card-img-bottom {
  border-bottom-right-radius: calc(.25rem - 1px);
  border-bottom-left-radius: calc(.25rem - 1px);
}

.card-group {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  border-radius: 8px;
}

.card-group > .card { margin-bottom: .75rem; }

@media (min-width: 576px) {
  .card-group { display: flex; flex-flow: row wrap; }
  .card-group > .card { flex: 1 0 0%; margin-bottom: 0; }
  .card-group > .card + .card { margin-left: 0; border-left: 0; }
  .card-group > .card:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .card-group > .card:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
}

/* Card Modern Admin */
.card.card-modern.card-admin {
  border-radius: 7px;
  box-shadow: 0px 0px 37px -36px rgba(0, 0, 0, 0.4);
}
.card.card-modern.card-admin .card-header { background: #fff; border-bottom: 0; padding: 25px; }
.card.card-modern.card-admin .card-header .card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.2; }
.card.card-modern.card-admin .card-header + .card-body { padding-top: 5px; }
.card.card-modern.card-admin .card-actions { right: 20px; top: 23px; }
.card.card-modern.card-admin .card-body { background: #fff; padding: 25px; box-shadow: none; }
.card.card-modern.card-admin .card-action-toggle:before { content: "\f077"; font-family: "Font Awesome 5 Free"; font-weight: 900; }
.card.card-modern.card-admin.card-collapsed .card-action-toggle:before { content: "\f078"; }

@media (max-width: 767px) {
  .card.card-modern .card-actions { position: absolute; }
}

/* bc-card (Budget Chart) */
.bc-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(13, 43, 85, 0.10);
  overflow: hidden;
  margin-bottom: 24px;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   6. Table
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
table {
  width: 100%;
}

.table {
  color: #333;
  max-width: 100%;
  margin-bottom: 0;
  width: 100%;
  --bs-table-bg: transparent;
  border-collapse: separate;
  border-spacing: 0;
}

.table thead {
  background: linear-gradient(320deg, #DDCEFF 0%, #DBECFF 100%);
  border-bottom: 0;
  vertical-align: middle;
  white-space: nowrap;
  width: 100% !important;
}

.table thead th,
.table thead td {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 700;
  border-bottom: 2px solid #e9ecef !important;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  padding: 15px;
  vertical-align: middle;
}

.table .thead-light th { font-size: 13px; color: #28084B; font-weight: 500; }

.table .table-avatar {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  white-space: nowrap;
  min-width: 150px;
}

.table tbody td {
  vertical-align: top;
  padding: 15px;
  border-color: #f0f0f0;
}

.table-bordered td,
.table-bordered th { border: 1px solid #f0f0f0; }

.table-bordered th { border-color: rgba(0, 0, 0, 0.05); }
.table-bordered td { border-color: rgba(0, 0, 0, 0.05); }
.table-bordered td:first-child { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }
.table-bordered td:last-child  { border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; }

.table-striped > tbody > tr:nth-of-type(2n+1) { background-color: #f8f9fa; }
.table-striped .dropdown-action { margin-bottom: 0; }
.table-striped .table-bordered { border: 1px solid rgba(0, 0, 0, 0.05) !important; }

.table-hover tbody tr:hover { background-color: rgba(21, 114, 161, 0.02); }

.table.no-border > tbody > tr > td,
.table > tbody > tr > th,
.table.no-border > tfoot > tr > td,
.table.no-border > tfoot > tr > th,
.table.no-border > thead > tr > td,
.table.no-border > thead > tr > th { padding: 10px 8px; }

.table-nowrap th,
.table-nowrap td { white-space: nowrap; }

table.dataTable span.highlight {
  padding: 0;
  background-color: #C3F584;
}

table.loading { position: relative; }
table.loading:after {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="40" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></circle><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="100" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></circle><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="160" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></circle></svg>');
  background-position: top;
  background-repeat: no-repeat;
  background-size: 150px 150px;
  content: "";
}

div.dataTables_wrapper { margin-bottom: 3em; }

/* DataTables search box */
.dataTables_filter input {
  height: 45px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 10px 15px;
  width: 250px;
  transition: border-color 0.3s ease-in-out,
              outline-color 0.3s ease-in-out,
              all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dataTables_filter input:focus {
  border-color: #21209C;
  outline: 2px solid #7579E7;
  border-radius: 8px;
  color: #6927FF;
  font-weight: 600;
  width: 400px;
}

/* DataTables length */
.dataTables_length {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dataTables_length label {
  margin: 0;
  white-space: nowrap;
}

.dataTables_length select {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 45px;
  padding: 10px 15px;
  width: 70%;
  font-size: 0.85rem;
  color: #2d3748;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
/* Custom Scrollbar */
.dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar { width: 8px; height: 8px; }
.dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.dataTables_wrapper .dataTables_scrollBody::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* โ… wrapper เธฃเธงเธก length + filter เนเธซเนเธกเธตเธฃเธฐเธขเธฐเธซเนเธฒเธเธ”เนเธฒเธเธฅเนเธฒเธ */
.dataTables_wrapper > div:first-child,
.dataTables_wrapper .dt-layout-row:first-child {
    margin-bottom: 14px !important;
    align-items: center !important;
}

/* โ… length เธเธดเธ”เธเนเธฒเธข */
.dataTables_wrapper .dataTables_length {
    float: left !important;
    margin-bottom: 14px !important;
    padding: 6px 12px !important;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #2c3e50 !important;
    border: 1px solid #e2e8f0 !important;
}

/* โ… filter เธเธดเธ”เธเธงเธฒ */
.dataTables_wrapper .dataTables_filter {
    float: right !important;
    margin-bottom: 14px !important;
}

.dataTables_wrapper .dataTables_filter input {
    padding: 6px 12px !important;
    border: 1.5px solid #c7d7f5 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    outline: none !important;
    transition: border 0.2s ease !important;
    background: #f8faff !important;
    color: #2c3e50 !important;
    min-width: 220px !important;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    background: #fff !important;
}

/* โ… clear float เธเนเธญเธเธ–เธถเธ table */
.dataTables_wrapper::after {
    content: '';
    display: table;
    clear: both;
}

.dataTables_wrapper .dataTables_length {
    float: left !important; 
    padding: 6px 14px !important;
    background: linear-gradient(135deg, #f0f4ff, #e8f0fe) !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #2c3e50 !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 2px 6px rgba(59,130,246,0.08) !important;
}

.dataTables_wrapper .dataTables_length label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.dataTables_wrapper .dataTables_length select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border: 1.5px solid #93c5fd !important;
    border-radius: 8px !important;
    padding: 3px 28px 3px 10px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
        margin-top: 10px !important; 
    color: #2563eb !important;
    background-color: #fff !important;
     background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    cursor: pointer !important;
    width: auto !important;
    height: 28px !important;
    box-shadow: 0 1px 4px rgba(59,130,246,0.12) !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.dataTables_wrapper .dataTables_length select:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15) !important;
    outline: none !important;
}
.dataTables_info,
.dataTables_paginate {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.dataTables_info {
    text-align: left !important;
    margin-top: 16px !important;
    padding: 8px 14px !important;
    
    border-radius: 8px !important;
       background: #f8fafc !important; 
border-color: #3b82f6 !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: inline-block !important; 
}

.dataTables_paginate {
    text-align: right !important;
    margin-top: 12px !important;
    float: right !important;
}

/* โ… เธซเนเธฒเธเนเธ•เนเธฅเธฐเธเธธเนเธก + เธเธทเนเธเธซเธฅเธฑเธ */
.dataTables_paginate .paginate_button {
    padding: 6px 12px !important;
    margin: 0 3px !important;          /* โ… เธฃเธฐเธขเธฐเธซเนเธฒเธเธฃเธฐเธซเธงเนเธฒเธเธเธธเนเธก */
    cursor: pointer;
    border-radius: 6px !important;
    background: #f1f5f9 !important;    /* โ… เธเธทเนเธเธซเธฅเธฑเธเธเธธเนเธกเธเธเธ•เธด */
    border: 1px solid #e2e8f0 !important;
    color: #2c3e50 !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

/* โ… hover */
.dataTables_paginate .paginate_button:hover {
    background: #3b82f6 !important;
    color: #fff !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 3px 8px rgba(59, 130, 246, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* โ… active (เธซเธเนเธฒเธเธฑเธเธเธธเธเธฑเธ) */
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
    background: #2c3e50 !important;
    color: #fff !important;
    border-color: #2c3e50 !important;
    box-shadow: 0 3px 8px rgba(44, 62, 80, 0.35) !important;
    transform: none !important;
}

/* โ… disabled */
.dataTables_paginate .paginate_button.disabled,
.dataTables_paginate .paginate_button.disabled:hover {
    background: #f8fafc !important;
    color: #cbd5e1 !important;
    border-color: #e2e8f0 !important;
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}
/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   7. Forms
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.form-control,
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="tel"],
input[type="url"],
textarea,
select {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 45px;
  padding: 10px 15px;
  width: 100%;
  font-size: 0.85rem;
  color: #2d3748;
  transition: all 0.3s ease;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
}

textarea.form-control,
textarea {
  border-radius: 8px;
  min-height: 100px;
  resize: vertical;
}

.form-control:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
input[type="time"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  border-color: #6528F7;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
  outline: none;
  border-radius: 8px;
}

.form-control:hover,
input:hover,
textarea:hover,
select:hover {
  border-color: #6528F7;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.form-control:disabled,
input:disabled,
textarea:disabled,
select:disabled {
  background-color: #f7fafc;
  cursor: not-allowed;
  opacity: 0.6;
  border-radius: 8px;
}

::placeholder { color: #a0aec0; opacity: 1; }

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #4a5568;
}

.form-group { margin-bottom: 0.15rem; }

/* Custom select arrow */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234a5568'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 28px;
  padding-right: 30px;
}

/* Input groups */
.input-group { display: flex; position: relative; }
.input-group .form-control {
  border-radius: 8px;
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  margin-bottom: 0.75rem;
}

.input-group-text {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  font-weight: 400;
  color: #4a5568;
  white-space: nowrap;
  background-color: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

/* Validation */
.is-valid   { border-color: #48bb78 !important; }
.is-invalid { border-color: #f56565 !important; }

.valid-feedback   { display: none; color: #48bb78; font-size: 0.875rem; margin-top: 0.25rem; }
.invalid-feedback { display: none; color: #f56565; font-size: 0.875rem; margin-top: 0.25rem; }

.is-valid ~ .valid-feedback,
.is-invalid ~ .invalid-feedback { display: block; }

.required:after { content: "*"; color: #f56565; margin-left: 4px; }

/* Custom checkbox */
.custom-control { position: relative; display: block; min-height: 1.5rem; padding-left: 1.5rem; }
.custom-control-input { position: absolute; left: 0; z-index: -1; width: 1rem; height: 1rem; opacity: 0; }
.custom-control-label { position: relative; margin-bottom: 0; vertical-align: top; cursor: pointer; }
.custom-control-label::before {
  position: absolute;
  left: -1.5rem;
  display: block;
  width: 1rem; height: 1rem;
  content: "";
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 0.25rem;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
  background-color: #6528F7;
  border-color: #6528F7;
}

/* Bootstrap DateTimePicker */
.bootstrap-datetimepicker-widget { width: 100% !important; max-width: none !important; }
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
.bootstrap-datetimepicker-widget table td.day:hover,
.bootstrap-datetimepicker-widget table td.hour:hover,
.bootstrap-datetimepicker-widget table td.minute:hover,
.bootstrap-datetimepicker-widget table td.second:hover,
.bootstrap-datetimepicker-widget table td span:hover { background: #f5f5f5; }
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover,
.bootstrap-datetimepicker-widget table td span.active { background-color: #ff007d; color: #fff; }
.bootstrap-datetimepicker-widget table td.today:before { border-bottom-color: #ff007d; }
.bootstrap-datetimepicker-widget table td.active.today:before { border-bottom-color: #fff; }
.bootstrap-datetimepicker-widget a { color: #ff007d; }
.timepicker-picker .btn-primary { color: #fff; background-color: #ff007d; border-color: #ff007d; }

/* Year picker */
.year-picker .ui-datepicker-calendar,
.year-picker .ui-datepicker-month { display: none; }

/* Calendar wrapper */
#myCalendarWrapper {
  width: 55em;
  padding: 0 0 0.2em 0.2em;
  position: relative;
  font-size: 1rem;
  margin: 0 auto 1rem;
}
#myCalendarWrapper:before {
  position: absolute;
  font-family: 'IBM Plex Sans Thai', Monaco, Consolas, 'Courier New', monospace;
  bottom: 0;
  transform: translate(-50%, 2.4rem);
  font-size: 1.2rem;
  background-color: rgba(93, 93, 93, 0.2);
  padding: 0.5rem 1rem 0.4rem;
  color: rgb(233, 72, 99);
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   8. Select2
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.select2-container {
  box-sizing: border-box;
  display: inline-block;
  margin: 0 0 0.75rem 0;
  position: relative;
  vertical-align: middle;
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  height: 45px !important;
  padding: 8px 15px !important;
  transition: all 0.3s ease;
}

.select2-container--default .select2-selection--single:hover,
.select2-container--default.select2-container--focus .select2-selection--single,
.select2-container--default.select2-container--open .select2-selection--single {
  border-color: #6528F7;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #2d3748;
  line-height: 28px !important;
  font-size: 0.85rem;
  padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder { color: #a0aec0; }

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 45px !important;
  position: absolute;
  top: 0; right: 10px;
  width: 25px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #4a5568 transparent transparent transparent;
  border-width: 6px 6px 0 6px;
}

.select2-container--default .select2-dropdown {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
  margin-top: 5px;
  overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #6528F7;
  outline: none;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.select2-container--default .select2-results__option { padding: 10px 15px; font-size: 0.85rem; transition: all 0.2s; }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background-color: #6528F7; color: #fff; }
.select2-container--default .select2-results__option[aria-selected=true] { background-color: #F4EEFF; color: #2b6cb0; }

.select2-container--default .select2-selection--multiple {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  min-height: 45px;
  padding: 4px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: #F4EEFF;
  border: 1px solid #bee3f8;
  border-radius: 6px;
  color: #2b6cb0;
  margin: 4px;
  padding: 4px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: #4a5568; margin-right: 6px; font-weight: bold; }
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { color: #2d3748; }

.select2-container--default.select2-container--disabled .select2-selection--single,
.select2-container--default.select2-container--disabled .select2-selection--multiple {
  background-color: #f7fafc;
  cursor: not-allowed;
  opacity: 0.6;
}

.select2-container--default .select2-selection--single .select2-selection__clear { color: #a0aec0; font-weight: bold; margin-right: 10px; }
.select2-container--default .select2-selection--single .select2-selection__clear:hover { color: #718096; }
.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { left: 10px; right: auto; }
.select2-container--default .select2-results__option--loading { padding: 10px 15px; color: #a0aec0; }
.select2-container--default .select2-results__group { padding: 10px 15px; font-weight: bold; color: #4a5568; background: #f7fafc; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   9. Badge
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.badge-yellow {
  background-color: #F1FF5E !important;
  color: #2845D6 !important;
  border: none;
  animation: pulse-yellow 2s infinite;
}

.badge-danger {
  background-color: #ff4d4d !important;
  color: #fff !important;
  border: none;
  animation: pulse-red 2s infinite;
}

.badge-primary {
  background-color: #4f12f8 !important;
  color: #fff !important;
  border: none;
  animation: pulse-purple 2s infinite;
}

@keyframes pulse-yellow {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(250, 233, 3, 0.7); }
  70%  { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

@keyframes pulse-red {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
  70%  { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

@keyframes pulse-purple {
  0%   { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 30, 236, 0.7); }
  70%  { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   10. Progress Bar
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.progress {
  background-color: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
  height: 10px !important;
  position: relative;
  margin: 5px;
  float: left;
  text-align: center;
}

.progress2 {
  position: relative;
  margin: 5px;
  float: left;
  text-align: center;
  border-radius: 8px;
}

.barOverflow {
  position: relative;
  overflow: hidden;
  width: 180px;
  height: 90px;
  margin-bottom: -25px;
}

.bar {
  position: absolute;
  top: 0; left: 0;
  width: 180px; height: 180px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 20px solid #eee;
  border-bottom-color: #005792;
  border-right-color: #005792;
}

@-webkit-keyframes animate-positive { 0% { width: 0%; } }
@keyframes animate-positive { 0% { width: 0%; } }

/* bg color helpers */
.bg1 { background-color: #c12030; }
.bg2 { background-color: #ee4238; }
.bg3 { background-color: #f15b29; }
.bg4 { background-color: #f7941f; }
.bg5 { background-color: #fcb042; }
.bg6 { background-color: #faec33; }
.bg7 { background-color: #d5dd25; }
.bg8 { background-color: #8cc43f; }
.bg9 { background-color: #39b44a; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   11. Buttons
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

/* Gradient buttons */
.btn-1 { background-image: linear-gradient(to right, #f6d365 0%, #fda085 51%, #f6d365 100%); }
.btn-2 { background-image: linear-gradient(to right, #fbc2eb 21%, #a6c1ee 51%, #fbc2eb 100%); }
.btn-3 { background-image: linear-gradient(to right, #84fab0 0%, #8fd3f4 51%, #84fab0 100%); }
.btn-4 { background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%); }
.btn-5 { background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 51%, #ffecd2 100%); }
.btn2  { padding: 0; }

/* Push button */
.button-1 {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.button-1-shadow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: hsla(0, 0%, 0%, 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.button-1-edge {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
  background: linear-gradient(to left, hsl(340,100%,16%) 0%, hsl(340,100%,32%) 8%, hsl(340,100%,32%) 92%, hsl(340,100%,16%) 100%);
}
.button-1-front {
  display: block;
  position: relative;
  padding: 8px 20px;
  border-radius: 12px;
  font-size: 1rem;
  color: white;
  background: hsl(345, 100%, 47%);
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(0.3, 0.7, 0.4, 1);
}
.button-1:hover { filter: brightness(110%); }
.button-1:hover .button-1-front  { transform: translateY(-6px); transition: transform 250ms cubic-bezier(0.3,0.7,0.4,1.5); }
.button-1:active .button-1-front { transform: translateY(-2px); transition: transform 34ms; }
.button-1:hover .button-1-shadow  { transform: translateY(4px);  transition: transform 250ms cubic-bezier(0.3,0.7,0.4,1.5); }
.button-1:active .button-1-shadow { transform: translateY(1px);  transition: transform 34ms; }
.button-1:focus:not(:focus-visible) { outline: none; }

/* Floating buttons */
.btn-floating     { border-radius: 8px;   padding: 9px 9px;         background-color: #C9F55D; }
.btn-floating:hover { color: #fff; background-color: #32FF6A; }

.btn-floating0    { color: #DA0037; border-radius: 8px; padding: 8.2px 9.8px; background-color: #FFC3C3; }
.btn-floating0:hover { color: #fff; background-color: #F0134D; }

.btn-floating00   { border-radius: 8px; padding: 9px 7px; background-color: #D7E9F7; }
.btn-floating00:hover { color: #fff; background-color: #51EAEA; }

.btn-floating009  { border-radius: 4px; padding: 4px; background-color: #D7E9F7; }
.btn-floating009:hover { color: #fff; background-color: #51EAEA; box-shadow: 0px 8px 8px 0px rgba(0,0,0,0.1); }

.btn-floating01   { border-radius: 8px; padding: 9px 8px; background-color: #FFD9C0; }
.btn-floating01:hover { color: #fff; background-color: #FFBF86; }

.btn-floating02   { border-radius: 100px; padding: 5px; background-color: #aadbff; }
.btn-floating02:hover { color: #fff; background-color: var(--info); box-shadow: 0 4px 7px 0 rgba(0,0,0,0.2); }

.btn-floating03   { border-radius: 100px; padding: 5px; background-color: #aadbff; }
.btn-floating03:hover { color: #fff; background-color: var(--info); box-shadow: 0 4px 7px 0 rgba(0,0,0,0.2); }

.btn-floating099  { border-radius: 6px; padding: 4px; background-color: #FFE8D6; }
.btn-floating099:hover { color: #fff; background-color: #E2703A; }

.btn-floating09   { border-radius: 6px; padding: 4px; background-color: #FFE6F7; }
.btn-floating09:hover { color: #fff; background-color: #FF74B1; }

.btn-floating0x   { border-radius: 8px; padding: 9px 12px; background-color: #FFF3AF; }
.btn-floating0x:hover { color: #fff; background-color: #FD5F00; }

.btn-floating2    { border-radius: 100px; padding: 9px 8px; background-color: #aadbff; }
.btn-floating2:hover { color: #fff; background-color: var(--primary); }

.btn-floating4    { border-radius: 100px; padding: 0px 5px 5px 5px; background-color: #f8f7ff; }
.btn-floating4:hover { background-color: #9381ff; }

.btn-floating5    { color: #fff; border-radius: 100px; padding: 12px; background-color: #9381ff; }
.btn-floating5:hover { color: #fff; background-color: #6807F9; }

.btn-floating77   { font-weight: 500; color: #5227C0; border-radius: 9px; padding: 8px 15px; background-color: #C9F55D; }
.btn-floating77:hover { color: #E1FC2C; background-color: #5227C0; }

.btn-floating9    { color: #219F94; border-radius: 8px; padding: 4px 8px; background-color: #B5FFD9; }
.btn-floating9:hover { color: #fff; background-color: #35D0BA; }

.btn-floatingd    { color: #219F94; border-radius: 150px; padding: 4px; background-color: #B5FFD9; }
.btn-floatingd:hover { color: #fff; background-color: #35D0BA; }

.btn-floatingdel  { border-radius: 150px; padding: 4px; background-color: #FFE6F7; }
.btn-floatingdel:hover { color: #fff; background-color: #FF74B1; }

.btn-floating_del { color: #FF8585; border-radius: 8px; padding: 4px 8px; background-color: #FDCFDF; }
.btn-floating_del:hover { color: #fff; background-color: #FF4646; }

.btn-floating-ma  { color: #fff; border-radius: 8px; padding: 9px; background-color: #7045FF; }
.btn-floating-ma:hover { background-color: #9381ff; }

.btn-float        { border-radius: 6px; padding: 9px; background-color: #FFE6F7; }
.btn-float:hover  { color: #fff; background-color: #FF74B1; }

.btn-back         { font-weight: 500; color: #5227C0; border-radius: 9px; padding: 8px 15px; background-color: #FDB9FC; }
.btn-back:hover   { color: #fff; background-color: #A555EC; }

/* Login / Logout buttons */
.login-btn, .logout-btn {
  font-family: Hack, monospace;
  cursor: pointer;
  font-size: 2em;
  padding: 1.5rem;
  border: 0;
  transition: all 0.5s;
  border-radius: 8px;
  width: auto;
  position: relative;
  min-width: 250px;
}
.login-btn  { background: #bbff00; color: #1d1d1d; }
.logout-btn { background: #d3d3d3; color: #2c2c2c; }

.login-btn::after,
.logout-btn::after {
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  position: absolute;
  left: 80%; top: 54%;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.login-btn:hover,
.logout-btn:hover {
  background: #2b2bff;
  box-shadow: 0px 6px 15px #0000ff61;
  padding: 1.5rem 3rem 1.5rem 1.5rem;
  color: #fff;
}

.login-btn:hover::after,
.logout-btn:hover::after { opacity: 1; color: #fff; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   12. Navigation / Tabs
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.nav-pills .nav-link {
  border-radius: 50px;
  padding: 10px 25px;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
  background-color: #fff;
  border: 1px solid #e9ecef;
  margin: 0 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover {
  background-color: #1572A1;
  color: #fff;
  box-shadow: 0 4px 10px rgba(21, 114, 161, 0.3);
  border-color: #1572A1;
  transform: translateY(-1px);
}

/* Main Header */
.main-header {
  position: fixed;
  top: 25px; left: 0;
  z-index: 99;
  width: 100%;
  transition: all 0.4s ease;
}

.main-header.fixed-nav {
  top: 0;
  background: #FF4C29;
  box-shadow: 0 8px 12px -8px rgba(0,0,0,0.09);
}

.navbar-brand { color: #FF4C29; }
.main-header .navbar-brand img { max-width: 30px; animation: fadeInLeft 0.4s both 0.4s; }
.main-header.fixed-nav .navbar-brand > img:last-of-type  { display: block; }
.main-header.fixed-nav .navbar-brand > img:first-of-type { display: none; }

#mainMenu li > a {
  font-size: 12px;
  letter-spacing: 1px;
  color: #FF4C29;
  font-weight: 400;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

#mainMenu li:not(:last-of-type) { margin-right: 30px; }

#mainMenu li > a::before {
  position: absolute;
  border-radius: 5px;
  content: "";
  width: calc(100% - 1px);
  height: 3px;
  background: #FF4C29;
  bottom: 3px; left: 0;
  transform: scale(0, 1);
  transform-origin: right center;
  z-index: -1;
  transition: transform 0.5s ease;
}

#mainMenu li > a:hover::before,
#mainMenu li > a.active::before {
  transform: scale(1, 1);
  transform-origin: left center;
}

@media (max-width: 991px) {
  .navbar-toggler {
    margin: 0; padding: 0;
    width: 40px; height: 40px;
    position: absolute; top: 25px; right: 0;
    border: none; border-radius: 0;
    outline: none !important;
  }
  .main-header .navbar { float: none; width: 100%; padding: 0; text-align: center; }
  .main-header .navbar-nav { margin-top: 50px; }
  .main-header .navbar-nav li .nav-link { text-align: center; padding: 20px 15px; border-radius: 0; }
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   13. Modal (slide-in right)
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.modal .modal-dialog {
  border: none;
  position: fixed;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  transform: translate3d(25%, 0, 0);
}

.modal .modal-content { height: 100%; overflow-y: auto; }
.modal.right .modal-body { padding: 15px 15px 80px; }

.modal.right.fade .modal-dialog {
  left: -320px;
  transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog { right: 0; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   14. Toggle Switch
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.toggle { cursor: pointer; display: inline-block; }

.toggle-switch {
  display: inline-block;
  background: #FF9E9E;
  border-radius: 16px;
  width: 45px; height: 16px;
  position: relative; top: 4px;
  vertical-align: middle;
  transition: background 0.25s;
}

.toggle-switch:before {
  display: block;
  background: linear-gradient(to bottom, #fff 0%, #eee 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  width: 22px; height: 22px;
  position: relative; top: -3px; left: 0;
  transition: left 0.25s;
  content: "";
}

.toggle:hover .toggle-switch:before { background: linear-gradient(to bottom, #fff 0%, #fff 100%); box-shadow: 0 0 0 1px rgba(0,0,0,0.5); }
.toggle-checkbox:checked + .toggle-switch { background: #45FFCA; }
.toggle-checkbox:checked + .toggle-switch:before { left: 25px; top: -3px; }
.toggle-checkbox { position: absolute; visibility: hidden; }
.toggle-label { margin-left: 5px; position: relative; top: 2px; }

/* CSS Toggle Switch (เน€เธงเธญเธฃเนเธเธฑเธ 2) */
.switch { position: relative; display: inline-block; width: 55px; height: 25px; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked + .slider { background-color: #28DF99; }
input:focus + .slider { box-shadow: 0 0 1px #28DF99; }
input:checked + .slider:before { transform: translateX(30px); }
.slider.round { border-radius: 30px; }
.slider.round:before { border-radius: 50%; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   15. Notification
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.notification-drop { font-family: 'Ubuntu', sans-serif; color: #444; }
.notification-drop .item { padding: 10px; font-size: 18px; position: relative; border-bottom: 1px solid #ddd; }
.notification-drop .item:hover { cursor: pointer; }
.notification-drop .item i { margin-left: 10px; }
.notification-drop .item ul { display: none; position: absolute; top: 100%; background: #fff; left: -200px; right: 0; z-index: 1; border-top: 1px solid #ddd; }
.notification-drop .item ul li { font-size: 16px; padding: 15px 0 15px 25px; }
.notification-drop .item ul li:hover { background: #ddd; color: rgba(0,0,0,0.8); }

@media screen and (min-width: 500px) {
  .notification-drop { display: flex; justify-content: flex-end; }
  .notification-drop .item { border: none; }
}

.notification-bell { font-size: 20px; }

.btn__badge {
  background: #FF5D5D;
  color: white;
  font-size: 12px;
  position: absolute;
  top: 0; right: 0;
  padding: 3px 10px;
  border-radius: 50%;
}

.pulse-button {
  box-shadow: 0 0 0 0 rgba(255,0,0,0.5);
  animation: pulse 1.5s infinite;
}

.pulse-button:hover { animation: none; }

@keyframes pulse {
  0%   { transform: scale(0.9); }
  70%  { transform: scale(1); box-shadow: 0 0 0 50px rgba(255,0,0,0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(255,0,0,0); }
}

.notification-text { font-size: 14px; font-weight: bold; }
.notification-text span { float: right; }

#subscribeButton {
  width: 50%; height: 150px;
  background: #5fae4c;
  border: 2px solid #fff;
  cursor: pointer;
}

#subscribeButton img {
  width: 70px;
  height: auto;
  display: block;
  margin: 10px auto;
  text-align: center;
  animation: shake 0.5s ease-in-out 2 0.5s;
}

@keyframes shake {
  0%, 100% { transform: rotate(0deg); }
  20%, 60%  { transform: rotate(6deg); }
  40%, 80%  { transform: rotate(-6deg); }
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   16. Avatar / Icon
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.initial-avatar {
  align-items: center;
  display: flex;
  justify-content: center;
  background-color: #d1d5db;
  color: #fff;
  border-radius: 50%;
  height: 3rem; width: 3rem;
}

.avatar {
  border-radius: 50%;
  align-items: center;
  display: flex;
  justify-content: center;
  height: 4rem; width: 4rem;
}

.avatar__image { height: 50%; width: 50%; }

.circle-icon {
  background: #a9e99b;
  width: 43px; height: 43px;
  border-radius: 100%;
  text-align: center;
  line-height: 150px;
  vertical-align: middle;
  padding: 11px;
}

.circle-icon1 {
  background: #c0e1f9;
  width: 43px; height: 43px;
  border-radius: 100%;
  text-align: center;
  line-height: 150px;
  vertical-align: middle;
  padding: 10px;
}

.img-2 { filter: drop-shadow(0px 0px 10px #3572EF); }

.congratulation-medal { position: absolute; top: 0; right: 5px; }

#ex3 .fa-stack[data-count]:after,
#ex2 .fa-stack[data-count]:after {
  position: absolute;
  right: 0%; top: 1%;
  content: attr(data-count);
  font-size: 30%;
  padding: .6em;
  line-height: .8em;
  color: white;
  background: rgba(255, 0, 0, 0.85);
  text-align: center;
  font-weight: bold;
}

#ex3 .fa-stack[data-count]:after { border-radius: 50%; min-width: 1em; }
#ex2 .fa-stack[data-count]:after { border-radius: 999px; min-width: 2em; line-height: .75em; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   17. Loader / Pre-loader
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.pre-loader {
  position: fixed;
  z-index: 100;
  top: 0; left: 0;
  opacity: 0.6;
  background: #191f26;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%; width: 100%;
}

.pre-loader.hidden {
  animation: fadeOut 2s;
  animation-fill-mode: forwards;
}

@keyframes fadeOut {
  100% { opacity: 0; visibility: hidden; }
}

.loading-gif { max-width: 500px; }

/* lds-roller */
.lds-roller { display: inline-block; position: relative; width: 80px; height: 80px; }
.lds-roller div { animation: lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite; transform-origin: 40px 40px; }
.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7.2px; height: 7.2px;
  border-radius: 50%;
  background: currentColor;
  margin: -3.6px 0 0 -3.6px;
}

.lds-roller div:nth-child(1) { animation-delay: -0.036s; }
.lds-roller div:nth-child(1):after { top: 62.62742px; left: 62.62742px; }
.lds-roller div:nth-child(2) { animation-delay: -0.072s; }
.lds-roller div:nth-child(2):after { top: 67.71281px; left: 56px; }
.lds-roller div:nth-child(3) { animation-delay: -0.108s; }
.lds-roller div:nth-child(3):after { top: 70.90963px; left: 48.28221px; }
.lds-roller div:nth-child(4) { animation-delay: -0.144s; }
.lds-roller div:nth-child(4):after { top: 72px; left: 40px; }
.lds-roller div:nth-child(5) { animation-delay: -0.18s; }
.lds-roller div:nth-child(5):after { top: 70.90963px; left: 31.71779px; }
.lds-roller div:nth-child(6) { animation-delay: -0.216s; }
.lds-roller div:nth-child(6):after { top: 67.71281px; left: 24px; }
.lds-roller div:nth-child(7) { animation-delay: -0.252s; }
.lds-roller div:nth-child(7):after { top: 62.62742px; left: 17.37258px; }
.lds-roller div:nth-child(8) { animation-delay: -0.288s; }
.lds-roller div:nth-child(8):after { top: 56px; left: 12.28719px; }

@keyframes lds-roller {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Spinner loader items */
.loader {
  display: block; position: absolute;
  width: 15px; height: 15px;
  left: calc(50% - 1.25em);
  border-radius: 1.25em;
  transform-origin: 1.25em 2.25em;
  animation: rotateAnimation infinite 1.85s;
}

@keyframes rotateAnimation {
  from { transform: rotateZ(0deg); }
  to   { transform: rotateZ(360deg); }
}

.item1 { animation-delay: 0.12s; background-color: #1b7842; }
.item2 { animation-delay: 0.22s; background-color: #239b53; }
.item3 { animation-delay: 0.32s; background-color: #2ecc72; }
.item4 { animation-delay: 0.42s; background-color: #82e0a0; }
.item5 { animation-delay: 0.52s; background-color: #d5f5de; }

.ion--log-set {
  display: inline-block;
  --svg: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="40" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.4"></animate></circle><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="100" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="-.2"></animate></circle><circle fill="%238DFF63" stroke="%238DFF63" stroke-width="8" r="15" cx="160" cy="100"><animate attributeName="opacity" calcMode="spline" dur="2" values="1;0;1;" keySplines=".5 0 .5 1;.5 0 .5 1" repeatCount="indefinite" begin="0"></animate></circle></svg>');
  background-color: #C9F55D;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  margin: 0 auto;
  width: 10em; height: 10em;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   18. Logo shine animation
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
#logo {
  position: absolute; top: 0; left: 0;
  width: 250px; height: 100px;
  overflow: hidden;
}
#logo img { width: 100%; }

#logo0  { position: absolute; left: 10px;  overflow: hidden; text-align: center; border-radius: 100px; }
#logo1  { position: absolute; top: 15px; left: 24px; overflow: hidden; text-align: center; border-radius: 100px; }
#logo2  { position: absolute; top: 0; left: 1px; overflow: hidden; text-align: center; border-radius: 100px; }
#logo22 { position: absolute; top: 80px; left: 50px; overflow: hidden; text-align: center; border-radius: 100px; }

#logo::before,
#logo0::before,
#logo1::before,
#logo22::before {
  content: '';
  position: absolute;
  top: 0; left: -100px;
  width: 70px; height: 100%;
  background: linear-gradient(to right,
    rgba(255,255,255,0.13) 0%,
    rgba(255,255,255,0.13) 77%,
    rgba(255,255,255,0.5)  92%,
    rgba(255,255,255,0)    100%);
  transform: skewX(-30deg);
  animation: slide 5s ease-in-out 0.3s infinite alternate;
}

@keyframes slide {
  0%   { left: -100px; top: 0; }
  50%  { left: 120px;  top: 0; }
  100% { left: 290px;  top: 0; }
}

.ddc  { position: absolute; top: 50%; left: 65%; transform: translate(-50%, -25%); }
.ddc8 { position: absolute; top: 10px; left: 90px; }
.ddd  { position: absolute; top: 550px; }
.dd8  { position: absolute; top: 550px; }

.cartoon  { position: absolute; bottom: 45px; left: 5px; animation: float 0s ease-in-out infinite; }
.cartoon2 { position: absolute; bottom: 20px; right: 20px; animation: float 6s ease-in-out infinite; }

#client-testimonial-carousel { min-height: 200px; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   19. Budget / Summary bar
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.bc-legend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 24px;
  border-bottom: 1px solid #e8eef5;
  background: #f7faff;
  font-family: var(--font);
  font-size: 13px;
  color: #334155;
}

.bc-legend-label {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-right: 4px;
}

.bc-pill { font-family: var(--font); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; letter-spacing: 0.3px; }
.bc-pill.q1 { background: #dbeafe; color: #1d4ed8; }
.bc-pill.q2 { background: #ccfbf1; color: #0f766e; }
.bc-pill.q3 { background: #dcfce7; color: #15803d; }
.bc-pill.q4 { background: #fef3c7; color: #b45309; }

.bc-chart-body  { padding: 20px 20px 24px; }
.bc-canvas-wrap { position: relative; height: 420px; }

.bc-summary-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  border-bottom: 1px solid #e8eef5;
  flex-wrap: wrap;
}

.bc-summary-bar.bc-sum-green  { background: linear-gradient(90deg, #f0fdf4, #fff); border-left: 4px solid #16a34a; }
.bc-summary-bar.bc-sum-orange { background: linear-gradient(90deg, #fffbeb, #fff); border-left: 4px solid #d97706; }
.bc-summary-bar.bc-sum-red    { background: linear-gradient(90deg, #fff1f2, #fff); border-left: 4px solid #dc2626; }

.bc-sum-left  { display: flex; flex-direction: column; min-width: 160px; }
.bc-sum-title { font-family: var(--font); font-size: 16px; font-weight: 700; color: #0d2b55; white-space: nowrap; }
.bc-sum-year  { font-family: var(--font); font-size: 14px; color: #64748b; margin-top: 2px; }

.bc-sum-center { flex: 1; min-width: 180px; }

.bc-sum-bar-wrap  { position: relative; background: rgba(100,116,139,0.12); border-radius: 99px; height: 10px; overflow: hidden; margin-bottom: 5px; }
.bc-sum-bar-fill  { height: 100%; border-radius: 99px; transition: width 1s ease; }
.bc-sum-bar-label { display: none; }

.bc-sum-green  .bc-sum-bar-fill { background: linear-gradient(90deg, #4ade80, #16a34a); }
.bc-sum-orange .bc-sum-bar-fill { background: linear-gradient(90deg, #fcd34d, #d97706); }
.bc-sum-red    .bc-sum-bar-fill { background: linear-gradient(90deg, #fca5a5, #dc2626); }

.bc-sum-amounts        { font-family: var(--font); font-size: 14px; color: #475569; }
.bc-sum-amounts strong { color: #0d2b55; font-weight: 700; }

.bc-sum-right { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.bc-sum-pct   { font-family: var(--font); font-size: 26px; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }

.bc-sum-green  .bc-sum-pct { color: #16a34a; }
.bc-sum-orange .bc-sum-pct { color: #d97706; }
.bc-sum-red    .bc-sum-pct { color: #dc2626; }

.bc-sum-badge { font-family: var(--font); font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 20px; margin-top: 4px; letter-spacing: 0.3px; }
.bc-sum-green  .bc-sum-badge { background: #dcfce7; color: #15803d; }
.bc-sum-orange .bc-sum-badge { background: #fef3c7; color: #b45309; }
.bc-sum-red    .bc-sum-badge { background: #fee2e2; color: #b91c1c; }

.budget-section { padding-bottom: 6px; margin-bottom: 6px; border-bottom: 1px dashed #d0d8e0; }
.budget-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.budget-section .row { gap: 0.5rem; }
.budget-section small.text-muted { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.3px; }
.budget-section span { font-size: 0.85rem; }
.budget-card .alert { font-size: 0.75rem; }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   20. Info Cell / Note Box
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.info-cell { padding: 12px; vertical-align: top; }
.info-container { font-size: 13px; line-height: 1.6; }

.info-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  min-height: 20px;
}

.info-row i {
  font-size: 16px;
  width: 18px; height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.label {
  font-weight: 500;
  color: #495057;
  min-width: 110px;
  display: inline-block;
  line-height: 1.4;
}

.note-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 4px;
  border-left: 3px solid #ffc107;
  margin: 8px 0;
  min-height: 40px;
}

.note-box2 {
  background-color: #fff3cd;
  padding: 10px;
  border-radius: 4px;
  border-left: 3px solid #ffc107;
  margin: 8px 0;
  min-height: 40px;
}

.note-box i {
  font-size: 18px;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.update-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #e7f3ff;
  padding: 10px;
  border-radius: 4px;
  border-left: 3px solid #007bff;
  min-height: 40px;
}

.update-box i {
  font-size: 18px;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   21. Ribbon
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.box { position: relative; background: #fff; box-shadow: 0 0 15px rgba(0,0,0,.1); }

.ribbon { width: 80px; height: 80px; overflow: hidden; position: absolute; }
.ribbon::before, .ribbon::after { position: absolute; z-index: -1; content: ''; display: block; border: 5px solid #2980b9; }
.ribbon span {
  position: absolute;
  display: block;
  width: 185px;
  padding: 5px 0;
  background-color: #3498db;
  box-shadow: 0 5px 10px rgba(0,0,0,.1);
  color: #fff;
  font: 500 14px/1 'Lato', sans-serif;
  text-transform: uppercase;
  text-align: center;
}

.ribbon-top-left  { top: -1px; left: -1px; }
.ribbon-top-right { top: -10px; right: -10px; }
.ribbon-bottom-left  { bottom: -10px; left: -10px; }
.ribbon-bottom-right { bottom: -10px; right: -10px; }

.ribbon-top-left span  { right: -25px; top: 30px;    transform: rotate(-45deg); }
.ribbon-top-right span { left: -25px;  top: 30px;    transform: rotate(45deg); }
.ribbon-bottom-left span  { right: -25px; bottom: 30px; transform: rotate(225deg); }
.ribbon-bottom-right span { left: -25px;  bottom: 30px; transform: rotate(-225deg); }


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   22. Text helpers / Pills / C-pill
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.c-pill {
  align-items: center;
  font-family: "LINE Seed Sans", Arial, Verdana, sans-serif;
  font-weight: bold;
  font-size: 11px;
  display: inline-block;
  height: 100%;
  white-space: nowrap;
  width: auto;
  position: relative;
  border-radius: 100px;
  overflow: hidden;
  padding: 0 7px;
  line-height: 1.25rem;
  color: #fff;
  word-break: break-word;
}

.c-pill--success { background: #b4eda0; }
.c-pill--success:before { background: #6BC167; }
.c-pill--warning { background: #ffebb6; }
.c-pill--warning:before { background: #ffc400; }
.c-pill--danger  { background: #FF4848; }
.c-pill--danger:before  { background: #FF4848; }

.text0-bg  { color: #D80032; border-radius: 50px; padding: 4px 10px; background-color: #E3F4F4; }
.text0-bg:hover  { color: #fff; background-color: #6927FF; }

.text00-bg { border-radius: 50px; padding: 4px 8px; background-color: #E3F4F4; }
.text00-bg:hover { color: #fff; background-color: #6927FF; }

.textdel-bg { color: #D80032; border-radius: 50px; padding: 6px 8px 4px 8px; background-color: #FFD6EC; }
.textdel-bg:hover { color: #fff; background-color: #FF6969; }

.text-bg   { border-radius: 50px; padding: 4px 10px; background-color: #CDFCF6; }
.text-bg:hover { color: #fff; background-color: #B4E4FF; }

.text2-bg  { border-radius: 50px; padding: 0 6px 0 14px; background-color: #6927FF; }
.text3-bg  { border-radius: 50px; padding: 0 5px;        background-color: #EDFFA9; }

.text7-bg       { color: #191919; border-radius: 8px; padding: 4px 5px; background-color: #F5FEC0; }
.text-success-bg { color: #191919; border-radius: 8px; padding: 8px 5px 4px 5px; background-color: #E0FBE2; }
.text-yellow    { color: #E1FC2C; }

.radio-danger { color: #D80032; }

/* Vertical text styles (style23โ€“style44) โ€” เธฃเธงเธกเน€เธเนเธ class เน€เธ”เธตเธขเธง */
.style-vertical {
  filter: flipv fliph;
  transform: rotate(-90deg);
  position: relative;
  width: 20px;
  white-space: nowrap;
  font-size: 14px;
  margin-top: 250px;
  color: #000;
  display: block;
}

/* เนเธเน class เน€เธ”เธดเธกเธชเธณเธซเธฃเธฑเธ backward compat */
.style23, .style25, .style26, .style27, .style28, .style29,
.style30, .style31, .style32, .style33, .style34, .style35,
.style36, .style37, .style38, .style39, .style40, .style44 {
  filter: flipv fliph;
  transform: rotate(-90deg);
  position: relative;
  width: 20px;
  white-space: nowrap;
  font-size: 14px;
  margin-top: 250px;
  color: #000;
  display: block;
}

.style1  { color: #EB6383; }
.style2  { color: #fff; font-weight: bold; }
.style3  { color: #EB6383; font-weight: bold; }
.style41 { font-size: 14px; }
.style43 { color: #000; font-size: 14px; }
.textAlignVer {
  display: block;
  transform: rotate(-90deg);
  position: relative;
  width: 20px;
  white-space: nowrap;
  font-size: 12px;
  margin-top: 250px;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   23. Tooltip
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.tooltip { font-family: "LINE Seed Sans"; position: relative; display: inline-block; }
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
}


/* โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
   24. Misc
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ */
.mini-stat .mini-stat-img {
  width: 58px; height: 58px;
  line-height: 58px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  text-align: center;
}
.mini-stat .mini-stat-img img { max-width: 32px; }
.mini-stat .mini-stat-label {
  position: absolute;
  right: 0; top: 18px;
  padding: 2px 10px 2px 32px;
  clip-path: polygon(100% 0, 100% 50%, 100% 100%, 0% 100%, 24% 50%, 6% 0);
}

.carousel-inner img { width: 100%; height: 100%; }

.liquidFillGaugeText { font-family: Helvetica; font-weight: bold; }

.card-revenue-budget .revenue-report-wrapper { padding: 1.286rem 1.5rem; }
@media (min-width: 768px) {
  .card-revenue-budget .revenue-report-wrapper { border-right: 1px solid #ebe9f1; }
}
.card-revenue-budget .budget-wrapper { padding: 2rem 3rem; text-align: center; }
@media (max-width: 767.98px) {
  .card-revenue-budget .budget-wrapper { padding-top: 0; }
}
.card-revenue-budget .budget-wrapper .budget-dropdown { margin-bottom: 2rem; }
.card-revenue-budget .budget-wrapper #budget-chart { margin-top: 2rem; margin-bottom: 2rem; }

.inputfile { width: 0.1px; height: 0.1px; opacity: 0; overflow: hidden; position: absolute; z-index: -1; }
.inputfile + label { font-size: 1.25em; font-weight: 700; color: white; background-color: black; display: inline-block; cursor: pointer; }
.inputfile + label * { pointer-events: none; }
.inputfile:focus + label { outline: 1px dotted #000; outline: -webkit-focus-ring-color auto 5px; }
.inputfile:focus + label, .inputfile + label:hover { background-color: red; }

.text.sec-text:before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%; width: 100%;
  background-color: #EFF8FF;
  border-left: 2px solid #4070F4;
  animation: animate 4s steps(12) infinite;
}

@keyframes animate {
  40%, 60% { left: calc(100% + 4px); }
  100% { left: 0%; }
}

/* ออออออออออออออออออออออออออออออออออออออออออออออออออออออ
   25. MOBILE RESPONSIVE — DDC-PTS
   ออออออออออออออออออออออออออออออออออออออออออออออออออออออ */

#mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 13px;
  left: 80px;
  z-index: 10001;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  color: #0008C1;
  font-size: 20px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
#mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #08085E;
}

#sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  backdrop-filter: blur(2px);
}
#sidebar-overlay.active { display: block; }

@media (max-width: 768px) {
  #mobile-menu-toggle { display: flex !important; }

  .topbar-left { width: 70px !important; overflow: hidden; }
  .topbar-left .logo span { display: none !important; }
  .topbar-left .logo i   { display: block !important; }
  .topbar-logo { display: none !important; }
  .navbar-custom { margin-left: 70px !important; padding-right: 8px !important; }

  .left.side-menu {
    position: fixed !important;
    top: 0 !important;
    left: -300px !important;
    height: 100vh !important;
    z-index: 9999 !important;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow-y: auto !important;
    box-shadow: none !important;
  }
  .left.side-menu.mobile-open {
    left: 0 !important;
    box-shadow: 4px 0 20px rgba(0,0,0,0.3) !important;
  }

  .content-page { margin-left: 0 !important; }
  .content-page .content { padding: 8px !important; margin-top: 65px !important; }
  #wrapper { padding-top: 70px !important; }

  .col-xl-6, .col-xl-4, .col-xl-3,
  .col-lg-6, .col-lg-4, .col-lg-3 { flex: 0 0 100%; max-width: 100%; }

  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter { float: none !important; display: block !important; margin-bottom: 8px !important; }
  .dataTables_filter input { width: 100% !important; min-width: unset !important; }
  .dataTables_paginate { text-align: center !important; float: none !important; }

  .bud-cards { grid-template-columns: 1fr !important; }
  .bud-alert { flex-direction: column !important; text-align: center !important; }

  .login-popup { width: 92% !important; padding: 20px !important; }
  .bc-canvas-wrap { height: 260px !important; }

  h4 { font-size: 16px !important; }
  h5 { font-size: 14px !important; }
}

@media (max-width: 480px) {
  #mobile-menu-toggle { top: 13px; left: 75px; width: 38px; height: 38px; font-size: 18px; }
  .content-page .content { padding: 5px !important; margin-top: 60px !important; }
  .card { border-radius: 10px !important; margin-bottom: 12px !important; }
  .card-body { padding: 12px !important; }
  .table-responsive { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; }
}

@media (max-width: 375px) {
  .navbar-custom { margin-left: 60px !important; }
  .content-page .content { padding: 4px !important; margin-top: 58px !important; }
}

