/* ================================================================
   RDP — NAVBAR  (uses rdp-design-system.css variables)
   ================================================================ */
@import url("rdp-design-system.css");

/* All core navbar styles are now in rdp-design-system.css.
   This file contains only page-specific overrides / additions. */

/* ── User Dropdown ── */
.user-dropdown { position: relative; }
.user-dropdown > a {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.user-dropdown > a::before {
  content: "▾";
  font-size: 0.72rem;
  color: var(--primary-color);
  margin-right: 2px;
}
.user-dropdown:hover .dropdown-menu,
.user-dropdown.dropdown-open .dropdown-menu {
  display: block;
}

/* ============================================================
   LOGO — EYE-CATCHING TREATMENT
   Brand colors: Red #E53935 · Slate Gray #2B2F33
   ============================================================ */

/* 1 — Entrance: drops in from above with elastic bounce */
@keyframes rdpLogoIn {
  0%   { opacity: 0; transform: scale(0.78) translateY(-18px); }
  65%  { opacity: 1; transform: scale(1.05) translateY(3px);   }
  100% { opacity: 1; transform: scale(1)    translateY(0);     }
}

/* 2 — Breathing ring: draws the eye continuously and subtly */
@keyframes rdpRingPulse {
  0%, 100% { opacity: 0.18; transform: scale(1);    }
  50%       { opacity: 0.72; transform: scale(1.09); }
}

/* Wrapper ring */
.logo-wave-wrapper {
  position: fixed;
  top: 12px;
  right: 20px;
  z-index: calc(var(--z-fixed) + 1);
}
.logo-wave-wrapper::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px solid #E53935;
  animation: rdpRingPulse 3.6s ease-in-out infinite;
  pointer-events: none;
}

/* Image */
.fixed-logo img {
  height: 110px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter:
    drop-shadow(0 0 10px rgba(229, 57, 53, 0.38))
    drop-shadow(0 4px 22px rgba(0, 0, 0, 0.65));
  animation: rdpLogoIn 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.45s ease;
  cursor: pointer;
}
.fixed-logo img:hover {
  transform: scale(1.12) translateY(-5px);
  filter:
    drop-shadow(0 0 26px rgba(229, 57, 53, 0.85))
    drop-shadow(0 8px 44px rgba(43, 47, 51, 0.90));
}

/* ── Language direction support ── */
body[dir="rtl"] .dropdown-menu.lang-dir {
  text-align: right !important;
  direction: rtl !important;
}
body[dir="ltr"] .dropdown-menu.lang-dir {
  text-align: left !important;
  direction: ltr !important;
}

html[lang="ar"] .dropdown-menu a {
  direction: rtl;
  text-align: right;
  font-family: "Cairo", "Tajawal", sans-serif;
}
html[lang="en"] .dropdown-menu a {
  direction: ltr;
  text-align: left;
  font-family: "Cairo", sans-serif;
}