@font-face {
  font-family: FontelloCustom;
  src: url("fonts/fontello.ttf");
}
body {
  margin: 0;
  padding: 0;
  background-color: #14141a;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #cccccc;
  font-weight: 600;
}

/* NEW: Top Horizontal Menu Styles */
.top-horizontal-menu {
  background: linear-gradient(135deg, #0a1929 0%, #1a2942 100%);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid #164f75;
}

.top-menu-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.top-menu-brand {
  font-size: 150%;
  font-weight: 700;
  color: #ffffff;
  opacity: 0.9;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.top-menu-items {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.top-menu-link {
  color: #d0e0f0;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 95%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.top-menu-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #164f75 0%, #1a5f8a 100%);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  z-index: -1;
}

.top-menu-link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.top-menu-link:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.top-menu-logout {
  background: linear-gradient(135deg, #8e392d 0%, #a84438 100%);
  color: #ffffff;
  margin-left: 0.6rem;
  box-shadow: 0 2px 8px rgba(142, 57, 45, 0.3);
}

.top-menu-logout::before {
  background: linear-gradient(135deg, #a84438 0%, #c54f42 100%);
}
/* END: Top Horizontal Menu Styles */

#MsgWindow {
  width: 18rem;
  background-color: #ffffff;
  color: #000000;
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 7;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  padding-right: 1rem;
  border-radius: 16px;
  font-size: 115%;
  font-weight: 400;
  transform: translate(0, 50%) scale(0.5);
  opacity: 50%;
  -moz-transition-duration: 120ms;
  -webkit-transition-duration: 120ms;
  -o-transition-duration: 120ms;
  transition-duration: 120ms;
}
.inline-block-wrp {
  display: inline-block;
}
header {
  background-color: #141414;
}
.topbar {
  background-color: #1a1c24;
  padding: 0 5%;
  font-size: 110%;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-weight: 400;
}
#select-category-wrp {
  border-radius: 8px;
  background-color: #14141a;
  width: max-content;
  padding: 0 0.3em;
  display: flex;
  align-items: center;
}
#topbar-select-category-label {
  min-width: max-content;
  padding: 0 1.2em;
}
#topbar-selected-category {
  margin: 0.3em 0;
  padding: 0.3em 0.6em;
  background-color: #164f75;
  color: #ffffff;
  border-radius: 8px;
  width: 100%;
  text-align: center;
}
#category-selectors-wrp {
  font-size: 110%;
  margin: 0 5%;
  padding: 0.6em 0;
  background-color: #1a1c24;
  display: flex;
  align-items: center;
  position: relative;
}
.arrow {
  text-shadow: 0 0 3px;
  width: 2em;
  text-align: center;
  cursor: pointer;
  font-size: 125%;
  font-family: monospace;
}
.categories-scrollable-slider {
  width: 100%;
  overflow: scroll hidden;
  scrollbar-width: none;
  height: 100%;
}
.categories-scrollable-list {
  width: max-content;
}
.category-selector {
  min-width: 5em;
  width: fit-content;
  padding: 0.3rem 0.6em;
  text-align: center;
  background-color: #164f75;
  box-shadow: none;
  font-weight: 400;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  margin: 0 0.9rem;
}
.searchbar-wrp {
  margin: 0.3em 5%;
  width: 90%;
  background-color: #0e0e12;
  border-radius: 8px;
  display: flex;
  gap: 0.9em;
  padding: 0.6em;
  box-sizing: border-box;
  text-align: center;
}
#search-find-videos {
  height: 2.5rem;
  width: 100%;
  border-radius: 4px;
  background-color: #091a2a;
  font-weight: 400;
  border: solid #0c5873 2px;
  color: #cccccc;
  padding: 0 1.8em;
  box-sizing: border-box;
  outline: none;
  font-size: 110%;
}
#reset-filter-btn {
  height: 2.5rem;
  padding: 0 1.5em;
  border-radius: 4px;
  background: linear-gradient(-45deg, #45d0b0, #4cc2e2);
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 100%;
  white-space: nowrap;
  transition: opacity 0.2s;
}
#reset-filter-btn:hover {
  opacity: 0.85;
}

