/* ICR Pedigree – Clean theme stylesheet (scoped)
   Usage (to avoid conflicts):
   Add class="theme-icr" to <body> (or to your top wrapper).
*/

:root{
  /* Backgrounds */
  --icr-bg: #000000;
  --icr-bg-2: #0d0d0d;
  --icr-bg-3: #1a1a1a;

  /* Text */
  --icr-text:#ffffff;
  --icr-accent: #d4af37;   /* Elegant gold */

  /* Hover */
  --icr-hover: #f5c542;    /* Champagne gold */

  /* Accent colors */
  --icr-gold: #d4af37;
  --icr-warm-gold: #e6c86e; /* Warm Champagne gold */
  
  /* Social (keep brand but soften UI base) */
  --fb-blue:rgba(66, 103, 178, 1);
  --fb-blue-brand:rgba(66,103,178,1);
  --insta-pink: rgba(214, 41, 118, 1);
  --insta-pink-brand:rgba(214,41,118,1);
  --art-red:rgba(255,0,0,1);

  /* Base white */
  --icr-white:#ffffff;

  --icr-border:rgba(255, 255, 255, .15);

  --icr-text-box-shadow: rgba(212, 175, 55, .35);

  /* Subtle / Secondary text */
  --icr-muted:rgba(255, 255, 255, .75);

  /* Disabled state */
  --icr-disabled: rgba(80, 80, 80, .4);

  /* Focus ring / highlight */
  --icr-focus: rgba(255,255,255,.35);

  /* Headings */
  --icr-heading: #f3f1e7;

  --icr-danger: #c43d3d; /* Deep Crimson */
  --icr-warning: #e0b84c; /* Muted Amber / Golden Yellow */
  --icr-success: #3fa76a; /* Muted Emerald Green */ 
  --icr-primary: var(--icr-gold);
}

/* Global */
body.theme-icr{ 
  background: var(--icr-bg);
  background-image: url("../img/background.png");
  background-repeat: repeat;
  color: var(--icr-text); 
  font-size: .9rem; 
}

@media (max-width: 767.98px){
  body.theme-icr{
    background-size: 320px 320px, auto;
  }
}


body.theme-icr .fs-1{
  font-size: 2rem !important;      /* 32px */
  line-height: 1.2 !important;
}

body.theme-icr .fs-2{
  font-size: 1.75rem !important;   /* 28px */
  line-height: 1.2 !important;
}

body.theme-icr .fs-3{
  font-size: 1.5rem !important;    /* 24px */
  line-height: 1.2 !important;
}

body.theme-icr .fs-4{
  font-size: 1.25rem !important;   /* 20px */
  line-height: 1.15 !important;
}

body.theme-icr .fs-5{
  font-size: 1.1rem !important;    /* 17.6px */
  line-height: 1.15 !important;
}

body.theme-icr .fs-6{
  font-size: .95rem !important;    /* 15.2px */
  line-height: 1.15 !important;
}

body.theme-icr .fs-7{
  font-size: .85rem !important;    /* 13.6px */
  line-height: 1.1 !important;
}


/* Links */
body.theme-icr a{
  color: var(--icr-accent); /* gold */
  text-decoration: none;
  font-weight: 500;
  transition: all .2s ease;
}

body.theme-icr a:hover{
  color: var(--icr-hover);
  background: rgba(255,255,255,.08);
  border-radius: .35rem;
}

body.theme-icr a.active{
  color: var(--icr-white);
  background: rgba(255,255,255,.12);
  border-radius: .4rem;
  padding: .2rem .4rem;
}


/* ===== NOTIFICATION BADGE ===== */
/* ===== WRAPPER ===== */
body.theme-icr .notif-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .28rem .45rem;
  border-radius: .6rem;

  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

/* ===== ICON ===== */
body.theme-icr .notif-icon{
  font-size: 1.15rem;
  color: rgba(255,255,255,.72) !important;
  transition: color .18s ease;
}

/* ===== HOVER ===== */
body.theme-icr .notif-wrapper:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
}

body.theme-icr .notif-wrapper:hover .notif-icon{
  color: #ffffff !important;
}

