/* 재생목록리스트 메인페이지 전용 css */
* {
    font-family: sans-serif;
  }
  
  /* 네비바 */
  .title-center {
    text-align: center;
    margin-top: 50px;
  }
  
  .wrap {
    width: 400px;
    margin: 0 auto;
  }
  
  .form-area {
    margin-top: 25px;
  }
  
  .timeline-container {
    margin-top: 25px;
  }
  
  #logo {
    height: 45px;
    margin: auto;
  }
  
  @media (max-width: 600px) {
    #logo {
        height: 25px;
        margin: 0px;
    }
  }
  
  #small_screen_my_list {
    display: none !important;
  }
  
  @media (max-width: 992px) {
    #small_screen_my_list {
      display: block !important; 
    }
  }
  
  /* 본문 */
  .mytitle {
    position: relative;
    width: 100%;
    height: 250px;
    background-image: url('https://movie-phinf.pstatic.net/20210715_95/1626338192428gTnJl_JPEG/movie_image.jpg');
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  
  .mytitle .content {
    position: relative;
    /* margin: 0 40px 0 40px; */
    z-index: 1;
    text-align: center;
    color: white;
    padding: 20px;
    background: none; /* Remove the dark background */
  }
  
  .mytitle button {
    width: 220px;
    height: 50px;
    background-color: transparent;
    color: white;
    border-radius: 50px;
    border: 1px solid white;
    margin-top: 10px;
    z-index: 2; /* 버튼이 클릭 가능하도록 z-index 설정 */
  }
  
  .mytitle button:hover {
    border: 2px solid white;
  }
  
  .mycomment {
    color: gray;
    font-size: 0.9rem;
  }
  
  /* 0/110  글자수 제한 표시 */
  #charCount {
    margin-top: 5px;
    font-size: 14px;
    color: grey;
  }
  
  .mycards {
    margin: 20px auto 0px auto;
    width: 95%;
    max-width: 1200px;
  }
  
  .mypost {
    width: 95%;
    max-width: 500px;
    margin: 20px auto 0px auto;
    padding: 20px;
    box-shadow: 0px 0px 3px 0px gray;
    display: none;
  }
  
  .mybtns {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
  
      margin-top: 20px;
  }
  
  .mybtns>button {
      margin-right: 10px;
  }
  
  /* Ensure popovers have a scrollable area */
  .popover-body {
    max-height: 200px;
    overflow-y: auto;
  }
  
  /* Styles for card-title */
  .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    height: 6.6rem; /* Adjust height for three lines */
    line-height: 2.2rem; /* Line height for three lines */
    cursor: pointer;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to three lines */
    -webkit-box-orient: vertical;
    white-space: normal; /* Allow wrapping */
  }
  
  /* Styles for tags to ensure they trigger the popover */
  .tags {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    cursor: pointer;
    height: 2.5rem; /* Fixed height for consistency */
    min-height: 2.5rem; /* Minimum height to ensure one line height */
    display: flex;
    align-items: center;
  }
  
  .tags .badge {
    background-color: green;
    color: white;
    margin-right: 5px;
    margin-bottom: 5px;
  }
  
  .tooltip {
    overflow-y: auto;
  }
  
  .card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 10px 0 10px;
    height: 47px;
  }
  .card-top p {
    margin: 0;
  }
  
  .card-body {
    padding: 0 1.25rem !important;
  }
  
  .genre-views {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.2rem 0;
  }
  
  .genre-views p {
    margin: 0;
  }
  
  
  /* 카드박스 이미지 규격 통일*/
  .card-img-top {
    width: 100%;
    height: 250px; /* Adjust the height as necessary */
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Ensure all cards have consistent heights */
  .card {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  
  .card-body {
    flex-grow: 1;
  }
  
  .card-footer {
    margin-top: auto;
  }
  
  
  .button-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .button-group div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
  }
  .button-group div:last-child {
    margin-bottom: 0;
  }
  .edit-delete-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .edit-delete-group a {
    margin-bottom: 5px;
  }
  .edit-delete-group a:last-child {
    margin-bottom: 0;
  }

  /* 팝업창 css
  /* 기본 스타일 */
  body {
      font-family: sans-serif;
      margin: 0;
      padding: 0;
    }
    
    /* 사이트 콘텐츠 */
    #site-content {
      /* 사이트 콘텐츠 스타일 */
    }
    
    /* 팝업 스타일 */
    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 100;
    }
    
    .popup-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: white;
      padding: 20px;
      border-radius: 5px;
    }
    
    /* 버튼 스타일 */
    button {
      padding: 10px 20px;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    
    #close-button {
      background-color: #ccc;
    }
    
    #today-button {
      background-color: #007bff;
      color: white;
    }
  
