html {
    scroll-behavior: smooth;
}
img{max-width: 100%;}
*{box-sizing: border-box;}
html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 16px;
    max-width: 100%;
    /* overflow-x: hidden; */
    font-weight: 400;    
    font-family: "Manrope", sans-serif;
    line-height: 1.4;
    color: var(--black);
    /* background-color: var(--white);   */
    margin: auto;  
}
a{
    text-decoration: none;
    color: inherit;
}
:root{
    --black:#050708;
    --full-black:#000000;
    --white:#FDFDFD;
    --d-grey: #8F8F90;
    --grey: #D9D9D9;
    --blue: #3457A2;
    --cyan: #8FD8E4;
}
.link{color: inherit;transition: color 250ms ease;}
.link:hover{color: #E60E2F;}
.f-16{font-size: 16px !important;}
.f-14{font-size: 14px !important;}
.f-13{font-size: 13px !important;}
.z-2{z-index: 2;}
.bold{font-weight: 700;}
.bolder{font-weight: 900;}
.light{font-weight: 300;}
.extra-light{font-weight: 200;}
.fw-normal{font-weight: 500;}
.position-relative{position: relative;}
.gradient-bg{background: linear-gradient(175deg, #FCFCFC -10.13%, #CED7E9 34.85%, #FCFCFC 79.82%);}
.black-bgg{background-image: url(../images/black-bg.jpg);background-size: cover;background-position: center;}
.box-shadow{box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.15);}
.smart-text {  mix-blend-mode: difference;}
.bg-black{background-color: var(--black);}
.bg-dblack{background-color: var(--full-black);}
.bg-wwhite{background-color: var(--white);}
.bg-blue{background-color: var(--blue);}
.bg-grey{background-color: var(--grey);}
.color-white{color: var(--white);}
.color-black{color: var(--black);}
.color-dgrey{color: var(--d-grey);}
.color-grey{color: var(--grey);}
.color-blue{color: var(--blue);}
.text-nowarp{white-space: nowrap;}
.line-14{line-height: 1.4;}
.line-15{line-height: 1.5;}
.line-16{line-height: 1.6;}
.line-20{line-height: 1.8;}
.w-70{width: 70%;}
.gap-32{gap: 32px !important;}
.gap-16{gap: 16px !important;}
.gap-8{gap: 8px !important;}
.border-none{border: none !important;}
ul{margin: 0;padding: 0;}
li{list-style: none}
h1{font-size: 90px;}
h2{font-size: 60px;}
h3{font-size: 48px;}
h4{font-size: 36px;}
h5{font-size: 28px;font-weight: 400}
h6{font-size: 21px;font-weight: 400}
.responsive-img{min-width: 100%;min-height: 100%;max-height: 80svh;object-fit: cover;transition: all 500ms ease;}
.padding-x{padding-left: 100px;padding-right: 100px;}
.padding-x-big{padding-left: 180px;padding-right: 180px;}
.padding-y{padding-top: 120px;padding-bottom: 120px;}
.padding-y-big{padding-top: 160px;padding-bottom: 160px;}
.padding-y-small{padding-top: 80px;padding-bottom: 80px;}
.p-36{padding: 36px;}
.burger-menu-icon{cursor: pointer;}





.login-sec{
  background-image: url(../images/login-bg.jpg);
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.login-tag{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 24px;
    font-size: 14px;
}
.login-logo{
    height: 32px;
}
.login-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
    gap: 24px;
    padding: 24px;
    background-color: var(--white);
    border-radius: 28px;
    width: 360px;
    box-shadow: 0px 4px 60px 0px #00000033;
}

input , select{
    border: 1px solid var(--d-grey);
    width: 100%;
    margin-bottom: 16px;
    padding: 18px 16px;
    border-radius: 16px;
    font-size: 14px;
    transition: all 500ms ease;
}
input::placeholder{
    color: var(--d-grey);
}

input:hover, input:active, input:focus,
input:hover::placeholder, input:active::placeholder, input:focus::placeholder{
    border-color: var(--black);
    color: var(--black);
    outline: none;
}

form button[type="submit"]{
    width: 100%;
    padding: 16px 24px;
    text-align: center;
    background-color: #f0f0f0;
    border-radius: 100px;
    color: var(--d-grey);
    border: none;
    outline: none;
    transition: all 500ms ease;
}
form:valid button[type="submit"]{
    background-color: var(--black);
    color: var(--white);
}
form .password-wrap{position: relative;}
form .showpwd-btn input{
    margin: 0;
    width: 20px;
    height: 20px;
    opacity: 0;
    cursor: pointer;
}
.showpwd-btn{
    position: absolute;
    width: 20px;
    height: 20px;
    top: 18px;
    right: 16px;
    cursor: pointer;
}
.showpwd-btn::before{
    content: url(../images/eye-open.png);
    position: absolute;
    inset: 0;
    user-select: none;
    pointer-events: none;
}
/* .showpwd-btn::after{
    content: url(../images/svg/eye-closed.svg);
    position: absolute;
    inset: 0;
    user-select: none;
    pointer-events: none;
    opacity: 0;
} */
/* .showpwd-btn:has(input:checked)::after{opacity: 1;} */
/* .showpwd-btn:has(input:checked)::before{opacity: 0;} */
.showpwd-btn:has(input:checked)::before{content: url(../images/svg/eye-closed.svg);}


.side-nav{
    width: fit-content;
    height: 100vh;
    background-color: var(--white);
    border-right: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
}
.side-header{
    padding: 28px 8px;
    height: 120px;
    transition: all 500ms ease;
}
.side-nav.active .side-header{ padding: 28px 32px;}
.side-menu{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.side-menu li a{
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 14px;
    gap: 12px;
    padding: 24px 20px;
    color: transparent;
    background-color: var(--white);
    width: 64px;
    overflow: hidden;
    white-space: nowrap;
    transition: all 500ms ease;
}
.side-menu li a img{min-width: 24px;}
.side-nav.active .side-menu li a{width: 315px;padding: 24px 32px;color: var(--black);}
.side-menu li a:hover{
    background-color: #f0f0f0;
}
.side-menu li.active a{background-color: var(--cyan);}
.side-menu span{
    display: flex;
    padding: 24px 32px;
    position: relative;
    width: 64px;
    color: transparent;
    white-space: nowrap;
    transition: all 500ms ease;
}
.side-nav.active .side-menu span{color: var(--d-grey);width: 315px;}
.sidebar-btn{
    width: 56px;
    height: 56px;
    border-radius: 8px;
    background-color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 4px;
    bottom: 12px;
    cursor: pointer;
    transition: all 500ms ease;
}
.side-nav.active .sidebar-btn{right: 12px;}
.sidebar-btn img{transition: all 500ms ease;transform: scaleX(1);}
.side-nav.active .sidebar-btn img{transform: scaleX(-1);}
.header-logo{display: none;}
.header-fav{display: block;}
.side-nav.active .header-logo{display: block;}
.side-nav.active .header-fav{display: none;}


.screen-wrap{
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.page-wrap{
    background-color: #f5f5f5;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.page-content{
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 24px;
    overflow-y: auto;
    flex-grow: 1;
    position: relative;
}
.page-header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px;
    height: 120px;
    border-bottom: 1px solid var(--grey);
    background-color: var(--white);
}
.add-btn{
    background-color: var(--black);
    color: var(--white);
    border-radius: 100px;
    padding: 16px 32px;
    width: 240px;
    height: 56px;
    border: none;
    outline: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.custom-select {
  position: relative;
  width: 280px;
}

.select-trigger {
  width: 100%;
  background: var(--white);
  border: none;
  border-radius: 12px;
  padding: 17px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 500ms ease;
}

.select-trigger:hover {
  background: var(--grey);
}

.caret {
  transition: transform 0.2s ease;
}

.custom-select.open .caret {
  transform: scaleY(-1);
}

.select-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  padding: 6px;
  margin: 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
}

.custom-select.open .select-options {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.select-options li {
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
}

.select-options li:hover {
  background: #f2f4f7;
}
.filter-wrap{
    display: flex;
    flex-direction: row;
    gap: 16px;
    position: sticky;
    left: 0;
}


.listing-table{border-radius: 16px;overflow: hidden;}
.listing-table th{
    font-size: 14px;
    font-weight: 700;
    padding: 16px 32px;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey);
    white-space: nowrap;
}
.listing-table td{
    padding: 8px 32px;
    background-color: var(--white);
    border-bottom: 1px solid var(--grey);
    white-space: nowrap;
}
.sort-number{
    border: 1px solid var(--grey);
    height: 32px;
    width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    margin-left: 8px;
}
.listing-table tr.hidden td{background-color: #f0f0f0;}
.list-img{
    border-radius: 16px;
    width: 180px;
    min-width: 180px;
    height: 120px;
    object-fit: cover;
}
.action-btn{
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
}
.hide-btn::before{
    content: url(../images/eye-open-w.png);
    height: 20px;
    width: 20px;
}
.hide-btn{background-color: #1BA169;}
.edit-btn{background-color: var(--black);}
.delete-btn{background-color: #EF1A28;}

.hide-btn.hidden::before{
    content: url(../images/svg/eye-closed-w.svg);
}
.hide-btn.hidden{background-color: #C1C1C1;}

.bottom-modal {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2000;
}

.bottom-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* CENTERING MAGIC */
.bottom-modal-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 100vh));
  width: 912px;
  max-width: calc(100% - 32px);
  background: #fff;
  border-radius: 28px;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}
.close-modal{
    background: none;
    border: none;
    outline: none;
}
/* OPEN STATE */
.bottom-modal.open {
  pointer-events: auto;
}

.bottom-modal.open .bottom-modal-overlay {
  opacity: 1;
}

.bottom-modal.open .bottom-modal-panel {
  transform: translate(-50%, -50%);
}
.bottom-modal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
}
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  background-image: url(../images/svg/chevron-down.svg);
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.bottom-modal label{width: 100%;}
.bottom-modal label input , .bottom-modal label select{margin-top: 8px;}
.bottom-modal label , .contact-wrap label{
    font-size: 14px;
    font-weight: 700;
}
.muted{
    color: var(--d-grey) !important;
}

.image-drop {
  display: flex;
  border: 1px dashed var(--d-grey);
  border-radius: 20px;
  width: 100%;
  height: 136px;
  padding: 16px;
  text-align: center;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  margin-bottom: 15%;
}

.image-drop:hover {
  border-color: #9ca3af;
  background: #fafafa;
}

.image-drop.dragging {
  border-color: #6366f1;
  background: #eef2ff;
}

.image-drop-content {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--d-grey);
  font-size: 14px;
}

.image-drop-content .plus {
  font-size: 20px;
  font-weight: 300;
}
.modal-content-wrap{padding: 0 24px;}
.bottom-modal-footer{
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding: 24px;
    border-top: 1px solid var(--grey);
}
.bottom-modal-footer .close-modal{
    width: 100%;
    border: 1px solid var(--black);
    border-radius: 100px;
}

.bottom-modal.work-modal .bottom-modal-panel{width: 912px;}
.bottom-modal.artist-modal .bottom-modal-panel{width: 600px;}
.bottom-modal.artist-modal .bottom-modal-footer{border-top: none;}










.contact-wrap{
    border-radius: 16px;
    background-color: var(--white);
}
.border-left{
    border-left: 1px solid var(--grey);
}
.contact-bottom{
    border-top:  1px solid var(--grey);
    padding: 32px;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.contact-bottom button{
    width: 240px;
    max-width: 240px;
}
.contact-bottom .cancel-btn{
    border: 1px solid var(--black);
    border-radius: 100px;
    background: none;
    outline: none;
    border-radius: 100px;
}

@media (max-width: 991px) {
  h5{font-size: 18px;}
  .add-btn{min-width: 120px;width: fit-content;font-size: 12px;height: fit-content;padding: 8px 16px;white-space: nowrap;gap: 16px;}
  .page-header{height: 60px;}
  .side-header{height: 60px;}
  .header-logo , .header-fav{height: 32px;}
  .side-header{padding: 16px;}
  .side-nav.active .side-header{padding: 16px 32px;}
}
@media (max-width: 767px) {
  .bottom-modal-panel {
    width: 100%;
    max-height: 90vh;
    height: fit-content;
    border-radius: 20px;
    top: 50%;
    bottom: 0;
    transform: translate(-50% , 100vh);
  }

  .bottom-modal.open .bottom-modal-panel {
    transform: translate(-50% , -50%);
  }
  body{font-size: 14px;}
  .contact-bottom .cancel-btn , .contact-bottom button{width: 50% !important;padding: 8px 16px !important;max-width: unset;}
  .page-content{padding: 16px;gap: 12px;}
  .select-trigger{padding: 8px 24px;}
  .login-tag , input , select , .side-menu li a , .select-options li ,  .listing-table th , .bottom-modal label , .contact-wrap label , .image-drop-content{font-size: 12px;}
  .list-img{width: 120px;min-width: 120px;height: 80px;}
  .listing-table td{padding: 6px 12px;}
  .p-36 , .contact-bottom , .bottom-modal-footer , .bottom-modal-header , .page-header{padding: 16px;}
  .modal-content-wrap{padding: 0 16px;}
  .image-drop{margin-bottom: 8px;}

}
/* --- Better uploader --- */
	.fs-uploader input[type="file"]{ position:absolute; width:1px; height:1px; opacity:0; pointer-events:none; }
    .fs-thumb-grid{ display:grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap:12px; margin-top:12px; }
    .fs-thumb{ position:relative; width:78px; height:78px; border-radius:12px; overflow:hidden; border:1px solid rgba(0,0,0,.08); box-shadow:0 2px 8px rgba(0,0,0,.06); background:#fff; }
    .fs-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
    .fs-remove{ position:absolute; top:6px; right:6px; width:24px; height:24px; border-radius:999px; border:0; cursor:pointer; background:rgba(0,0,0,.55); color:#fff; line-height:24px; font-size:14px; }
    .fs-meta-row{ display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; }
    .fs-meta-text{ font-size:13px; opacity:.75; }
    .fs-clear-btn{ background:transparent; border:0; padding:0; font-size:13px; text-decoration:underline; cursor:pointer; opacity:.85; }
    .fs-progress-wrap{ margin-top:14px; display:flex; align-items:center; gap:12px; }
    .fs-progress-text{ font-size:13px; opacity:.75; min-width:40px; text-align:right; }
    .video-list{ display:flex; flex-direction:column; gap:8px; margin-top:12px; }
    .video-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:1px solid rgba(0,0,0,.08); border-radius:12px; }
    .video-name{ font-size:13px; font-weight:600; }
    .video-size{ font-size:12px; opacity:.7; }
    .video-remove{ border:0; background:transparent; text-decoration:underline; cursor:pointer; font-size:13px; }
.sort-cell{ align-items:center; gap:10px; }
  .drag-handle{ cursor: grab; opacity:.75; }
  .drag-handle:active{ cursor: grabbing; }
  .sort-input{
    width:52px; height:36px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:10px;
    text-align:center;
    font-weight:600;
    outline:none;
    background:#fff;
  }
  .sort-input:disabled{ opacity:.5; background:#f5f5f5; }
  
.sortable-ghost{ opacity:.35; }
.sortable-chosen{ background: rgba(0,0,0,.03); }
  .drag-handle{
  cursor:grab;
  user-select:none;
  opacity:.7;
  text-align:center;
  font-size:16px;
}
.drag-disabled{
  opacity:.25;
  -webkit-user-drag: none;
  user-select:none;
}