/* ===== ACTIVE ===== */
body.theme-icr .notif-wrapper.active{
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

body.theme-icr .notif-wrapper.active .notif-icon{
  color: #ffffff !important;
}

/* ==== BADGE ==== */
body.theme-icr .notif-badge{
  position: absolute;
  top: -4px;
  right: -6px;

  background: var(--icr-gold);
  color: #000;

  font-size: .65rem;
  font-weight: 600;

  min-width: 16px;
  height: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  padding: 0 4px;
  line-height: 1;

  box-shadow: 0 0 0 2px #000;
  transform: translate(20%, -20%);
}


/* ==== USER TOGGLE ==== */
body.theme-icr .icr-topbar .icr-user-toggle{
  color: rgba(255,255,255,.75);
  padding: .28rem .45rem;
  border-radius: .65rem;

  transition: background .15s ease, color .15s ease;
}

body.theme-icr .icr-topbar .icr-user-toggle:hover,
body.theme-icr .icr-topbar .icr-user-toggle[aria-expanded="true"]{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
}

/* mobile icon links */
@media (max-width: 767.98px){
  body.theme-icr .icr-top-actions > a{
    padding: .3rem .4rem;
    border-radius: .5rem;
  }
}


/* ===== NAVBAR UNIFIED SYSTEM ===== */
body.theme-icr .icr-topbar{
  position: relative;
  z-index: 1030;

  border-bottom: 1px solid rgba(212,175,55,.18);

  box-shadow:
    0 1px 0 rgba(212,175,55,.12),
    0 10px 22px rgba(0,0,0,.45);
}

body.theme-icr header .icr-mainnav{
  position: relative;
  z-index: 1020;

  border-bottom: 1px solid rgba(212,175,55,.18);

  box-shadow:
    0 1px 0 rgba(212,175,55,.12),
    0 10px 22px rgba(0,0,0,.45);
}

body.theme-icr .icr-topbar .icr-user-menu{
  z-index: 1055 !important;
}

body.theme-icr .icr-topbar,
body.theme-icr header .icr-mainnav{
  backdrop-filter: blur(6px);
}

/* Base (top + main) */
body.theme-icr .icr-topbar a,
body.theme-icr header .icr-mainnav .nav-link{
  color: rgba(255,255,255,.72);
  text-decoration: none;

  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: .35rem .6rem;
  border-radius: .6rem;

  transition: background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease;
}

/* Hover */
body.theme-icr .icr-topbar a:hover,
body.theme-icr header .icr-mainnav .nav-link:hover{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
}

/* Active */
body.theme-icr .icr-topbar a.active,
body.theme-icr header .icr-mainnav .nav-link.active{
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.15);

  font-weight: 600;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

body.theme-icr .icr-topbar .notif-wrapper{
  border-radius: 999px;
}

body.theme-icr .icr-topbar .notif-wrapper:hover{
  background: rgba(255,255,255,.08);
}

body.theme-icr .icr-topbar .notif-wrapper.active{
  background: rgba(255,255,255,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}

body.theme-icr .icr-topbar .notif-wrapper.active .notif-icon{
  color: #ffffff !important;
}

/* Right alignment helper (use one of these classes on the right container) */
body.theme-icr .nav-top-right,
body.theme-icr .top-navbar-right,
body.theme-icr .header-right{
  margin-left:auto !important;
  display:flex !important;
  align-items:center !important;
  gap:1rem !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
}


/* ===== UNIFIED DROPDOWN FOR ALL NAVBARS ===== */

/* shell */
body.theme-icr .navbar .dropdown-menu,
body.theme-icr .icr-user-menu{
  background: #111;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: .85rem;
  padding: .45rem;
  min-width: 220px;

  box-shadow:
    0 14px 28px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* item base */
body.theme-icr .navbar .dropdown-menu .dropdown-item,
body.theme-icr .icr-user-menu .dropdown-item{
  display: flex;
  align-items: center;
  gap: 8px;

  color: rgba(255,255,255,.85);
  border-radius: .6rem;
  padding: .52rem .72rem;
  font-weight: 500;

  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

/* hover */
body.theme-icr .navbar .dropdown-menu .dropdown-item:hover,
body.theme-icr .icr-user-menu .dropdown-item:hover{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
}

/* active */
body.theme-icr .navbar .dropdown-menu .dropdown-item.active,
body.theme-icr .navbar .dropdown-menu .dropdown-item:active,
body.theme-icr .icr-user-menu .dropdown-item.active,
body.theme-icr .icr-user-menu .dropdown-item:active{
  background: rgba(255,255,255,.12) !important;
  color: #ffffff !important;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

/* divider */
body.theme-icr .navbar .dropdown-menu .dropdown-divider,
body.theme-icr .icr-user-menu .dropdown-divider{
  border-top: 1px solid rgba(255,255,255,.10);
  margin: .4rem 0;
}

/* dropdown toggle itself */
body.theme-icr .navbar .dropdown-toggle{
  color: rgba(255,255,255,.72);
  border-radius: .6rem;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

body.theme-icr .navbar .dropdown-toggle:hover,
body.theme-icr .navbar .dropdown-toggle[aria-expanded="true"]{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
}

/* remove bootstrap harsh active blue */
body.theme-icr .navbar .dropdown-item:focus,
body.theme-icr .navbar .dropdown-item:active{
  box-shadow: none;
}

/* mobile */
@media (max-width: 767.98px){
  body.theme-icr .navbar .dropdown-menu,
  body.theme-icr .icr-user-menu{
    min-width: 200px;
    border-radius: .75rem;
    padding: .4rem;
  }

  body.theme-icr .navbar .dropdown-menu .dropdown-item,
  body.theme-icr .icr-user-menu .dropdown-item{
    padding: .5rem .65rem;
  }
}

/* Prevent the .dropdown wrapper from stretching wide */
body.theme-icr .dropdown{ width: auto !important; }
body.theme-icr .dropdown > .dropdown-toggle{ width: auto !important; max-width: 100% !important; }


/* Theme headings */
body.theme-icr h1.text-theme,
body.theme-icr h2.text-theme,
body.theme-icr h3.text-theme,
body.theme-icr h4.text-theme,
body.theme-icr h5.text-theme{
  color: var(--icr-heading);
}

/* Accent text */
body.theme-icr .text-theme{
  color: var(--icr-accent);
}

/* Detail label (dt) */
body.theme-icr .canine-detail-list dt{
  color: var(--icr-primary);
  font-weight: 600;
}


/* Core Accent */
.text-accent   { color: var(--icr-accent) !important; }
.text-muted    { color: var(--icr-muted) !important; }
.text-white    { color: var(--icr-white) !important; }
.text-black    { color: rgba(0,0,0,.9) !important; }

/* Brand Tone */
.text-gold     { color: var(--icr-accent) !important; }
.text-green    { color: var(--icr-primary) !important; }
.text-ivory    { color: var(--icr-heading) !important; }

/* Semantic States */
.text-danger   { color: var(--icr-danger) !important; }
.text-success  { color: var(--icr-success) !important; }
.text-warning  { color: var(--icr-warning) !important; }
.text-info     { color: var(--icr-primary) !important; }

.text-red { color: var(--icr-danger) !important; }

.text-fb-blue { color: var(--fb-blue) !important; }
.text-fb-blue:hover{ color: #b9f0ee !important; }
.text-insta-pink { color: var(--insta-pink) !important; }
.text-insta-pink:hover{ color: #ffc2d1 !important; }
.text-art-red { color: var(--art-red) !important; }

.text-nowrap { white-space: nowrap; }

.canine-name{
  color: var(--icr-accent);          
  font-weight: 600;
}

.date{
  color: var(--icr-muted);           
  font-size: 0.75rem;
}

.desc{
  color: var(--icr-primary);         
  font-size: 0.9rem;
  font-weight: 500;
}

.text-icr-brand{
  color: var(--icr-gold) !important;
  font-weight: 700;
  letter-spacing: .5px;

  text-shadow: 0 0 6px rgba(212,175,55,.18);
}

.text-icr-brand:hover{
  text-shadow: 0 0 10px rgba(212,175,55,.35);
}


/* Divider */
body.theme-icr hr{
  border: none;
  height: 2px;
  background: rgba(45, 58, 46, .36);
  margin: 1.5rem 0;
}

/* Themed border */
body.theme-icr .border-theme{
  border: 1px solid var(--icr-border) !important;
}


/* === Theme buttons (primary) === */
body.theme-icr button.btn:has(> i:only-child){
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: .6rem; 
}

body.theme-icr button.btn i:hover{
  transform: translateY(-1px);
}

body.theme-icr .button-theme i,
body.theme-icr .button-outline-theme i { margin: 0; padding: 0; }

body.theme-icr .bg-theme,
body.theme-icr a.button-theme,
body.theme-icr button.button-theme{ 
  background: var(--icr-gold) !important;
  color: #000 !important;

  border: 2px solid var(--icr-gold) !important;
  border-radius: .6rem;

  padding: .45rem .85rem !important;
  font-weight: 600 !important;
  letter-spacing: .2px;

  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .05s ease;
}

body.theme-icr a.button-theme:hover,
body.theme-icr button.button-theme:hover{
  background: var(--icr-hover) !important;
  color: #000 !important;

  border-color: var(--icr-hover) !important;

  box-shadow:
    0 0 0 .2rem rgba(255,255,255,.12),
    0 6px 16px rgba(0,0,0,.28);

  text-decoration: none;
  transform: translateY(-1px);
}

body.theme-icr a.button-theme:active,
body.theme-icr button.button-theme:active{
  transform: translateY(0);

  background: var(--icr-gold) !important;
  color: #000 !important;
  border-color: var(--icr-gold) !important;

  box-shadow: inset 0 2px 6px rgba(0,0,0,.25);
}

/* Remove focus glow */
body.theme-icr .user-dropdown,
body.theme-icr .dropdown-toggle{ outline:none !important; }
body.theme-icr .user-dropdown:focus,
body.theme-icr .dropdown-toggle:focus,
body.theme-icr button:focus,
body.theme-icr a:focus{ outline:none !important; box-shadow:none !important; }


/* Outline */
body.theme-icr a.button-outline-theme,
body.theme-icr button.button-outline-theme{
  background: transparent !important;
  color: rgba(255,255,255,.85) !important;

  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: .6rem;

  padding: .45rem .85rem !important;
  font-weight: 600 !important;

  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

body.theme-icr a.button-outline-theme:hover,
body.theme-icr button.button-outline-theme:hover{
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;

  border-color: rgba(255,255,255,.4) !important;

  box-shadow:
    0 0 0 .12rem rgba(255,255,255,.08),
    0 6px 14px rgba(0,0,0,.28);

  transform: translateY(-1px);
}

body.theme-icr a.button-outline-theme:active,
body.theme-icr button.button-outline-theme:active{
  transform: translateY(0);

  background: rgba(255,255,255,.12) !important;

  box-shadow:
    inset 0 2px 4px rgba(0,0,0,.25);
}


/* === Theme buttons (secondary) === */
body.theme-icr button.button-theme-secondary{
  background: linear-gradient(
    180deg,
    rgba(42,42,42,1),
    rgba(22,22,22,1)
  ) !important;

  border: 1px solid rgba(255,255,255,.16) !important;
  color: #ffffff !important;

  border-radius: .6rem;
  padding: .45rem .85rem !important;
  font-weight: 600 !important;
  letter-spacing: .2px;

  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease, transform .05s ease;
}

body.theme-icr button.button-theme-secondary:hover{
  background: linear-gradient(
    180deg,
    rgba(58,58,58,1),
    rgba(30,30,30,1)
  ) !important;

  color: #ffffff !important;
  border-color: rgba(255,255,255,.28) !important;

  box-shadow:
    0 0 0 .16rem rgba(255,255,255,.08),
    0 6px 14px rgba(0,0,0,.28);

  transform: translateY(-1px);
}

body.theme-icr button.button-theme-secondary:active{
  transform: translateY(0);

  background: linear-gradient(
    180deg,
    rgba(24,24,24,1),
    rgba(12,12,12,1)
  ) !important;

  box-shadow: inset 0 2px 6px rgba(0,0,0,.28);
}

/* body.theme-icr button.button-theme-tertiary{ 
  background: rgba(186,153,255,.15) !important; 
  border: 1px solid rgba(186,153,255,.45) !important;
  color: rgba(120,90,170,1) !important;

  box-shadow: none;

  border-radius: .6rem;
  letter-spacing: .2px;

  padding: .45rem .85rem !important;
  font-weight: 600 !important;

  transition: background .15s ease, box-shadow .15s ease, color .15s ease, transform .05s ease, border-color .15s ease;
}

body.theme-icr button.button-theme-tertiary:hover{
  background: rgba(255,210,235,.35) !important; 
  color: #ffffff !important;
  border-color: rgba(186,153,255,.75) !important;

  box-shadow: 0 0 0 .16rem rgba(200,170,255,.25);

  transform: translateY(-1px);
}

body.theme-icr button.button-theme-tertiary:active{
  transform: translateY(0);

  background: rgba(155,120,240,.85) !important; 
  border-color: rgba(255,200,220,.45) !important;

  box-shadow: 0 2px 5px rgba(0,0,0,.18) inset;
} */


/* === Theme button tertiary === */
body.theme-icr button.button-theme-tertiary{ 
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  color: rgba(255,255,255,.75) !important;

  box-shadow: none;

  border-radius: .6rem;
  letter-spacing: .2px;

  padding: .45rem .85rem !important;
  font-weight: 600 !important;

  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .05s ease;
}

body.theme-icr button.button-theme-tertiary:hover{
  background: rgba(255,255,255,.08) !important;
  color: #ffffff !important;
  border-color: rgba(255,255,255,.25) !important;

  transform: translateY(-1px);
}

body.theme-icr button.button-theme-tertiary:active{
  transform: translateY(0);

  background: rgba(255,255,255,.12) !important;
  border-color: rgba(255,255,255,.18) !important;

  box-shadow: inset 0 2px 4px rgba(0,0,0,.25);
}


/* === PAGINATION === */
body.theme-icr .pagination{
  gap: .2rem;                 /* jarak antar item */
}

/* Anchor as button */
/* === Pagination Base === */
body.theme-icr .pagination a.button-theme{
  background: rgba(0,0,0,.55) !important;
  color: rgba(255,255,255,.88) !important;

  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: .6rem !important;

  min-width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 .75rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;

  box-shadow: 0 6px 14px rgba(0,0,0,.28) !important;
  backdrop-filter: blur(4px);

  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .08s ease;
}

/* Hover */
body.theme-icr .pagination a.button-theme:hover{
  background: rgba(0,0,0,.78) !important;
  color: #ffffff !important;

  border-color: rgba(255,255,255,.28) !important;

  box-shadow: 0 8px 18px rgba(0,0,0,.34) !important;
  transform: translateY(-1px);
}

/* Active / current page */
body.theme-icr .pagination a.button-theme.active,
body.theme-icr .pagination a.button-theme.current,
body.theme-icr .pagination .active a.button-theme,
body.theme-icr .pagination .current a.button-theme{
  background: var(--icr-gold) !important;
  color: #000 !important;

  border-color: var(--icr-gold) !important;

  box-shadow:
    0 8px 18px rgba(0,0,0,.34),
    0 0 0 2px rgba(255,255,255,.08) !important;
}

/* Optional: remove default li spacing */
body.theme-icr .pagination li{
  margin: 0 !important;
}


/* ===== CROP MODAL THEME OVERRIDE ===== */
body.theme-icr .cropper-view-box{
  outline: 2px solid rgba(255,255,255,.9) !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
}

body.theme-icr .cropper-line{
  background-color: rgba(255,255,255,.92) !important;
}

body.theme-icr .cropper-point{
  background-color: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(0,0,0,.35);
  box-shadow: 0 2px 6px rgba(0,0,0,.22);
}

body.theme-icr .cropper-point.point-se{
  width: 12px !important;
  height: 12px !important;
  opacity: 1 !important;
}

/* Overlay */
body.theme-icr .cropper-modal{
  background-color: rgba(0,0,0,.55);
  opacity: 1;
}

/* Footer buttons (keep consistent sizing) */
body.theme-icr .modal-footer .btn{
  min-width: 110px;
  height: 42px;
  font-weight: 600;
}


/* Footer (mobile centered, desktop 3 cols)
   Add class="footer-icr" on <footer> and create .footer-grid with 3 columns. */
body.theme-icr footer{
  background-color: var(--icr-bg-3);
  color:var(--icr-text);
  border-top:2px solid var(--icr-border);
  padding:2rem 1rem;
}

body.theme-icr footer #mengerti{
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--icr-warm-gold);
}

body.theme-icr footer .footer-link {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 3px 0;
}

body.theme-icr footer .footer-title{ 
  color:var(--icr-accent); 
  font-size: 1.1rem; 
  font-weight:700; 
  margin-bottom:.1rem; 
}

body.theme-icr footer .footer-text{ 
  font-size: 0.95rem;
  font-weight: 500;
  color: #e8e8e8;
}

body.theme-icr footer .footer-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:1.25rem;
  align-items:center;
  text-align:center;
}

body.theme-icr footer .footer-org-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--icr-white);
    flex-wrap:nowrap !important;
    white-space:nowrap !important;
}

body.theme-icr footer .footer-copy {
  margin-top:1.5rem;
  text-align:center;
  font-size:0.8rem;
  color:var(--icr-muted);
}

.footer-bg{ 
  background-color: #dff7ea;
  padding: 0.3vh;
}

@media (min-width: 767.98px){
  body.theme-icr footer .footer-grid{ grid-template-columns:1fr 1fr 1fr; text-align:left; }
  body.theme-icr footer .footer-grid .footer-col-center{ text-align:center; }
  body.theme-icr footer .footer-grid .footer-col-right{ text-align:right; }
}

body.theme-icr .footer-logo{
  width:75px; 
  height:75px;
  object-fit:contain;
  display:inline-block;
}


/* LOGO */
.icr-logo{ 
  height:32px; 
  width:auto; 
}

.user-logo {
  width: 28px;
  height: 28px;
  object-fit: cover;
}

.img-fluid.img-thumbnail.profile {
  max-width: 100px;
  border-radius: 50%;
}


.sticky-top {
    z-index: 1000;
    overflow: visible !important;
}


/* View Canine */
body.theme-icr .dog-card{
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,.08);
  border-radius: .9rem;

  box-shadow: 0 12px 26px rgba(0,0,0,.35);

  transition: all .18s ease;
}

body.theme-icr .dog-card:hover{
  background: rgba(10,10,10,.68);
  border-color: rgba(255,255,255,.14);
} 

body.theme-icr .dog-action-icons{
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.08);

  border-radius: .8rem;
  padding: .4rem;

  display: inline-flex;
  gap: 6px;

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

.dog-photo{
  border-radius: .6rem;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);

  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}

.dog-photo-detail {
  height: 200px;
  width: auto;
}

.dog-info-text{
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}

.dog-info-theme{
  color: var(--icr-gold);
  font-size: .78rem;
  letter-spacing: .3px;
  text-transform: uppercase;
}


/* === WA === */
body.theme-icr .wa,
body.theme-icr .wa:hover,
body.theme-icr .wa:focus,
body.theme-icr .wa:active{
  border-radius: 50% !important;
  text-decoration: none !important;
}

body.theme-icr .wa{
  background: rgba(0,0,0,.82) !important;
  color: #25D366 !important;

  border: 1px solid rgba(255,255,255,.18);

  z-index: 1022;

  box-shadow:
    0 10px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);
}

@media (max-width: 767.98px){
  body.theme-icr .wa{
    top: 60% !important;
  }
}

@keyframes waPulse {
  0%,100% { 
    box-shadow: 0 10px 22px rgba(0,0,0,.35);
  }
  50% {     
    box-shadow:
      0 10px 22px rgba(0,0,0,.35),
      0 0 0 8px rgba(255,255,255,.06);
  }
}

/* hover */
body.theme-icr .wa:hover{
  background: rgba(0,0,0,.95) !important;
  color: var(--icr-gold) !important;

  border-color: rgba(212,175,55,.35);

  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 0 4px rgba(255,255,255,.08);
}

body.theme-icr .wa:active{
  animation: none !important;
}


/* === CHAT TOGGLE BUTTON === */
body.theme-icr .chat-toggle{
  position: fixed;
  right: 1rem;
  bottom: 0 !important;
  top: auto !important;

  margin-bottom: 1rem;
  padding-bottom: env(safe-area-inset-bottom);

  z-index: 1021;
  width: 52px;
  height: 52px;

  background: rgba(0,0,0,.82);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 
    0 10px 22px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.06);

  transition: all .18s ease;
}