#image-preview-window {
  position: relative;
  margin: 1em 5%;
  padding: 0.6em 0.9em;
  background-color: #0e0e12;
  border-radius: 8px;
  width: 90%;
  box-sizing: border-box;
  display: none;
  gap: 8%;
  justify-content: center;
}
#video-playback-window {
  position: relative;
  margin: 1em 5%;
  padding: 0.6em 0.9em;
  background-color: #0e0e12;
  border-radius: 8px;
  width: 90%;
  box-sizing: border-box;
  display: none;
  gap: 8%;
  justify-content: center;
}
#video-playback-xbutton,
#pw-infobtn-wrp {
  position: absolute;
  padding: 0.9em 1.2em;
}
#video-playback-xbutton {
  right: 0;
  top: 0;
  cursor: pointer;
  color: #ffafaf;
}
#pw-infobtn-wrp {
  right: 0;
  bottom: 0;
}
.pw-video-infos-playback-section {
  position: relative;
}
.video-top-infos {
  display: flex;
  margin: 0.6em 0;
  align-items: center;
  height: 2rem;
}
#pw-video-title {
  margin: auto;
}
#pw-video-size {
  margin-left: auto;
}
.video-playback-wrp {
  text-align: center;
  width: max-content;
}
#video-player {
  max-width: 100%;
  max-height: 360px;
  height: 24vw;
  margin: auto;
}
.pw-download-btn-wrp {
  margin-bottom: 3em;
}
.pw-download-txt {
  padding: 0.6rem 0;
  font-size: 90%;
}
.pw-download-txt:empty {
  padding: 0;
}
.pw-download-btn {
  background-color: #323232;
  cursor: pointer;
  position: relative;
  padding: 0 4rem 0 1rem;
  height: 3rem;
  display: flex;
  align-items: center;
}
.pw-download-btn::after {
  position: absolute;
  content: "\f02e";
  right: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(-45deg, #45d0b0, #4cc2e2);
  color: #ffffff;
  font-family: "FontelloCustom";
  font-weight: 300;
  font-size: 145%;
}
#video-playback-window[data-v-file2=""] #pw-download-video2-wrp,
#video-playback-window[data-v-pngseqdl=""] #pw-download-pngseq-wrp,
#video-playback-window[data-v-pngseqdl2=""] #pw-download-pngseq2-wrp {
  display: none;
}
#playback-other-videos-filter-selector {
  margin-top: 0.6rem;
  font-weight: 400;
  padding: 0.3em 5%;
}
.prvs-tab {
  display: inline-block;
  margin-right: 1.2em;
  margin-top: 0.6em;
  padding: 0.6em 2.4em 0.6em 0.9em;
  background-color: #112238;
  border-radius: 8px;
  color: #ffffffb0;
  cursor: pointer;
}
.prvs-selected {
  background-color: #8e392d;
  background-color: #2b568d;
  color: #ffffff;
}
/* window general styling */
.window-wrp {
  position: fixed;
  z-index: 1;
  text-align: center;
  width: 100%;
  height: 100%;
  background-color: #02020250;
  display: none;
}
.window-modal {
  transform: translateY(-50%);
  position: relative;
  top: 50%;
  background-color: #1c1c1c;
  width: max-content;
  max-width: 100%;
  padding: 1.2em 1.8em;
  margin: auto;
  border-radius: 8px;
}
.window-modal-top {
  display: flex;
  align-items: center;
  margin-bottom: 0.9em;
  font-size: 150%;
}
.window-modal-title,
.window-modal-xbtn {
  display: inline-block;
}
.window-modal-xbtn {
  margin-left: auto;
  cursor: pointer;
}
/* Popup window styling */
.promptpopup-window-wrp {
  display: block;
  top: 0;
  left: 0;
}
.promptpopup-window {
  transform: translateY(-50%) scale(0.8);
  opacity: 0.5;
  position: relative;
  top: 50%;
  margin: auto;
  text-align: left;
  width: 28em;
  padding: 1.2em 1.8em;
  background-color: #1c1c1c;
  border-radius: 8px;
  transition-duration: 120ms;
}
.promptpopup-window h2 {
  margin-top: 0;
  font-weight: 400;
}
.promptpopup-window p {
  margin: 1.4em 0;
}
.promptpopup-options-wrp,
.promptpopup-cancel-btn-wrp {
  display: inline;
}
.promptpopup-option-btn {
  margin-right: 0.6em;
  background-color: transparent;
  border: solid 2px #cfcfcf;
  border-radius: 4px;
  cursor: pointer;
  color: #ffffff;
  font-family: Arial;
  display: inline-block;
  font-weight: 400;
  padding: 0.3em 0.6em;
}
/* Login window */
#Login-Window {
  font-size: 100%;
}
.Login-Inputs-Wrp {
  margin: 0.9em 0;
}
.Login-Window-Wrapper/*input wrp*/ {
  margin: 0.6em 0;
}
#Login-Username-Input,
#Login-Password-Input {
  background-color: transparent;
  border: solid #cccccc 3px;
  border-radius: 4px;
  padding: 0.3em 0.6em;
  box-sizing: border-box;
  outline: none;
  color: #ffffff;
  font-size: 100%;
}
#forgotpassword {
  cursor: pointer;
  margin: 0.3em 0;
}
#Login-Btn {
  cursor: pointer;
  appearance: none;
  border: none;
  padding: 0.3em 0.9em;
  font-size: 100%;
}
/* Upload window */
.upload-window {
  box-sizing: border-box;
  overflow: hidden scroll;
  max-height: 95%;
}
#videoUploadForm {
  display: table;
  width: 38em;
  max-width: 100%;
  text-align: left;
}

