/* ===================================================================
   🎉 인증 알림 배너 스타일
   - 화면 상단에서 슬라이드 다운
   - 모던하고 고급스러운 디자인
   - 신규 가입/기존 회원 구분
=================================================================== */

.auth-notification {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  min-width: 320px;
  max-width: 500px;
  background: linear-gradient(135deg, #5e42a6 0%, #b74e91 100%);
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  animation: slideDown 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  backdrop-filter: blur(10px);
}

/* 신규 가입 스타일 - 메인 사이트 색상 조화 */
.auth-notification.new-user {
  background: linear-gradient(135deg, #5e42a6 0%, #b74e91 100%);
}

/* 기존 회원 스타일 - 메인 사이트 색상 조화 */
.auth-notification.existing-user {
  background: linear-gradient(135deg, #493382 0%, #5e42a6 100%);
}

/* 아이콘 컨테이너 */
.auth-notification-icon {
  font-size: 2rem;
  flex-shrink: 0;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s both;
}

/* 텍스트 컨테이너 */
.auth-notification-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

/* 제목 */
.auth-notification-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* 부제목 */
.auth-notification-subtitle {
  font-size: 0.875rem;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.4;
}

/* 닫기 버튼 */
.auth-notification-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
}

.auth-notification-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

/* 슬라이드 다운 애니메이션 */
@keyframes slideDown {
  0% {
    top: -100px;
    opacity: 0;
  }
  100% {
    top: 20px;
    opacity: 1;
  }
}

/* 슬라이드 업 애니메이션 (사라질 때) */
@keyframes slideUp {
  0% {
    top: 20px;
    opacity: 1;
  }
  100% {
    top: -100px;
    opacity: 0;
  }
}

/* 아이콘 바운스 애니메이션 */
@keyframes bounceIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* 사라질 때 애니메이션 */
.auth-notification.hide {
  animation: slideUp 0.3s ease-in-out forwards;
}

/* 모바일 반응형 */
@media (max-width: 600px) {
  .auth-notification {
    min-width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    left: 1rem;
    transform: translateX(0);
    padding: 1rem 1.2rem;
    border-radius: 0 0 10px 10px;
  }

  .auth-notification-icon {
    font-size: 1.75rem;
  }

  .auth-notification-title {
    font-size: 0.95rem;
  }

  .auth-notification-subtitle {
    font-size: 0.8rem;
  }

  @keyframes slideDown {
    0% {
      top: -100px;
      opacity: 0;
    }
    100% {
      top: 10px;
      opacity: 1;
    }
  }

  @keyframes slideUp {
    0% {
      top: 10px;
      opacity: 1;
    }
    100% {
      top: -100px;
      opacity: 0;
    }
  }
}
