/*
Theme Name: Gecko Child
Theme URI: https://yourdomain.com
Description: Child theme for the Gecko theme
Author: NJ
Author URI: https://yourdomain.com
Template: peepso-theme-gecko
Version: 7.0.4.4
*/


/*geen leden online bleef in het eerste grid */
.psw-members .ps-text--muted {
  grid-column: 1 / -1; /* Span all grid columns */
  text-align: center;
}

/** hashtgs in posts **/
.ps-stream-hashtag{
  color: #f68803; /* Choose your color */
  text-decoration: none; /* Remove underline */
}

/* hide group avatar */
.ps-avatar--group,
.ps-group__profile-focus-avatar {
  display: none;
}

/* hide search for guests */
body:not(.logged-in) .gc-header__search {
  display: none;
}

/* widget hashtags colors */
.ps-widget__hashtags .ps-hashtag:nth-child(1) {
  background-color: cyan;
}
.ps-widget__hashtags .ps-hashtag:nth-child(2) {
  background-color: magenta;
}
.ps-widget__hashtags .ps-hashtag:nth-child(3) {
  background-color: yellow;
}
.ps-widget__hashtags .ps-hashtag:nth-child(4) {
  background-color: black;
}





/*** berichten notificatie bubble ***/
.ps-notif__bubble {
  border-radius: 50%;
}

/*** aanmeld knop als avatar met dropdown niet toont vanwege uitrlogd ***/

 .psf-login--inline .psf-login__link {
  border:1px solid silver;
  border-radius: 4px;
  padding: 8px 16px;
  background-color: #f0f0f0; /* Choose your color */
  color: #333; /* Choose your text color */
  text-decoration: none;  
  }

  .psf-login--inline .psf-login__link:hover {
    background-color: #e0e0e0; /* Choose your hover color */
    color: #000; /* Choose your hover text color */
  }

  .psf-login--inline .psf-login__link:active {
    background-color: #d0d0d0; /* Choose your active/tap color */
    color: #000;
  }

.psw-userbar__inner {
  /* Optional styling for the container */
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
}

.psw-userbar__login a {
  display: inline-block;
  padding: 8px 16px;
  background-color: #0073e6; /* Choose your color */
  color: #fff;
  text-decoration: none;
  border: 1px solid #0073e6;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.psw-userbar__login a:hover {
  background-color: #005bb5;
  border-color: #005bb5;
  color: #fff;
}


