﻿/* css/crowe-auth.css - Crowe Brand Security Gate */
#crowe-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #011E41;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #FFFFFF;
}

.auth-card {
  background: #082852;
  border: 1px solid rgba(84, 192, 232, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.65), 0 0 40px rgba(245, 168, 0, 0.12);
  border-radius: 12px;
  width: 100%;
  max-width: 440px;
  padding: 36px 32px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: authCardIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-logo {
  height: 38px;
  width: auto;
  margin-bottom: 20px;
}

.auth-header-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.auth-header-sub {
  font-size: 13px;
  color: #54C0E8;
  font-weight: 600;
  margin-bottom: 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  background: rgba(1, 30, 65, 0.85);
  border: 1.5px solid #54C0E8;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 16px;
  color: #FFFFFF;
  outline: none;
  box-sizing: border-box;
  transition: all 0.2s;
  letter-spacing: 1px;
}

.auth-input:focus {
  border-color: #F5A800;
  box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.25);
}

.auth-hint-box {
  background: rgba(245, 168, 0, 0.12);
  border-left: 3px solid #F5A800;
  border-radius: 4px;
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  color: #F5A800;
  line-height: 1.45;
  font-weight: 600;
}

.auth-btn-submit {
  background: #F5A800;
  color: #011E41;
  border: none;
  border-radius: 8px;
  padding: 13px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(245, 168, 0, 0.35);
}

.auth-btn-submit:hover {
  background: #FFBA24;
  transform: translateY(-1px);
}

.auth-error-msg {
  display: none;
  color: #EF4444;
  font-size: 12.5px;
  font-weight: 700;
  margin-top: 4px;
  animation: shakeInput 0.3s ease-in-out;
}

@keyframes shakeInput {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.auth-footer-note {
  margin-top: 24px;
  font-size: 11px;
  color: #8C939E;
  line-height: 1.5;
}
