/*!
 Copyright (c) 2020, 2025, Oracle and/or its affiliates.
 */

/* ==========================================================
   APPOINTRENT GLOBAL CSS — CLEAN PATCH
   APEX Universal Theme
   ========================================================== */

:root {
  --dp-accent: #437c94;
  --dp-accent-soft: rgba(67, 124, 148, 0.10);
  --dp-accent-border: rgba(67, 124, 148, 0.22);

  --dp-success: #22c55e;
  --dp-success-soft: rgba(34, 197, 94, 0.10);
  --dp-success-border: rgba(34, 197, 94, 0.28);

  --dp-text: rgba(15, 23, 42, 0.82);
  --dp-muted: rgba(15, 23, 42, 0.58);
  --dp-hover: rgba(15, 23, 42, 0.035);

  --dp-page-bg: #f9fafb;
  --dp-white: #ffffff;
  --dp-black: #000000;

  --dp-radius-sm: 5px;
  --dp-radius-md: 10px;
  --dp-radius-lg: 20px;
  --dp-radius-pill: 999px;

  --dp-shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.12);
  --dp-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);

  --dp-font: "Calibri", "Arial", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ==========================================================
   NAV BAR — Glow LIGHT per "Lasciaci un feedback"
   ========================================================== */

.t-Header .t-NavigationBar .dp-nav-glow > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;

  border-radius: var(--dp-radius-pill);
  padding: 7px 13px;

  background: var(--dp-success-soft);
  border: 1px solid var(--dp-success-border);

  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 0.15px;
  text-decoration: none !important;

  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.12),
    0 0 14px rgba(34, 197, 94, 0.16);

  animation: dpNavGlowSoft 2.2s ease-in-out infinite;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.t-Header .t-NavigationBar .dp-nav-glow > a:hover {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.40);
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.16),
    0 0 18px rgba(34, 197, 94, 0.20);
  transform: translateY(-1px);
}

.t-Header .t-NavigationBar .dp-nav-glow > a:focus-visible {
  outline: none !important;
  box-shadow:
    0 0 0 2px rgba(34, 197, 94, 0.28),
    0 0 18px rgba(34, 197, 94, 0.22);
}

.t-Header .t-NavigationBar .dp-nav-glow > a .t-Icon,
.t-Header .t-NavigationBar .dp-nav-glow > a .fa {
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.35));
}

.t-Header .t-NavigationBar .dp-nav-glow > a::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 8px;

  width: 7px;
  height: 7px;
  border-radius: var(--dp-radius-pill);

  background: rgba(34, 197, 94, 0.95);
  box-shadow:
    0 0 0 2px rgba(17, 24, 39, 0.45),
    0 0 10px rgba(34, 197, 94, 0.22);

  animation: dpNavDotSoft 2s ease-in-out infinite;
}

@keyframes dpNavGlowSoft {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(34, 197, 94, 0.12),
      0 0 14px rgba(34, 197, 94, 0.14);
  }

  50% {
    box-shadow:
      0 0 0 1px rgba(34, 197, 94, 0.18),
      0 0 20px rgba(34, 197, 94, 0.22);
  }
}

@keyframes dpNavDotSoft {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.90;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-Header .t-NavigationBar .dp-nav-glow > a,
  .t-Header .t-NavigationBar .dp-nav-glow > a::after {
    animation: none !important;
  }
}


/* ==========================================================
   GLOBAL — TabsRegion SAFE PATCH
   ========================================================== */

.t-TabsRegion {
  --dpTabAccent: var(--dp-accent);
  --dpTxt: var(--dp-text);
  --dpMuted: var(--dp-muted);
  --dpHoverBg: var(--dp-hover);
  --dpSelBg: var(--dp-accent-soft);
  --dpSelBd: var(--dp-accent-border);
}