/* ✅ 좋아요/북마크 버튼 묶는 공통 래퍼 */
.action-buttons {
  display: flex;
  gap: 8px; /* 버튼 간격 조정 */
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 5;
}

/* ✅ 공통 버튼 스타일 */
.like-button,
.bookmark-button {
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  transition: color 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: auto;
}

/* ✅ 아이콘 크기 통일 */
.like-icon,
.bookmark-icon {
  width: 24px;
  height: 24px;
  background-size: cover;
  flex-shrink: 0;
}

/* ✅ 카운트 숫자 */
.like-count,
.bookmark-count {
  font-size: 14px;
  color: #666;
  margin-left: 4px;
  min-width: 10px;
}

/* ✅ 좋아요 아이콘 (기본 상태) */
.like-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23aaa'%3e%3cpath d='m480-173.85-30.31-27.38q-97.92-89.46-162-153.15-64.07-63.7-101.15-112.35-37.08-48.65-51.81-88.04Q120-594.15 120-634q0-76.31 51.85-128.15Q223.69-814 300-814q52.77 0 99 27t81 78.54Q514.77-760 561-787q46.23-27 99-27 76.31 0 128.15 51.85Q840-710.31 840-634q0 39.85-14.73 79.23-14.73 39.39-51.81 88.04-37.08 48.65-100.77 112.35Q609-290.69 510.31-201.23L480-173.85Zm0-54.15q96-86.77 158-148.65 62-61.89 98-107.39t50-80.61q14-35.12 14-69.35 0-60-40-100t-100-40q-47.77 0-88.15 27.27-40.39 27.27-72.31 82.11h-39.08q-32.69-55.61-72.69-82.5Q347.77-774 300-774q-59.23 0-99.62 40Q160-694 160-634q0 34.23 14 69.35 14 35.11 50 80.61t98 107q62 61.5 158 149.04Zm0-273Z'/%3e%3c/svg%3e");
}

/* ✅ 좋아요 버튼 (활성 상태 - 빨간색 하트) */
.like-button.liked .like-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ff4d4d'%3e%3cpath d='m480-173.85-30.31-27.38q-97.92-89.46-162-153.15-64.07-63.7-101.15-112.35-37.08-48.65-51.81-88.04Q120-594.15 120-634q0-76.31 51.85-128.15Q223.69-814 300-814q52.77 0 99 27t81 78.54Q514.77-760 561-787q46.23-27 99-27 76.31 0 128.15 51.85Q840-710.31 840-634q0 39.85-14.73 79.23-14.73 39.39-51.81 88.04-37.08 48.65-100.77 112.35Q609-290.69 510.31-201.23L480-173.85Zm0-54.15q96-86.77 158-148.65 62-61.89 98-107.39t50-80.61q14-35.12 14-69.35 0-60-40-100t-100-40q-47.77 0-88.15 27.27-40.39 27.27-72.31 82.11h-39.08q-32.69-55.61-72.69-82.5Q347.77-774 300-774q-59.23 0-99.62 40Q160-694 160-634q0 34.23 14 69.35 14 35.11 50 80.61t98 107q62 61.5 158 149.04Zm0-273Z'/%3e%3c/svg%3e");
}

