/* ============================================================
   HASHTAG KIDS — Brand Theme
   Primary:    #F9C22E  (golden yellow)
   Primary dk: #E0A80D  (hover/active)
   Sidebar:    #1E1A16  (warm charcoal)
   Cream bg:   #FFF8F2
   Text dark:  #2D2B28
   ============================================================ */

:root {
  --hk-primary:    #F9C22E;
  --hk-primary-dk: #E0A80D;
  --hk-primary-lt: rgba(249, 194, 46, 0.12);
  --hk-dark:       #2D2B28;
  --hk-sidebar:    #1E1A16;
  --hk-sidebar-hdr:#141210;
  --hk-cream:      #FFF8F2;
  --hk-border:     #EDE8E2;
  --hk-muted:      #888480;
}

/* ── Body & Background ── */
html,
body {
  background: var(--hk-cream) !important;
}

body {
  color: var(--hk-dark);
  font-family: "Poppins", Arial, sans-serif;
}

/* ── Links ── */
a {
  color: var(--hk-dark);
}
a:hover,
a:focus {
  color: var(--hk-primary);
}

/* ── Header (top bar) ── */
.header {
  background: #fff !important;
  border-bottom: 1px solid var(--hk-border) !important;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06) !important;
}

.logo-container {
  background: var(--hk-sidebar-hdr) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.logo-container .logo i {
  color: var(--hk-primary) !important;
}

.header-right {
  background: #fff !important;
}

/* Userbox / avatar area */
.userbox .profile-info strong {
  color: var(--hk-dark) !important;
}

/* ── Sidebar ── */
.sidebar-left {
  background: var(--hk-sidebar) !important;
}

.sidebar-left .sidebar-header {
  background: var(--hk-sidebar-hdr) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.sidebar-left .sidebar-title {
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 12px;
  text-transform: uppercase;
}

.sidebar-left .sidebar-toggle i,
.sidebar-left .sidebar-header .sidebar-toggle i {
  color: rgba(255, 255, 255, 0.4) !important;
}
.sidebar-left .sidebar-toggle:hover i {
  color: var(--hk-primary) !important;
}

/* Nano scrollbar */
.sidebar-left .nano > .nano-pane > .nano-slider {
  background: rgba(249, 194, 46, 0.3) !important;
}

/* ── Sidebar Nav links ── */
.sidebar-left .nav-main li > a {
  color: #A8A09A !important;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.sidebar-left .nav-main li > a i,
.sidebar-left .nav-main li > a .bx {
  color: #706860 !important;
  transition: color 0.15s;
}

.sidebar-left .nav-main li > a span {
  transition: color 0.15s;
}

.sidebar-left .nav-main li > a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
  border-left-color: rgba(249, 194, 46, 0.4) !important;
}

.sidebar-left .nav-main li > a:hover i,
.sidebar-left .nav-main li > a:hover .bx {
  color: var(--hk-primary) !important;
}

/* Active nav item */
.sidebar-left .nav-main li.nav-active > a,
ul.nav-main > li.nav-active > a {
  background: var(--hk-primary-lt) !important;
  color: #fff !important;
  border-left-color: var(--hk-primary) !important;
}

.sidebar-left .nav-main li.nav-active > a i,
.sidebar-left .nav-main li.nav-active > a .bx {
  color: var(--hk-primary) !important;
}

/* Nav parent chevron */
.sidebar-left .nav-main li.nav-parent > a > .fa-chevron-down,
.sidebar-left .nav-main li.nav-parent > a > i.nav-arrow {
  color: rgba(255, 255, 255, 0.2) !important;
}

/* Children (sub-menu) */
.sidebar-left .nav-main ul.nav-children {
  background: rgba(0, 0, 0, 0.2) !important;
}

.sidebar-left .nav-main ul.nav-children li > a {
  color: #887E78 !important;
  border-left-color: transparent !important;
}

.sidebar-left .nav-main ul.nav-children li > a:hover {
  color: var(--hk-primary) !important;
  background: transparent !important;
}

.sidebar-left .nav-main ul.nav-children li.nav-active > a {
  color: var(--hk-primary) !important;
}

/* Collapsed sidebar hover state */
html.sidebar-left-collapsed .sidebar-left:hover .nav-main li.nav-active > a {
  background: var(--hk-primary-lt) !important;
  color: #fff !important;
}

/* ── Page header / Breadcrumb ── */
.page-header {
  background: var(--hk-cream) !important;
  border-bottom: 1px solid var(--hk-border) !important;
}

.page-header h2 {
  color: var(--hk-dark) !important;
}

.breadcrumb > li + li::before {
  color: var(--hk-muted);
}

.breadcrumb a {
  color: var(--hk-muted);
}

.breadcrumb a:hover {
  color: var(--hk-primary);
}

/* ── Content area ── */
.inner-wrapper-relative,
.content-body {
  background: var(--hk-cream) !important;
}

/* ── Cards ── */
section.card,
.card {
  border-radius: 10px !important;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07) !important;
  border: 1px solid var(--hk-border) !important;
}

.card-header,
section.card > header.card-header {
  background: #fff !important;
  border-bottom: 1px solid var(--hk-border) !important;
  border-radius: 10px 10px 0 0 !important;
}

.card-title {
  color: var(--hk-dark) !important;
}

/* ── Buttons ── */
.btn-primary {
  background-color: var(--hk-primary) !important;
  border-color: var(--hk-primary) !important;
  color: var(--hk-dark) !important;
  font-weight: 600 !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--hk-primary-dk) !important;
  border-color: var(--hk-primary-dk) !important;
  color: var(--hk-dark) !important;
  box-shadow: 0 3px 10px rgba(249, 194, 46, 0.35) !important;
}

