/* login.css */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.login-box {
  width: 400px;
  background: white;
  box-shadow: 0 0 15px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

/* 헤더 */
.header {
  background-color: #343541;
  color: white;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.3rem;
}

/* 폼 영역 */
form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  font-size: 1rem;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #343541;
}

/* 에러 메시지 */
.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-bottom: 15px;
  min-height: 20px;
  text-align: center;
}

/* 버튼 */
button {
  width: 100%;
  padding: 12px;
  background-color: #343541;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: background 0.3s;
}

button:hover {
  background-color: #4b4c5a;
}

button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}