/* 썸네일 컨테이너 스타일 */
.thumbnail-container {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    scrollbar-width: thin;
    scrollbar-color: #ff6600 #080025;
}

.thumbnail-container::-webkit-scrollbar {
    width: 8px;
}

.thumbnail-container::-webkit-scrollbar-track {
    background: #080025;
}

.thumbnail-container::-webkit-scrollbar-thumb {
    background-color: #080025;
    border-radius: 4px;
}

.thumbnail-container img {
    max-width: 90%;
    margin: 10px 0 10px auto;
    display: block;
}

/* 썸네일 아이템 스타일 */
.thumbnail-item {
    text-align: right;
    padding-right: 10px;
}

.thumbnail-item h3 {
    margin-right: 0;
    font-size: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

/* 크로퍼 관련 스타일 */
.cropper-container {
    background: #090125;
    /* margin: 10px; */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cropper-modal {
    border: 3px dotted #ff6600;
    background-color: #080025 !important;
    opacity: .5;
}

/* 편집 컨트롤 스타일 */
.edit-controls {
    background-color: #080025;
    margin-top: 0px;
}

.crop-size-controls {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.edit-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

/* 버튼 스타일 */
button {
    padding: 8px 15px;
    background-color: #080025;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #090125;
}

/* 코멘트 섹션 스타일 */
.comments-section {
    margin: 20px 0;
}

.comment-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
}

/* 크롭 모드 스타일 */
.square-crop .cropper-view-box,
.square-crop .cropper-face {
    border-radius: 0;
    border: 1px solid #39f;
}

.circular-crop .cropper-view-box,
.circular-crop .cropper-face {
    border-radius: 50%;
    border: 1px solid #39f;
}

/* 사용법 박스 스타일 */
#instructionsBox {
    padding: 10px;
    margin: 0px 20px;
    text-align: left;
    background: rgb(25 12 50);
    border-radius: 8px;
}

#instructionsBox h3 {
    color: #ff6600;
    margin-bottom: 10px;
}

#instructionsBox ol {
    line-height: 1.6;
    font-size: 14px;
    padding: 0 30px;
    color: #999999;
}

.thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

.thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}