#imageUploadForm {
  display: table;
  width: 38em;
  max-width: 100%;
  text-align: left;
}

#imageUploadForm label {
  width: 50%;
  display: table-cell;
  padding: 0.6em 0;
}
.upload-window-input-wrp {
  display: table-row;
}

.upload-window-input-wrp1 {
  display: table-row;
}

#videoUploadForm label {
  width: 50%;
  display: table-cell;
  padding: 0.6em 0;
}
.uploadform-box-field {
  display: table-cell;
  outline: none;
  background-color: #141414;
  border: solid #cfcfcf 1px;
  border-radius: 8px;
  font-size: 100%;
  color: #ffffff;
  padding: 0.3em 0.6em;
}
#uploadWindowNewCatName {
  display: none;
}
bodycontent {
  margin: 1em 5%;
  padding: 0.6em 0.9em;
  display: block;
  background-color: #0e0e12;
  border-radius: 8px;
}
.video-thumb {
  display: inline-block;
  width: fit-content;
  text-align: center;
  font-size: 105%;
  cursor: pointer;
  padding: 0.6em;
}
.video-thumb-image-loopicon-wrp {
  width: 7em;
  height: 7em;
  position: relative;
}
.video-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* loop icons */
.simpleloopicon,
.video-thumb-loop,
.video-pw-loop {
  font-family: FontelloCustom;
}
.redcolor {
  color: #ff0000;
}
.greencolor {
  color: #00ff00;
}
.video-thumb-loop {
  position: absolute;
  top: 0;
  right: 0;
  width: 1.5em;
  height: 1.5em;
  background-color: #020202;
  font-weight: 300;
}
.video-pw-loop {
  margin-right: auto;
  width: 1.5em;
  height: 1.5em;
  background-color: #020202;
  font-size: 125%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 300;
}
.video-thumb[data-v-isloop="0"] .video-thumb-loop,
#video-playback-window[data-v-isloop="0"] .video-pw-loop {
  color: #ff0000;
}
.video-thumb[data-v-isloop="1"] .video-thumb-loop,
#video-playback-window[data-v-isloop="1"] .video-pw-loop {
  color: #00ff00;
}
.video-thumb-title {
  padding: 0.15em 0;
  max-width: 7em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.video-thumb-mgmt-btns-wrp {
  font-size: 60%;
}
.video-thumb-mgmt-btn {
  display: inline-block;
  margin: 0 0.3em;
}
@media all and (max-width: 900px) {
  .top-menu-container {
    flex-direction: column;
    height: auto;
    padding: 1rem 5%;
    gap: 1rem;
  }

  .top-menu-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .top-menu-link {
    padding: 0.5rem 1rem;
    font-size: 90%;
  }

  .topbar {
    flex-direction: column-reverse;
  }
  #category-selectors-wrp {
    margin: 0;
    padding-left: 5%;
    padding-right: 5%;
  }
  #video-playback-window {
    flex-direction: column;
  }
  #video-player {
    height: auto;
    max-width: calc(100vw - 1.8em);
  }
  .upload-window {
    padding-left: 5%;
    padding-right: 5%;
  }
  .promptpopup-window {
    max-width: 100%;
    box-sizing: border-box;
  }
  #video-playback-xbutton {
    padding: 0.3em;
    width: max-content;
    position: relative;
  }
}
/* info icons */
.info-btn {
  position: relative;
}
.info-ico {
  background-color: #ffffff20;
  color: #cccccc;
  width: 1.8em;
  height: 1.8em;
  line-height: 2;
  text-align: center;
  border-radius: 64px;
  font-family: sans-serif;
  cursor: pointer;
}
.info-box {
  position: absolute;
  width: 16rem;
  font-size: 90%;
  /* changed dynamically via js */
  right: 0;
  bottom: calc(100% + 0.9rem);
  z-index: 1;
  background-color: #212124;
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  display: none;
}

