/**
    * Get the font size from the font size map
    * @param {string} $element - Element name
    * @param {string} $device - Device name
    * @return {string} - Font size
    */
/**
* Color Palette 
* @type {Map}
* @property {Map} light - The light theme color palette
* @property {Map} dark - The dark theme color palette
* @note To add a new theme, add a new map with the theme name as the key
* and the color palette as the value.
*/
/**
* Generate color variables for each theme mode
*/
:root {
  --primary-color: #ffffff;
  --neutral-color: #121111;
  --accent-color: #07542b;
  --accent-2-color: #eba809;
  --text-dark-color: #1f1f21;
  --text-light-color: #ffffff;
  --bg-dark-color: #272626;
  --bg-light-color: #f7eaac;
  --border-color: #848484;
  --grey-color: #d1d3d4;
  --additional-color: #eeeef4;
}

#login-wrapper > *:only-child {
  grid-column: span 2;
  max-width: 800px;
}
#login-wrapper.custom-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4.1666666667vw, 80px);
  min-height: calc(100vh - 81px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: start;
}
@media only screen and (max-width: 1279px), (orientation: landscape) and (max-width: 767px) {
  #login-wrapper.custom-wrapper {
    grid-template-columns: 1fr;
    gap: clamp(40px, 5vw, 60px);
    padding: clamp(30px, 4vw, 50px) clamp(20px, 4.1666666667vw, 80px);
  }
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  #login-wrapper.custom-wrapper {
    padding: 30px 20px;
    min-height: auto;
  }
}

#registration-notice {
  position: sticky;
  top: 100px;
  height: -moz-fit-content;
  height: fit-content;
}
@media only screen and (max-width: 1279px), (orientation: landscape) and (max-width: 767px) {
  #registration-notice {
    position: relative;
    top: auto;
  }
}
#registration-notice h1 {
  font-family: "Roboto Slab", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(2rem, 2.5vw + 0.5rem, 2.5rem);
  font-weight: 500;
  color: var(--neutral-color);
  margin-bottom: clamp(20px, 2.5vw, 30px);
  line-height: 1.2;
  text-align: left;
}
#registration-notice p {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(16px, 1.25vw, 24px);
  color: var(--neutral-color);
  opacity: 0.85;
  line-height: 1.6;
  max-width: 500px;
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  #registration-notice p {
    font-size: clamp(18px, 1.09375vw, 21px);
    line-height: 1.5;
  }
}
#registration-notice::before {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin-bottom: clamp(25px, 3vw, 35px);
  border-radius: 2px;
}

#login {
  background-color: white;
  border-radius: 30px 0 30px 0;
  padding: clamp(40px, 5vw, 60px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #f5f5f5 !important;
  position: relative;
  overflow: hidden;
  width: auto;
}
#login .wp-login-logo {
  display: none;
}
#login::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  opacity: 0.5;
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  #login {
    padding: clamp(30px, 4vw, 40px);
    border-radius: 20px 0 20px 0;
  }
}
#login .notice,
#login div.message,
#login p.message {
  background-color: rgba(223, 222, 184, 0.5254901961);
  border-left: 4px solid var(--accent-color);
  padding: clamp(16px, 2.5vw, 20px) clamp(20px, 3vw, 25px);
  margin-bottom: clamp(25px, 3.5vw, 35px);
  border-radius: 8px;
  position: relative;
  z-index: 1;
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(18px, 1.09375vw, 21px);
  color: var(--neutral-color);
  line-height: 1.6;
}
#login .notice p,
#login div.message p,
#login p.message p {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
}
#login .notice.register p,
#login div.message.register p,
#login p.message.register p {
  font-family: "Roboto Slab", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}
#login #loginform,
#login #registerform,
#login #lostpasswordform {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.5vw, 22px);
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  background-color: unset;
  border: none;
}
#login #loginform p,
#login #loginform .user-pass-wrap,
#login #loginform .forgetmenot,
#login #registerform p,
#login #registerform .user-pass-wrap,
#login #registerform .forgetmenot,
#login #lostpasswordform p,
#login #lostpasswordform .user-pass-wrap,
#login #lostpasswordform .forgetmenot {
  margin: 0;
}
#login #loginform label,
#login #registerform label,
#login #lostpasswordform label {
  display: block;
  font-family: "Roboto Slab", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(18px, 1.09375vw, 21px);
  color: var(--neutral-color);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