/* hover */
body.theme-icr .chat-toggle:hover{
  transform: translateY(-3px);

  background: rgba(0,0,0,.95);
  border-color: rgba(212,175,55,.35);

  box-shadow:
    0 14px 28px rgba(0,0,0,.45),
    0 0 0 4px rgba(255,255,255,.08);
}

/* active */
body.theme-icr .chat-toggle:active{
  transform: translateY(0);
  box-shadow:
    0 4px 10px rgba(0,0,0,.55) inset;
}

/* icon */
body.theme-icr .chat-toggle-icon{
  width: 26px;
  height: 26px;
  color: var(--icr-gold);
}

@media (max-width: 576px){
  body.theme-icr .chat-toggle{
    right: .75rem !important;
    bottom: 0 !important;
    margin-bottom: 1rem;
  }
}


/* === CHAT WIDGET === */
body.theme-icr #chat-container{
  position: static !important;
  right: 1rem !important;
  bottom: 0 !important; 
  top: auto !important;
  left: auto !important;

  z-index: 1020;
  padding: 0 !important;
  display: none; 
}

/* Ensure the chat card has a consistent width */
body.theme-icr #chat-container .col-md-8,
body.theme-icr #chat-container .col-lg-6,
body.theme-icr #chat-container .col-xl-4{
  width: 360px;
  max-width: calc(100vw - 2rem);
}