/** disable iOS shadow on pull-to-refresh **/
/* Disable native overscroll effects */
html, body {
  overscroll-behavior-y: contain;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prevent rubber-banding on iOS */
body {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}



/*** disable recaptcha label***/
.grecaptcha-badge {
  visibility: hidden !important;
  display: none !important;
}


html {
  margin-top: 0 !important;
}

body{
  padding-right:0px !important;
}

.pso-postbox {
    border: 0px solid rgb(0, 255, 13);
    box-shadow: 0 0 4px rgba(0, 255, 13, 0.8);
    padding:5px;
}

/******** **********/
/****** ai avatar popup *******/

.mwai-klm-theme-theme {
  --mwai-spacing: 10px;
  --mwai-fontSize: 14px;
  --mwai-fontColor: #000;
  --mwai-bgPrimary: #fff;
  --mwai-primary: #0084ff;
  --mwai-secondary: #f0f0f0;
  --mwai-width: 300px;
  --mwai-borderRadius: 5px;
}

.mwai-klm-theme-theme .mwai-content {
  background: var(--mwai-bgPrimary);
  padding: var(--mwai-spacing);
  font-size: var(--mwai-fontSize);
  color: var(--mwai-fontColor);
}

.mwai-klm-theme-theme .mwai-conversation {
  display: flex;
  flex-direction: column;
}

.mwai-klm-theme-theme .mwai-reply {
  margin-bottom: var(--mwai-spacing);
  padding: var(--mwai-spacing);
  display: flex;
}

.mwai-klm-theme-theme .mwai-reply.mwai-ai {
  background: var(--mwai-secondary);
}

.mwai-klm-theme-theme .mwai-reply.mwai-user {
  background: var(--mwai-primary);
  color: #fff;
}

.mwai-klm-theme-theme .mwai-name {
  margin-right: var(--mwai-spacing);
}

.mwai-klm-theme-theme .mwai-input {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mwai-klm-theme-theme .mwai-input-text {
  display: flex;
  align-items: center;
  flex: 1;
}

.mwai-klm-theme-theme .mwai-input-text textarea {
  flex: 1;
}

.mwai-klm-theme-theme .mwai-input-text .mwai-microphone {
  flex: 1;
}

.mwai-klm-theme-theme .mwai-input-text .mwai-file-upload-icon {
  flex: 1;
}

.mwai-klm-theme-theme .mwai-trigger {
  position: absolute;
  right: 0;
  bottom: 0;
  transition: all 0.2s ease-out;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mwai-klm-theme-theme .mwai-trigger .mwai-icon-text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mwai-klm-theme-theme .mwai-trigger .mwai-icon-text {
  background: var(--mwai-iconTextBackgroundColor);
  color: var(--mwai-iconTextColor);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  font-size: 13px;
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 8px;
}

.mwai-klm-theme-theme .mwai-reply-actions .mwai-copy-button {
  fill: var(--mwai-fontColor);
  padding: 3px 5px;
  width: 24px;
  height: 24px;
  background: var(--mwai-bgPrimary);
  cursor: pointer;
  border-radius: var(--mwai-borderRadius);
  display: none;
}

.mwai-klm-theme-theme .mwai-reply-actions:not(.mwai-hidden) .mwai-copy-button {
  display: block;
}

.mwai-klm-theme-theme.mwai-window {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: var(--mwai-width);
  z-index: 9999;
}

.mwai-klm-theme-theme.mwai-window .mwai-content {
  display: none;
  opacity: 0;
  max-height: var(--mwai-maxHeight);
  border-radius: 0 0 var(--mwai-borderRadius) var(--mwai-borderRadius);
}

.mwai-klm-theme-theme.mwai-window.mwai-bottom-left,
.mwai-klm-theme-theme.mwai-window.mwai-top-left {
  right: auto;
  left: 30px;
}

.mwai-klm-theme-theme.mwai-window.mwai-top-right,
.mwai-klm-theme-theme.mwai-window.mwai-top-left {
  top: 30px;
  bottom: auto;
}

.mwai-klm-theme-theme.mwai-window.mwai-open .mwai-trigger {
  display: none;
}

.mwai-klm-theme-theme.mwai-window.mwai-open .mwai-content {
  display: flex;
  flex-direction: column;
  transition: opacity 200ms ease-in-out;
  opacity: 1;
}

.mwai-klm-theme-theme.mwai-window .mwai-header {
  display: none;
  justify-content: flex-end;
  height: 22px;
}

.mwai-klm-theme-theme.mwai-window.mwai-open .mwai-header {
  display: flex;
}

.mwai-klm-theme-theme.mwai-window .mwai-header .mwai-buttons .mwai-close-button:after {
  content: '╳';
  cursor: pointer;
}


/*** my custom ***/
/*.mwai-timeless-theme .mwai-trigger {
  align-items: center;
}*/

.mwai-icon{
    width: 90px;
    height: 90px;
}

.mwai-timeless-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text {
  background: #f68803;
  color: var(--mwai-iconTextColor);
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.15);
  max-width: 200px;
  font-size: 13px;
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 8px;
  position: relative; /* Required for the speech bubble tail */
  border-radius: 20px 20px 20px 20px; /* Rounded on top, sharp at bottom-left */
}

/* Add the speech bubble tail (triangle) */
.mwai-timeless-theme .mwai-trigger .mwai-icon-text-container .mwai-icon-text::after {
  content: "";
  position: absolute;
  bottom: -10px; /* Position below the bubble */
  /*left: 20px; /* Adjust to align the tail */
  left: auto;
  right: 20px;
  border-width: 10px 10px 0; /* Creates a triangle */
  border-style: solid;
  border-color: #f68803 transparent transparent;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.1)); /* Optional shadow on tail */
}


/******* nieuwe aparte avatar *****/
#mwai-chatbot-crewonthemove .mwai-chatbot-container{

--mwai-bubbleColor: #70cef9; 
--mwai-headerButtonsColor: #4e8eab;
--mwai-backgroundHeaderColor: #70cef9;
}

/** 
.mwai-header .mwai-content
.mwai-conversation .mwai-reply .mwai-ai .mwai-name .mwai-avatar .mwai-text .mwai-reply-actions .mwai-hidden .mwai-reply .mwai-name .mwai-avatar .mwai-text .mwai-reply-actions .mwai-hidden .mwai-reply .mwai-input .mwai-input-text .mwai-input-submit
*/

/*
#mwai-chatbot-crewonthemove .mwai-conversation .mwai-reply.mwai-ai {
}*/

#mwai-chatbot-crewonthemove .mwai-conversation .mwai-reply .mwai-name{
  display: block;
  float: left;
  margin-right: 10px;
}

 #mwai-chatbot-crewonthemove .mwai-avatar img{
  border-radius: 50%;
}


.mwai-avatar {
  flex-shrink: 0;
}

.mwai-reply > div {
  flex: 1;
}



/**power-off icons size**/
.gci-power-off::before {
  font-size: 1.8em;
}

@media (max-width: 61.24em) {
  .ps-navbar__notifications {
    display: flex;
    font-size:10px;
  }
  .ps-navbar .ps-notifications {
    height: 3vh;
  }

  .ps-posts__filters--compact-mobile .ps-posts__filters-toggle {
    padding-left: 10px;
  }

  .ps-posts__filters--compact-mobile .ps-posts__filters-group--primary .ps-posts__filter-toggle {
    display: flex;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--DIVIDER--LIGHT);
    padding-left: 10px;
  }
}

