/* Basic overlay + modal styles (you can customize to match your screenshot exactly) */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 9998;
}

.auth-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  width: 380px;
  max-width: 95vw;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
  z-index: 9999;
  padding: 28px 24px;
}

.auth-modal h2 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.2
}

.auth-modal form {
  display: grid;
  gap: 10px;
  margin-top: 8px
}

.auth-modal input[type="email"],
.auth-modal input[type="password"],
.auth-modal input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e3e3e3;
  border-radius: 10px;
  font-size: 14px
}

.auth-modal button[type="submit"] {
  width: 100%;
  padding: 12px 14px;
  font-weight: 600;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: #111;
  color: #fff
}

.auth-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 22px;
  line-height: 1
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-top: 6px
}

.auth-meta a {
  color: #111;
  text-decoration: none
}

.auth-switch {
  cursor: pointer
}

.auth-bottom {
  margin-top: 12px;
  font-size: 13px;
  text-align: center
}

.auth-error {
  display: none;
  margin: 6px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #ffecec;
  color: #b10000;
  font-size: 13px
}

.auth-success {
  display: none;
  margin: 6px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: #ecfff1;
  color: #0f7a3b;
  font-size: 13px
}

/* Toast for welcome after register */
.auth-toast {
  position: fixed;
  right: 18px;
  top: 18px;
  background: #111;
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  z-index: 10000;
  display: none;
  gap: 8px;
  align-items: center
}

.auth-toast .toast-text {
  font-size: 14px
}

.auth-toast button {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0 4px
}

.auth-toast .toast-actions {
  display: flex;
  gap: 8px;
  margin-left: 8px
}

.auth-toast .toast-actions a {
  background: #fff;
  color: #111;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px
}


/* Header buttons */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--Montserrat-family);
  font-weight: 600;
  background: var(--brand-color-v4);
  color: #fff;
}

.btn:hover {
  background: var(--brand-black-color);
}


/* User menu */
.user-menu {
  position: relative;
}

.user-menu .user-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  cursor: pointer;
}

.user-menu .user-trigger .dashicons {
  font-size: 20px;
  line-height: 1;
}

.user-menu .dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
  padding: 6px;
  display: none;
  z-index: 10000;
}

.user-menu .dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
}

.user-menu .dropdown a:hover {
  background: #f6f6f6;
}

/* Hover to open (plus JS toggles for accessibility) */
/* .user-menu:hover .dropdown{ display:block; } */

.user-menu .dropdown {
  transition: all 0.2s ease-in-out;
}

/* === Minimal FAQ Styles (scoped) === */
.cm-faq { margin-top: 2rem; border-top: 1px solid #eee; padding-top: 1.25rem; }
.cm-faq-title { font-size: 1.25rem; margin: 0 0 0.75rem; }
.cm-faq-item { border: 1px solid #e7e7e7; border-radius: 8px; margin-bottom: 10px; background:#fff; overflow:hidden; }
.cm-faq-q { width:100%; text-align:left; padding:12px 16px; background:#fafafa; border:0; display:flex; justify-content:space-between; align-items:center; cursor:pointer; font-weight:600; }
.cm-faq-q:focus { outline:2px solid #0073aa; outline-offset:2px; }
.cm-faq-icon { margin-left:12px; transition:transform .2s ease; }



.cm-faq-a { display:none; }
.cm-faq-a-inner { padding:14px 16px; line-height:1.6; }



.cm-faq-icon {
  margin-left: 12px;
  transition: all .2s ease;
  font-size: 1.2rem;
  line-height: 1;
}

/* default: plus sign */
.cm-faq-q .cm-faq-icon::before {
  content: "+";
  font-weight: bold;
}

/* expanded: minus sign */
.cm-faq-q[aria-expanded="true"] .cm-faq-icon::before {
  content: "–";
}