/* ── Porto primary color overrides (#0088CC → brand yellow) ── */
html .text-primary,
html .heading-primary,
html .lnk-primary,
html .text-color-primary {
  color: var(--hk-primary) !important;
}

html .background-color-primary {
  background-color: var(--hk-primary) !important;
}

/* Badges */
.badge-primary,
.badge.badge-primary {
  background-color: var(--hk-primary) !important;
  color: var(--hk-dark) !important;
}

/* Progress bars */
.progress-bar-primary {
  background-color: var(--hk-primary) !important;
}

/* ── Bottom mobile menus ── */
.bottom-menu {
  background-color: #fff !important;
  border-top: 1px solid var(--hk-border) !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06) !important;
}

.bottom-menu svg path:not([fill="none"]) {
  fill: var(--hk-dark);
}

.bottom-menu a:hover svg path:not([fill="none"]),
.bottom-menu a:hover i {
  fill: var(--hk-primary);
  color: var(--hk-primary);
}

/* ── Tables ── */
.table thead th {
  border-bottom: 2px solid var(--hk-border) !important;
  color: var(--hk-dark) !important;
  font-weight: 600;
}

/* ── DataTables ── */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--hk-primary) !important;
  border-color: var(--hk-primary) !important;
  color: var(--hk-dark) !important;
}

/* ── Sidebar right ── */
#sidebar-right {
  background: #fff !important;
  border-left: 1px solid var(--hk-border) !important;
}

/* ─────────────────────────────────────────────
   FUNCTIONAL CSS (layout helpers, preloader…)
   ───────────────────────────────────────────── */

.border-success {
  border: 2px solid green;
}

@media (max-width: 500px) {
  .wd-130 {
    margin-top: 10px;
    width: 147%;
  }
  .text-responsive {
    font-size: 12px;
  }
}

@media (max-width: 425px) {
  .wd-130 {
    margin-top: 10px;
    width: 130%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1000px) {
  .assetImgCol {
    margin-right: 80px;
  }
}

.dataTables_empty {
  display: none;
}

.disabled-link {
  pointer-events: none;
  cursor: default;
  background-color: #e5e5e5;
}

.divider-left {
  border-left: 0.5px solid #ccc !important;
}

#cotainerOrderDetail p {
  color: #33353f !important;
}

#cotainerOrderDetail h4 {
  color: #33353f !important;
  font-weight: bold;
}

#cotainerOrderDetail {
  --bs-gutter-x: 0rem;
}

