#login-section .auth-card {
  width: 100%;
}

#login-section .brand {
  text-align: center;
  margin-bottom: 20px;
}

#login-section .brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #134e4a;
  letter-spacing: -0.02em;
}

#login-section .field-hint {
  margin: -2px 0 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

#login-section .email-split {
  display: flex;
  align-items: stretch;
}

#login-section .email-split input[type="text"],
#login-section .email-split select {
  border: 1px solid #d1d5db;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  background: #fff;
  color: #1f2937;
}

#login-section .email-split input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 11px 10px;
  border-radius: 8px 0 0 8px;
}

#login-section .email-split input[type="text"]:focus {
  border-color: #0f766e;
}

#login-section .email-at {
  display: flex;
  align-items: center;
  padding: 0 8px;
  color: #9ca3af;
  background: #f9fafb;
  border-top: 1px solid #d1d5db;
  border-bottom: 1px solid #d1d5db;
  font-size: 14px;
  flex-shrink: 0;
}

#login-section .email-split select {
  flex: 0 0 auto;
  max-width: 46%;
  padding: 11px 28px 11px 10px;
  border-radius: 0 8px 8px 0;
  border-left: none;
  cursor: pointer;
}

#login-section .email-split select:focus {
  border-color: #0f766e;
}

#login-section .email-split select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

#login-section .email-split.email-direct-mode .email-at,
#login-section .email-split.email-direct-mode select {
  display: none;
}

#login-section .email-split.email-direct-mode input[type="text"] {
  border-radius: 8px;
  border: 1px solid #d1d5db;
}

#login-section .auth-tabs {
  display: flex;
  background: #f3f4f6;
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}

#login-section .auth-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #6b7280;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

#login-section .auth-tab.active {
  background: #fff;
  color: #0f766e;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

#login-section .panel-title {
  text-align: center;
  font-size: 15px;
  color: #374151;
  margin: 0 0 16px;
}

#login-section .btn-google,
#login-section .btn-kakao {
  width: 100%;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#login-section .btn-kakao {
  background: #fee500;
  color: #191919;
  border: none;
  margin-top: 10px;
}

#login-section .btn-kakao:hover:not(:disabled) {
  background: #f5df00;
}

#login-section .kakao-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #191919;
  font-size: 11px;
  font-weight: 700;
  color: #fee500;
  flex-shrink: 0;
}

#login-section .google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #fff;
  border: 1px solid #d1d5db;
  font-size: 13px;
  font-weight: 700;
  color: #4285f4;
  flex-shrink: 0;
}

#login-section .password-field {
  position: relative;
}

#login-section .password-field input {
  width: 100%;
  padding: 11px 44px 11px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  background: #fff;
}

#login-section .password-field input:focus {
  outline: none;
  border-color: #0f766e;
}

#login-section .password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}

#login-section .password-toggle:hover:not(:disabled) {
  color: #0f766e;
  background: #f0fdfa;
}

#login-section .password-toggle:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#login-section .forgot-password {
  text-align: right;
  margin: -6px 0 12px;
  font-size: 13px;
}

#login-section .forgot-password a {
  color: #0f766e;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}

#login-section #error-msg {
  display: none;
}

#login-section #error-msg:not([hidden]) {
  display: block;
}

#login-section .in-app-external-desc {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  text-align: center;
}

#login-section .verify-info {
  background: #f0fdfa;
  color: #374151;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  text-align: center;
}

#login-section .verify-info strong {
  color: #0f766e;
}

#login-section .btn-text {
  background: none;
  border: none;
  color: #9ca3af;
  margin-top: 16px;
  font-size: 13px;
  width: 100%;
  padding: 12px;
  cursor: pointer;
}

#login-section .btn-text:hover:not(:disabled) {
  color: #6b7280;
}

#login-section .success-msg {
  background: #ecfdf5;
  color: #047857;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
  text-align: center;
}

#login-section #reset-error-msg,
#login-section #verify-error-msg {
  display: none;
}

#login-section #reset-success-msg,
#login-section #verify-success-msg {
  display: none;
}

#login-section #kakao-inapp-external-block {
  margin-top: 16px;
  text-align: center;
}

#login-section #kakao-inapp-external-block .field-hint {
  margin-bottom: 12px;
}

#login-section #kakao-inapp-external-block .btn-secondary {
  margin-top: 10px;
}
