/*!
 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);
}