/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Note: 주 스타일 시스템은 application.tailwind.css에 정의되어 있습니다.
 * 이 파일은 Tailwind로 처리할 수 없는 특수 스타일만 포함합니다.
 */

/* 드롭다운 메뉴 hover 상태 유지를 위한 스타일 */
.group {
  position: relative;
}

/* 드롭다운 메뉴가 hover 상태를 유지하도록 */
.group:hover > div:last-child,
.group > button:hover + div,
.group > div:last-child:hover {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 버튼과 드롭다운 사이의 간격을 채우는 가상 요소 */
.group:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  z-index: 40;
}

/* 알림 토스트 애니메이션 */
@keyframes slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

.animate-slide-up {
  animation: slide-up 0.3s ease-out;
}

.animate-slide-down {
  animation: slide-down 0.3s ease-out;
}

/* 관리자 에러 메시지 스타일 임포트 */
@import "admin_error.css";