@media (max-width: 576px){
  body.theme-icr #chat-container{
    right: .75rem !important;
    left: .75rem !important;
    bottom: 0 0 72px 0 !important;
  }

  body.theme-icr #chat-container .col-md-8,
  body.theme-icr #chat-container .col-lg-6,
  body.theme-icr #chat-container .col-xl-4{
    width: 100%;
    max-width: 100%;
  }
}


/* === CARD === */
body.theme-icr .chat-card{
  position: fixed;

  right: 1rem;
  bottom: 0;

  margin-bottom: 1rem; /* jarak dari bawah */

  width: 320px;
  height: 600px;
  max-height: calc(100vh - 110px);

  display: flex;
  flex-direction: column;

  z-index: 1040;
}

body.theme-icr .chat-card{
  bottom: env(safe-area-inset-bottom);
  margin-bottom: 1rem;
}


/* === HEADER === */
body.theme-icr .chat-header{
  background: rgba(0,0,0,.92) !important;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: #ffffff;
}

body.theme-icr .chat-header .fw-bold{
  margin: 0;
  color: #ffffff;
  
  text-shadow: 0 0 6px rgba(0,0,0,.4);

  letter-spacing: .2px;
}

/* Close button */
body.theme-icr .chat-close{
  color: rgba(255,255,255,.55);
  cursor: pointer;

  padding: .25rem .35rem;
  border-radius: .45rem;

  transition: background .15s ease, color .15s ease, transform .15s ease;
}

