/* 로그인 페이지 스타일 */
.login-container {
  min-height: calc(100vh - 200px);
  padding: 50px 30px;
  background: #ffffff1a;
}

.login-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.login-card {
  padding: 40px;
}

.login-header {
  text-align: center;
  margin-bottom: 10px;
}

.login-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* 소셜 섹션 */
.social-card {
  padding: 40px;
}

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

.social-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 10px 0;
}

.social-subtitle {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e1e5e9;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: #1b1b1b;
}

.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  font-size: 12px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s ease;
}

.password-toggle:hover {
  color: #333;
}

.form-error {
  font-size: 12px;
  color: #ef4444;
  margin-top: 4px;
}

.form-error.hidden {
  display: none;
}


.login-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.login-link {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #333;
  text-decoration: underline;
}

.login-link-separator {
  width: 1px;
  height: 12px;
  background-color: #ddd;
  margin: 0 10px;
}

.signup-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  color: #1b1b1b;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  border: 1px solid #e1e5e9;
}
.signup-btn:hover {
  border-color: #1b1b1b;
}

.login-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #1b1b1b;
  color: white;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease;
  border: none;
  cursor: pointer;
}

.login-btn:hover {
  background: #555;
}

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

/* 소셜 아이콘 컨테이너 */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

/* Google 로그인 */
.google-login {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 소셜 아이콘 버튼들 */
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
}


/* 카카오 아이콘 (공식 가이드 심볼 색상 적용) */
.kakao-icon-btn {
  background: #FEE500;
  color: #000000; /* 카카오 공식 심볼 색상 */
}

.kakao-icon-btn:hover {
  background: #FFD700;
}

/* 카카오 아이콘 이미지 스타일 */
.kakao-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* 네이버 아이콘 */
.naver-icon-btn {
  background: #03C75A;
  color: white;
}

.naver-icon-btn:hover {
  background: #02B050;
}

/* 페이스북 아이콘 */
.facebook-icon-btn {
  background: #1877F2;
  color: white;
}

.facebook-icon-btn:hover {
  background: #166FE5;
}

/* 네이버 아이콘 */
.naver-icon-btn {
  background: #03C75A;
  color: white;
}

.naver-icon-btn:hover {
  background: #02B050;
}

/* 페이스북 아이콘 */
.facebook-icon-btn {
  background: #1877F2;
  color: white;
}

.facebook-icon-btn:hover {
  background: #166FE5;
}


/* 혜택 섹션 */
.benefits-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
}

.benefits-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px 0;
  text-align: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #666;
}

.benefit-icon {
  font-size: 16px;
}

.benefit-text {
  flex: 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .login-container {
    background: #ffffff1a;
    padding: 20px 16px;
    min-height: calc(100vh - 150px);
  }
  
  .login-wrapper {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .login-card,
  .social-card {
    padding: 30px 24px;
  }
  
  .login-title {
    font-size: 22px;
  }
  
  .social-title {
    font-size: 18px;
  }
  
  
  .benefits-list {
    gap: 8px;
  }
  
  .benefit-item {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .login-card,
  .social-card {
    padding: 24px 20px;
  }
  
  .login-title {
    font-size: 20px;
  }
  
  .form-input {
    padding: 14px 16px;
    font-size: 16px; /* iOS 줌 방지 */
  }
  
  
  .login-links {
    flex-direction: row;
    gap: 10px;
    text-align: center;
  }
  
  .login-link-separator {
    height: 10px;
    margin: 0 5px;
  }
}
