/**
 * Login Page Styles
 * Refined luxury editorial aesthetic
 */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

body:has(.login-page) .action-bar,
body:has(.login-page) .floating-actions,
body:has(.login-page) #toTop {
  display: none !important;
}
@media (min-width: 992px) {
  body:has(.login-page) header.header.mm-slideout:not(.sticky) {
    background-color: transparent !important;
    background: transparent !important;
  }
}
body:has(.login-page) header.header.mm-slideout:not(.sticky) #top_menu a,
body:has(.login-page) header.header.mm-slideout:not(.sticky) .main-menu a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
body:has(.login-page) header.header.mm-slideout:not(.sticky) .main-menu a.selected {
  color: #5ce1e6 !important;
}

.login-page__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}
.login-page__bg img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.login-page__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.75) 0%, rgba(26, 54, 93, 0.5) 50%, rgba(212, 165, 116, 0.3) 100%);
}

.login-page__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  padding-top: 100px;
}
@media (min-width: 992px) {
  .login-page__content {
    flex-direction: row;
    align-items: center;
    padding-top: 0;
  }
}

.login-page__welcome {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
@media (min-width: 992px) {
  .login-page__welcome {
    padding: 60px;
    text-align: left;
    justify-content: flex-start;
  }
}
@media (min-width: 1200px) {
  .login-page__welcome {
    padding: 80px 100px;
  }
}

.login-page__welcome-inner {
  max-width: 480px;
  -webkit-animation: fadeInUp 0.8s ease-out;
          animation: fadeInUp 0.8s ease-out;
}

.login-page__eyebrow {
  display: inline-block;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8C9A8;
  margin-bottom: 16px;
  opacity: 0.9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.login-page__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}
@media (min-width: 768px) {
  .login-page__title {
    font-size: 4rem;
  }
}
@media (min-width: 1200px) {
  .login-page__title {
    font-size: 4.5rem;
  }
}

.login-page__subtitle {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 40px 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 3px 12px rgba(0, 0, 0, 0.4);
}
@media (min-width: 992px) {
  .login-page__subtitle {
    font-size: 1.25rem;
  }
}

.login-page__benefits {
  display: none;
}
@media (min-width: 992px) {
  .login-page__benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

.login-page__benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  -webkit-animation: fadeInUp 0.8s ease-out;
          animation: fadeInUp 0.8s ease-out;
  -webkit-animation-fill-mode: both;
          animation-fill-mode: both;
}
.login-page__benefit:nth-child(1) {
  -webkit-animation-delay: 0.2s;
          animation-delay: 0.2s;
}
.login-page__benefit:nth-child(2) {
  -webkit-animation-delay: 0.3s;
          animation-delay: 0.3s;
}
.login-page__benefit:nth-child(3) {
  -webkit-animation-delay: 0.4s;
          animation-delay: 0.4s;
}
.login-page__benefit:nth-child(4) {
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

.login-page__benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(212, 165, 116, 0.2);
  border: 1px solid rgba(212, 165, 116, 0.4);
  border-radius: 50%;
  color: #E8C9A8;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.login-page__benefit-text {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.login-page__form-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: 60px;
}
@media (min-width: 992px) {
  .login-page__form-wrapper {
    flex: 0 0 480px;
    padding: 40px;
  }
}
@media (min-width: 1200px) {
  .login-page__form-wrapper {
    flex: 0 0 520px;
    padding: 60px;
  }
}

.login-page__card {
  width: 100%;
  max-width: 400px;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 20px 50px rgba(0, 0, 0, 0.15);
  -webkit-animation: fadeInUp 0.6s ease-out 0.2s both;
          animation: fadeInUp 0.6s ease-out 0.2s both;
}
@media (min-width: 992px) {
  .login-page__card {
    padding: 44px 40px;
  }
}

.login-page__header {
  text-align: center;
  margin-bottom: 28px;
}

.login-page__card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: #1a365d;
  margin: 0 0 8px 0;
}
@media (min-width: 992px) {
  .login-page__card-title {
    font-size: 2rem;
  }
}

.login-page__card-subtitle {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  color: #718096;
  margin: 0;
  line-height: 1.5;
}
.login-page__card-subtitle strong {
  color: #2D3748;
  font-weight: 500;
}

.login-page__alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
}
.login-page__alert i {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.login-page__alert--error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}
.login-page__alert--success {
  background: #F0FDF4;
  color: #16A34A;
  border: 1px solid #BBF7D0;
}

.login-page__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-page__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.login-page__field--captcha {
  min-height: 0;
  margin-top: -8px;
}

.login-page__label {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2D3748;
  letter-spacing: 0.02em;
}

.login-page__input {
  width: 100%;
  padding: 14px 16px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  color: #2D3748;
  background: #F5F0EB;
  border: 2px solid transparent;
  border-radius: 10px;
  outline: none;
  transition: all 0.2s ease;
}
.login-page__input::-moz-placeholder {
  color: #718096;
}
.login-page__input:-ms-input-placeholder {
  color: #718096;
}
.login-page__input::placeholder {
  color: #718096;
}
.login-page__input:focus {
  background: #FFFFFF;
  border-color: #D4A574;
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
}
.login-page__input--code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
  padding: 16px;
}

.login-page__hint {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  text-align: center;
  margin-top: 4px;
}

.login-page__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #FFFFFF;
  background: #1a365d;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.login-page__submit i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}
.login-page__submit:hover {
  background: #23497d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 54, 93, 0.3);
}
.login-page__submit:hover i {
  transform: translateX(4px);
}
.login-page__submit:active {
  transform: translateY(0);
  box-shadow: none;
}

.login-page__secondary-btn {
  display: block;
  width: 100%;
  padding: 14px 24px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1a365d;
  text-align: center;
  text-decoration: none;
  background: transparent;
  border: 2px solid rgba(26, 54, 93, 0.2);
  border-radius: 10px;
  transition: all 0.2s ease;
}
.login-page__secondary-btn:hover {
  border-color: #1a365d;
  background: rgba(26, 54, 93, 0.05);
  color: #1a365d;
}

.login-page__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  color: #718096;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: 8px;
}
.login-page__link i {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.login-page__link:hover {
  color: #1a365d;
}
.login-page__link:hover i {
  transform: translateX(-4px);
}

.login-page__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 4px 0;
}
.login-page__divider::before, .login-page__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #E2E8F0;
}
.login-page__divider span {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
  white-space: nowrap;
}

.login-page__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E2E8F0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.8125rem;
  color: #718096;
}
.login-page__footer i {
  color: #D4A574;
}

@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .login-page__welcome-inner,
.login-page__card,
.login-page__benefit {
    -webkit-animation: none;
            animation: none;
  }
}