.t-TabsRegion .t-TabsRegion-items {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.t-TabsRegion .t-Tabs,
.t-TabsRegion.t-TabsRegion-mod--pill .t-Tabs,
.t-TabsRegion.t-TabsRegion-mod--pill .apex-rds-slider {
  background: transparent !important;
  border: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.t-TabsRegion .t-Tabs::-webkit-scrollbar {
  display: none;
}

.t-TabsRegion .t-Tabs-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-height: 34px;
  line-height: 1 !important;
  white-space: nowrap;

  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: var(--dp-radius-pill);

  color: var(--dpMuted) !important;
  font-weight: 700;
  text-decoration: none !important;

  transition:
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.t-TabsRegion .t-Tabs-link::before,
.t-TabsRegion .t-Tabs-link::after,
.t-TabsRegion .t-Tabs-item::before,
.t-TabsRegion .t-Tabs-item::after,
.t-TabsRegion.t-TabsRegion-mod--pill .t-Tabs-link::before,
.t-TabsRegion.t-TabsRegion-mod--pill .t-Tabs-link::after {
  content: none !important;
  background: none !important;
  box-shadow: none !important;
}

.t-TabsRegion .t-Tabs-link:hover {
  background: var(--dpHoverBg) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
  color: var(--dpTxt) !important;
}

.t-TabsRegion .t-Tabs-item.is-active .t-Tabs-link,
.t-TabsRegion .t-Tabs-item.a-Tabs-selected .t-Tabs-link {
  background: var(--dpSelBg) !important;
  border-color: var(--dpSelBd) !important;
  color: var(--dpTabAccent) !important;
  box-shadow: none !important;
}

.t-TabsRegion .t-Tabs-link:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(67, 124, 148, 0.18) !important;
}


/* ==========================================================
   ICON REPLACEMENTS — Font Awesome -> PNG
   ========================================================== */

.fa.my-menu-icon::before,
.fa.whatsapp::before {
  content: none !important;
}

.fa.my-menu-icon,
.fa.whatsapp {
  font-family: inherit !important;
  width: 16px !important;
  height: 16px !important;
  display: inline-block !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 16px 16px !important;
  text-indent: -9999px;
  overflow: hidden;
  vertical-align: middle;
}

.fa.my-menu-icon {
  background-image: url("https://cdn-icons-png.flaticon.com/512/15863/15863073.png") !important;
}

.fa.whatsapp {
  background-image: url("https://cdn-icons-png.flaticon.com/512/3670/3670051.png") !important;
}


/* ==========================================================
   APEX Alerts
   ========================================================== */

.t-Alert--page.t-Alert--warning {
  background-color: #fff3e0;
  border-left: 4px solid #ff9800;
  box-shadow: var(--dp-shadow-soft);
}

.t-Alert--page.t-Alert--warning .t-Alert-icon,
.t-Alert--page.t-Alert--warning .t-Alert-title {
  color: #f57c00;
}

.t-Alert--page.t-Alert--warning .t-Alert-content {
  color: #333333;
}


/* ==========================================================
   Layout / Container / Footer
   ========================================================== */

.t-Footer-top {
  display: none !important;
}

@media (min-width: 1536px) {
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-block: 0 !important;
    padding-inline: 0 !important;
  }
}


/* ==========================================================
   Typography
   ========================================================== */

html {
  font-size: 75% !important;
}

body,
button,
input,
select,
textarea {
  font-family: var(--dp-font);
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--dp-font);
  font-weight: 700;
}


/* ==========================================================
   IRR / Report
   ========================================================== */

@media (max-width: 767px) {
  .a-IRR-search-field,
  .a-IRR-searchFieldContainer {
    width: 200px;
    max-width: 100%;
    display: block !important;
  }
}

.a-IRR-header {
  background-color: #ededed;
}

.a-IRR-headerLink {
  text-transform: uppercase;
  font-weight: 900;
  color: #000000;
}

.a-IRR-paginationWrap--top {
  display: none !important;
}

.u-tC,
.t-Report-cell {
  text-transform: uppercase !important;
}

@media (max-width: 600px) {
  .u-tC,
  .t-Report-cell {
    font-size: 8px;
    line-height: 1.3;
  }
}


/* ==========================================================
   Body / Header / Title
   ========================================================== */

.t-Body-main,
#t_Body_title {
  background-color: var(--dp-white) !important;
}

#t_Header,
#t_Body_title {
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.15);
}