.ps-focus__menu-shadow {
  box-shadow: 0 0 15px 5px rgba(39, 255, 1, 0.5);
}

/*.ps-focus__menu-shadow--left{ 
}*/

.ps-focus__menu-shadow--left::after {
  z-index: 100;
  position: absolute;
  content: "←"; /* Example: FontAwesome user icon unicode */
  font-family: "Font Awesome 5 Free"; /* Adjust depending on your FontAwesome version */
  font-weight: 900; /* For solid icons in FA 5+ */
  display: inline-block;
  margin-left: 5px; /* spacing between original element and icon */
  vertical-align: middle;
  /* Optional styling */
  color: #f68803;
  font-size: 18px;
}

/*.ps-focus__menu-shadow--right{
}*/

.ps-focus__menu-shadow--right::after {
  z-index: 100;
  position: absolute;
  content: "→"; /* Example: FontAwesome user icon unicode */
  font-family: "Font Awesome 5 Free"; /* Adjust depending on your FontAwesome version */
  font-weight: 400; /* For solid icons in FA 5+ */
  display: inline-block;
  margin-left: -20px; /* spacing between original element and icon */
  vertical-align: middle;
  /* Optional styling */
  color: #f68803;
  font-size: 18px;
}



/* Unified Header Styles */
.unified-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.unified-header-left {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.unified-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobile Menu Toggle */
.gc-header__menu-toggle.mobile-only {
    display: none; /* Hidden by default */
    margin-right: 15px;
}

/* Logo Styles */
.gc-header__logo {
    margin-right: 30px;
}

/* Desktop Menu */
.gc-header__menu.desktop-only ul {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* de inlog landingpage aanpassingen */
a.psf-login__link .psf-login__link--register {
    display: inline-block;
    background: var(--ps-btn-bg, #0084ff);
    color: var(--ps-btn-color, #fff);
    padding: 8px 18px;
    border-radius: 4px;
    border: none;
    font-size: 1em;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    margin-left: 10px;
    text-decoration: none;
  }
  a.psf-login__link .psf-login__link--register:hover {
    background: var(--ps-btn-bg-hover, #005bb5);
    color: var(--ps-btn-color-hover, #fff);
}

.ps-landing__form .psf-login .psf-login--inline{
  background-color:#FFF;
}
/** maak de bell icon groter **/
.ps-notif__toggle{
  font-size: 1.5em;
}

/** guest landing page **/
.ps-landing__cover-inner {
  display: flex;
  flex-direction: column;
}

.ps-landing__content{
  justify-content: center;
}

.ps-landing__actions{
  margin-top:1em;
}

/*.ps-landing__actions .ps-btn--join{
}*/

#sidebar-right .mwai-chatbot-container{
  padding:0px;
}

#sidebar-left .wp-block-group{
  padding:0px;
}


/*** mobile header ***/
.gc-sticky__bar--above-header .menu-header-menu-container > ul.menu {
  display: flex;
  gap: 15px; /* Adjust as needed */
  list-style: none;
  padding: 0;
  margin: 0;
}

.gc-sticky__bar--above-header .menu-header-menu-container > ul.menu > li {
  display: inline-block; /* Not required, but safe */
}

/******* het menu wat aanpassen ******/
/*.gc-header__search{
}*/

.gc-header__search-toggle {
  padding-left:0px !important;
  padding-right:0px !important;
}

i.gcis.gci-search{
  font-size:1.5em;
}

.psw-notifs--userbar {
  margin-left: 0px;
}

.psw-userbar__logout{
  margin-left:15px;
}

/* de searchbar heeft opeens een padding aan de bovenkant */
.ps-groups__search {
  flex-grow: 2;
  margin-top: 0px;
  margin-left: 5px;
  margin-right: 5px;
}

.ps-groups__header-inner {
  display: flex;
  align-items: stretch; /* or try 'center' if you prefer vertical centering */
  gap: 8px; /* Optional spacing between elements */
}

.ps-btn,
.ps-btn--action,
.ps-btn__group {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}


/****************************************************************************************************/
/********************************************** MOBILE *********************************************/
/* Mobile responsiveness */
@media (max-width: 1024px) {
    /* Show mobile menu toggle */
    .gc-header__menu-toggle.mobile-only {
        display: block;
        order: -1; /* Move to far left */
    }
    
    /* Hide desktop menu */
    .gc-header__menu.desktop-only {
        display: none;
    }
    
    /* Adjust logo spacing */
    .gc-header__logo {
        margin-right: 0;
        flex-grow: 1;
        text-align: center;
    }
    
    /* Stack header elements properly */
    .unified-header {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    
    .unified-header-left {
        justify-content: center;
        margin-left: -40px; /* Compensate for menu toggle */
    }
    
    .unified-header-right {
        margin-left: auto;
    }

    .mobile-only {
        display: none !important;
    }
    
    /* Show desktop elements */
    .desktop-only {
        display: block !important;
    }
}