.order-status {
  border: 1px solid;
  padding: 5px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

/* Cover spin (full-page loading overlay) */
#cover-spin {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: rgba(3, 0, 0, 0.438);
  z-index: 99999;
}

@-webkit-keyframes spin {
  from { -webkit-transform: rotate(0deg); }
  to   { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

#cover-spin::after {
  content: '';
  display: block;
  position: absolute;
  left: 48%;
  top: 40%;
  width: 40px;
  height: 40px;
  border-style: solid;
  border-color: var(--hk-primary);
  border-top-color: transparent;
  border-width: 4px;
  border-radius: 50%;
  -webkit-animation: spin 0.8s linear infinite;
  animation: spin 0.8s linear infinite;
}

@media (max-width: 767px) {
  .header .logo-container {
    height: 70px;
  }
  .userbox .dropdown-menu {
    padding: 43px 20px 0 0;
  }
}

/* Preloader ring */
.lds-dual-ring {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6px solid var(--hk-primary);
  border-color: var(--hk-primary) transparent var(--hk-primary) transparent;
  animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.overlay-mode {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.bg-preloader {
  background: rgb(104, 104, 104);
  z-index: 9999;
}

/* ── Skeleton loading ── */
.skeleton-box {
  display: inline-block;
  height: 1em;
  position: relative;
  overflow: hidden;
  background-color: #e8e0d8;
}

.skeleton-box::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(-100%);
  background-image: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0.2) 20%,
    rgba(255, 255, 255, 0.5) 60%,
    rgba(255, 255, 255, 0)
  );
  -webkit-animation: shimmer 5s infinite;
  animation: shimmer 5s infinite;
  content: "";
}

@-webkit-keyframes shimmer {
  100% { transform: translateX(100%); }
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.blog-post__headline {
  font-size: 1.25em;
  font-weight: bold;
}

.blog-post__meta {
  font-size: 0.85em;
  color: #6b6b6b;
}

.o-media {
  display: flex;
}

.o-media__body {
  flex-grow: 1;
  margin-left: 1em;
}

.o-vertical-spacing > * + * {
  margin-top: 0.75em;
}

.o-vertical-spacing--l > * + * {
  margin-top: 2em;
}

main {
  margin-top: 3em;
}

header h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  line-height: 1.2;
  font-size: 2em;
}

header p:not(:first-child) {
  margin-top: 1em;
}

input.largerCheckbox {
  width: 25px;
  height: 25px;
}

.tag {
  background: #333;
  color: white;
  padding: 5px;
  border-radius: 8px;
  font-size: 8px;
  margin-top: 15px;
  margin-left: 5px;
}

.border-alert {
  border-bottom: 2px solid var(--hk-primary);
}

.border-confirm {
  border-bottom: 2px solid #05ce08;
}

@media (min-width: 600px) {
  .mobile-menu {
    display: none;
  }
}

@media only screen and (max-width: 1199.98px) and (min-width: 768px) {
  .notification-icon {
    left: 90px !important;
  }
}

input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"],
select:focus,
textarea {
  font-size: 16px !important;
}

/* ── Payment Methods accordion ── */
.accordion-payment-title {
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.1rem 1.25rem;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0;
  overflow-anchor: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    border-radius 0.15s ease;
}

.accordion-button-min {
  padding: 0.1rem 1.25rem !important;
}

.accordion-header {
  margin-top: 3px !important;
}

.accordion-payment-item {
  border: 1px solid #00000042 !important;
  border-radius: 10px;
  margin-top: 5px;
}

.accordion-button:not(.collapsed) {
  border-radius: 10px;
}

#payment_methods_front_texts p {
  line-height: 14px;
}

.form-fix-height {
  width: 100% !important;
  height: 43.8px;
  font-size: 1rem !important;
}

/* ── Statistics squares (index) ── */
.stat_square {
  border-radius: 12px;
  border: 1px solid var(--hk-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.stat_square:hover {
  box-shadow: 0 4px 16px rgba(249, 194, 46, 0.2);
  transform: translateY(-2px);
}