body.theme-icr .chat-close:hover{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
}


/* ===== CHAT CARD LAYOUT ===== */
body.theme-icr #chat1{
  display: flex;
  flex-direction: column;
  height: 600px;
  max-height: calc(100vh - 110px);
}

body.theme-icr #chat1 .card-body{
  flex: 1 1 auto;
  min-height: 0;

  display: flex;
  flex-direction: column;

  padding: 1rem;
  background: rgba(12,12,12,.96);
  color: rgba(255,255,255,.88);
}

/* ===== MESSAGE HISTORY ===== */
body.theme-icr .messageHistory{
  flex: 1 1 auto;
  min-height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  display: flex;
  flex-direction: column;
  gap: .75rem;

  padding: .75rem;
  margin-bottom: .5rem;

  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: .85rem;
}

/* ===== FORM AREA ===== */
body.theme-icr #chat1 .form-outline{
  flex-shrink: 0;
  margin-top: auto;
  padding-top: .5rem;

  background: rgba(12,12,12,.96);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ===== INPUT GROUP ===== */
body.theme-icr #chat1 .input-group{
  display: flex;
  align-items: stretch;
  width: 100%;

  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow: hidden;

  box-shadow:
    0 4px 12px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.03);
}

/* ===== INPUT ===== */
body.theme-icr #chat1 input#message.form-control{
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;

  background: rgba(20,20,20,1) !important;
  color: #ffffff !important;

  border: none !important;
  border-radius: 0 !important;

  padding: 0 .9rem !important;
  margin: 0 !important;

  box-shadow: none !important;
  outline: none !important;
}

