/* header 양끝에 패딩을 추가 */
header {
    min-height: 15vh;
    padding-left: 20px;
    padding-right: 20px;
}

main {
    min-height: 63vh;
    /* display: flex; */
    /* flex-direction: column; */
}

footer {
    /* min-height: 22vh; */
    padding: 20px;
    text-align: center;
}

button.small,
[type="button"].small {
  padding: 0.25rem 0.5rem; /* 기본 패딩의 절반 수준 */
  font-size: 0.8rem;      /* 글자 크기 축소 */
  width: fit-content;      /* 내용물에 맞게 너비 조절 */
}

.bookmark-container-wrapper {
    display: flex;          /* 가로 배치 */
    align-items: stretch;   /* 자식 요소들이 부모 높이에 맞춰 꽉 차게 설정 (기본값) */
    width: 100%;            /* 전체 너비 사용 */
    padding: revert;        /* 패딩 초기화 */
}

/* 가로 스크롤 컨테이너 */
.bookmark-container {
  overflow-x: auto; /* 가로 스크롤 허용 */
  white-space: nowrap; /* 줄바꿈 방지 */
  padding: 0px 10px;
}

.bookmark-container li {
    align-content: center;
}

.icon-section {
    display: flex;          /* 아이콘을 중앙에 정렬하기 위해 추가 */
    align-items: center;    /* 아이콘 세로 중앙 정렬 */
    justify-content: center;/* 아이콘 가로 중앙 정렬 */
    padding: 0 15px;
}

.ghost-btn {
  /* 1. 버튼 기본 스타일 제거 */
  background-color: var(--pico-background-color);
  border: none !important;
  padding: 0 !important;
  margin: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important; /* 클릭 시 생기는 그림자 제거 */
  transition: transform 0.2s ease;
}

.delete-btn {
  color: #fff;            /* 파란색을 검은색으로 변경 */
  text-decoration: none;   /* 밑줄 제거 */
  margin-left: 2px;
  cursor: pointer;
  height: auto;
  z-index: 10;
}

.ghost-btn:hover {
  transform: scale(1.1);
}

/* 2. 이미지 색상 제어 (Filter 활용) */
.ghost-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  /* 라이트 모드일 때 (검정색 아이콘 유지 또는 약간 연하게) */
  filter: invert(1);
}