/* Global modern UI skin (non-breaking overrides)
   Loaded AFTER admintemplate/assets/css/style.css */

:root{
  /* Softer, eye-comfortable base */
  --ui-bg: #f7f9fc;
  --ui-surface: rgba(255,255,255,0.92);
  --ui-surface-solid: #ffffff;
  --ui-text: #0f172a;
  --ui-muted: #64748b;
  --ui-border: rgba(15, 23, 42, 0.10);
  --ui-border-strong: rgba(15, 23, 42, 0.16);
  /* Branding (dark navy scheme like your “FILTERS” button) */
  --ui-primary: #10314d;   /* navy */
  --ui-primary-2: #3664a8; /* brand blue */
  --ui-grad: linear-gradient(135deg, var(--ui-primary) 0%, var(--ui-primary-2) 100%);
  --ui-danger: #9e2d2d;
  --ui-success: #288149;
  --ui-warning: #f59e0b;
  --ui-radius-sm: 10px;
  --ui-radius: 14px;
  --ui-radius-lg: 18px;
  --ui-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  --ui-shadow-soft: 0 6px 20px rgba(15, 23, 42, 0.08);
  --ui-ring: 0 0 0 4px rgba(54, 100, 168, 0.18);
}

/* Typography + base */
html, body{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body{
  color: var(--ui-text) !important;
  background:
    radial-gradient(1100px 600px at 14% 0%, rgba(16,49,77,0.06), transparent 55%),
    radial-gradient(900px 520px at 92% 12%, rgba(54,100,168,0.06), transparent 52%),
    var(--ui-bg) !important;
}
a{ color: inherit; }
a:hover{ color: var(--ui-primary) !important; }

/* Page container */
.main-body .page-wrapper{
  padding: 1.25rem !important;
}
@media (min-width: 1200px){
  .main-body .page-wrapper{ padding: 1.65rem !important; }
}

/* Inner page header + breadcrumb polish */
.main-body .page-wrapper .page-header{
  border-radius: var(--ui-radius) !important;
  border: 1px solid rgba(15,23,42,0.08) !important;
  box-shadow: var(--ui-shadow-soft) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.92) 100%) !important;
  padding: 18px 18px !important;
}
.main-body .page-wrapper .page-header-title h4{
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  color: var(--ui-text) !important;
}
.main-body .page-wrapper .page-header-title span{
  color: rgba(100,116,139,0.95) !important;
}
.page-header-breadcrumb .breadcrumb{
  background: transparent !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
.page-header-breadcrumb .breadcrumb-item + .breadcrumb-item::before{
  color: rgba(100,116,139,0.8) !important;
}
.page-header-breadcrumb .breadcrumb-item a{
  color: rgba(30,58,138,0.85) !important;
  font-weight: 700;
}
.page-header-breadcrumb .breadcrumb-item.active{
  color: rgba(100,116,139,0.95) !important;
  font-weight: 700;
}

/* Cards */
.card{
  border-radius: var(--ui-radius) !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: var(--ui-shadow-soft) !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 100%) !important;
}
.card .card-header{
  background: transparent !important;
  border-bottom: 1px solid rgba(15,23,42,0.06) !important;
  padding: .95rem 1.05rem !important;
}
.card .card-header h5{
  font-weight: 800 !important;
  color: var(--ui-text) !important;
  letter-spacing: -0.01em;
}
.card-block,
.card .card-block{
  padding: 1.05rem 1.05rem !important;
}

/* Inner pages: nicer content surface spacing */
.page-body{
  border-radius: var(--ui-radius) !important;
}
.page-body > .row:first-child{
  margin-top: 6px;
}
.page-body .card{
  margin-bottom: 22px !important;
}