body.theme-icr #chat1 input#message.form-control::placeholder{
  color: rgba(255,255,255,.45) !important;
  font-style: italic;
}

body.theme-icr #chat1 input#message.form-control:focus{
  background: rgba(26,26,26,1) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ===== SEND BUTTON ===== */
body.theme-icr #chat1 .btn-chat-send{
  min-width: 88px;
  min-height: 44px;

  border: none !important;
  border-radius: 0 !important;

  background: linear-gradient(
    180deg,
    rgba(212,175,55,1),
    rgba(184,148,34,1)
  ) !important;

  color: #000 !important;
  font-weight: 600;
  padding: 0 1rem !important;
  margin: 0 !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: none !important;
  outline: none !important;
  white-space: nowrap;
}

body.theme-icr #chat1 .btn-chat-send:hover{
  background: linear-gradient(
    180deg,
    rgba(224,190,78,1),
    rgba(196,160,46,1)
  ) !important;
}

body.theme-icr #chat1 .btn-chat-send:active{
  transform: translateY(1px);
}

/* ===== CLOSE BUTTON ===== */
body.theme-icr .chat-close{
  color: rgba(255,255,255,.55);
  cursor: pointer;

  padding: .25rem .35rem;
  border-radius: .45rem;

  transition: background .15s ease, color .15s ease, transform .15s ease;
}

body.theme-icr .chat-close:hover{
  background: rgba(255,255,255,.08);
  color: var(--icr-gold);
  transform: scale(1.05);
}

/* === SCROLLBAR (webkit) === */
body.theme-icr .messageHistory::-webkit-scrollbar{ 
  width: 8px; 
}

/* track */
body.theme-icr .messageHistory::-webkit-scrollbar-track{
  background: transparent;
}

/* thumb */
body.theme-icr .messageHistory::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,.18);
  border-radius: 999px;
  transition: background .2s ease;
}

body.theme-icr .messageHistory::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,.32);
  /* background: rgba(212,175,55,.45); */
}


/* === CHAT ROWS === */
body.theme-icr .chat-row{
  display: flex;
  align-items: flex-start;
}

body.theme-icr .chat-user{ justify-content: flex-end; }
body.theme-icr .chat-ai{ justify-content: flex-start; }

/* === AVATAR === */
body.theme-icr .chat_pp{
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);

  box-shadow: 0 4px 10px rgba(0,0,0,.25);
}

/* === CHAT BUBBLES === */
body.theme-icr .chat-bubble{
  max-width: 75%;
  padding: .65rem .85rem;
  border-radius: 16px;

  font-size: .85rem;
  line-height: 1.45;

  word-wrap: break-word;

  border: 1px solid rgba(255,255,255,.08);

  box-shadow: 0 6px 14px rgba(0,0,0,.28);

  transition: transform .15s ease, box-shadow .15s ease;
}

/* subtle hover */
body.theme-icr .chat-bubble:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
}


/* === USER BUBBLE === */
body.theme-icr .bubble-user{
  background: linear-gradient(
    180deg,
    rgba(212,175,55,1),
    rgba(184,148,34,1)
  );

  border-color: rgba(212,175,55,.6);
  color: #000;

  margin-right: .75rem;
}

/* === AI BUBBLE === */
body.theme-icr .bubble-ai{
  background: rgba(255,255,255,.06);

  border-color: rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);

  margin-left: .75rem;

  backdrop-filter: blur(4px);
}

/* === TEXT === */
body.theme-icr .chat-text{
  margin: 0;
  color: inherit;
}

/* Loading state */
body.theme-icr #sendMessage.is-loading{
  opacity: .65;
  pointer-events: none;
  filter: grayscale(.08);
}