.t-Body-title {
  border-style: none !important;
  position: static !important;
}

.t-Body-mainContent {
  background-color: var(--dp-page-bg) !important;
}

.t-Body-contentInner {
  padding: 10px !important;
}


/* ==========================================================
   Floating AI Helper button
   ========================================================== */

#AI_HELPER {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
}

#B13094314784482724 {
  background-color: #28a745;
  color: #ffffff;
  border: 0;
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.20);
  cursor: pointer;
  font-size: 16px;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#B13094314784482724:hover {
  background-color: #218838;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.30);
  transform: translateY(-1px);
}


/* ==========================================================
   jQuery UI Dialog close button
   ========================================================== */

.ui-icon-closethick,
.ui-dialog-titlebar-close,
.ui-button.ui-corner-all.ui-widget.ui-button-icon-only.ui-dialog-titlebar-close {
  background-color: #dc2626 !important;
  color: #ffffff !important;
}


/* ==========================================================
   TreeView / Menu
   ========================================================== */

.a-TreeView-content {
  color: #f8efef;
  text-transform: uppercase;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 120%;
}

.a-TreeView-content > span.fa-window-alt + a.a-TreeView-label {
  font-family: "Arial", sans-serif;
  font-size: 60%;
}

.t-TreeNav .a-TreeView-content,
.t-TreeNav .a-TreeView-label {
  display: revert;
}

.t-TreeNav .a-TreeView-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 20px;
  height: 20px;
  margin-left: 0.6em;
  padding: 0 0.55em;

  border-radius: var(--dp-radius-pill);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;

  font-size: 0.72em;
  font-weight: 800;
  line-height: 1;
  vertical-align: middle;
}

.t-TreeNav .a-TreeView-toggle {
  position: relative;
  pointer-events: auto;
}


/* ==========================================================
   Bottom nav button bar
   ========================================================== */

#navButton .container {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #f1f1f1;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.20);
}

#navButton .button,
#navButton .t-Button {
  flex: 1;
  padding: 10px;
  border: 0;
  outline: none;
  background-color: #bcbabf;
  color: #2d2c2e;
  font-size: 16px;
}

@media (max-width: 600px) {
  #navButton .button,
  #navButton .t-Button {
    font-size: 14px;
  }
}


/* ==========================================================
   Misc
   ========================================================== */

.custom-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}

.t-MediaList-icon.u-color {
  background-color: transparent !important;
}

.t-BreadcrumbRegion {
  padding: 10px;
  text-transform: uppercase;
}

.t-BreadcrumbRegion-titleText,
.t-HeroRegion-title {
  font-size: 17px;
  text-transform: uppercase;
}

.t-Button-label {
  text-transform: uppercase !important;
}

@media (max-width: 639px) {
  .t-BreadcrumbRegion-body {
    padding-block-start: 0;
    padding-block-end: 0;
  }
}

@media (max-width: 767px) {
  .t-Header-logo-link img {
    max-width: 70% !important;
    height: auto !important;
  }
}


/* ==========================================================
   MOBILE NAV FULLSCREEN — SOLO CSS
   ========================================================== */

@media (max-width: 768px) {
  .t-Body {
    --ut-nav-width: 260px;
  }

  body:has(#t_Button_navControl[aria-expanded="true"]),
  body.js-navExpanded {
    --ut-nav-width: 100vw;
  }

  body:has(#t_Button_navControl[aria-expanded="true"]) #t_Body_nav,
  body.js-navExpanded #t_Body_nav {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
  }

  body:has(#t_Button_navControl[aria-expanded="true"]) #t_Body_nav .a-TreeView,
  body.js-navExpanded #t_Body_nav .a-TreeView {
    max-height: 100vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  body:has(#t_Button_navControl[aria-expanded="true"]) .t-Body-main,
  body.js-navExpanded .t-Body-main {
    margin-left: 0 !important;
    transform: none !important;
  }
}


/* ==========================================================
   LEFT NAV WIDTH — tablet + desktop
   ========================================================== */

@media (min-width: 769px) and (max-width: 1199px) {
  .t-Body {
    --ut-nav-width: 310px;
  }
}

@media (min-width: 1200px) {
  .t-Body {
    --ut-nav-width: 350px;
  }

  body.apex-side-nav:not(.js-navCollapsed) #t_Body_nav {
    width: 250px !important;
    min-width: 250px !important;
  }

  body.apex-side-nav.js-navCollapsed #t_Body_nav {
    width: auto !important;
    min-width: 0 !important;
  }
}


/* ==========================================================
   CHAT OVERLAY
   ========================================================== */

.apx-chat-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100001;
  background: rgba(0, 0, 0, 0.55);
}