/* upload status bar */
.status-bar-wrp {
  height: 0.3em;
  width: 90%;
  margin: 0.3em auto;
  background-color: #070709a0;
  border-radius: 4px;
  overflow: hidden;
  display: none;
}
.status-bar {
  height: 100%;
  background-color: #3990ca;
  transition-duration: 160ms;
}

/* ===================== */
/* CONTENT TYPE TABS */
/* ===================== */

#content-type-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px 0;
  background: #0f0f1e;
  border-bottom: 2px solid #1a1a2e;
}

.content-tab {
  padding: 10px 30px;
  background: #1a1a2e;
  color: #ccc;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  font-weight: 500;
}

.content-tab:hover {
  background: #252540;
  color: #fff;
}

.content-tab-active {
  background: #4caf50;
  color: #fff;
}

/* ===================== */
/* IMAGE SECTION STYLES */
/* ===================== */

/* Image Upload Window */
#upload-image-window-wrp {
  display: none;
}

#uploadImageWindowNewCatName {
  display: none;
}

/* Image Thumbnails (reuse video-thumb class) */
bodycontent .image-thumb {
  width: 220px;
  background: #1a1a2e;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  display: inline-block;
  margin: 10px;
}

bodycontent .image-thumb:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

bodycontent .image-thumb .video-thumb-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

bodycontent .image-thumb:hover .video-thumb-image {
  opacity: 0.9;
}

/* Image Preview Window */
#image-preview-window {
  position: relative;
  margin: 1em 5%;
  padding: 0.6em 0.9em;
  background-color: #0e0e12;
  border-radius: 8px;
  width: 90%;
  box-sizing: border-box;
  display: none;
  gap: 8%;
  justify-content: center;
}

#image-preview-xbutton {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  color: #ffafaf;
  padding: 0.9em 1.2em;
}

#pw-infobtn-wrp-image {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 0.9em 1.2em;
}

.pw-image-infos-preview-section {
  position: relative;
}

.image-preview-wrp {
  text-align: center;
  width: max-content;
}

#preview-image-src {
  max-width: 100%;
  max-height: 360px;
  height: 24vw;
  margin: auto;
  object-fit: contain;
  border-radius: 5px;
}

.image-pw-txt-info {
  color: #fff;
  font-size: 16px;
}

/* Download section for images */
#image-preview-window .pw-downloads-section {
  /* Inherits from video playback downloads section */
}

#image-preview-window[data-img-pngseq=""] #pw-download-image-pngseq-wrp {
  display: none;
}