body.theme-icr #chat1 .form-outline,
body.theme-icr #chat1 .input-group,
body.theme-icr #chat1 form{
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* === FORM CONTROL === */
/* === FORM CONTROL === */
body.theme-icr form .form-control{
  background-color: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.88);

  border-radius: 8px;
  padding: 0.65rem 0.75rem;

  transition: border-color .2s ease,
              box-shadow .2s ease,
              background .2s ease,
              color .2s ease;
}

/* Placeholder */
body.theme-icr form .form-control::placeholder{
  color: rgba(255,255,255,.42);
  font-style: italic;
}

/* Focus state */
body.theme-icr form .form-control:focus{
  background-color: rgba(255,255,255,.08);
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 0 0 3px rgba(212,175,55,.18);
  color: #ffffff;
  outline: none;
}

/* Disabled */
body.theme-icr form .form-control:disabled{
  background-color: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.35);
}

/* Search box */
body.theme-icr .search-box{
  box-shadow: 0 0 0 2px rgba(255,255,255,.06);
}


/* Table */
/* ===== Search table / list ===== */

/* Header */
body.theme-icr .table-header{
  color: var(--icr-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
  font-weight: 600;
  letter-spacing: .3px;
}

body.theme-icr .table-head-row{
  background: rgba(0,0,0,.55);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding: .65rem .75rem;
  margin-bottom: .75rem;

  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--icr-gold);
  border-radius: .6rem;
}

/* Row */
body.theme-icr .canine-row{
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(4px);

  padding: .75rem .85rem;
  margin-bottom: .65rem;
  min-height: 110px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: .7rem;

  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

body.theme-icr .canine-row:nth-child(even){
  background: rgba(255,255,255,.03);
}

body.theme-icr .canine-row:hover{
  background: rgba(10,10,10,.62);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 10px 22px rgba(0,0,0,.34);
}

body.theme-icr .canine-row > [class*="col-"]{
  display: flex;
  align-items: center;
}

/* Text hierarchy */
body.theme-icr .canine-name{
  font-weight: 600;
  color: #ffffff;
}

body.theme-icr .canine-kennel{
  color: rgba(255,255,255,.78);
}

body.theme-icr .date{
  color: rgba(255,255,255,.64);
}

body.theme-icr .status{
  color: rgba(255,255,255,.72);
}

body.theme-icr .desc{
  font-size: .9rem;
  line-height: 1.35;
  color: rgba(255,255,255,.82);
}

/* Thumbnail */
body.theme-icr .canine-thumb{
  max-width: 110px;
  width: 100%;
  height: auto;
  border-radius: .5rem;

  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);

  box-shadow: 0 6px 14px rgba(0,0,0,.32);
}

/* Action buttons - desktop */
body.theme-icr .action-col{
  display: flex;
  justify-content: flex-end !important;
  align-items: center;
  height: 100%;
}

body.theme-icr .action-buttons{
  display: grid;
  grid-template-columns: repeat(2, 36px);
  grid-auto-rows: 36px;
  column-gap: 8px;
  row-gap: 10px;
  justify-content: end;
  align-content: center;
}

body.theme-icr .action-btn{
  width: 36px;
  height: 36px;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: .6rem;
}

/* ===== Mobile ===== */
@media (max-width: 767.98px){

  /* hide desktop-style header */
  body.theme-icr .table-head-row{
    display: none;
  }

  body.theme-icr .canine-row{
    padding: .75rem .65rem;
    min-height: auto;
    margin-bottom: .75rem;
    border-radius: .7rem;
  }

  body.theme-icr .canine-row > [class*="col-"]{
    display: block;
    align-items: initial;
  }

  body.theme-icr .canine-thumb{
    max-width: 72px;
  }

  body.theme-icr .canine-name{
    font-size: 1rem;
    font-weight: 600;
    margin-top: .35rem;
  }

  body.theme-icr .canine-kennel{
    font-size: .9rem;
    margin-top: .25rem;
  }

  body.theme-icr .action-col{
    display: block !important;
    height: auto;
    margin-top: .75rem;
  }

  body.theme-icr .action-buttons{
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
  }
}


body.theme-icr .action-btn{
  width: 36px;
  height: 36px;
  padding: 0 !important;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin: 0 !important;          /* ✅ hilangkan margin */
  line-height: 1 !important;     /* ✅ hindari efek font */
  border-radius: .6rem;
}


/* ===== ICR MODAL THEME ===== */
body.theme-icr .modal-backdrop.show{
  opacity: .7;
  background-color: #000;
}

body.theme-icr .modal-content{
  background: #0d0d0d !important;
  color: #ffffff !important;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: .8rem;

  box-shadow: 0 20px 40px rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
}

body.theme-icr .modal-header{
  border-bottom: 1px solid rgba(255,255,255,.08);
}

body.theme-icr .modal-title{
  color: var(--icr-gold);
}

body.theme-icr .modal-footer{
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Close button */
body.theme-icr .modal-header .btn-close{
  filter: invert(1);
  opacity: .6;
  transition: opacity .15s ease, transform .15s ease;
}

body.theme-icr .modal-header .btn-close:hover{
  opacity: 1;
  transform: scale(1.05);
}

/* Body text */
body.theme-icr .modal-body{
  color: rgba(255,255,255,.88);
}

/* Error */
body.theme-icr #error-modal .modal-body{
  color: #ff6b6b !important;
  background: rgba(255, 80, 80, .08);
  border: 1px solid rgba(255, 80, 80, .25);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 0 .12rem rgba(255, 80, 80, .15);
}

