* { margin: 0; padding: 0; box-sizing: border-box; }

body {
		font-family: 'Noto Sans KR', sans-serif;
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		display: flex;
		justify-content: center;
		align-items: center;
		min-height: 100vh;
}

.login-container {
		background: white;
		border-radius: 20px;
		box-shadow: 0 20px 60px rgba(0,0,0,0.3);
		width: 100%;
		max-width: 400px;
		padding: 40px;
}

.logo {
		text-align: center;
		margin-bottom: 30px;
}

.logo p {
		color: #666;
		font-size: 14px;
}

.subtitle {
  text-align: center;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-size: 0.95rem;
}

.tab-container {
		display: flex;
		gap: 10px;
		margin-bottom: 30px;
		border-bottom: 2px solid #f0f0f0;
}

.tab {
		flex: 1;
		padding: 12px;
		background: none;
		border: none;
		font-size: 16px;
		font-weight: 500;
		color: #999;
		cursor: pointer;
		transition: all 0.3s;
		position: relative;
}

.tab.active {
		color: #667eea;
}

.tab.active::after {
		content: '';
		position: absolute;
		bottom: -2px;
		left: 0;
		right: 0;
		height: 2px;
		background: #667eea;
}

.form-container {
		display: none;
}

.form-container.active {
		display: block;
}

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

.form-label {
		display: block;
		margin-bottom: 8px;
		font-weight: 500;
		color: #333;
		font-size: 14px;
}

.form-input {
		width: 100%;
		padding: 12px 15px;
		border: 2px solid #e0e0e0;
		border-radius: 8px;
		font-size: 14px;
		transition: all 0.3s;
}

.form-input:focus {
		outline: none;
		border-color: #667eea;
		box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
		width: 100%;
		padding: 14px;
		border: none;
		border-radius: 8px;
		font-size: 16px;
		font-weight: 600;
		cursor: pointer;
		transition: all 0.3s;
}

.btn-primary {
		background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
		color: white;
}

.btn-primary:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-primary:disabled {
		opacity: 0.6;
		cursor: not-allowed;
		transform: none;
}

.btn-login {
  width: 100%;
  padding: 16px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.btn-login:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.back-link {
  display: block;
  text-align: center;
  margin-top: 25px;
  color: #7f8c8d;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.back-link:hover {
  color: #3498db;
}

.forgot-password {
		text-align: center;
		margin-top: 15px;
}

.forgot-password a {
		color: #667eea;
		text-decoration: none;
		font-size: 14px;
}

.forgot-password a:hover {
		text-decoration: underline;
}

.alert {
		padding: 12px;
		border-radius: 8px;
		margin-bottom: 20px;
		font-size: 14px;
}

.alert-success {
		background: #d4edda;
		color: #155724;
		border: 1px solid #c3e6cb;
}

.alert-error {
		background: #f8d7da;
		color: #721c24;
		border: 1px solid #f5c6cb;
}

.demo-notice {
  background: #e8f4fd;
  color: #3498db;
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  font-size: 0.85rem;
  text-align: center;
  border: 1px solid #d0e7f7;
}

.loading {
		display: inline-block;
		width: 16px;
		height: 16px;
		border: 2px solid rgba(255,255,255,0.3);
		border-top-color: white;
		border-radius: 50%;
		animation: spin 0.8s linear infinite;
}

@keyframes spin {
		to { transform: rotate(360deg); }
}

.password-strength {
		margin-top: 8px;
		font-size: 12px;
}

.strength-bar {
		height: 4px;
		background: #e0e0e0;
		border-radius: 2px;
		margin-top: 5px;
		overflow: hidden;
}

.strength-bar-fill {
		height: 100%;
		transition: all 0.3s;
}

.strength-weak { background: #f44336; width: 33%; }
.strength-medium { background: #ff9800; width: 66%; }
.strength-strong { background: #4caf50; width: 100%; }