#login #loginform .input,
#login #loginform input[type=text],
#login #loginform input[type=password],
#login #registerform .input,
#login #registerform input[type=text],
#login #registerform input[type=password],
#login #lostpasswordform .input,
#login #lostpasswordform input[type=text],
#login #lostpasswordform input[type=password] {
  width: 100%;
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(18px, 1.09375vw, 21px);
  color: var(--neutral-color);
  background-color: white;
  border: 2px solid #e8e8e8 !important;
  border-radius: 8px;
  padding: clamp(12px, 2vw, 16px) clamp(16px, 2.5vw, 20px);
  transition: all 0.3s ease;
  margin: 0;
  box-sizing: border-box;
}
#login #loginform .input::-moz-placeholder, #login #loginform input[type=text]::-moz-placeholder, #login #loginform input[type=password]::-moz-placeholder, #login #registerform .input::-moz-placeholder, #login #registerform input[type=text]::-moz-placeholder, #login #registerform input[type=password]::-moz-placeholder, #login #lostpasswordform .input::-moz-placeholder, #login #lostpasswordform input[type=text]::-moz-placeholder, #login #lostpasswordform input[type=password]::-moz-placeholder {
  color: #999999;
  opacity: 1;
  font-weight: 400;
}
#login #loginform .input::placeholder,
#login #loginform input[type=text]::placeholder,
#login #loginform input[type=password]::placeholder,
#login #registerform .input::placeholder,
#login #registerform input[type=text]::placeholder,
#login #registerform input[type=password]::placeholder,
#login #lostpasswordform .input::placeholder,
#login #lostpasswordform input[type=text]::placeholder,
#login #lostpasswordform input[type=password]::placeholder {
  color: #999999;
  opacity: 1;
  font-weight: 400;
}
#login #loginform .input:hover,
#login #loginform input[type=text]:hover,
#login #loginform input[type=password]:hover,
#login #registerform .input:hover,
#login #registerform input[type=text]:hover,
#login #registerform input[type=password]:hover,
#login #lostpasswordform .input:hover,
#login #lostpasswordform input[type=text]:hover,
#login #lostpasswordform input[type=password]:hover {
  border-color: #e895c7 !important;
}
#login #loginform .input:focus,
#login #loginform input[type=text]:focus,
#login #loginform input[type=password]:focus,
#login #registerform .input:focus,
#login #registerform input[type=text]:focus,
#login #registerform input[type=password]:focus,
#login #lostpasswordform .input:focus,
#login #lostpasswordform input[type=text]:focus,
#login #lostpasswordform input[type=password]:focus {
  outline: none;
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 0 4px rgba(223, 222, 184, 0.5254901961);
  background-color: #fefbfc;
}
#login #loginform textarea.input,
#login #registerform textarea.input,
#login #lostpasswordform textarea.input {
  resize: vertical;
  min-height: 120px;
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
}
#login #loginform .wp-pwd,
#login #registerform .wp-pwd,
#login #lostpasswordform .wp-pwd {
  position: relative;
}
#login #loginform .wp-pwd .wp-hide-pw,
#login #registerform .wp-pwd .wp-hide-pw,
#login #lostpasswordform .wp-pwd .wp-hide-pw {
  position: absolute;
  top: 50%;
  right: clamp(12px, 2vw, 16px);
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 5px;
}
#login #loginform .wp-pwd .wp-hide-pw span.dashicons-visibility,
#login #registerform .wp-pwd .wp-hide-pw span.dashicons-visibility,
#login #lostpasswordform .wp-pwd .wp-hide-pw span.dashicons-visibility {
  font-size: 22px;
}
#login #loginform .wp-pwd .wp-hide-pw:hover,
#login #registerform .wp-pwd .wp-hide-pw:hover,
#login #lostpasswordform .wp-pwd .wp-hide-pw:hover {
  color: var(--accent-color);
}
#login #loginform .forgetmenot,
#login #registerform .forgetmenot,
#login #lostpasswordform .forgetmenot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: -10px !important;
}
#login #loginform .forgetmenot label,
#login #registerform .forgetmenot label,
#login #lostpasswordform .forgetmenot label {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(12px, 0.8333333333vw, 16px);
  font-weight: 500;
  margin-bottom: 0;
  color: var(--neutral-color-dark);
  opacity: 0.9;
}
#login #loginform .forgetmenot input[type=checkbox],
#login #registerform .forgetmenot input[type=checkbox],
#login #lostpasswordform .forgetmenot input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-color);
}
#login #loginform p.submit,
#login #registerform p.submit,
#login #lostpasswordform p.submit {
  margin-top: clamp(10px, 2vw, 20px);
  margin-bottom: clamp(10px, 2vw, 20px);
  text-align: center;
}
#login #loginform p.submit #wp-submit,
#login #registerform p.submit #wp-submit,
#login #lostpasswordform p.submit #wp-submit {
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Roboto Slab", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(18px, 1.09375vw, 21px);
  font-weight: 700;
  color: white;
  background-color: var(--accent-color);
  border: none;
  border-radius: 50px;
  padding: clamp(12px, 1.5vw, 16px) 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  line-height: 1;
  height: auto;
  float: unset;
}
#login #loginform p.submit #wp-submit::before,
#login #registerform p.submit #wp-submit::before,
#login #lostpasswordform p.submit #wp-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
#login #loginform p.submit #wp-submit:hover,
#login #registerform p.submit #wp-submit:hover,
#login #lostpasswordform p.submit #wp-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 58, 149, 0.35);
}
#login #loginform p.submit #wp-submit:hover::before,
#login #registerform p.submit #wp-submit:hover::before,
#login #lostpasswordform p.submit #wp-submit:hover::before {
  left: 100%;
}
#login #loginform p.submit #wp-submit:active,
#login #registerform p.submit #wp-submit:active,
#login #lostpasswordform p.submit #wp-submit:active {
  transform: translateY(0);
}
#login #loginform p.submit #wp-submit:disabled,
#login #registerform p.submit #wp-submit:disabled,
#login #lostpasswordform p.submit #wp-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
#login #loginform #reg_passmail,
#login #registerform #reg_passmail,
#login #lostpasswordform #reg_passmail {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(12px, 0.8333333333vw, 16px);
  color: var(--neutral-color);
  opacity: 0.75;
  text-align: center;
  background-color: #fafafa;
  padding: clamp(12px, 2vw, 16px);
  border-radius: 8px;
  margin-top: -10px;
  border: 1px solid #f0f0f0 !important;
}
#login #nav {
  text-align: center;
  margin-top: clamp(25px, 3.5vw, 35px);
  padding-top: clamp(25px, 3.5vw, 35px);
  border-top: 1px solid #f0f0f0;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 10px 20px;
  flex-wrap: wrap;
}
#login #nav::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: var(--accent-color);
}
#login #nav a {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(12px, 0.8333333333vw, 16px);
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}
#login #nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}
#login #nav a:hover {
  color: var(--accent-2-color);
}
#login #nav a:hover::after {
  width: 100%;
}
#login #backtoblog {
  text-align: center;
  margin-top: clamp(20px, 2.5vw, 25px);
  position: relative;
  z-index: 1;
}
#login #backtoblog a {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(11px, 0.78125vw, 15px);
  color: var(--neutral-color);
  opacity: 0.6;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