.apx-chat-overlay.is-open {
  display: flex;
}

#chatLauncher {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100000;
  border-radius: var(--dp-radius-pill);
  box-shadow: var(--dp-shadow-md);
}

#chatLauncher .t-Icon {
  font-size: 18px;
}

.apx-chat-wrap {
  position: relative;
  width: min(92vw, 360px);
  height: min(82vh, 560px);
}

.chat {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: hidden;

  display: flex;
  flex-direction: column;

  background: rgba(20, 20, 20, 0.92);
  border-radius: var(--dp-radius-lg);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.20);
}

.chat-title {
  flex: 0 0 52px;
  position: relative;
  z-index: 2;

  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  text-transform: uppercase;
  text-align: left;

  padding: 10px 44px 10px 50px;
}

.chat-title h1,
.chat-title h2 {
  margin: 0;
  padding: 0;
  font-weight: 400;
  line-height: 1.1;
}

.chat-title h1 {
  font-size: 10px;
}

.chat-title h2 {
  font-size: 8px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.55);
}

.chat-title .avatar {
  position: absolute;
  top: 10px;
  left: 10px;

  width: 30px;
  height: 30px;
  margin: 0;

  overflow: hidden;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.chat-title .avatar img,
.message .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apx-chat-close {
  position: absolute;
  top: 6px;
  right: 6px;
  color: #ffffff;
  opacity: 0.90;
}

.apx-chat-close:hover {
  opacity: 1;
}

.messages {
  flex: 1 1 auto;
  position: relative;
  width: 100%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.75);
}

.messages-content {
  position: absolute;
  inset: 0;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.messages-content::-webkit-scrollbar {
  width: 8px;
}

.messages-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--dp-radius-pill);
}

.message {
  clear: both;
  float: left;
  position: relative;

  margin: 8px 0 18px 35px;
  padding: 6px 10px 7px;

  border-radius: 10px 10px 10px 0;
  background: rgba(255, 255, 255, 0.08);

  font-size: 11px;
  line-height: 1.4;
}

.message::before {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  border-top: 6px solid rgba(255, 255, 255, 0.08);
  border-right: 7px solid transparent;
}

.message .timestamp {
  position: absolute;
  bottom: -15px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
}

