/* ===============================
   LOGIN: 로그인 화면
   =============================== */

.hidden {
  display: none !important;
}

.login-wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-panel {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-title {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  color: #1a1a2e;
}

.login-subtitle {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-input {
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
}
.login-input:focus {
  border-color: #16213e;
}

.login-error {
  font-size: 13px;
  color: #c00;
  padding: 4px 0;
}

.login-submit {
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #16213e;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
}
.login-submit:hover:not(:disabled) {
  background: #1a1a2e;
}
.login-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.topbar-user {
  margin-left: 8px;
  font-size: 13px;
  color: #666;
  font-weight: 400;
}
