/* ==========================================================================
   1. GLOBAL TYPOGRAPHY & BRAND VARIABLES
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --palcare-blue: #007df2;
  --palcare-orange: #ffa76f;
  --palcare-dark: #2d2d2d;
  --palcare-footer-bg: #212326;
  --palcare-light-bg: #f9f9fb;
}

/* Force Manrope across the Zoho portal */
body, h1, h2, h3, h4, h5, h6, p, a, div, span, input, button, .zdesk-portal {
  font-family: 'Manrope', Arial, Helvetica, sans-serif !important;
}

/* ==========================================================================
   2. CUSTOM HEADER & NAVIGATION STYLES
   ========================================================================== */
.palcare-custom-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.08); /* Matches Palcare.com sticky nav */
}

.palcare-custom-header .header-container {
  max-width: 1272px; /* Exact site width from your CSS */
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.palcare-custom-header .brand-logo {
  max-height: 40px;
  display: block;
}

.palcare-custom-header .header-navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

/* Navigation Links AND Zoho Dynamic Home Link */
.palcare-custom-header .nav-link,
#portal_tabHome a {
  color: var(--palcare-dark) !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease;
}

.palcare-custom-header .nav-link:hover,
#portal_tabHome a:hover {
  color: var(--palcare-blue) !important;
}

/* Remove default Zoho list styling from the Home tab */
#portal_tabHome {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==========================================================================
   3. HEADER DROPDOWN MENUS
   ========================================================================== */
.palcare-custom-header .dropdown {
  position: relative;
  display: inline-block;
}

.palcare-custom-header .dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 240px;
  box-shadow: 0px 8px 20px rgba(0,0,0,0.1);
  z-index: 10000;
  border-radius: 8px;
  top: 100%;
  left: 0;
  overflow: hidden;
  padding: 8px 0;
}

.palcare-custom-header .dropdown-content a {
  color: var(--palcare-dark) !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.palcare-custom-header .dropdown-content a:hover {
  background-color: var(--palcare-light-bg);
  color: var(--palcare-blue) !important;
}

.palcare-custom-header .dropdown:hover .dropdown-content {
  display: block;
}

/* ==========================================================================
   4. CUSTOM HEADER BUTTONS (Contact Us & Online Shop)
   ========================================================================== */
/* Contact Us Button (Orange) */
.palcare-custom-header .request-demo-btn {
  background-color: var(--palcare-orange);
  color: #ffffff !important;
  border: 2px solid var(--palcare-orange);
  padding: 7px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(.2,1,.7,1), background 0.3s ease, color 0.3s ease;
}

.palcare-custom-header .request-demo-btn:hover {
  background-color: var(--palcare-blue);
  border-color: #ffffff;
  color: #ffffff !important;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.25);
}

/* Online Shop Button (Blue) */
.palcare-custom-header .online-shop-btn {
  background-color: var(--palcare-blue);
  color: #ffffff !important;
  border: 2px solid var(--palcare-blue);
  padding: 7px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(.2,1,.7,1), background 0.3s ease, color 0.3s ease;
  margin-right: -15px; /* Pulls it closer to the Contact Us button */
}

.palcare-custom-header .online-shop-btn:hover {
  background-color: var(--palcare-orange);
  border-color: var(--palcare-orange);
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   5. CUSTOM FOOTER STYLES
   ========================================================================== */
.palcare-custom-footer {
  background-color: var(--palcare-footer-bg);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 30px;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.palcare-custom-footer .footer-container {
  max-width: 1272px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.palcare-custom-footer .footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.palcare-custom-footer .footer-links a:hover {
  color: var(--palcare-orange);
}

/* ==========================================================================
   6. ZOHO DESK OVERRIDES (Color matching the portal)
   ========================================================================== */
/* Backgrounds */
body.zdesk-portal-body {
  background-color: var(--palcare-light-bg) !important;
  color: var(--palcare-dark) !important;
}

/* Primary Zoho Buttons (Submit Ticket, Search, etc.) */
.kb-btn-primary, .zs-btn-primary, .button-primary {
  background-color: var(--palcare-blue) !important;
  border-color: var(--palcare-blue) !important;
  border-radius: 30px !important; /* Forces the pill shape */
  font-weight: 600 !important;
  transition: background 0.3s ease !important;
}

.kb-btn-primary:hover, .zs-btn-primary:hover, .button-primary:hover {
  background-color: var(--palcare-orange) !important;
  border-color: var(--palcare-orange) !important;
}

/* Text Links */
.kb-article-content a, .zs-link, .portal-link {
  color: var(--palcare-blue) !important;
  text-decoration: none !important;
  font-weight: 600;
}

.kb-article-content a:hover, .zs-link:hover, .portal-link:hover {
  color: var(--palcare-orange) !important;
  text-decoration: underline !important;
}

/* Hide Zoho's Default Header to prevent duplicates */
.zdesk-portal-header {
  display: none !important;
}