.message .avatar {
  position: absolute;
  bottom: -15px;
  left: -35px;

  width: 30px;
  height: 30px;
  margin: 0;

  overflow: hidden;
  border-radius: 30px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.message.message-personal {
  float: right;
  margin: 8px 35px 18px 0;

  color: #ffffff;
  text-align: right;
  background: rgba(36, 138, 82, 0.85);
  border-radius: 10px 10px 0 10px;
}

.message.message-personal::before {
  left: auto;
  right: 0;
  bottom: -4px;

  border-right: 0;
  border-left: 5px solid transparent;
  border-top: 4px solid rgba(36, 138, 82, 0.85);
}

.message-box {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
}

.message-input {
  width: 100%;
  height: 18px;
  margin: 0;
  padding-right: 62px;

  resize: none;
  border: 0;
  background: none;
  outline: none !important;

  color: rgba(255, 255, 255, 0.90);
  font-size: 11px;
}

.message-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.message-submit {
  position: absolute;
  top: 9px;
  right: 10px;

  border: 0;
  border-radius: var(--dp-radius-md);
  padding: 6px 10px;

  background: rgba(36, 138, 82, 0.95);
  color: #ffffff;

  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;

  outline: none !important;
  cursor: pointer;
}

.message-submit:hover {
  filter: brightness(1.05);
}

/* =========================================================
   TRUSTPILOT NAVBAR - VERSIONE ALLINEATA APEX
   Non forza altezza navbar. Usa il flusso normale del menu.
   ========================================================= */

#trustpilot,
.apxNavTrustpilotItem{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Link: NON forziamo altezza 40px */
#trustpilot > a,
.apxNavTrustpilotItem > a,
#t_Header #trustpilot > a,
#t_Header .apxNavTrustpilotItem > a,
.t-Header #trustpilot > a,
.t-Header .apxNavTrustpilotItem > a{
  position:relative !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  width:26px !important;
  min-width:26px !important;
  height:26px !important;
  min-height:26px !important;

  padding:0 !important;
  margin:0 7px 0 0 !important;

  vertical-align:middle !important;
  overflow:visible !important;

  font-size:0 !important;
  line-height:1 !important;
  color:transparent !important;
  text-decoration:none !important;

  transform:translateY(0px) !important;
}

/* Nasconde testo / span interni del template */
#trustpilot > a *,
.apxNavTrustpilotItem > a *,
#t_Header #trustpilot > a *,
#t_Header .apxNavTrustpilotItem > a *,
.t-Header #trustpilot > a *,
.t-Header .apxNavTrustpilotItem > a *{
  display:none !important;
}

/* Alone dietro, centrato */
#trustpilot > a::after,
.apxNavTrustpilotItem > a::after,
#t_Header #trustpilot > a::after,
#t_Header .apxNavTrustpilotItem > a::after,
.t-Header #trustpilot > a::after,
.t-Header .apxNavTrustpilotItem > a::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;

  width:20px;
  height:20px;

  border-radius:7px;
  background:rgba(0,182,122,.35);

  transform:translate(-50%, -50%) scale(.95);
  z-index:0;
  pointer-events:none;

  animation:apxTpGlow 1.45s infinite;
}

/* Stella */
#trustpilot > a::before,
.apxNavTrustpilotItem > a::before,
#t_Header #trustpilot > a::before,
#t_Header .apxNavTrustpilotItem > a::before,
.t-Header #trustpilot > a::before,
.t-Header .apxNavTrustpilotItem > a::before{
  content:"★";

  position:relative;
  z-index:1;

  width:22px;
  height:22px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border-radius:6px;
  background:#00b67a;
  color:#ffffff;

  font-size:14px;
  font-weight:900;
  line-height:1;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.24) inset,
    0 0 0 2px rgba(0,182,122,.18);
}

@keyframes apxTpGlow{
  0%{
    opacity:.75;
    transform:translate(-50%, -50%) scale(.90);
    box-shadow:0 0 0 0 rgba(0,182,122,.55);
  }

  70%{
    opacity:0;
    transform:translate(-50%, -50%) scale(1.55);
    box-shadow:0 0 0 8px rgba(0,182,122,0);
  }

  100%{
    opacity:0;
    transform:translate(-50%, -50%) scale(.90);
    box-shadow:0 0 0 0 rgba(0,182,122,0);
  }
}






/* Evidenzia solo la voce menu con icona custom-fidelizzazione */
.a-TreeView-content:has(.fa.custom-fidelizzazione) {
    background: #facc15 !important;
    border-radius: 8px !important;
}

/* Testo bianco */
.a-TreeView-content:has(.fa.custom-fidelizzazione) .a-TreeView-label {
    color: #ffffff !important;
    font-weight: 800 !important;
}

/* Icona bianca */
.a-TreeView-content:has(.fa.custom-fidelizzazione) .fa.custom-fidelizzazione {
    color: #ffffff !important;
}

/* Stato selezionato / corrente */
.a-TreeView-content.is-selected:has(.fa.custom-fidelizzazione),
.a-TreeView-content.is-current--top:has(.fa.custom-fidelizzazione) {
    background: #eab308 !important;
}

/* Hover */
.a-TreeView-content:has(.fa.custom-fidelizzazione):hover {
    background: #ca8a04 !important;
}

.a-TreeView-content:has(.fa.custom-fidelizzazione):hover .a-TreeView-label,
.a-TreeView-content:has(.fa.custom-fidelizzazione):hover .fa.custom-fidelizzazione {
    color: #ffffff !important;
}










