/* 재생목록리스트 메인페이지 전용 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;
}

.like-button, .bookmark-button {
  padding : 0;
  border-radius : 0;
  background-color: transparent;

}

.bookmark-button {
  margin: 1rem;
}

/* 팝업창 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;
  }

/* 버튼 스타일 */
.like-button, .bookmark-button {
    padding: 0;
    border-radius: 0;
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    transition: color 0.3s;
}

/* 기본 아이콘 색상 */
.like-button .fa-heart, .bookmark-button .fa-bookmark {
    color: black;
}

/* 눌렀을 때 아이콘 색상 */
.like-button.liked .fa-heart {
    color: red;
}

.bookmark-button.bookmarked .fa-bookmark {
    color: blue;
}/* 버튼 스타일 */
.like-button, .bookmark-button {
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.2em;
  transition: color 0.3s;
}

/* 기본 아이콘 색상 */
.like-button .fa-heart, .bookmark-button .fa-bookmark {
  color: black;
}

/* 눌렀을 때 아이콘 색상 */
.like-button.liked .fa-heart {
  color: red;
}

.bookmark-button.bookmarked .fa-bookmark {
  color: blue;
}

/* 소셜 로그인 */
/* 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;
}