ul, ol, li {
    list-style: none;
}

main {
    display: table;
    width: 100%;
}

.side-gutter {
    width: 50px;
    display: table-cell;
}

main .inside {
    width: 100%;
    display: flex;
}

main .model-rec {
    width: 100%;
}

article {
    display: table-cell;
}

.center-main-field {
    width: 75%;
}

.right-field {
    display: table-cell;
    vertical-align: top;
    width: 25%;
    padding-left: 15px;
    min-height: 100vh;
    background: #fff;
    border-radius: 12px;
    padding: 24px !important;
}

.right-field .watched_movie {
    background: #fafafa;
    border-radius: 8px;
    padding: 10px !important;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    display: flex;
    position: relative;
}

.right-field .watched_movie:hover {
    background: #f0f0f0;
}

.right-field .delete-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    color: #8192a1;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    opacity: 0; /* 초기에는 숨겨진 상태 */
    transition: opacity 0.3s ease; /* 부드러운 효과를 위한 transition 설정 */
}

.right-field .watched_movie:hover .delete-icon {
    opacity: 1; /* 마우스 오버 시 표시됨 */
}


.right-field .poster {
    width: 25%;
}

.right-field .poster img {
    width: 100%;
    border-radius: 4px;
}

.right-field .title p {
    width: 100%;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #333;
    margin: 0;
}

.right-field .title p.no-star {
    color: #333;
    margin: 0;
    padding: 0;
    padding-left: 10px;
}

main div.watched_list p.star {
    color: #fbbf24;
    margin: 0;
    padding: 0;
    padding-left: 10px;
    font-size: 0.8rem;
}

    .button-container {
        text-align: center; /* 가운데 정렬 */
        margin-top: 20px; /* 원하는 만큼의 마진을 추가하여 위로 올립니다. */
    }

.right-field .btn-small {
    background: #f5f5f5;
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 500;
    color: #666;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    cursor: pointer;
}

.right-field .btn-small:hover {
    background: #e5e5e5;
    color: #ef4444;
}

.right-field .delete-icon ion-icon {
    color: #999;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.right-field .delete-icon:hover ion-icon {
    color: #ef4444;
}