/* =========================================================
   NAVBAR NOTIFICHE - CAMPANA CUSTOM STILE TRUSTPILOT
   Static ID entry: nav-notifiche
   List Item CSS Classes: apxNavNotifItem
   ========================================================= */

#nav-notifiche,
.apxNavNotifItem {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

#nav-notifiche > a,
.apxNavNotifItem > a,
#t_Header #nav-notifiche > a,
#t_Header .apxNavNotifItem > a,
.t-Header #nav-notifiche > a,
.t-Header .apxNavNotifItem > a {
  position: relative !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 26px !important;
  min-width: 26px !important;
  height: 26px !important;
  min-height: 26px !important;

  padding: 0 !important;
  margin: 0 7px 0 0 !important;

  vertical-align: middle !important;
  overflow: visible !important;

  font-size: 0 !important;
  line-height: 1 !important;
  color: transparent !important;
  text-decoration: none !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: translateY(0px) !important;
}

#nav-notifiche > a *,
.apxNavNotifItem > a *,
#t_Header #nav-notifiche > a *,
#t_Header .apxNavNotifItem > a *,
.t-Header #nav-notifiche > a *,
.t-Header .apxNavNotifItem > a * {
  display: none !important;
}

#nav-notifiche > a::after,
.apxNavNotifItem > a::after,
#t_Header #nav-notifiche > a::after,
#t_Header .apxNavNotifItem > a::after,
.t-Header #nav-notifiche > a::after,
.t-Header .apxNavNotifItem > a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 20px;
  height: 20px;

  border-radius: 7px;
  background: rgba(245, 158, 11, .36);

  transform: translate(-50%, -50%) scale(.95);
  z-index: 0;
  pointer-events: none;

  animation: apxNotifGlow 1.45s infinite;
}

#nav-notifiche > a::before,
.apxNavNotifItem > a::before,
#t_Header #nav-notifiche > a::before,
#t_Header .apxNavNotifItem > a::before,
.t-Header #nav-notifiche > a::before,
.t-Header .apxNavNotifItem > a::before {
  content: "";

  position: relative;
  z-index: 1;

  width: 22px;
  height: 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
  background-color: #f59e0b;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.2 10.4C7.2 7.6 9.05 5.55 12 5.55C14.95 5.55 16.8 7.6 16.8 10.4V13.2L18.25 15.45C18.55 15.9 18.23 16.5 17.7 16.5H6.3C5.77 16.5 5.45 15.9 5.75 15.45L7.2 13.2V10.4Z' stroke='white' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.1 18.05C10.45 18.75 11.1 19.15 12 19.15C12.9 19.15 13.55 18.75 13.9 18.05' stroke='white' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M12 4.3V3.35' stroke='white' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,.24) inset,
    0 0 0 2px rgba(245,158,11,.18);
}

#nav-notifiche,
.apxNavNotifItem {
  position: relative !important;
}

#nav-notifiche::after,
.apxNavNotifItem::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 1px;

  width: 7px;
  height: 7px;

  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 2px #2f2926;

  z-index: 5;
  pointer-events: none;
}

#nav-notifiche > a:hover,
.apxNavNotifItem > a:hover,
#nav-notifiche > a:focus,
.apxNavNotifItem > a:focus {
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

#nav-notifiche > a:hover::before,
.apxNavNotifItem > a:hover::before {
  transform: translateY(-1px);
}

#nav-notifiche.is-active > a,
#nav-notifiche.is-current > a,
.apxNavNotifItem.is-active > a,
.apxNavNotifItem.is-current > a {
  background: transparent !important;
  box-shadow: none !important;
}

@keyframes apxNotifGlow {
  0% {
    opacity: .75;
    transform: translate(-50%, -50%) scale(.90);
    box-shadow: 0 0 0 0 rgba(245,158,11,.55);
  }

  70% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.55);
    box-shadow: 0 0 0 8px rgba(245,158,11,0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.90);
    box-shadow: 0 0 0 0 rgba(245,158,11,0);
  }
}
