:root {
  --font-size-xs: 18px;
  --color-white: #ffffff;
  --text-pink: #FF99E8;
  --color-gradient-start: #FF3804;
  --color-gradient-end: #FF99E8;
  --color-gradient-bg: linear-gradient(100.32deg, var(--color-gradient-start) 7.14%, var(--color-gradient-end) 67.49%);
}

::selection {
  background-color: #FF3804;
  color: #FFFFFF;
}

body {
  font-family: "Inter", sans-serif;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: #FFFFFF;
  color: #0C0A01;
  font-size: 18px;
  min-height: 100vh;
}

.auth-body-wrapper {
  background-image: url('/images/bg-element.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: 25vw;
}

a {
  text-decoration: none;
}

/* ================ Font Style ==================== */
.text-xs {
  font-size: 14px;
  font-weight: 400;
}

.text-sm {
  font-size: 18px;
  font-weight: 400;
}

.text-md {
  font-size: 32px;
  font-weight: 700;
}

.text-lg {
  font-size: 35px;
  font-weight: 700;
}

.text-xl {
  font-size: 42px;
  font-weight: 700;
}

.link-text {
  text-decoration: none;
  color: #262626;
}

.link-text:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.theme-color {
  color: #FF3804;
}

.text-pink {
  color: var(--text-pink);
}

.primary-text {
  color: #171717;
}

.text-semibold {
  font-weight: 600;
}

/* ================ Font Style ==================== */

/* ================ Button Style ==================== */
.btn {
  outline: none;
  border: none;
  font-weight: 600;
  border-radius: 100px;
  white-space: nowrap;
}

.btn-primary {
  background-image: var(--color-gradient-bg);
  color: var(--color-white);
  padding: 14px 48px;
  font-size: var(--font-size-xs);
  background-size: 200% auto;
}

.btn-primary:hover {
  background-position: right center;
  color: var(--color-white);
}

.btn-rounded {
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
}

/* ================ Button Style ==================== */

/* ================ Auth Module style ==================== */
.auth-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
}

.auth-title {
  font-size: 35px;
  font-weight: 800;
}
.input-icon-wrapper{
  display: flex;
  align-items: center;
  position: relative;
}
.input-icon-wrapper .form-control.input-rounded{
  padding-left: 35px;
}
.input-icon-wrapper .input-icon{
  position: absolute;
  left: 15px;
}
.form-control {
  background-color: #F3F3F3;
  border-radius: 60px;
  padding: 18px 30px;
  font-size: 18px;
  border: 1px solid transparent;
  box-shadow: none;
  line-height: 1.3;
}

.form-control.input-rounded {
  border-radius: 6px;
  background: white;
  color: #999999;
  padding: 12px;
  border: 1px solid #dee2e6;
  font-size: 14px;
}

.form-control.input-rounded::placeholder {
  color: #999999;
  font-weight: 400;
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: rgb(255, 153, 232);
  background-color: #ffffff;
  box-shadow: 0 0 0 .25rem rgba(255, 153, 232, .25);
}

.form-control::placeholder {
  color: #808080;
  font-size: 18px;
}

.form-select {
  padding: 12px;
  font-size: 14px;
  line-height: 1.3;
}

.form-select:focus {
  border-color: rgb(255, 153, 232);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(255, 153, 232, .25);
}

.form-check-input:focus {
  border-color: rgb(255, 153, 232);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(255, 153, 232, .25);
}

.form-switch .form-check-input {
  background-color: #D9D9D9;
}

.form-check-input {
  box-shadow: none;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: #FF3804;
  border-color: #FF3804;
  box-shadow: none;
}

.auth-img-box {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.auth-img-box .content-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 60px;
  position: relative;
}

.auth-img-box .content-box::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 5.42%, rgba(0, 0, 0, 0.8) 60.54%, rgba(0, 0, 0, 1) 100%);
  z-index: -1;
}

.auth-img-box>img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  z-index: -1;
}

.auth-img-slider .slick-slide {
  height: 100vh;
}

/* ================ Auth Module style ==================== */
/* ================ Main Layout style ==================== */
.main-layout-wrapper {
  display: flex;
  min-height: 100vh;
}