#login #backtoblog a:hover {
  opacity: 1;
  transform: translateX(-5px);
}
#login .privacy-policy-page-link {
  text-align: center;
  margin-top: clamp(15px, 2vw, 20px);
  position: relative;
  z-index: 1;
}
#login .privacy-policy-page-link a {
  font-family: "Cera Pro", s-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: clamp(11px, 0.78125vw, 15px);
  color: var(--neutral-color);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
#login .privacy-policy-page-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#registration-notice {
  animation: slideInLeft 0.6s ease-out;
}

#login {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

@media only screen and (min-width: 768px) and (max-width: 1279px), (orientation: landscape) and (max-width: 767px) {
  #login-wrapper.custom-wrapper {
    padding: clamp(30px, 5vw, 50px) clamp(20px, 4.1666666667vw, 80px);
  }
  #login {
    padding: clamp(35px, 4.5vw, 50px);
  }
}
@media only screen and (max-width: 767px) and (orientation: portrait) {
  #registration-notice h1 {
    text-align: center;
  }
  #registration-notice p {
    text-align: center;
    max-width: none;
  }
  #registration-notice::before {
    margin: 0 auto clamp(25px, 3vw, 35px);
  }
  #login .notice,
  #login div.message,
  #login p.message {
    text-align: center;
  }
  #login #loginform p.submit #wp-submit,
  #login #registerform p.submit #wp-submit,
  #login #lostpasswordform p.submit #wp-submit {
    padding: 14px 35px;
  }
  #login #nav a {
    margin: 5px 10px;
  }
}