/* Admin buttons on image thumbnails */
.image-thumb .video-thumb-mgmt-btns-wrp {
  position: absolute;
  bottom: 45px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.image-thumb:hover .video-thumb-mgmt-btns-wrp {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  bodycontent .image-thumb {
    width: calc(50% - 20px);
    min-width: 150px;
  }

  .content-tab {
    padding: 8px 20px;
    font-size: 14px;
  }

  .image-preview-content {
    padding: 60px 10px 10px;
  }

  .image-preview-content img {
    max-width: 95%;
    max-height: 60vh;
  }

  .image-preview-info {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  bodycontent .image-thumb {
    width: 100%;
  }

  .image-thumb .video-thumb-image {
    height: 200px;
  }

  #content-type-tabs {
    gap: 5px;
    padding: 10px 0;
  }

  .content-tab {
    padding: 8px 15px;
    font-size: 13px;
  }
}
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #2ecc71;
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 1em;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  opacity: 0;
  animation: fadeInOut 3s forwards;
  z-index: 3000;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}


        #OTP-Window-Wrp {
            display: none;
        }

        #OTP-Input {
            font-size: 24px;
            letter-spacing: 8px;
            text-align: center;
            font-weight: bold;
        }

        #OTP-Input::placeholder {
            letter-spacing: normal !important;
            opacity: 0.6;
        }

        #otp-countdown {
            font-weight: bold;
            color: #4CAF50;
        }

        #OTP-Verify-Btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        #OTP-Verify-Btn {
            width: 100%;
            max-width: 260px;
            padding: 14px;
            margin: 15px auto 0 auto;
            display: block;
            background: linear-gradient(135deg, #4B7BEC, #3867D6);
            color: #fff;
            font-size: 17px;
            font-weight: 600;
            border: none;
            border-radius: 12px;
            cursor: pointer;
            transition: 0.25s ease;
            box-shadow: 0 4px 12px rgba(75, 123, 236, 0.35);
        }

        #OTP-Verify-Btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 18px rgba(75, 123, 236, 0.45);
        }

        #OTP-Verify-Btn:active {
            transform: scale(0.96);
        }

        @media(max-width: 420px) {
            #OTP-Verify-Btn {
                font-size: 16px;
                padding: 12px;
                max-width: 100%;
            }
        }

        /* ===================== */
        /* CONTENT TYPE TABS */
        /* ===================== */

        #content-type-tabs {
            display: flex;
            justify-content: center;
            gap: 10px;
            padding: 15px 0;
            background: #0f0f1e;
            border-bottom: 2px solid #1a1a2e;
        }

        .content-tab {
            padding: 10px 30px;
            background: #1a1a2e;
            color: #ccc;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 16px;
            font-weight: 500;
        }

        .content-tab:hover {
            background: #252540;
            color: #fff;
        }

        .content-tab-active {
            background: #4CAF50;
            color: #fff;
        }

        /* ===================== */
        /* IMAGE SECTION STYLES */
        /* ===================== */

        /* Image Upload Window */
        #upload-image-window-wrp {
            display: none;
        }

        #uploadImageWindowNewCatName {
            display: none;
        }

        /* Image Thumbnails (reuse video-thumb class) */
        bodycontent .image-thumb {
            width: 220px;
            background: #1a1a2e;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            position: relative;
            display: inline-block;
            margin: 10px;
        }

        bodycontent .image-thumb:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
        }

        bodycontent .image-thumb .video-thumb-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
            transition: opacity 0.3s ease;
        }

        bodycontent .image-thumb:hover .video-thumb-image {
            opacity: 0.9;
        }

        /* Image Preview Window */
        #image-preview-window {
            position: relative;
            margin: 1em 5%;
            padding: 0.6em 0.9em;
            background-color: #0e0e12;
            border-radius: 8px;
            width: 90%;
            box-sizing: border-box;
            display: none;
            gap: 8%;
            justify-content: center;
        }

        #image-preview-xbutton {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px 20px;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            transition: background 0.3s ease;
            z-index: 10;
        }

        #image-preview-xbutton:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .image-preview-content {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 80px 20px 20px;
            min-height: 60vh;
            flex-grow: 1;
        }

        .image-preview-content img {
            max-width: 90%;
            max-height: 70vh;
            object-fit: contain;
            border-radius: 5px;
            box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
        }

        .image-preview-info {
            padding: 20px;
            background: #1a1a2e;
            color: #ccc;
            font-size: 16px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: 20px;
            border-top: 2px solid #0f0f1e;
        }

        .image-pw-txt-info {
            color: #fff;
            font-size: 16px;
        }

        /* Download section for images */
        #image-preview-window .pw-downloads-section {
            /* background: #16213e; */
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        #image-preview-window .pw-download-btn-wrp {
            display: flex;
            justify-content: center;
        }

        #pw-download-image-pngseq-wrp {
            display: none;
        }

        /* Admin buttons on image thumbnails */
        .image-thumb .video-thumb-mgmt-btns-wrp {
            position: absolute;
            bottom: 45px;
            left: 0;
            right: 0;
            display: flex;
            justify-content: center;
            gap: 10px;
            opacity: 0;
            transition: opacity 0.3s ease;
            padding: 10px;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
        }

        .image-thumb:hover .video-thumb-mgmt-btns-wrp {
            opacity: 1;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            bodycontent .image-thumb {
                width: calc(50% - 20px);
                min-width: 150px;
            }

            .content-tab {
                padding: 8px 20px;
                font-size: 14px;
            }

            .image-preview-content {
                padding: 60px 10px 10px;
            }

            .image-preview-content img {
                max-width: 95%;
                max-height: 60vh;
            }

            .image-preview-info {
                flex-direction: column;
                gap: 10px;
            }
        }

        @media (max-width: 480px) {
            bodycontent .image-thumb {
                width: 100%;
            }

            .image-thumb .video-thumb-image {
                height: 200px;
            }

            #content-type-tabs {
                gap: 5px;
                padding: 10px 0;
            }

            .content-tab {
                padding: 8px 15px;
                font-size: 13px;
            }
        }
    
 

  /* Announcement bar */
  .announcement {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 10px 0px;
    text-align: center;
    font-size: 0.95em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap; /* responsive */
    position: relative;
    z-index: 1000;
  }

  .announcement a {
    color: #cfcfcf;
    font-weight: 600;
    cursor: pointer;
  }

  .announcement a:hover {
    color: #4da3ff;
  }

  /* ADMIN EDIT BUTTON (icon + text + highlighted) */
  .admin-edit-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #2563eb;
    color: white;
    padding: 4px 10px;
    border-radius: 5px;
    border: none;
    font-size: 0.85em;
    font-weight: 600;
    cursor: pointer;
  }

  .admin-edit-btn:hover {
    background: #1d4ed8;
  }

  .admin-edit-btn i {
    font-style: normal;
    font-size: 1.1em;
  }

  /* Collapsible Section (Black BG) */
  .news-panel {
    display: none;
    width: 100%;
    background: #000000;
    color: #ffffff;
    padding: 30px 20px;
    animation: slideDown 0.25s ease;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    z-index: 999;
  }

  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .close-news {
    position: absolute;
    top: 12px;
    right: 20px;
    border: none;
    background: none;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
  }

  .close-news:hover {
    color: #ff3b3b;
  }

  .news-content {
    max-width: 850px;
    margin: 0 auto;
  }

  .news-content h3 {
    font-size: 1.6em;
    margin: 0 0 10px 0;
  }

  .news-content p {
    font-size: 1.05em;
    line-height: 1.6;
    color: #dddddd;
  }

  .news-content a {
    color: #4da3ff;
  }

  .news-content a:hover {
    text-decoration: underline;
  }

  /* Admin Popup Background */
  .popup-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
  }

  /* Popup Box */
  .popup-box {
    background: #111827;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    color: white;
  }

  .popup-box input, .popup-box textarea {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 12px;
    padding: 8px;
    background: #1f2937;
    border: none;
    border-radius: 4px;
    color: white;
  }

  .popup-btn {
    width: 100%;
    padding: 10px;
    border: none;
    background: #2563eb;
    color: white;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
  }

  .popup-btn:hover {
    background: #1d4ed8;
  }

  .close-popup {
    margin-top: 8px;
    background: #ef4444;
  }

  .close-popup:hover {
    background: #dc2626;
  }


