/* ================= RESET / BASE ================= */




/* ================= PAGE BODY BACKGROUND ================= */

body.tribe-login-body {
  min-height: 100vh;
  margin: 0;
  background: url(../get_media.php?path=bg/tribe_body_bg.jpg) no-repeat center top;
  background-size: 100% 77%;
  color: #56569a;
}

/* ================= MAIN WRAPPER (UNCHANGED BEHAVIOR) ================= */

#tribe-login-page.main-wrapper {
  min-height: 100vh;
  background: url(../get_media.php?path=bg/tribe_login_bg.png) no-repeat;
  background-size: 100% 100% !important;
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 0rem;
  border: none;
  filter: saturate(1.3);
  color: #56569a;
}

#tribe-login-page .content-wrapper {
  background: transparent;
  padding: 2.3rem;
  width: 100%;
  min-width: 0;
  margin: auto;
  text-align: center;
  box-sizing: border-box;
  padding-bottom: 0rem;
}


/* ================= LOGO ================= */

.logo {
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.logo img {
  max-width: 6rem;
}


/* ================= PROMISE SECTION ================= */

.promise-section {
  margin-bottom: 14rem;
  margin-top: 2.5rem;
}

h1#tribeLoginPromiseTitle {
  -webkit-font-smoothing: initial;
  font-size: 2.55rem;
}

p#tribeLoginPromiseSubtitle {
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  font-size: 1.56rem;
  letter-spacing: 0.000010rem;
  margin-top: 0.23rem;
}

.promise-title {
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.05rem;
  margin-bottom: 0rem;
}

.promise-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.3;
  opacity: 0.9;
  margin-top: 0;
}

.promise-subtitle span {
  font-size: 1.3rem;
  font-weight: 300;
  line-height: 1.3;
  opacity: 0.9;
  margin-top: 0;
}


/* ================= TRIBE SECTION ================= */

.tribe-section {
  margin-bottom: 0rem;
}

.tribe_stars {
  width: 7.9rem;
  margin-bottom: 0rem;
  margin-left: 4% !important;
}

.tribe-title {
  font-size: 3.1rem;
  font-weight: 300;
  letter-spacing: 0.04rem;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.tribe-text {
  font-size: 1.88rem;
  font-weight: 300;
  line-height: 1.2 !important;
  max-width: 60rem;
  margin: 0 auto 4rem auto;
  opacity: 0.9;
  letter-spacing: 0.002rem;
}

p#tribeLoginTribeText {
  line-height: 1.3;
  margin-bottom: 2.6rem;
}


/* ================= ACTION BUTTONS ================= */

.action-block {
  margin-bottom: 3.5rem;
}

div#tribeLoginExpressBlock {
  margin-bottom: 0.5rem !important;
}

.tribe-btn {
  display: inline-block;
  padding: 0.55rem 3.2rem;
  font-size: 1.65rem;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(90deg, #6fd6d1, #6bb8f5);
  text-indent: -9000px;
  letter-spacing: 0.08rem;
  transition: all 0.3s ease;
}

.tribe-btn.express {
  background: url(../get_media.php?path=bg/express.png) no-repeat center;
  background-size: 100%;
  width: 21rem;
}



.action-caption {
  margin-top: 0.3rem;
  font-size: 1.1rem;
  font-weight: 300;
  opacity: 0.95;
}

div#tribeLoginCaptionExpress {
  font-size: 1rem;
  margin-bottom: 1rem;
}

div#tribeLoginParticipateBlock {
  margin-bottom: 2.5rem;
}

.quote-section {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

p#tribeLoginQuoteMain {
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
}

.quote-main {
  font-size: 1.62rem !important;
  font-weight: 300;
  line-height: 1.4;
  max-width: 56rem;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
}

.quote-tagline {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.04rem;
}

.tribe-icon {
  width: 7.8rem;
  margin-bottom: 0rem;
  margin-top: 2rem;
}

.form-group {
  position: relative;
  width: 50%;
  margin: auto;
}

.flex-group {
  display: flex;
  justify-content: center;
}

/*.select2-container {
  width: 98% !important;
}*/

#tribe-login-page + .footer-wrapper {
  width: 100%;
  max-width: none;
  min-width: 0;
}

#tribe-login-page + .footer-wrapper .border:first-of-type,
#tribe-login-page + .footer-wrapper .border:last-of-type {
  width: 65% !important;
  margin-top: 3rem;
  margin-bottom: 2.3rem;
}

/* Editable content + footer text: tribe login purple (#56569a) */
#tribe-login-page .content-wrapper,
#tribe-login-page .promise-title,
#tribe-login-page .promise-subtitle,
#tribe-login-page .promise-subtitle span,
#tribe-login-page .tribe-title,
#tribe-login-page .tribe-text,
#tribe-login-page .action-caption,
#tribe-login-page .quote-main,
#tribe-login-page .quote-tagline,
#tribe-login-page .editable-content-wrap,
#tribe-login-page .editable-content-wrap .editable-content-inner,
#tribe-login-page .editable-content-wrap [contenteditable="true"],
#tribe-login-page .editable-content-wrap:hover > :not(.editable-content-actions),
#tribe-login-page .editable-content-wrap.is-editing > :not(.editable-content-actions),
body.tribe-login-body > .footer-wrapper p,
body.tribe-login-body > .footer-wrapper span,
body.tribe-login-body > .footer-wrapper .footer-links li a,
body.tribe-login-body > .footer-wrapper .editable-content-wrap,
body.tribe-login-body > .footer-wrapper .editable-content-wrap .editable-content-inner,
body.tribe-login-body > .footer-wrapper .editable-content-wrap [contenteditable="true"] {
  color: #56569a;
}

