/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*** MEMBERPRESS ***/
#masthead .site-branding__logo{max-height: 180px;height: 130px;}
.mepr-header-account {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ===== CONNECTÉ DESKTOP ===== */
/* ===== BOUTON LOGIN DESKTOP ===== */
.mepr-header-account-toggle-desktop {
  width: auto !important;
  min-height: auto !important;
  padding: 8px 14px !important;
  border-radius: 30px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.mepr-header-account-toggle-desktop:focus,
.mepr-header-account-toggle-mobile:focus {
  outline: none;
}

.mepr-header-account-avatar {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mepr-header-account-avatar img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
}

.mepr-header-account-infos {
  flex-direction: row;
  gap: 6px;
  padding-left: 10px;
}

.mepr-header-account-name {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mepr-header-account-email {
  font-size: 12px;
  opacity:0.8;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mepr-header-account-arrow {
	margin-left:4px;
  color: #fff;
}

/* ===== DROPDOWN ===== */
.mepr-header-account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 255px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 9999;
}

.mepr-header-account-dropdown a {
  display: block;
  padding: 14px 22px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.3;
}

.mepr-header-account-dropdown a:hover {
  background: #f3f3f3;
}

.mepr-header-account.open .mepr-header-account-dropdown {
  display: block;
}


/* ===== BOUTON LOGIN DESKTOP ===== */
.mepr-login-btn-desktop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: #153973;
  color: #fff !important;
  text-decoration: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
}
.mepr-login-btn-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  background: #153973;
  color: #fff !important;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.mepr-login-btn-desktop:hover {
  color: #fff !important;
  opacity: 0.92;
  background: #f1062f;
}

/* ===== MOBILE ICONS ===== */
.mepr-header-account-toggle-mobile {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: #153973;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
}
.mepr-login-btn-mobile:hover {
  color: #fff;
  opacity: 0.92;
}

.mepr-header-account-mobile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .mepr-header-account-toggle-desktop,
  .mepr-login-btn-desktop {
    display: none;
  }

  .mepr-header-account-toggle-mobile,
  .mepr-login-btn-mobile {
    display: inline-flex;
  }

  .mepr-header-account-dropdown {
    right: 0;
    min-width: 220px;
  }
}