/* Buttons */
.btn{
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  padding: .46rem .95rem !important;
  transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease, border-color .14s ease, filter .14s ease;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  border: 0 !important;
  background: var(--ui-grad) !important;
  box-shadow: 0 12px 22px rgba(30,58,138,0.22) !important;
  margin-bottom: 10px !important;
}
.btn-primary:hover{
  filter: brightness(1.02);
  box-shadow: 0 16px 28px rgba(30,58,138,0.24) !important;
  color: #ffffff !important;
}
.btn-outline-primary{
  border-color: rgba(79,70,229,0.35) !important;
  color: var(--ui-primary) !important;
}
.btn-outline-primary:hover{
  background: rgba(79,70,229,0.08) !important;
}
.btn-danger{
  border: 0 !important;
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  box-shadow: 0 12px 22px rgba(239,68,68,0.20) !important;
}
.btn-success{
  border: 0 !important;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 12px 22px rgba(34,197,94,0.18) !important;
}
.btn-sm{
  padding: .35rem .75rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 11px !important;
}
/* Table action buttons commonly used in lists */
table .btn,
.table .btn{
  box-shadow: none !important;
}
table .btn.btn-outline-primary,
.table .btn.btn-outline-primary{
  background: rgba(37,99,235,0.06) !important;
  border-color: rgba(37,99,235,0.20) !important;
}
table .btn.btn-outline-danger,
.table .btn.btn-outline-danger{
  background: rgba(220,38,38,0.06) !important;
  border-color: rgba(220,38,38,0.22) !important;
  color: #b91c1c !important;
}

/* Forms */
.form-control,
select.form-control{
  border-radius: 12px !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.92) !important;
  color: var(--ui-text) !important;
}
.form-control::placeholder{ color: rgba(100,116,139,0.9) !important; }
.form-control:focus,
select.form-control:focus{
  border-color: rgba(79,70,229,0.45) !important;
  box-shadow: var(--ui-ring) !important;
}
.input-group-text{
  border-radius: 12px !important;
  border: 1px solid var(--ui-border) !important;
  background: rgba(255,255,255,0.86) !important;
}

/* Tables */
.table{
  background: transparent !important;
}
.table-responsive{
  border-radius: var(--ui-radius) !important;
}
.table:not(.table-bordered){
  border-collapse: separate !important;
  border-spacing: 0;
}
.table thead th{
  border-bottom: 1px solid rgba(15,23,42,0.10) !important;
  color: var(--ui-muted) !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  font-size: 11px !important;
  letter-spacing: .06em;
}
.table td{
  color: var(--ui-text) !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border-top: 1px solid rgba(15,23,42,0.06) !important;
}
.table-hover tbody tr:hover{
  background: rgba(37,99,235,0.05) !important;
}

/* DataTables (Bootstrap 4) */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate{
  color: rgba(15,23,42,0.72) !important;
  font-weight: 600;
}
.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label{
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .35rem;
}
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input{
  border-radius: 999px !important;
  border: 1px solid var(--ui-border) !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: none !important;
  height: 38px;
  padding: 0 .9rem !important;
  color: var(--ui-text) !important;
}
.dataTables_wrapper .dataTables_filter input{
  min-width: min(320px, 64vw);
}
.dataTables_wrapper .dataTables_length select:focus,
.dataTables_wrapper .dataTables_filter input:focus{
  border-color: rgba(96,165,250,0.55) !important;
  box-shadow: var(--ui-ring) !important;
}

table.dataTable{
  border: 1px solid rgba(15,23,42,0.08) !important;
  border-radius: var(--ui-radius) !important;
  overflow: hidden;
}
table.dataTable thead th{
  background: linear-gradient(180deg, rgba(30,58,138,0.05) 0%, rgba(96,165,250,0.04) 100%) !important;
}
table.dataTable tbody tr{
  background: rgba(255,255,255,0.88) !important;
}
table.dataTable tbody tr:nth-child(even){
  background: rgba(248,250,252,0.92) !important;
}
table.dataTable.no-footer{
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
}

/* Pagination */
.dataTables_wrapper .dataTables_paginate{
  padding-top: .85rem;
}
.dataTables_wrapper .dataTables_paginate .pagination{
  gap: 6px;
}
.dataTables_wrapper .dataTables_paginate .page-item .page-link{
  border-radius: 999px !important;
  border: 1px solid rgba(15,23,42,0.10) !important;
  color: rgba(15,23,42,0.78) !important;
  padding: .42rem .78rem !important;
  box-shadow: none !important;
  background: rgba(255,255,255,0.92) !important;
}
.dataTables_wrapper .dataTables_paginate .page-item .page-link:hover{
  background: rgba(37,99,235,0.06) !important;
  border-color: rgba(37,99,235,0.18) !important;
}
.dataTables_wrapper .dataTables_paginate .page-item.active .page-link{
  background: var(--ui-grad) !important;
  border: 0 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 22px rgba(30,58,138,0.18) !important;
}
.dataTables_wrapper .dataTables_paginate .page-item.disabled .page-link{
  opacity: .55;
}