.main-sidebar {
  background: linear-gradient(100.32deg, #FF3804 24.95%, #FF99E8 97.49%);
  width: 250px;
  bottom: 0;
  left: 0;
  position: fixed;
  top: 0;
  overflow-x: hidden;
  white-space: nowrap;
  transition: all 0.4s ease-in-out;

}


.main-sidebar.collapsed {
  width: 80px;
}

.main-sidebar.collapsed .brand-logo {
  padding: 10px 14px;
}

.main-sidebar.collapsed .sidebar-menu-list a {
  justify-content: center;
}

.main-sidebar.collapsed .sidebar-menu-list a span,
.main-sidebar.collapsed .sidebar-menu-list a div:not(.icon-box),
.main-sidebar.collapsed .sidebar-menu-list a::after {
  display: none;
}

/* Move main content when sidebar collapses */
.content-wrapper {
  margin-left: 250px;
  transition: margin-left 0.4s ease;
}

.content-wrapper.expanded {
  margin-left: 80px;
}

.brand-logo {
  padding: 10px 25px;
}

.brand-logo img {
  height: 50px;
  width: auto;
}

.main-sidebar .brand-logo-symbol {
  display: none;
}

.main-sidebar.collapsed .brand-logo-symbol {
  display: block;
}

.main-sidebar.collapsed .brand-logo-original {
  display: none;
}

.sidebar-menu-wrapper {
  flex-grow: 1;
  padding: 15px 10px 15px;
  height: calc(100vh - 100px);
}

.sidebar-menu-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: auto;
}

.sidebar-menu-list a {
  color: #fff;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  margin-bottom: 3px;
}