/* ✅ 북마크 아이콘 (기본 회색) */
.bookmark-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23aaa'%3e%3cpath d='M240-180v-555.38q0-27.62 18.5-46.12Q277-800 304.62-800h350.76q27.62 0 46.12 18.5Q720-763 720-735.38V-180L480-283.08 240-180Zm40-62 200-86 200 86v-493.38q0-9.24-7.69-16.93-7.69-7.69-16.93-7.69H304.62q-9.24 0-16.93 7.69-7.69 7.69-7.69 16.93V-242Zm0-518h400-400Z'/%3e%3c/svg%3e");
}

/* ✅ 북마크 버튼 (활성 상태 - 노란색 북마크) */
.bookmark-button.bookmarked .bookmark-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23FFD700'%3e%3cpath d='M240-180v-555.38q0-27.62 18.5-46.12Q277-800 304.62-800h350.76q27.62 0 46.12 18.5Q720-763 720-735.38V-180L480-283.08 240-180Zm40-62 200-86 200 86v-493.38q0-9.24-7.69-16.93-7.69-7.69-16.93-7.69H304.62q-9.24 0-16.93 7.69-7.69 7.69-7.69 16.93V-242Zm0-518h400-400Z'/%3e%3c/svg%3e");
}


  
  /* 소셜 로그인 */
  /* style inputs and link buttons */
  
  .social-btn  {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    margin: 5px 0;
    opacity: 0.85;
    display: inline-block;
    font-size: 17px;
    line-height: 20px;
    text-decoration: none; /* remove underline from anchors */
  }
  
  
  .btn:hover {
    opacity: 1;
  }
  
  .flex-left-center {
    display: flex;
    justify-content: left;
    align-items: center;
  }
  
  /* 고객센터 부분 */
  
  .container {
    width: 61%;
    margin: 0 auto;
    padding: 20px;
  }
  
  h1 {
    text-align: center;
  }
  
  form {
    margin-bottom: 20px;
  }
  
  textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
  }
  
  /* button.btn.btn-primary {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
  } */
  
  /* button.btn.btn-primary:hover {
    background-color: #0056b3;
  } */
  
  .posts {
    margin-top: 20px;
  }
  
  .post {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background-color: #f9f9f9;
  }
  
  .post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .username {
    font-weight: bold;
  }
  
  .date {
    font-size: 0.9em;
    color: #666;
  }
  
  .badge.secret {
    background-color: #dc3545;
    color: white;
    padding: 5px;
    border-radius: 3px;
  }
  
  .post-content {
    margin-top: 10px;
  }
  
  /* 댓글 스타일 */
  .comment {
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 2px solid #ddd;
  }
  
  .reply {
    margin-top: 10px;
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #ccc;
  }
  
  .comment-header, .reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .comment-content, .reply-content {
    margin-top: 5px;
  }
  
  /* 모달창 사용법 영상 */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }
  
  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
    text-align: center;
  }
  
  .popup-content .video-container {
    margin-bottom: 20px; /* Add space below the video */
  }
  
  .popup-content iframe {
    width: 100%;
    height: 400px; /* Adjust height as needed */
  }
  
  .checkbox-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
  }
  
  .checkbox-container label {
    display: flex;
    align-items: center;
    font-size: 14px;
  }
  
  button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  #close-button {
    background-color: #ccc;
  }
  
.follow-modal,
.hidden-user-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  z-index: 9999;
  width: 320px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.follow-modal h4,
.hidden-user-modal h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.follower-list,
.following-list,
.hidden-user-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.follower-list li,
.following-list li,
.hidden-user-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.close-modal {
  margin-top: 10px;
  background: #888;
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 5px;
  float: right;
  cursor: pointer;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  overflow-y: auto;
}

.follower-list, .following-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.follower-list li, .following-list li {
  margin-bottom: 8px;
  font-size: 14px;
}

.modal-actions {
  margin-top: 10px;
  text-align: right;
}

.modal-actions button {
  padding: 6px 12px;
  background: #888;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}