#tribe-login-page .editable-content-wrap:hover > :not(.editable-content-actions),
#tribe-login-page .editable-content-wrap.is-editing > :not(.editable-content-actions) {
  border-color: #56569a;
}

#tribe-login-page .editable-content-wrap .editable-content-actions {
  border-color: #56569a;
}

#tribe-login-page .editable-content-wrap .editable-content-actions button {
  color: #56569a;
}

#tribe-login-page .editable-content-wrap .editable-content-actions button:hover {
  background: rgba(86, 86, 154, 0.15);
  color: #56569a;
}

#tribe-login-page .editable-content-wrap.is-editing > :not(.editable-content-actions) {
  outline-color: rgba(86, 86, 154, 0.28);
}

.tribe-login-body .editable-content-wrap> :not(.editable-content-actions) {
  border: 1px dashed transparent;
  border-radius: 2px;
  padding: 0.5rem 0.25rem;
  color: inherit;
  transition: border-color 0.15s ease;
  width: 100%;
  box-sizing: border-box;
  margin-left: auto !important;
}
/* Express note popup — match Participate Contact Admin / sample To: Admin From: Name */
body.tribe-login-body #tribeExpressNotePopup {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 50rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  color: #75779a;
  font-family: 'freight-display-pro', 'source sans pro', sans-serif;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-popup-content {
  min-width: min(36rem, 92vw);
  max-width: 100%;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: inherit;
  box-sizing: border-box;
}

body.tribe-login-body #tribeExpressNotePopup .popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
  padding: 1.1rem 1.5rem 0.35rem;
  box-sizing: border-box;
}

body.tribe-login-body #tribeExpressNotePopup #tribeExpressNoteTitle {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
  font-family: 'freight-display-pro', 'source sans pro', sans-serif;
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.4;
  color: #75779a;
}

body.tribe-login-body #tribeExpressNotePopup #tribeExpressNoteTitle .tribe-express-note-name {
  font-weight: 700;
}

body.tribe-login-body #tribeExpressNotePopup #tribeExpressNoteTitle .tribe-express-note-title-gap {
  display: inline-block;
  width: 0.5rem;
}

body.tribe-login-body #tribeExpressNotePopup .popup-header > .tribeExpressNotePopup_close {
  position: static;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  cursor: pointer;
  border: none;
  color: transparent;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-family: sans-serif;
  text-indent: -9000px;
  overflow: hidden;
  background: url(../get_media.php?path=bg/close.png) no-repeat center;
  background-size: contain;
  transform: rotate(45deg);
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-body {
  padding: 1.25rem 1.5rem 1.5rem;
  box-sizing: border-box;
  overflow: auto;
}

body.tribe-login-body #tribeExpressNotePopup #tribe_express_note_body {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  min-height: 16rem;
  height: auto !important;
  margin: 0 !important;
  padding: 0.85rem 1rem;
  box-sizing: border-box;
  resize: vertical;
  line-height: 1.5;
  font-size: 1.05rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background-color: #fff;
  font-family: 'freight-display-pro', 'source sans pro', sans-serif;
  color: #4a4d6e;
}

body.tribe-login-body #tribeExpressNotePopup #tribe_express_note_body::placeholder,
body.tribe-login-body #tribeExpressNotePopup #tribe_express_note_body::-webkit-input-placeholder {
  font-size: 1.25rem;
  font-style: italic;
  color: #9ba2c1;
  opacity: 1;
}

body.tribe-login-body #tribeExpressNotePopup #tribe_express_note_body::-moz-placeholder {
  font-size: 1.25rem;
  font-style: italic;
  color: #9ba2c1;
  opacity: 1;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 1rem;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-post-btn,
body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-cancel-btn {
  margin-right: 0;
  min-width: 7rem;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
  font-family: 'freight-display-pro', 'source sans pro', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 2rem;
  height: 2.1rem;
  padding: 0.3rem 2rem;
  border: 0.5px solid #5e5e5e;
  cursor: pointer;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-post-btn {
  background-color: #79e0ec;
  color: #fff;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-cancel-btn {
  background-color: #5e5e5e82 !important;
  color: #fff !important;
  opacity: 0.9;
}

body.tribe-login-body #tribeExpressNotePopup .tribe-express-note-cancel-btn:hover {
  background-color: #5e5e5e82 !important;
  color: #fff !important;
  opacity: 0.9;
}

body.tribe-login-body #tribeExpressNotePopup label.error {
  display: block;
  margin-top: 0.35rem;
  color: #c62828;
  font-size: 0.85rem;
}

body.tribe-login-body .popup_wrapper:not(.popup_wrapper_visible) {
  visibility: hidden !important;
  pointer-events: none !important;
}
