:root {
  --theme-black: #000;
  --theme-white: #fff;
  --theme-blue: #004ec0;
  --theme-red: #dc4537;
  --theme-box-shadow: 1px 1px 15px #ececec;
  --theme-border: 1px solid #ddd;
  --menu-bg-color: #dc4537;
}

/* Color variables for dark theme */
.dark-mode {
  --theme-black: #fff;
  --theme-white: #ddd;
  --theme-blue: #fff;
  --theme-red: #fff;
  --theme-box-shadow: none;
  --theme-border: 1px solid #2d2d2d;
  --menu-bg-color: #272727;
}

.my-navbar .nav-button.menu-button i{
  font-size: 1.8rem;
}
.sidebar .link-section .link-item.active{
  color: var(--theme-white);
  background-color: var(--menu-bg-color);
}

.link-section .link-item{
  overflow: scroll;
}
.link-section .img-list-menu{
  width: 30px;
  margin-right: 8px;
  height: 30px;
  border-radius: 50px;
  object-fit: cover;
}

.video-list .video-card{
  position: relative;
}
.video-list .video-card .icon{
  border: 1px solid #ddd;
  object-fit: cover;
}

.video-list .video-card .video-info{
  /* box-shadow: var(--theme-box-shadow); */
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  min-height: 150px;
  border-left: var(--theme-border);
  border-bottom: var(--theme-border);
  border-right: var(--theme-border);
  flex-direction: column;
  justify-content: space-between;
}
.video-list .video-card .price-type{
  display: flex;
  justify-content: space-between;
}
.video-list .video-card .price-type .type{
  font-weight: bold;
  color: var(--theme-blue);
}
.video-list .video-card .price-type .price,
.show_price{
  font-weight: bold;
  color: var(--theme-red);
  background-color: var(--light-gray-color);
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  position: absolute;
  bottom: 5px;
  right: 5px;
  align-items: center;
  justify-content: center;
}
.show_price{
  /* border: 2px solid var(--theme-white); */
  background-color: var(--theme-blue);
  color: var(--theme-white);
  box-shadow: 1px 1px 12px #f0f6b5;
}

.video-list .video-card .thumbnail-container{
  display: flex;
}
.video-list .video-card .thumbnail{
  border-radius: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  object-fit: cover;
  height: 240px;
}
.video-list .video-card .channel-name{
  margin: .4rem 0 0.15rem;
}

.video-list .video-card .title:hover{
  color: var(--theme-blue);
}

/* show-page */
.show-page .main-layout .sidebar {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
  height: 100vh;
  transition: 0.2s ease;
}
body.sidebar-hidden.show-page .main-layout .sidebar {
  left: -280px;
}

.show-page .main-layout .sidebar .nav-left {
  display: flex;
}

.show-page .content .img{
  height: 500px;
  overflow: hidden;
}
.show-page .content .img > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.show-page .content .imgs{
  width: 100%;
  display: flex;
  overflow-x: auto;
  gap: 5px;
}
.show-page .content .imgs > img{
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.compte-div{
  display: flex;
  justify-content: space-between;
}

.compte-div .compte{
  align-items: center;
  gap: 15px;
}
.compte-div .compte .logo img{
  width: 50px;
  height: 50px;
  border-radius: 50px;
  object-fit: cover;
}
.compte-div .compte .logo.interne img{
  width: 100px;
  height: 100px;
}
.compte-div .compte .text{
  line-height: 1.2;
}
.compte-div .compte .channel{
  font-weight: bold;
  font-size: 18px;
}
.compte-div .compte .views{
  font-size: 14px;
}

.dropdown-toggle.share-dropdown::after{
  content: none;
}

.custom-btn{
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  color: var(--black-color);
  padding: 0.4rem 0.75rem;
  background: var(--light-gray-color);
  text-decoration: none;
}
.custom-btn:not(.active):hover{
  background: var(--border-color);
}

.show-page .content .titre{
  margin-top: 20px;
  margin-bottom: 20px;
}

.compte-details .img{
  height: 200px;
  width: 100%;
}
.compte-details .img > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.show-page .content .titre,
.compte-div .compte .channel,
.compte-div .compte .views,
.show-page .content .description,
.other-titre{
  color: var(--theme-black);
}

body.show-page.sidebar-hidden .main-layout .screen-overlay{
  opacity: 0;
  pointer-events: none;
}
.show-page .main-layout .screen-overlay{
  position: absolute;
  left: 0;
  top: 0;
  z-index: 15;
  width: 100%;
  height: 100vh;
  background: var(--overlay-dark-color);
  transition: 0.2s ease;
}

.create-account-btn{
  display: flex;
  width: 160px;
  padding: 10px 5px;
  border-radius: 40px;
  justify-content: center;
  text-decoration: none;
  color: var(--theme-black);
  border: 1px solid #ddd;
}

nav.d-flex {
  padding: 10px;
  border-radius: 0.375rem;
}

/* Pagination style */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.page-item {
  margin: 0 2px;
}
.page-link {
  display: inline-block;
  padding: 0rem .5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  color: #007bff;
  background-color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.page-link:hover {
  background-color: #e9ecef;
  color: #0056b3;
}
.page-item.active .page-link {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}
.page-item.disabled .page-link {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  border-color: #ddd;
}
.page-item button.page-link {
  background-color: #f8f9fa;
  padding: 0rem .5rem;
  color: #323232;
  font-size: 1rem;
}
.page-item button.page-link:hover {
  background-color: #f8f9fa;
}
.d-sm-none .pagination {
  display: none;
}
.d-sm-flex .pagination {
  display: flex;
  justify-content: flex-start;
}
.d-sm-flex .page-item .page-link {
  font-size: 1rem;
}
.small.text-muted {
  font-size: 0.875rem;
  color: var(--theme-black) !important;
}
.d-sm-flex .pagination-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}
.d-sm-flex .pagination-summary p {
  margin: 0;
  font-size: 0.875rem;
  color: #6c757d;
}
.d-none.d-sm-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* End Pagination style */

@media screen and (max-width: 768px) {
  .compte-div{
    display: block;
  }
  .compte-div .compte{
    margin-bottom: 10px;
  }
}