.sidebar-menu-list a:hover,
.sidebar-menu-list a.active {
  background: linear-gradient(100.32deg, #DD2E00 7.14%, #FF3804 79.68%);
  font-weight: 600;
}

.main-header-topbar {
  padding: 10px 15px;
  background-color: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 999;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 250px;
  transition: all 0.4s ease-in-out;
}

.main-content {
  padding: 15px;
}

.content-header {
  padding: 7px 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #E3E6F2;
}

.content-body {
  padding: 20px 15px;
  border: 1px solid #E3E6F2;
  border-radius: 4px;
  height: calc(100vh - 165px);
  position: relative;
}

.sticky-row {
  position: sticky;
  top: 0;
  z-index: 10;
}

.scrollable-content {
  margin-top: 10px;
  height: 90%;
  overflow-y: auto;
}

.page-title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.hamburger-icon {
  width: 28px;
  height: 28px;
  padding: 3px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hamburger-icon span {
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: #000000;
}

.hamburger-icon span:nth-child(2) {
  width: 60%;
}

.hamburger-icon:hover span:nth-child(2) {
  width: 100%;
}

.icon-box {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ================ Main Layout style ==================== */
/* ================ Inner pages style ==================== */
.custom-card .card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  gap: 10px;
}

.custom-card .card-title {
  font-size: 22px;
  font-weight: 700;
  color: #071633;
  margin-bottom: 6px;
  line-height: 1.2;
}

.custom-card .card-text {
  color: #292B2F;
  font-size: 16px;
  line-height: 1.2;
}

.custom-card .card-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  min-width: 70px;
  border-radius: 6px;
}

.box-primary-light {
  background-color: #E9EFFB;
  color: #2352AD;
}

.box-success-light {
  background-color: #E2F7F0;
  color: #10B981;
}

.box-warning-light {
  background-color: #F9F0E1;
  color: #EA9D0C;
}

.table-responsive {
  position: relative;
  width: 100%;
  min-height: 1px;
  max-height: 500px;
  margin: 25px 0;
  overflow-x: auto;
  overflow: visible !important;
}

.table {
  vertical-align: middle;
  background-color: #ffffff;
  border-collapse: separate;
  border-spacing: 0 5px;
}

.table th {
  background-color: #E4E7FB;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  border-bottom: 0;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 99;
}
.action-btn-group{
  display: flex;
  justify-content: center;
}

.action-btn-group .btn{
  width: 35px;
  height: 35px;
  border-radius: 30px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.action-btn-group .btn:hover{
  background-color: #dadada80;
}
.table thead tr th:first-child {
  border-radius: 10px 0 0 10px;
}

.table thead tr th:last-child {
  border-radius: 0 10px 10px 0;
}

.table tr th:last-child,
.table tr td:last-child {
  text-align: center;
}

.table tbody td {
  font-size: 14px;
  color: #000000;
  padding: 7px 10px;
  background-color: #f5f5f5;
}

.table tbody tr:hover td {
  background-color: #E4E7FB70;
}


.badge {
  font-size: 14px;
  padding: 6px 15px;
  border-radius: 7px;
  font-weight: 400;
}

.badge-success {
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
  color: #438951;
}

.badge-danger {
  background-color: #FBE9E9;
  border: 1px solid #EBCCD1;
  color: #FF2A2A;
}

.badge-warning {
  background-color: #F0E7D8;
  border: 1px solid #F8DEC1;
  color: #EA9D0C;
}
.rounded-tag {
  padding: 8px 10px;
  color: #47494C;
  font-size: 14px;
  border: 1px solid #c9c9c9;
  border-radius: 26px;
  min-width: 81px;
  text-align: center;
}

.action-btn-group {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.dropdown-menu {
  border-color: transparent;
  box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

.dropdown-item:hover {
  background-color: #f1f1f1;
}

.pagination-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
}
.pagination .page-link{
  border: none;
  color: #000000;
  border-radius: 4px;
  background-color: transparent;
}
.disabled>.page-link, .page-link.disabled{
  color: #D9D9D9;
}
.pagination{
  gap: 5px;
  margin: 0;
}
.active>.page-link, .page-link.active{
  border: 1px solid #FF3804;
  color: #ff3804;
}
.page-link:focus{
  box-shadow: 0 0 0 0.25rem rgb(255, 56, 4, 0.25);
}
.form-range-input {
  max-width: 80px;
  text-align: center;
  border: 1px solid #DBDBDB;
  border-radius: 10px;
  padding: 8px 13px;
}

.form-range-input:focus {
  outline: none;
  border-color: rgb(255, 153, 232);
  background-color: #ffffff;
  box-shadow: 0 0 0 .25rem rgba(255, 153, 232, .25);
}

.video-wrapper {
  border-radius: 12px;
  overflow: hidden;
  max-width: 600px;
  position: relative;
  margin: 30px 0;
  transition: all 0.4s ease;
  aspect-ratio: 16 / 9;
  /* default landscape */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  /* optional background */
}

.video-wrapper video {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease, width 0.4s ease, height 0.4s ease;
  aspect-ratio: 16 / 9;
  /* default */
  transform-origin: center center;
  display: block;
}

.theme-tab-pills {
  flex-shrink: 0;
  gap: 5px;
}

.theme-tab-pills .nav-link {
  border: 1px solid #E6E6E6;
  color: #949494;
  width: 41px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
}

.theme-tab-pills .nav-link.active {
  color: var(--color-white);
  background-image: var(--color-gradient-bg);
  background-color: transparent;
  background-size: 200% auto;
  font-size: var(--font-size-xs);
  background-size: 200% auto;
  border: 1px solid transparent;
}

.theme-tab-pills .nav-link.active svg path {
  fill: var(--color-white);
}

.theme-tab-pills .nav-link:hover {
  background-position: right center;
  transition: all 0.4s ease-in-out;
}

.upload-img-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 250px);
}

.upload-media-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.media-thumbnails-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.media-thumbnail-box {
  max-width: 186px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 10px;
  position: relative;
  text-decoration: none;
  color: #000000;
}

.media-thumbnail-box.table-thumbnail-wrapper {
  flex-direction: row;
  max-width: max-content;
  gap: 9px;
  padding: 0;
}

.table-thumbnail-wrapper .img-box {
  height: 30px;
  width: 30px;
  border-radius: 8px;
  overflow: hidden;
  object-fit: cover;
}

.media-thumbnail-box:hover {
  background: #f2f5fa;
}

.thumbnail-wrapper {
  width: 84px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
}

.thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-thumbnail-box .media-title {
  font-size: 16px;
  max-width: 160px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  text-align: center;
  font-weight: 700;
  margin: 10px 0 3px 0;
  position: relative;
  padding-right: 20px;
}

.media-thumbnail-box .media-title .btn {
  height: 25px;
  width: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  padding: 0;
}

.media-thumbnail-box:hover .media-title .btn {
  display: inline;
}

.media-thumbnail-box .media-title .btn:hover {
  background-color: #dbdbdb8a;
}

.media-thumbnail-box .set-to-screen-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 28px;
  border-radius: 50px;
  padding: 3px 6px;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #dbdbdb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  gap: 4px;
  line-height: 1.3;
}