/* Alerts */
.alert{
  border-radius: var(--ui-radius) !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: var(--ui-shadow-soft) !important;
}
.alert-success{
  background: rgba(34,197,94,0.10) !important;
  border-color: rgba(34,197,94,0.22) !important;
  color: #14532d !important;
}
.alert-danger{
  background: rgba(239,68,68,0.10) !important;
  border-color: rgba(239,68,68,0.22) !important;
  color: #7f1d1d !important;
}
.alert-warning{
  background: rgba(245,158,11,0.12) !important;
  border-color: rgba(245,158,11,0.22) !important;
  color: #78350f !important;
}

/* Top navbar */
.pcoded-header{
  background: rgba(255,255,255,0.82) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15,23,42,0.08) !important;
}
.pcoded-header .navbar-logo{
  background: transparent !important;
}
.pcoded-header a,
.pcoded-header i{
  color: var(--ui-text) !important;
}
.pcoded-header .user-profile img{
  border-radius: 999px !important;
  box-shadow: 0 8px 16px rgba(15,23,42,0.12);
}

/* Sidebar */
.pcoded-navbar{
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.80) 100%) !important;
  border-right: 1px solid rgba(15,23,42,0.08) !important;
  box-shadow: 12px 0 28px rgba(15,23,42,0.06);
  backdrop-filter: blur(10px);
}
.pcoded-navbar .pcoded-inner-navbar li > a{
  padding: 11px 16px !important;
  margin: 4px 10px !important;
  border-radius: 12px !important;
  color: rgba(15,23,42,0.82) !important;
  transition: background .14s ease, transform .14s ease, color .14s ease;
}
.pcoded-navbar .pcoded-inner-navbar li > a:hover{
  background: rgba(79,70,229,0.08) !important;
  color: var(--ui-text) !important;
  transform: translateX(2px);
}
.pcoded-navbar .pcoded-inner-navbar li.active > a,
.pcoded-navbar .pcoded-inner-navbar li.pcoded-trigger > a{
  background: linear-gradient(135deg, rgba(16,49,77,0.10) 0%, rgba(54,100,168,0.10) 100%) !important;
  color: var(--ui-text) !important;
  border: 1px solid rgba(54,100,168,0.18) !important;
}
.pcoded-navbar .pcoded-inner-navbar li > a .pcoded-micon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-grid !important;
  place-items: center;
  margin-right: 12px;
  background: var(--ui-grad) !important;
  box-shadow: 0 10px 18px rgba(79,70,229,0.22);
}
.pcoded-navbar .pcoded-inner-navbar li > a .pcoded-micon i,
.pcoded-navbar .pcoded-inner-navbar li > a .pcoded-micon b{
  color: #ffffff !important;
}
.pcoded-navbar .pcoded-inner-navbar li > a .pcoded-mtext{
  font-weight: 700 !important;
}
.pcoded-navbar .pcoded-submenu{
  padding-left: 8px !important;
}
.pcoded-navbar .pcoded-submenu li > a{
  margin: 3px 10px 3px 16px !important;
  font-size: 13px !important;
}

/* Submenu items should NOT use the big icon chips */
.pcoded-navbar .pcoded-submenu li > a .pcoded-micon{
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}
.pcoded-navbar .pcoded-submenu li > a .pcoded-micon i,
.pcoded-navbar .pcoded-submenu li > a .pcoded-micon b{
  color: rgba(100,116,139,0.85) !important;
}

/* Template also injects a sub-item icon via .pcoded-mtext:before → disable it (keeps only the single arrow icon in markup) */
.pcoded-navbar .pcoded-submenu li > a .pcoded-mtext:before{
  display: none !important;
  content: none !important;
}

/* Dropdowns / menus */
.dropdown-menu,
.show-notification{
  border-radius: var(--ui-radius) !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: var(--ui-shadow) !important;
}

