/* 기본 리셋 및 변수 */
:root {
  --blue-600: #1A3A6B;
  --blue-700: #122D57;
  --blue-800: #0A1F42;
  --indigo-800: #071530;
  --blue-500: #3b82f6;
  --blue-100: #dbeafe;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --red-50: #fef2f2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-700: #b91c1c;
  --white: #ffffff;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* 로그인 컨테이너 */
.smart_login-container {
  min-height: 100vh;
  background: linear-gradient(to bottom right, var(--blue-600), var(--blue-700), var(--indigo-800));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.smart_login-wrapper {
  width: 100%;
  max-width: 28rem;
}

/* 헤더 (로고 및 타이틀) */
.smart_header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2rem;
}

.smart_logo-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  flex-shrink: 0;
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
}

.smart_logo-icon {
  width: 1.9rem;
  height: 1.9rem;
  color: var(--blue-600);
}

.smart_title {
  font-size: 1.875rem;
  color: var(--white);
  margin-bottom: 0;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}

.smart_subtitle {
  color: var(--blue-100);
  font-size: 0.875rem;
  line-height: 1.25;
  text-align: center;
  margin-top: 1.5rem;
}

/* 로그인 폼 컨테이너 */
.smart_login-form-container {
  background-color: var(--white);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
}

.smart_form-title {
  font-size: 1.5rem;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.5;
}

/* 폼 스타일 */
.smart_login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.smart_input-group {
  display: flex;
  flex-direction: column;
}

.smart_input-label {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.smart_input-wrapper {
  position: relative;
}

.smart_input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  pointer-events: none;
}

.smart_input-icon svg {
  width: 100%;
  height: 100%;
}

.smart_input-field {
  width: 100%;
  padding-left: 2.75rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  transition: all 0.15s ease;
}

.smart_input-field:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--blue-500);
}

.smart_input-field::placeholder {
  color: var(--gray-400);
}

/* 에러 메시지 */
.smart_error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: 0.5rem;
}

.smart_error-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--red-500);
  flex-shrink: 0;
}

.smart_error-message span {
  font-size: 0.875rem;
  color: var(--red-700);
}

/* 로그인 버튼 */
.smart_login-button {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  color: var(--white);
  background: linear-gradient(to right, var(--blue-600), var(--blue-700));
  border: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.smart_login-button:hover:not(:disabled) {
  background: linear-gradient(to right, var(--blue-700), var(--blue-800));
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.smart_login-button:disabled {
  background-color: var(--gray-400);
  cursor: not-allowed;
  box-shadow: none;
}

/* 폼 옵션 */
.smart_form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.smart_checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  cursor: pointer;
}

.smart_checkbox-input {
  width: 1rem;
  height: 1rem;
  border-radius: 0.25rem;
  border: 1px solid var(--gray-300);
  accent-color: var(--blue-600);
  cursor: pointer;
}

.smart_checkbox-input:focus {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

/* 반응형 디자인 */
@media (min-width: 1024px) {
  .smart_title {
    font-size: 2.25rem;
  }

  .smart_subtitle {
    font-size: 1rem;
  }
}