.media-thumbnail-box .set-to-screen-icon span {
  display: none;
}

.media-thumbnail-box .set-to-screen-icon:hover {
  width: auto;
}

.media-thumbnail-box .set-to-screen-icon:hover span {
  display: inline;
}

.media-options-dropdown {
  position: absolute;
  top: 10px;
  right: 10px;
  display: none;
}

.media-options-dropdown .btn {
  padding: 0;
  border-radius: 6px;
  width: 30px;
  height: 30px;
  padding: 4px;
}

.media-thumbnail-box:hover .media-options-dropdown {
  display: block;
}

.media-options-dropdown .btn:hover {
  background-color: #F7EAFF;
}

.title-input {
  border: 0;
  border-bottom: 1px solid #000;
  outline: none;
}

.breadcrumb {
  margin: 0;
}

.breadcrumb .breadcrumb-item {
  color: #262626;
  font-size: 16px;
}

.breadcrumb .breadcrumb-item a {
  color: #8C8C8C;
}
.media-details-card{
  width: 30%;
  min-height: 100%;
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  position: sticky;
  top: 0;
}
.detail-item .label{
  color: #85878B;
}
.detail-item{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 6px 0;
}
.media-viewer-wrapper{
  display: flex;
  justify-content: space-between;
  padding: 10px;
  gap: 10px;
}
.media-viewer-wrapper .media-viewer-box{
  height: calc(100vh - 265px);
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
}
.media-viewer-wrapper .media-viewer-box img{
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}
.playlist-tab-card{
  width: 30%;
  border-radius: 8px;
  border: 1px solid #E4E4E4;
}
.playlist-tab-card .nav{
  background-color: #E6E9FF;
  padding: 0 15px;
  border-bottom: 1px solid #DDDDDD;
  font-weight: 700;
}
.playlist-tab-card .nav-link{
  font-size: 14px;
  color: #1D1D1D;
}
.playlist-tab-card .nav-link.active{
  border-bottom-color: #FF99E8;
  color: #FF99E8;
}
.playlist-media-list {
  height: calc(100vh - 400px);
  overflow-y: auto;
  padding: 15px 0;
}
.playlist-media-list .dropdown-menu {
  position: fixed !important;   /* escape scroll container */
  z-index: 9999 !important;
}

.playlist-media-list .media-item .media-thumbnail-outer{
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
}
.playlist-media-list .media-item .media-thumbnail-outer img{
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.playlist-media-list .media-item{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #E3E6F2;
  position: relative;
}
.playlist-media-list .media-item .media-options-dropdown{
  position: absolute;
  top: 15px;
  right: 0;
  display: none;
  z-index: 999;
}
.playlist-media-list .media-item:hover{
  background-color: #F7F9FF;
}
.playlist-media-list .media-item:hover .media-options-dropdown{
  display: inline;
}
.playlist-media-list .media-info .media-title{
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.playlist-media-list .media-info .media-type{
  font-size: 13px;
  font-weight: 400;
  color: #85878B;
  margin: 0;
}
.playlist-outer-wrapper {
  display: flex;
  gap: 15px;
}
.playlist-media-card{
  flex-grow: 1;
  border: 1px solid #E4E4E4;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 10px;
}
.playlist-card-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.playlist-card-body{
  padding: 15px 0;
  height: 100%;
}
.empty-playlist-message{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
}
/* ================ Inner pages style ==================== */












.progress {
    background-color: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background-color: #007bff;
    transition: width 0.3s ease;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.text-xs {
    font-size: 0.75rem;
}

.upload-speed {
    font-size: 0.7rem;
}

.file-size {
    font-size: 0.7rem;
    color: #6c757d;
    margin-left: 5px;
}

.cancel-upload {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.cancel-upload:hover {
    opacity: 1;
}