/* Remove template "upgrade"/floating fixed buttons everywhere */
.fixed-button{
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Scrollbars (nice-to-have) */
*{
  scrollbar-width: thin;
  scrollbar-color: rgba(100,116,139,0.45) transparent;
}
*::-webkit-scrollbar{ width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb{
  background: rgba(100,116,139,0.32);
  border-radius: 999px;
}
*::-webkit-scrollbar-track{ background: transparent; }

/* —— Update profile (scoped) —— */
.harrier-profile .harrier-profile__panel{
  border-radius: var(--ui-radius-lg) !important;
  border: 1px solid var(--ui-border) !important;
  box-shadow: var(--ui-shadow-soft) !important;
  overflow: hidden;
}
.harrier-profile .harrier-profile__panelHead{
  padding: 22px 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.96) 100%) !important;
  border-bottom: 1px solid var(--ui-border) !important;
}
.harrier-profile .harrier-profile__panelHead h5{
  margin: 0 0 6px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  font-size: 1.15rem !important;
  color: var(--ui-text) !important;
}
.harrier-profile .harrier-profile__subtitle{
  margin: 0;
  font-size: 0.9rem;
  color: var(--ui-muted);
  max-width: 42rem;
  line-height: 1.45;
}
.harrier-profile .harrier-profile__panelBody{
  padding: 26px 22px 28px !important;
}
.harrier-profile .harrier-profile__layout{
  align-items: flex-start;
}
.harrier-profile .harrier-profile__aside{
  margin-bottom: 1.25rem;
}
@media (min-width: 992px){
  .harrier-profile .harrier-profile__aside{
    margin-bottom: 0;
    position: sticky;
    top: 1rem;
  }
}
.harrier-profile .harrier-profile__avatarCard{
  text-align: center;
  padding: 22px 18px;
  border-radius: var(--ui-radius);
  border: 1px solid var(--ui-border);
  background: linear-gradient(165deg, rgba(255,255,255,0.95), rgba(241,245,249,0.65));
  box-shadow: var(--ui-shadow-soft);
}
.harrier-profile .harrier-profile__avatar{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  display: inline-block;
  margin-bottom: 14px;
}
.harrier-profile .harrier-profile__fileLabel{
  display: block;
  cursor: pointer;
  margin: 0;
}
.harrier-profile .harrier-profile__fileInput{
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.harrier-profile .harrier-profile__fileBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff !important;
  background: var(--ui-grad);
  box-shadow: 0 8px 20px rgba(16, 49, 77, 0.22);
  transition: transform 0.12s ease, filter 0.15s ease;
}
.harrier-profile .harrier-profile__fileLabel:hover .harrier-profile__fileBtn{
  filter: brightness(1.05);
}
.harrier-profile .harrier-profile__fileHint{
  margin: 10px 0 0;
  font-size: 0.75rem;
  color: var(--ui-muted);
  line-height: 1.4;
}
.harrier-profile .harrier-profile__label{
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(71, 85, 105, 0.95) !important;
  padding-top: 0.55rem !important;
}
.harrier-profile .harrier-profile__input{
  border-radius: var(--ui-radius-sm) !important;
  border: 1px solid var(--ui-border-strong) !important;
  min-height: 44px;
  font-size: 0.9375rem !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.harrier-profile .harrier-profile__input:focus{
  border-color: rgba(54, 100, 168, 0.45) !important;
  box-shadow: var(--ui-ring) !important;
}
.harrier-profile .harrier-profile__input--readonly{
  background: rgba(241, 245, 249, 0.85) !important;
  color: rgba(51, 65, 85, 0.9) !important;
  cursor: not-allowed;
}
.harrier-profile .harrier-profile__row{
  margin-bottom: 0.35rem;
}
.harrier-profile .harrier-profile__row--gender{
  align-items: center;
}
.harrier-profile .harrier-profile__radios{
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 0.35rem;
}
.harrier-profile .harrier-profile__radio{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 600;
  color: var(--ui-text);
  cursor: pointer;
  user-select: none;
}
.harrier-profile .harrier-profile__radio input{
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ui-primary-2);
}
.harrier-profile .harrier-profile__row--actions{
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}
.harrier-profile .harrier-profile__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.harrier-profile .harrier-profile__submit{
  min-width: 200px;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8125rem !important;
  border: 0 !important;
  background: var(--ui-grad) !important;
  box-shadow: 0 12px 28px rgba(16, 49, 77, 0.28) !important;
}
.harrier-profile .harrier-profile__submit:hover{
  filter: brightness(1.06);
}
