@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--black-color);

}

/* Color variables for light theme */
:root {
  --white-color: #fff;
  --black-color: #2E2E2E;
  --title-color: #212121;
  --light-white-color: #f0f0f0;
  --light-gray-color: #e5e5e5;
  --light-bg-color: #EDEDED;
  --card-bg: #f8f8f8;
  --border-color: #DDDDDD;
  --input-border: #C6C6C8;
  --primary-color: #2A52C9;
  --secondary-color: #717171;
  --overlay-dark-color: rgba(0, 0, 0, 0.6);
  --shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* Color variables for dark theme */
.dark-mode {
  --white-color: #171717;
  --black-color: #D5D5D5;
  --title-color: #ffffff;
  --light-white-color: #333;
  --light-gray-color: #404040;
  --light-bg-color: #2B2B2B;
  --card-bg: #2e2e2e;
  --border-color: #2E2E2E;
  --input-border: #424242;
  --primary-color: #0A84FF;
  --secondary-color: #B3B3B3;
}

body {
  background: var(--white-color);
  font-size: 16px;
  line-height: 24px;
  color: var(--black-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--title-color);
}

h1 {
  font-size: 22px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5,
h6 {
  font-size: 14px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

button {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.ms-0 {
  margin-left: 0 !important;
}

.me-0 {
  margin-right: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.ps-0 {
  padding-left: 0 !important;
}

.pe-0 {
  padding-right: 0 !important;
}

.btn {
  display: flex;
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  justify-content: center;
  align-items: center;
}

.btn-primary {
  background: var(--primary-color);
  border: solid 1px var(--primary-color);
  color: #ffffff;
}

.btn-icon {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-icon i {
  font-size: 16px;
}

.link {
  color: var(--primary-color);
}

.font13 {
  font-size: 13px;
}

/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  z-index: 999;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
  background-color: #3e8e41;
}


.container {
  display: flex;
  overflow: hidden;
  max-height: 100vh;
  flex-direction: column;
}

.side-pannel {
  background: var(--light-bg-color);
}

.mini-sidebar {
  width: 64px;
  height: calc(100vh - 60px);
  background: var(--light-bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;

}

.mini-sidebar ul {
  margin: 0;
  padding: 0;
}

.mini-sidebar ul li {
  list-style: none;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--black-color);
}

.mini-sidebar ul li:hover,
.mini-sidebar ul li.active {
  background: var(--light-gray-color);
}

.mini-sidebar ul li i {
  color: var(--black-color);
  font-size: 24px;
}

.stroke svg {
  stroke: var(--black-color);
}

.fill svg {
  fill: var(--black-color);
}

.mini-sidebar {
  display: none;
}

.sidebar-hidden .mini-sidebar {
  display: block;
}

header,
.sidebar .nav-left,
.category-list {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white-color);
}

header {
  z-index: 99;
}

.navbar {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 8px 16px;
  padding-left: 0;
  justify-content: space-between;
}

:where(.navbar, .sidebar) .nav-section {
  gap: 16px;
}

:where(.navbar, .sidebar) :where(.nav-section, .nav-logo, .search-form) {
  display: flex;
  align-items: center;
}

:where(.navbar, .sidebar, .comments) :where(.logo-image, .user-image) {
  width: 32px;
  cursor: pointer;
}

.nav-button {
  border: none;
  height: 56px;
  /* width: 100%; */
  cursor: pointer;
  background: var(--light-bg-color) !important;
  border-bottom: solid 1px var(--border-color);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-button:hover {}

.nav-button i {
  font-size: 1.5rem;
  display: flex;
  color: var(--black-color);
  align-items: center;
  /* justify-content: center; */
}


:where(.navbar, .sidebar) .nav-section .nav-button {
  border: none;
  height: 40px;
  width: 40px;
  cursor: pointer;
  background: none;
  border-radius: 50%;
}

:where(.navbar, .sidebar) .nav-section .nav-button:hover {
  background: var(--light-gray-color) !important;
}

:where(.navbar, .sidebar) .nav-button i {
  font-size: 1.5rem;
  display: flex;
  color: var(--black-color);
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .navbar .menu-button {
    display: none;
  }
}

@media (max-width: 767px) {
  .side-pannel .menu-button {
    display: none !important;
  }

  .side-pannel .mini-sidebar {
    display: none !important;
  }
}

:where(.navbar, .sidebar) .nav-logo {
  display: flex;
  gap: 8px;
  text-decoration: none;
}

:where(.navbar, .sidebar) .nav-logo .logo-text {
  color: var(--black-color);
  font-size: 1.25rem;
}

@media (max-width: 480px) {
  :where(.navbar) .nav-logo .logo-text {
    display: none;
  }

  :where(.navbar, .sidebar) .nav-section {
    gap: 8px;
  }
}

.navbar .search-back-button {
  display: none;
}

.navbar .nav-center {
  gap: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.navbar .search-form {
  flex: 1;
  height: 40px;
  max-width: 550px;
}

.navbar .search-form .search-input {
  width: 100%;
  height: 100%;
  font-size: 1rem;
  padding: 0 16px;
  outline: none;
  color: var(--black-color);
  background: var(--white-color);
  border-radius: 49px 0 0 49px;
  border: 1px solid var(--border-color);
}

.navbar .search-form .search-input:focus {
  border-color: var(--primary-color);
}

.navbar .search-form .search-button {
  height: 40px;
  width: auto;
  padding: 0 20px;
  border-radius: 0 49px 49px 0;
  border: 1px solid var(--border-color);
  border-left: 0;
}

.navbar .nav-center .mic-button {
  background: var(--light-white-color);
}

.navbar .nav-right .search-button {
  display: none;
}

.main-layout {
  display: flex;
  overflow-y: auto;
  scrollbar-color: #a6a6a6 transparent;
}

.main-layout .sidebar {
  width: 280px;
  overflow: hidden;
  padding: 0 11px 0;
  background: var(--light-bg-color);
}

.main-layout .sidebar .nav-left {
  display: none;
  padding: 8px 5px;
}

body.sidebar-hidden .main-layout .sidebar {
  width: 0;
  padding: 0;
}

.sidebar .links-container {
  padding: 16px 0 32px;
  overflow-y: auto;
  height: calc(100vh - 60px);
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.sidebar .links-container:hover {
  scrollbar-color: #a6a6a6 transparent;
}

.sidebar .link-section {
  list-style: none;
}

.sidebar .link-section .link-item {
  display: flex;
  cursor: pointer;
  color: var(--black-color);
  white-space: nowrap;
  align-items: center;
  font-size: 0.938rem;
  padding: 5px 12px;
  margin-bottom: 4px;
  border-radius: 8px;
  text-decoration: none;
}

.sidebar .link-section .link-item:hover {
  background: var(--light-gray-color);
}

.sidebar .link-section .link-item i {
  font-size: 1.4rem;
  margin-right: 10px;
}

.sidebar .link-section .section-title {
  color: var(--black-color);
  font-weight: 600;
  font-size: 0.938rem;
  margin: 16px 0 8px 8px;
}

.sidebar .section-separator {
  height: 1px;
  margin: 10px 0;
  background: var(--light-gray-color);
}

.main-layout .content-wrapper {
  padding: 0 16px;
  overflow-x: hidden;
  width: 100%;
}

.content-wrapper .category-list {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 12px 0 11px;
  scrollbar-width: none;
  top: 56px;
}

.category-list .category-button,
.category-list .category-tag {
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: 8px;
  white-space: nowrap;
  color: var(--title-color);
  padding: 6px 12px;
  background: var(--light-gray-color);
}

.category-list .category-tag {
  background-color: transparent !important;
  padding: 6px 0px;
}

.category-list .category-tag:hover {
  color: var(--primary-color) !important;
}

.category-list .category-button.active,
.category-list .category-tag.active {
  color: var(--white-color);
  background: var(--black-color);
  pointer-events: none;
}

.dark-mode .category-list .category-button.active,
.dark-mode .category-list .category-tag.active {
  filter: brightness(120%);
}

.category-list .category-button:not(.active):hover,
.category-list .category-tag:not(.active):hover {
  background: var(--border-color);
}

.content-wrapper .video-list {
  display: grid;
  gap: 16px;
  padding: 20px 0 64px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.content-wrapper .video-list .video-card {
  text-decoration: none;
}

.content-wrapper .video-list .video-card .thumbnail-container {
  position: relative;
}

.content-wrapper .video-list .video-card .thumbnail {
  width: 100%;
  object-fit: contain;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  background: var(--light-white-color);
}

.content-wrapper .video-list .video-card .duration {
  position: absolute;
  right: 10px;
  bottom: 12px;
  color: #fff;
  font-size: 0.875rem;
  padding: 0 5px;
  border-radius: 5px;
  background: var(--overlay-dark-color);
}

.content-wrapper .video-list .video-card .video-info {
  display: flex;
  gap: 11px;
  padding: 11px 8px;
}

.content-wrapper .video-list .video-card .icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.content-wrapper .video-list .video-card .title {
  font-size: 1rem;
  color: var(--black-color);
  font-weight: 500;
  line-height: 1.375;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.content-wrapper .video-list .video-card:hover .title {
  color: var(--primary-color);
}

.content-wrapper .video-list .video-card p {
  font-size: 0.875rem;
  color: var(--secondary-color);
}

.views span {
  color: var(--secondary-color);
}

.content-wrapper .video-list .video-card .channel-name {
  /* margin: 4px 0 6px; */
}

.sponsored {
  font-weight: 600;
  color: var(--black-color) !important;
}

.verified img {
  width: 15px;
  height: 15px;
}

.learnmore-cta {
  font-size: 13px;
  padding: 2px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.learnmore-cta i {
  font-size: 24px;
  color: var(--white-color);
}

/* Responsive media code for small devices */
@media (max-width: 768px) {
  .navbar {
    gap: 1rem;
  }

  .navbar .nav-center,
  body.show-mobile-search .navbar .nav-left,
  body.show-mobile-search .navbar .nav-right {
    display: none;
  }

  .navbar .nav-right .search-button,
  body.show-mobile-search .navbar .search-back-button,
  body.show-mobile-search .navbar .nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .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;
  }

  body.sidebar-hidden .main-layout .screen-overlay {
    opacity: 0;
    pointer-events: none;
  }

  .main-layout .sidebar {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    height: 100vh;
    transition: 0.2s ease;
  }

  body.sidebar-hidden .main-layout .sidebar {
    left: -280px;
  }

  .main-layout .sidebar .nav-left {
    display: flex;
    background: var(--light-bg-color);
  }
}


/*-------------- DETAIL SCREEN -------------*/
.detail-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  /* max-width: 1300px; */
  margin: auto;
  gap: 20px;
}

@media (min-width: 1024px) {
  .detail-page {
    flex-direction: row;
  }
}

.main-content {
  flex: 2.5;
  max-width: calc((100vh - 56px - 24px - 136px)*(16 / 9));
  min-width: calc(360px*(16 / 9));
}

.video-player {
  max-width: calc((100vh - 56px - 24px - 136px)*(16 / 9));
  min-width: calc(360px*(16 / 9));
}

.video-player video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .main-content {
    width: 100%;
  }

  .video-player {
    max-width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
}

.video-title {
  margin: 15px 0 5px;
  font-size: 20px;
}

.video-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--secondary-color);
  flex-wrap: wrap;
}

.actions {
  display: flex;
  gap: 8px;
}

.actions button {
  background: var(--light-bg-color);
  border: none;
  padding: 6px 12px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  gap: 8px;
  font-size: 14px;
}

.actions button i {
  font-size: 20px;
}

.actions button:hover {
  background: var(--light-gray-color);
}

.channel-info {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 15px;
  flex-wrap: wrap;

}

.channel-info .ttl-subscribers {
  color: var(--secondary-color);
  font-size: 14px;
}

.channel-info img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

.channel-info h2 {
  font-size: 16px;
}

.subscribe-btn {
  margin-left: auto;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.description {
  padding: 16px 10px;
  margin-top: 16px;
  border-top: solid 1px var(--border-color);
}

.description p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.more-description {
  color: var(--black-color);
  font-weight: 600;
  text-decoration: none;
  padding-top: 8px;
}

.comments {
  margin-top: 30px;
}

.comments h2 span {
  font-size: 20px;
}

.commenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.commenter-name {
  font-weight: 600;
  font-size: 14px;
}

.comments .user-image {
  width: 40px;
  height: 40px;
}

.comments .comment {
  display: flex;
  gap: 16px;
  background: var(--card-bg);
  padding: 16px;
  margin-bottom: 8px;
  border-radius: 12px;
}

.add-comment {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 24px;
  align-items: center;
}

/* .add-comment input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
} */
.add-comment input {
  width: 100%;
  height: 40px;
  font-size: 1rem;
  padding: 0 16px;
  outline: none;
  color: var(--black-color);
  background: var(--white-color);
  border-radius: 49px;
  border: 1px solid var(--border-color);
}

.add-comment button {
  padding: 8px 16px;
  background: #065fd4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.commenter-dtl {
  display: flex;
  align-items: center;
  gap: 8px;
}

.commenter-dtl .comment-time {
  color: var(--secondary-color);
  font-size: 14px;
}

.sidebar-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 392px;
  min-width: 300px;
  gap: 8px;
}

.ad-block {
  display: flex;
  align-items: center;
}

.ad-block img {
  border-radius: 12px;
  border: solid 1px var(--border-color);
  max-width: 100%;
}

.recommendation {
  display: flex;
  gap: 10px;
  border-radius: 6px;
  cursor: pointer;
}
.recommendation .video-thumb-container{
  flex: 0 0 168px;
  position: relative;
  display: flex;
}
.recommendation .video-thumb {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  
}
.recommendation .video-info{
  flex: 1;
}

.recommendation .title {
  font-size: 14px;
  font-weight: bold;
  line-height: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommendation .channel,
.recommendation .views {
  font-size: 12px;
  color: var(--secondary-color);
  margin: 0;
  line-height: 18px;
}

.recommendation .views span {
  font-size: 14px;
}

.recommendation .verified img {
  width: 12px;
  height: 12px;
}

/*------- DROPDOWN MENU ------*/
.dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.dropdown {
  position: absolute;
  max-width: 300px;
  max-height: 400px;
  /* width: 175px; */
  box-shadow: var(--shadow);
  border-radius: 8px;
  margin-top: 0.3rem;
  padding: 8px 0;
  background: var(--white-color);
  overflow-y: auto;

  visibility: hidden;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: all 0.1s cubic-bezier(0.16, 1, 0.5, 1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 100;
  transition: all 0.2s ease;
}

/* Show above */
.dropdown.position-top {
  top: auto;
  bottom: 100%;
  margin-bottom: 0.3rem;
}

/* Align left of button */
.dropdown.position-left {
  left: auto;
  right: 0;
}

/* Align right of button (if needed) */
.dropdown.position-right {
  left: 0;
  right: auto;
}

.dropdown li a {
  font-size: 14px;
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  text-decoration: none;
  gap: 8px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: var(--black-color);
}

.dropdown li a i {
  font-size: 20px;
}

.dropdown li a:hover {
  background-color: var(--light-bg-color);
}

.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0rem);
}

.arrow {
  /* transform: rotate(180deg);
  transition: 0.2s ease; */
}

.dropdown-toggle.active {
  background-color: var(--light-gray-color) !important;
  color: white;
}

.view-pro {
  display: flex;
  gap: 16px;
  padding: 8px 16px 16px;
  font-size: 14px;
  border-bottom: solid 1px var(--border-color);
}

.view-pro .user-image {
  width: 40px;
  height: 40px;
}

.view-pro .name,
.view-pro a {
  display: block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;

}


/* -----------PROFILE PAGE ----------*/
.profile-header {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: var(--border-color)
}

.profile-header .channel-info img {
  border-radius: 50%;
  width: 140px;
  height: 140px;
}


.tabs {
  display: flex;
  gap: 1.2rem;
  padding: 1rem 2rem 0;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
  position: sticky;
  background: var(--white-color);
  top: 56px;
  z-index: 10;
}

.tabs a {
  text-decoration: none;
  color: var(--title-color);
  font-weight: 500;
  padding-bottom: 5px;
  border-bottom: solid 2px var(--white-color);
}

.tabs a:hover,
.tabs a.active {
  border-bottom: 2px solid var(--primary-color);
}


/*--------- LOG IN / SIGN UP -----------*/
.sign-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .sign-form {
  display: flex;
  flex: auto;
  flex-direction: row;
  min-height: 100vh;
} */

.login-box {
  flex: 1 1 55%;
  padding: 30px;
  padding-top: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  max-width: 540px;
}

.logo {
  display: flex;
  gap: 4px;
  align-items: center;
  margin-bottom: 40px;

}

@media (min-width: 990px) {
  .logo {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 9;
  }
}

.logo-img {
  width: 40px;
}

.login-box h1 {
  font-size: 36px;
  font-weight: 600;
}

.login-title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;

}

.subtitle {
  margin-bottom: 40px;
  color: #666;
}

.login-box form {
  display: flex;
  flex-direction: column;
}

.login-box .form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.login-box label {
  margin: 10px 0 8px;
  font-weight: 500;
}

.login-box input,
.login-box select {
  padding: 12px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
}

.login-box .btn {
  border-radius: 30px;
}

.forgot {
  text-align: right;
  margin: 0 0 24px;
}

.forgot a {
  text-decoration: none;
}


.register {
  text-align: center;
  padding-top: 16px;
}

.register a {
  text-decoration: none;
  font-weight: 500;
}

.image-box {
  flex: 1 1 45%;
  display: flex;
  height: 100vh;
  min-height: 700px;
  position: relative;
}

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

@media (max-width: 991px) {
  .login-box {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .image-box {
    display: none;
  }

  .login-box {
    justify-content: flex-start;
  }

  .login-box,
  .image-box {
    width: 100%;

  }

  .login-box {
    padding: 30px;
  }

  .image-box {
    height: 250px;
  }
}

.radio-group {
  display: flex;
  gap: 20px;
}

.radio-group input {
  margin-right: 5px;
}

.mobile-group {
  display: flex;
  gap: 8px;
}

.mobile-group select {
  width: 30%;
}

.mobile-group input {
  width: 70%;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
}

/*---------- Sign up Slide ------------*/
.login-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.mySlides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.mySlides.active {
  opacity: 1;
  z-index: 1;
}

.slideNav {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 0%);
  width: 100%;
  text-align: center;
  z-index: 2;
}

.left-arrow {
  float: left !important;
  cursor: pointer;
}

.right-arrow {
  float: right !important;
  cursor: pointer;
}

.nav-dot {
  height: 13px;
  width: 13px;
  padding: 0;
  border: 1px solid #ccc !important;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: #fff;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}

.nav-dot.active,
.nav-dot:hover {
  color: #000 !important;
  background-color: var(--primary-color)
}

.ttl-with-icon {
  display: flex;
  align-items: center;
  gap: 8px;
}

/*-------- MINIX SLIDER -------------*/
.shorts-container {
  display: flex;
  /* Arrange items horizontally */
  overflow-x: scroll;
  /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory;
  /* Snap to items when scrolling */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */
  flex-direction: column;
  margin-bottom: 64px;
}

.short-item {
  flex-shrink: 0;
  /* Prevent items from shrinking */
  width: 100vw;
  /* Each item takes full viewport width */
  height: 100vh;
  /* Each item takes full viewport height */
  scroll-snap-align: start;
  /* Snap to the start of each item */
  /* Add styling for video, text, etc. */
}

.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 0;
  gap: 10px;
  scrollbar-width: none;
  max-width: 100%;
}

.minix-card {
  position: relative;
  width: 210px;
}

.minix-thumb {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #222;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.minix-thumb img {
  height: 100%;
  object-fit: cover;
  display: block;
}

.minix-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-45%);
  border: none;
  color: white;
  font-size: 2rem;
  width: 100%;
  height: 40px;
  cursor: pointer;
  z-index: 10;
}

.minix-arrow .arrow-left,
.minix-arrow .arrow-right {
  width: 40px;
  height: 40px;
  background-color: var(--white-color);
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 4px, rgba(0, 0, 0, 0.2) 0px 0px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  text-align: center;
  padding: 8px;
  cursor: pointer;

}

.minix-arrow .arrow-left:hover,
.minix-arrow .arrow-right:hover {
  background: var(--light-bg-color);
}

.minix-arrow i {
  font-size: 24px;
}

.minix-arrow .arrow-left {
  left: 10px;
  position: absolute;
}

.minix-arrow .arrow-right {
  right: 10px;
  position: absolute;
}

.minix-view {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.minix-view .views {
  color: var(--secondary-color);
  font-size: 14px;
}

.minix-view .title {
  font-size: 1rem;
  color: var(--black-color);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-weight: 600;
  line-height: 20px;
}

.sidebar-right .minix-card {
  position: relative;
  width: 131px;
}