/* Success */
body.theme-icr #message-modal .modal-body{
  color: #52b788 !important;
  background: rgba(82, 183, 136, .08);
  border: 1px solid rgba(82, 183, 136, .25);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 0 0 .12rem rgba(82, 183, 136, .15);
}


/* Service page */
body.theme-icr .services-page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

/* Sidebar */
body.theme-icr .service-filter.sticky-top{
  top: 140px;    /* sesuaikan tinggi header */
  z-index: 50;
}

.service-filter .form-select,
.service-filter .form-control{
  border-radius: 10px;
}

/* Mobile: sticky tetap boleh, tapi biasanya bikin sempit -> saya sarankan dimatikan */
@media (max-width: 767.98px){
  body.theme-icr .service-filter.sticky-top{
    top: 110px; /* atau non-sticky */
  }
}

body.theme-icr .service-card{
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 18px 12px;

  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;

  gap: 2px;
}

body.theme-icr .service-card:hover{
  transform: translateY(-4px);
  background: rgba(10,10,10,.62);
  border-color: rgba(212,175,55,.28);

  box-shadow:
    0 16px 30px rgba(0,0,0,.34),
    0 0 0 2px rgba(255,255,255,.06);
}

body.theme-icr .services-grid .service-card{
  transition:
    transform .22s ease,
    opacity .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background .22s ease;
}

body.theme-icr .services-grid:hover .service-card{
  opacity: .72;
  transform: scale(.985);
}

body.theme-icr .services-grid .service-card:hover{
  opacity: 1;
  transform: translateY(-6px) scale(1.02);

  background: rgba(10,10,10,.72);
  border-color: rgba(212,175,55,.32);

  box-shadow:
    0 18px 36px rgba(0,0,0,.38),
    0 0 0 2px rgba(255,255,255,.05);
}

/* avatar link */
body.theme-icr .service-avatar{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* profile image */
body.theme-icr .service-card img.profile{
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 50%;

  border: 2px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);

  box-shadow: 0 6px 14px rgba(0,0,0,.32);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.theme-icr .service-card:hover img.profile{
  transform: scale(1.03);
  border-color: rgba(212,175,55,.35);
  box-shadow: 0 8px 18px rgba(0,0,0,.36);
}

body.theme-icr .services-grid .service-card:hover img.profile{
  transform: scale(1.04);
  border-color: rgba(212,175,55,.38);

  box-shadow:
    0 10px 20px rgba(0,0,0,.38),
    0 0 0 3px rgba(255,255,255,.04);
}

/* name */
body.theme-icr .service-name{
  margin-top: 10px;
  line-height: 1.2;
  font-weight: 600;
  font-size: .95rem;
  color: rgba(255,255,255,.92);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
}

/* rating */
body.theme-icr .service-rating{
  margin-top: .35rem;

  display: inline-flex;
  align-items: center;
  gap: 4px;

  font-size: .72rem;
  font-weight: 600;

  padding: .25rem .55rem;
  border-radius: 999px;

  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.28);

  color: var(--icr-gold);
}

/* info link */
body.theme-icr .service-info{
  margin-top: auto;
  padding-top: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 34px;
  padding: .4rem .8rem;
  border-radius: .6rem;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff !important;

  box-shadow: 0 4px 10px rgba(0,0,0,.25);

  text-decoration: none !important;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .08s ease;
}

body.theme-icr .service-info:hover{
  background: rgba(212,175,55,.12);
  border-color: rgba(212,175,55,.35);
  color: var(--icr-gold) !important;
}

body.theme-icr .services-grid .service-card:hover .service-name{
  color: #ffffff;
}

body.theme-icr .services-grid .service-card:hover .service-rating{
  border-color: rgba(212,175,55,.32);
  color: var(--icr-gold);
}

body.theme-icr .services-grid .service-card:hover .service-info{
  background: rgba(212,175,55,.12);
  border-color: rgba(212,175,55,.35);
  color: var(--icr-gold) !important;
}


/* Fix Navbar Layout (Flex Center Proper) */
body.theme-icr .navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.theme-icr .nav-center{
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}


.action-btn{
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: .6rem;
  font-size: 14px;

  transition: all .15s ease;
  border: 1px solid transparent;
}

/* contoh: edit / view utama */
.action-btn.primary{
  background: linear-gradient(
    180deg,
    rgba(212,175,55,1),
    rgba(184,148,34,1)
  );
  border: 1px solid rgba(212,175,55,.9);
  color: #000;
  box-shadow: 0 4px 10px rgba(0,0,0,.22);
}

.action-btn.primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 0 .14rem rgba(255,255,255,.10),
    0 6px 14px rgba(0,0,0,.28);
}

/* contoh: upload, detail, dll */
.action-btn.secondary{
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}

.action-btn.secondary:hover{
  background: rgba(0,0,0,.82);
  border-color: rgba(255,255,255,.28);
}

/* contoh: list view, misc */
.action-btn.tertiary{
  background: rgba(0,0,0,.75);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
}

.action-btn.tertiary:hover{
  background: rgba(212,175,55,.08);
  border-color: rgba(212,175,55,.25);
  color: var(--icr-gold);
}

/* hapus / reset */
.action-btn.danger{
  background: rgba(255,90,90,.10);
  border: 1px solid rgba(255,90,90,.35);
  color: #ff7b7b;
}

.action-btn.danger:hover{
  background: rgba(255,90,90,.85);
  border-color: rgba(255,90,90,.9);
  color: #fff;
}

.action-group{
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.action-divider{
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.18);
  margin: 0 6px;
}
