/* Custom header gradient */
.global-header {
    background: linear-gradient(90.72deg, rgb(76, 26, 186) 2.34%, rgb(92, 31, 226) 99.47%) !important;
    color: #ffffff !important; /* text color */
}

/* Optional: header links */
.global-header a {
    color: #ffffff !important;    /* ensure links are visible on gradient */
}

.global-header a:not(.dropdown-user-menu a):not(.mobile-menu a) {
    color: #ffffff !important; /* links in header except dropdown */
}

/*.global-header a:hover:not(.dropdown-user-menu a) {
    color: #ccccff !important;
}*/

.global-header a:hover {
    color: #ccccff !important;   
}

/* Header logo styling */
.global-header .main-header .logo {
    float: left;
    margin: 15px 0 0 40px; /* top 15px, left 40px */
    display: block;
}

.global-header .main-header .logo img {
    width: 38px;  
    height: auto;
}

.global-header .nav-links .secondary .dropdown-user-menu {
    background: #fffcf2 !important; 
    color: #5c1fe2 !important;  
    border: 1px solid #e7e7e7 !important;
    z-index: 9999 !important;
}

.global-header .nav-links .secondary .dropdown-user-menu a {
    background: #fffcf2 !important; 
    color: #5c1fe2 !important;  
}

.global-header .nav-links .secondary .dropdown-user-menu a:hover {
    background: #ccccff !important; 
    color: #5c1fe2 !important;  
}

.mobile-menu .mobile-nav-link a {
    background: #fffcf2 !important; 
    color: #5c1fe2 !important;  
    border: 1px solid #e7e7e7 !important;
    z-index: 9999 !important;

}

.mobile-menu .mobile-nav-link a:hover {
    background: #ccccff !important; 
    color: #5c1fe2 !important;  

}

.global-header .nav-links .secondary a.register-btn {
    background-color: #0075b4 !important;
    color: #fff !important;
    border: 1px solid #fff !important;
    
}
 
.global-header .nav-links .secondary a.register-btn:hover {
    background-color: #005f8f !important;
    border: 1px solid #0075b4 !important;
    
}

.global-header .nav-links .secondary a.sign-in-btn:hover {
    background-color: #005f8f !important;
    border: 1px solid #0075b4 !important;
    
}


/* hide fallback select once JS is running */
.ciu-lang-fallback { display: none; }

/* position menu relative to the button */
.ciu-lang-switcher {
    position: relative;
    margin-top: 10px
}

/* keep the globe transparent in all states */
.ciu-language-switcher__button,
.ciu-language-switcher__button:hover,
.ciu-language-switcher__button:focus,
.ciu-language-switcher__button:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0;
  line-height: 0;
}

.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  width: 1px;
  height: 1px;
  word-wrap: normal;
}

/* default */
.ciu-language-switcher__button svg path {
  stroke: #fff;                /* was inline in HTML */
  transition: stroke .2s ease; /* smoother hover */
}

/* hover */
.ciu-language-switcher__button:hover svg path {
  stroke: #17ff74 !important;
}

.ciu-lang-menu {
  position: fixed;      /* ignore ancestors’ overflow */
  top: 0; left: 0;      /* will be set by JS on open */
  z-index: 9999;
  min-width: 220px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  padding: 8px 0;
  margin: 0;
  list-style: none;
}

.ciu-lang-item {
  padding: 12px 16px;
  color: rgba(46,46,46,.7);
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.ciu-lang-item:hover { color: #2e2e2e; background: rgba(0,0,0,.04); }

.ciu-lang-item.is-active { font-weight: 700; color: #5c1fe2; }

.ciu-lang-menu .ciu-lang-item.is-active {
  color: #5c1fe2;
  font-weight: 700;
}
