/* Styles from register.htm */
  .vh-100 {
    height: 100vh;
  }
  .h-custom-2 {
    height: 100%;
  }
  .bg-image-vertical {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg'); /* Initial image */
  }

  .account-auth-section {
    min-height: 100vh;
  }

  .account-auth-section .bg-image-vertical {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: transparent;
    min-height: 100%;
  }

  @media (max-width: 1024px) {
    .account-auth-section .bg-image-vertical {
      min-height: 320px;
    }
  }
  .form-container {
    max-width: 600px; /* Adjust for larger screens */
    margin: auto;
    padding-top: 20px;
  }
  .row.custom-flex-fill {
    flex: 1;
    padding: 0; /* Custom padding for this specific row */
    margin-bottom: 0; /* Updated margin-bottom to 0 */
  }
  .logo-container {
    text-align: center;
  }
  .logo-container img {
    max-width: 200px; /* Adjust size as needed */
    cursor: pointer;
    box-shadow: none;
    filter: none;
  }

  .no-shadow {
    box-shadow: none !important;
    filter: none !important;
  }
  .password-wrapper {
    position: relative;
  }
  .show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .form-control {
    font-size: 0.875rem; /* Smaller text size */
  }
  .password-instructions, .form-check {
    width: 100%;
  }
  @media (max-width: 1024px) {
    .bg-image-vertical {
      height: 50vh; /* Reduce height on smaller screens */
      width: 100%; /* Take full width of the screen */
      float: none; /* Cancel any floating properties */
    }
  }
@media (min-width: 1025px) {
      .bg-image-vertical {
        width: 50%;
        float: right;
      }
    }


/* Video watch experience */
.watch-page {
  padding: clamp(1.5rem, 4vw, 3rem) 0;
  background: var(--bs-body-bg, #ffffff);
  color: var(--bs-body-color, #111827);
}

.watch-page__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.watch-page__main {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.watch-page__sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.watch-player {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.watch-player__stage {
  position: relative;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.watch-player__stage--vertical {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin: 0 auto;
}

.watch-player__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.watch-player__body {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.watch-player__header {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.watch-player__category {
  align-self: flex-start;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
}

.watch-player__title {
  font-weight: 700;
  color: #101828;
  text-align: left;
}

.watch-player__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: #6b7280;
  font-size: 0.95rem;
  text-align: left;
}

.watch-player__stats i {
  color: #475467;
}

.watch-player__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.watch-player__action [data-like-button] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.watch-player__icon {
  border: none;
  background: rgba(15, 23, 42, 0.06);
  color: #1d2939;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.watch-player__icon:hover,
.watch-player__icon:focus {
  background: rgba(29, 41, 57, 0.16);
  transform: translateY(-2px);
}

.watch-player__description {
  color: #475467;
  line-height: 1.7;
  text-align: left;
}

.watch-comments {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.06);
}

.watch-comments__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.watch-comments__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
}

.watch-access {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.watch-access__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: left;
}

.watch-access__price-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.watch-access__price {
  font-size: 2rem;
  font-weight: 700;
  color: #101828;
}

.watch-access__price--included {
  font-size: 1.1rem;
  font-weight: 600;
}

.watch-access__tag {
  align-self: flex-start;
  font-weight: 600;
}

.watch-access__note {
  font-size: 0.95rem;
  line-height: 1.6;
}

.watch-access__status {
  align-self: flex-start;
  font-weight: 600;
}

.watch-upnext {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}

.watch-upnext__header {
  padding: 1.5rem 1.5rem 0.75rem;
  text-align: left;
}

.watch-upnext__title {
  font-weight: 700;
  color: #101828;
  text-align: left;
}

.watch-upnext__subtitle {
  color: #667085;
}

.watch-upnext__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.watch-upnext__item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.6rem;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease, transform 0.2s ease;
  text-align: left;
}

.watch-upnext__item:hover,
.watch-upnext__item:focus {
  background: rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.watch-upnext__thumb {
  flex: 0 0 120px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
}

.watch-upnext__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.watch-upnext__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.watch-upnext__item-title {
  font-weight: 600;
  color: #1d2939;
  word-break: break-word;
}

.watch-upnext__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.watch-upnext__stat {
  display: inline-flex;
  align-items: center;
}

.watch-upnext__badge {
  align-self: flex-start;
  font-weight: 600;
}

.autoplay-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  text-align: left;
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
  border-radius: inherit;
}

.autoplay-overlay__inner {
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.autoplay-overlay__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 1rem;
}

.autoplay-overlay__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.autoplay-overlay__countdown {
  font-weight: 600;
}

.autoplay-overlay__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}

.autoplay-overlay__stat {
  display: inline-flex;
  align-items: center;
}

.autoplay-overlay__preview {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  align-items: center;
}

.autoplay-overlay__thumb {
  flex: 0 0 120px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.autoplay-overlay__thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.autoplay-overlay__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.autoplay-overlay__progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.autoplay-overlay__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  transition: width 0.3s ease;
}

.autoplay-overlay__actions {
  display: flex;
  gap: 0.75rem;
}

.watch-page--short .watch-player__stage {
  background: #000000;
}

.watch-page--short .watch-player__stage:not(.watch-player__stage--vertical) {
  aspect-ratio: 9 / 16;
  max-width: 420px;
  margin: 0 auto;
}

.watch-page--short .watch-player__body {
  text-align: left;
}

.watch-page--short .watch-player__stats {
  justify-content: flex-start;
}

@media (min-width: 992px) {
  .watch-page__container {
    flex-direction: row;
    align-items: flex-start;
  }

  .watch-page__main {
    flex: 1 1 auto;
  }

  .watch-page__sidebar {
    flex: 0 0 320px;
  }
}

@media (max-width: 767.98px) {
  .watch-player__actions {
    gap: 0.65rem;
  }

  .autoplay-overlay__preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .autoplay-overlay__thumb {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .watch-upnext__thumb {
    flex-basis: 96px;
  }

  .autoplay-overlay__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
/* Styles from account/login.htm */
    .vh-100 {
      height: 100vh;
    }
    .h-custom-2 {
      height: 100%;
    }


  .bg-image-vertical {
    background-repeat: no-repeat;
    background-position: center; /* Center the background image */
    background-size: cover; /* Cover the entire container */
    transition: background-image 1s ease-in-out;
    background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg');
  }

  @media (max-width: 1024px) {
    .bg-image-vertical {
      height: 50vh; /* Reduce height on smaller screens */
      width: 100%; /* Take full width of the screen */
      float: none; /* Cancel any floating properties */
    }
    .logo-container {
      display: block;
    }
  }

  @media (min-width: 1025px) {
    .bg-image-vertical {
      width: 50%;
      float: right;
    }
  }





    .form-container {
      max-width: 600px; /* Adjust for larger screens */
      margin: auto;
    }
    .row.custom-flex-fill {
      flex: 1;
      padding: 0; /* Custom padding for this specific row */
      margin-bottom: 0; /* Updated margin-bottom to 0 */
    }
    .logo-container {
      text-align: center;
    }
    .logo-container img {
      max-width: 200px; /* Adjust size as needed */
      cursor: pointer;
    }
    .password-wrapper {
      position: relative;
    }
    .show-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
    }
    @media (min-width: 1025px) {
      .bg-image-vertical {
        width: 50%;
        float: right;
      }
    }


/* Styles from account/password.htm */
        body {
            background-color: #f5f5f5;
        }

        .account-container {
            margin-top: 20px;
        }

        /* Horizontal Navigation Tabs */
        .nav-pills {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .nav-pills .nav-link {
            font-weight: bold;
            border-radius: 0.375rem 0.375rem 0 0;
            color: #6c757d;
            padding: 10px 15px;
            border: none;
            transition: background-color 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        .nav-pills .nav-link.active {
            background-color: #343a40;
            color: #fff;
            border-bottom: 3px solid #1d2124;
        }

        .tab-pane {
            padding-top: 20px;
        }

        .breadcrumb {
            border-radius: 0.375rem;
        }

        .card {
            border-radius: 0.375rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .card-body {
            text-align: left;
        }

        .media-card .card-title {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .media-card .card-subtitle {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 1rem;
        }

        .media-card .card-text {
            margin-bottom: 0.5rem;
        }

        .card-footer {
            background-color: #f8f9fa;
            border-top: 1px solid #e9ecef;
            text-align: center;
            font-weight: bold;
        }

        .disabled-card {
            opacity: 0.6;
            pointer-events: none;
        }

        .progress {
            height: 25px;
            margin-bottom: 20px;
        }

        .progress-bar {
            background-color: #343a40;
        }

        .progress-bar-animated {
            animation: progress-bar-stripes 1s linear infinite;
        }

        .badge-pill {
            padding: 0.5em 1em;
            border-radius: 10rem;
        }

        table {
            width: 100%;
            margin-bottom: 20px;
            border-collapse: collapse;
        }

        th, td {
            padding: 10px;
            border: 1px solid #ddd;
        }

        th {
            background-color: #343a40;
            color: #fff;
            cursor: pointer;
        }

        td {
            background-color: #f8f9fa;
        }

.support-text {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Notifications */
.notification-card .card-text {
    font-size: 1rem;
}

/* Form selects */
.form-select {
    width: auto;
    max-width: 100%;
}

/* Unified card styling */
        .card {
            border-radius: 1rem;
            box-shadow: 0 2px 8px rgba(0,0,0,0.07);
        }

        .card-img-top {
            border-top-left-radius: 1rem;
            border-top-right-radius: 1rem;
            height: 150px;
            overflow: hidden;
        }

        .card-img-top img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .card-img-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 150px;
            color: #fff;
        }

        .card-img-placeholder h2 {
            font-size: 1.2rem;
            margin: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 90%;
        }

        @media (max-width: 768px) { .card-img-placeholder h2 { font-size: 1rem; } }
        @media (max-width: 576px) { .card-img-placeholder h2 { font-size: 0.9rem; } }


/* Styles from account/index.htm */
        body { background-color: #f5f5f5; }
        .account-container { margin-top: 20px; }
        /* … your existing inline styles … */


/* Styles from down-maintenance.htm */
        /* Add your custom CSS styles here */
        body {
            background-color: #f8f9fa;
            text-align: center;

        }
        .maintenance-text {
            font-size: 24px;
        }


/* Styles from terms.htm */
    body {
      font-family: Arial, sans-serif;
      line-height: 1.6;
      margin: 20px;
      padding: 0;
      color: #333;
    }
    h1, h2, h3 {
      color: #222;
    }
    a {
      color: #0066cc;
      text-decoration: none;
    }
    a:hover {
      text-decoration: underline;
    }
    .container {
      max-width: 900px;
      margin: 0 auto;
    }
    .updated {
      font-style: italic;
      margin-bottom: 20px;
    }
    section {
      margin-bottom: 30px;
    }
    ul {
      list-style-type: disc;
      margin-left: 20px;
    }


/* Styles from ai-photos-earlyprocessing.htm */
        .card-img-top {
            height: auto; /* Make height adaptable */
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .card-img-top img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }

        .info-alert {
            margin-bottom: 20px;
            padding: 15px;
            background-color: #e9ecef;
            border-left: 5px solid #007bff;
            border-radius: 0.375rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }

        .info-alert h5 {
            margin-bottom: 10px;
            font-size: 1.25rem;
        }

        .badge {
            font-size: 0.875rem; /* Adjusted font-size for better scaling */
            line-height: 1.2;
        }

        /* Make badges and other small elements scale down on smaller devices */
        @media (max-width: 576px) {
            .card-body h5 {
                font-size: 1rem;
            }
            .card-body p {
                font-size: 0.875rem;
            }

            .breadcrumb {
                display: none;
            }

            .input-group {
                flex-direction: column;
                align-items: stretch;
            }

            .filter-dropdown {
                margin-bottom: 10px;
            }
        }

        /* Optional: Add styles for the tag filter dropdown */
        .tag-filter {
            
        }

        /* Active Filters Display */
        .active-filters {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .active-filters ul {
            list-style: none;
            padding-left: 0;
        }

        .active-filters li {
            display: inline;
            margin-right: 15px;
            font-weight: bold;
        }

        .clear-filters {
            margin-top: 10px;
        }


/* Styles from story.htm */
        main#app-content {
            overflow-y: auto;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }
        body.story-template .app-container {
            flex: 1;
            overflow-y: auto;
            padding: 0;
        }
        .loading-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.95);
            z-index: 9999;
            color: #ffffff;
            font-size: 1.5rem;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }
        .container {
            max-width: 100%;
        }
        nav.breadcrumb {
            margin-bottom: 1rem;
        }
        h1 {
            font-size: 2rem;
        }
        .storycontent {
            margin-top: 1rem;
        }
        .badge {
            font-size: 1rem;
        }
        @media (max-width: 600px) {
            .loading-container {
                font-size: 1.2rem;
            }
        }

        .storycontent .story-image-frame {
            display: block;
            width: 100%;
            margin: 2.25rem auto;
            border-radius: 1rem;
            overflow: hidden;
            background: var(--bs-card-bg, var(--bs-body-bg, #ffffff));
            border: 1px solid var(--bs-border-color-translucent, rgba(15, 23, 42, 0.06));
            box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
            line-height: 0;
            position: relative;
            transition: box-shadow 220ms ease, transform 220ms ease;
        }

        .storycontent .story-image-frame:hover {
            box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
            transform: translateY(-2px);
        }

        .storycontent .story-image {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0;
            transform: scale(1.012);
            transition: opacity 360ms ease, transform 520ms ease;
            will-change: opacity, transform;
        }

        .storycontent .story-image.is-visible {
            opacity: 1;
            transform: scale(1);
        }

        .storycontent .story-image-frame--inline {
            display: inline-flex;
            width: auto;
            max-width: 100%;
            margin: 0.75rem 0.75rem 0.75rem 0;
            border-radius: 0.75rem;
            border: none;
            box-shadow: none;
            background: transparent;
            vertical-align: middle;
            line-height: 1;
        }

        .storycontent .story-image-frame--inline .story-image {
            width: auto;
            height: auto;
            max-width: 100%;
            object-fit: contain;
            transform: none;
        }

        .storycontent img.story-image {
            display: block;
        }

        @media (prefers-reduced-motion: reduce) {
            .storycontent .story-image {
                transition: opacity 160ms ease;
                transform: none;
            }

            .storycontent .story-image-frame {
                transition: box-shadow 160ms ease;
            }

            .storycontent .story-image-frame:hover {
                transform: none;
            }
        }


/* Styles from homepage.htm */
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }


/* Styles from reset.htm */
    .vh-100 {
      height: 100vh;
    }
    .h-custom-2 {
      height: 100%;
    }
    .bg-image-vertical {
      background-repeat: no-repeat;
      background-position: right center;
      background-size: cover;
      transition: background-image 1s ease-in-out;
      background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg'); /* Initial image */
    }
    .form-container {
      max-width: 600px; /* Adjust for larger screens */
      margin: auto;
    }
    .row.custom-flex-fill {
      flex: 1;
      padding: 0; /* Custom padding for this specific row */
      margin-bottom: 0; /* Updated margin-bottom to 0 */
    }
    .logo-container {
      text-align: center;
    }
    .logo-container img {
      max-width: 200px; /* Adjust size as needed */
      cursor: pointer;
    }
    .password-wrapper {
      position: relative;
    }
    .show-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
    }
    @media (min-width: 1025px) {
      .bg-image-vertical {
        width: 50%;
        float: right;
      }
    }


/* Styles from user-profile.htm */
    .nav-btn {
      margin:.5rem .5rem;
      padding:.5rem 1rem;
      border:1px solid #000;
      border-radius:.75rem;
      background:#fff;
      color:#000;
      box-shadow:0 2px 4px rgba(0,0,0,.1);
    }
    .nav-btn.active, .nav-btn:focus {
      background:#0d6efd;
      color:#fff;
      border-color:#0d6efd;
      outline:none;
    }
    .card { border-radius:1rem; box-shadow:0 2px 8px rgba(0,0,0,0.07);}
    .card-img-top { border-top-left-radius: 1rem; border-top-right-radius: 1rem; }
    .badge-mpreg {
      background:#6c757d;
      color:#fff;
      margin-right:.25rem;
      text-decoration: none !important;
    }
    .badge-month, .badge-month a, .badge-month:visited {
      background: #0d6efd !important;
      color: #fff !important;
      text-decoration: none !important;
    }
    .comment-count { text-decoration:none!important; cursor:pointer; }
    /* Application modal design system */
    .modal {
      --app-modal-bg: #ffffff;
      --app-modal-text: #0f172a;
      --app-modal-border: rgba(15, 23, 42, 0.08);
      --app-modal-shadow: 0 30px 60px -35px rgba(15, 23, 42, 0.65);
      --app-modal-header-bg: rgba(148, 163, 184, 0.14);
      --app-modal-footer-bg: rgba(148, 163, 184, 0.08);
      --app-modal-muted: #64748b;
      --app-modal-backdrop: rgba(15, 23, 42, 0.38);
      --app-modal-accent: #6366f1;
      z-index: 11000 !important;
    }

    .modal-dialog {
      margin: 1.5rem;
    }

    .modal-content {
      background-color: var(--app-modal-bg);
      border: 1px solid var(--app-modal-border);
      border-radius: 1.25rem;
      box-shadow: var(--app-modal-shadow);
      color: var(--app-modal-text);
      overflow: hidden;
    }

    .modal-header,
    .modal-footer {
      border-color: rgba(15, 23, 42, 0.08);
    }

    .modal-header {
      padding: 1.25rem 1.5rem;
      background: linear-gradient(135deg, rgba(148, 163, 184, 0.18), rgba(99, 102, 241, 0.08));
      background-color: var(--app-modal-header-bg);
    }

    .modal-footer {
      padding: 1.25rem 1.5rem;
      background-color: var(--app-modal-footer-bg);
    }

    .modal-body {
      padding: 1.5rem;
    }

    .modal-title {
      font-size: 1.125rem;
      font-weight: 600;
      color: var(--app-modal-text);
    }

    .modal .btn-close {
      position: relative;
      width: 2.25rem;
      height: 2.25rem;
      border-radius: 999px;
      opacity: 0.6;
      transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .modal .btn-close:hover,
    .modal .btn-close:focus {
      opacity: 0.85;
      transform: scale(1.05);
    }

    .modal .btn {
      border-radius: 999px;
      font-weight: 600;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .modal .btn:not(.btn-sm) {
      padding: 0.6rem 1.5rem;
    }

    .modal .btn:hover,
    .modal .btn:focus {
      transform: translateY(-1px);
      box-shadow: 0 16px 40px -24px rgba(15, 23, 42, 0.5);
    }

    .modal .btn-primary {
      background-image: linear-gradient(135deg, #6366f1, #8b5cf6);
      border: none;
      box-shadow: 0 18px 38px -18px rgba(99, 102, 241, 0.8);
    }

    .modal .btn-primary:hover,
    .modal .btn-primary:focus {
      background-image: linear-gradient(135deg, #4f46e5, #7c3aed);
      box-shadow: 0 22px 40px -18px rgba(79, 70, 229, 0.9);
    }

    .modal .btn-secondary {
      background-color: rgba(148, 163, 184, 0.22);
      border: none;
      color: var(--app-modal-text);
    }

    .modal .btn-secondary:hover,
    .modal .btn-secondary:focus {
      background-color: rgba(148, 163, 184, 0.32);
      color: var(--app-modal-text);
    }

    .modal .form-control,
    .modal .form-select,
    .modal textarea {
      background-color: #f8fafc;
      border-radius: 0.95rem;
      border: 1px solid rgba(148, 163, 184, 0.4);
      color: var(--app-modal-text);
      padding: 0.75rem 1rem;
      transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .modal .form-control:focus,
    .modal .form-select:focus,
    .modal textarea:focus {
      background-color: #ffffff;
      border-color: rgba(99, 102, 241, 0.45);
      box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.18);
    }

    .modal textarea.app-modal__input {
      min-height: 8.5rem;
      resize: vertical;
    }

    .modal .text-muted,
    .modal .text-body-secondary {
      color: var(--app-modal-muted) !important;
    }

    .modal .app-modal__icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.75rem;
      height: 2.75rem;
      border-radius: 0.9rem;
      background: rgba(99, 102, 241, 0.18);
      color: #4f46e5;
      font-size: 1.25rem;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }

    .modal .app-modal__icon--info {
      background: rgba(45, 212, 191, 0.16);
      color: #0f766e;
    }

    .modal .app-modal__subtitle {
      font-size: 0.875rem;
      letter-spacing: 0.04em;
    }

    .modal .app-modal__message {
      font-size: 1rem;
      line-height: 1.6;
    }

    .modal .app-modal__hint {
      font-size: 0.875rem;
    }

    .app-modal__scroll-container {
      max-height: min(50vh, 26rem);
      overflow-y: auto;
      padding-right: 0.25rem;
      scrollbar-width: thin;
    }

    .app-modal__scroll-container::-webkit-scrollbar {
      width: 0.4rem;
    }

    .app-modal__scroll-container::-webkit-scrollbar-thumb {
      background-color: rgba(148, 163, 184, 0.4);
      border-radius: 999px;
    }

    .app-modal__divider {
      height: 1px;
      background: linear-gradient(to right, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.45), rgba(148, 163, 184, 0));
    }

    .app-modal__form .form-label {
      letter-spacing: 0.08em;
    }

    .modal hr {
      margin: 1.75rem 0;
      color: rgba(148, 163, 184, 0.25);
      opacity: 1;
    }

    .modal nav {
      border-radius: 999px;
    }

    .modal nav .page-link {
      border-radius: 999px;
      border: none;
      color: var(--app-modal-text);
      background-color: transparent;
    }

    .modal nav .page-item.active .page-link {
      background-color: var(--app-modal-accent);
      color: #fff;
      box-shadow: 0 12px 30px -18px rgba(99, 102, 241, 0.75);
    }

    .modal nav .page-link:hover {
      background-color: rgba(99, 102, 241, 0.1);
    }

    .modal-backdrop {
      z-index: 10998 !important;
      pointer-events: none;
    }

    .modal-backdrop.show {
      background-color: var(--app-modal-backdrop);
      backdrop-filter: blur(6px);
    }

    .modal-loading .modal-content {
      background: transparent;
      border: none;
      box-shadow: none;
    }

    .modal-loading .modal-body {
      padding: 2rem;
    }

    .modal .spinner-border {
      width: 3rem;
      height: 3rem;
      color: var(--app-modal-accent);
    }
    .fw-bold { font-weight: bold !important; }
    .profile-header-bg {
      background: #FFD600;
      border-top-left-radius: 1.2rem;
      border-top-right-radius: 1.2rem;
      min-height: 180px;
      padding-top: 2.5rem;
      padding-bottom: 2.5rem;
      position: relative;
    }
    .profile-avatar {
      margin-top: 10px;
      margin-bottom: 1rem;
      border: 4px solid #fff;
      box-shadow: 0 4px 16px rgba(0,0,0,0.11);
      width: 120px;
      height: 120px;
    }
    .profile-card-container {
      max-width: 700px;
      margin: 0 auto 2rem auto;
      border-radius: 1.2rem;
      box-shadow: 0 2px 10px rgba(0,0,0,0.04);
      overflow: hidden;
    }
    .profile-card-inner {
      background: #fff;
      padding: 2rem 2rem 1rem 2rem;
      border-bottom-left-radius: 1.2rem;
      border-bottom-right-radius: 1.2rem;
    }


/* Styles from comingsoon.htm */
        /* Add your custom CSS styles here */
        body {
            background-color: #f8f9fa;
            text-align: center;

        }
        .coming-soon-text {
            font-size: 24px;
        }


/* Styles from account2test.htm */
  .vh-100 {
    height: 100vh;
  }
  .h-custom-2 {
    height: 100%;
  }
  .bg-image-vertical {
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    transition: background-image 1s ease-in-out;
    background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg'); /* Initial image */
  }
  .form-container {
    max-width: 600px; /* Adjust for larger screens */
    margin: auto;
    padding-top: 20px;
  }
  .row.custom-flex-fill {
    flex: 1;
    padding: 0; /* Custom padding for this specific row */
    margin-bottom: 0; /* Updated margin-bottom to 0 */
  }
  .logo-container {
    text-align: center;
  }
  .logo-container img {
    max-width: 200px; /* Adjust size as needed */
    cursor: pointer;
  }
  .password-wrapper {
    position: relative;
  }
  .show-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
  }
  .form-control {
    font-size: 0.875rem; /* Smaller text size */
  }
  .password-instructions, .form-check {
    width: 100%;
  }
  @media (max-width: 1024px) {
    .bg-image-vertical {
      height: 50vh; /* Reduce height on smaller screens */
      width: 100%; /* Take full width of the screen */
      float: none; /* Cancel any floating properties */
    }
    .logo-container {
      display: block;
    }
  }
  @media (min-width: 1025px) {
    .bg-image-vertical {
      width: 50%;
      float: right;
    }
  }


/* Styles from login.htm */
    .vh-100 {
      height: 100vh;
    }
    .h-custom-2 {
      height: 100%;
    }
    .bg-image-vertical {
      background-repeat: no-repeat;
      background-position: right center;
      background-size: cover;
      transition: background-image 1s ease-in-out;
      background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg'); /* Initial image */
    }
    .form-container {
      max-width: 600px; /* Adjust for larger screens */
      margin: auto;
    }
    .row.custom-flex-fill {
      flex: 1;
      padding: 0; /* Custom padding for this specific row */
      margin-bottom: 0; /* Updated margin-bottom to 0 */
    }
    .logo-container {
      text-align: center;
    }
    .logo-container img {
      max-width: 200px; /* Adjust size as needed */
      cursor: pointer;
    }
    .password-wrapper {
      position: relative;
    }
    .show-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
    }
    @media (min-width: 1025px) {
      .bg-image-vertical {
        width: 50%;
        float: right;
      }
    }


/* Styles from media-product-page.htm */
      main#app-content {
          position: relative;
          
          height: 100%;
          overflow-x: hidden;
          overflow-y: auto;
      }

      .overlay-explicit {
          position: absolute;
          top: 0; left: 0; right: 0; bottom: 0;
          background: rgba(0,0,0,0.6);
          display: flex;
          align-items: center;
          justify-content: center;
          z-index: 1050;
      }
      .overlay-explicit button {
          margin-top: 1rem;
      }
      .explicit-container { position: relative; }


/* Styles from timeline.htm */
        .custom-container .filter-container {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            gap: 10px;
            flex-wrap: wrap;
        }

        .custom-container .filter-container select,
        .custom-container .filter-container .btn {
            margin-left: auto;
        }

        .custom-container table {
            width: 100%;
            border-collapse: collapse;
            white-space: nowrap;
        }

        .custom-container table th, 
        .custom-container table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e3f1d5;
        }

        .custom-container table th {
            background-color: #f3f4f6;
            font-size: 14px;
            text-transform: uppercase;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .custom-container .service-pill {
            display: inline-block;
            padding: .25em .6em;
            font-size: 75%;
            font-weight: 600;
            text-align: center;
            border-radius: 10rem;
            color: #fff;
            margin-right: 5px;
        }

        /* Specific Service Colors */
        .service-onlyfans { background-color: #FF4500; }
        .service-patreon { background-color: #0061F2; }
        .service-just-for-fans { background-color: #FFD700; }
        .service-independent { background-color: #6c757d; }
        .service-website { background-color: #2E8B57; }
        .service-clips4sale { background-color: #a22363; }
        .service-discord { background-color: #7289da; }
        .service-tumblr { background-color: #34526f; }
        .service-pornhub { background-color: #ff9900; }

        /* MediaCategory Pills */
        .category-pill {
            display: inline-block;
            padding: .25em .6em;
            font-size: 75%;
            font-weight: 600;
            text-align: center;
            border-radius: 10rem;
            color: #fff;
            margin-right: 5px;
        }

        /* Specific MediaCategory Colors */
        .category-audio { background-color: #1abc9c; }
        .category-anime { background-color: #e74c3c; }
        .category-book { background-color: #8e44ad; }
        .category-movie { background-color: #3498db; }
        .category-story { background-color: #f39c12; }
        .category-television { background-color: #d35400; }
        .category-theater { background-color: #2ecc71; }
        .category-shorts { background-color: #e67e22; }
        .category-documentary { background-color: #c0392b; }
        .category-video-game { background-color: #9b59b6; }
        .category-advertisement { background-color: #e74c3c; }
        .category-music { background-color: #2c3e50; }
        .category-article { background-color: #7f8c8d; }
        .category-photo { background-color: #34495e; }
        .category-video { background-color: #2980b9; }
        .category-other { background-color: #95a5a6; }
        .category-magazines { background-color: #bdc3c7; }

        .custom-container .pagination {
            justify-content: center;
            padding: 20px 0;
        }

        .badge-light {
            background-color: #f8f9fa;
            color: #6c757d;
            display: flex;
            align-items: center;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        /* Status Colors */
        .status-draft { background-color: #6c757d; }
        .status-prereleased { background-color: #f0ad4e; }
        .status-new { background-color: #007bff; }
        .status-available { background-color: #28a745; }
        .status-nolonger { background-color: #dc3545; }
        .status-inactive { background-color: #ffc107; }

        /* Blur effect */
        #blur-overlay {
            transition: filter 0.3s ease-in-out;
        }

        /* Sorting icons */
        .sort-icon {
            margin-left: 5px;
            opacity: 0.6;
        }

        th.sorted-asc .sort-icon::after {
            content: '\2191'; /* Up arrow */
        }

        th.sorted-desc .sort-icon::after {
            content: '\2193'; /* Down arrow */
        }

        /* Hide certain columns on smaller screens */
        @media screen and (max-width: 768px) {
            .custom-container table th:nth-child(2),
            .custom-container table td:nth-child(2),
            .custom-container table th:nth-child(4),
            .custom-container table td:nth-child(4),
            .custom-container table th:nth-child(5),
            .custom-container table td:nth-child(5),
            .custom-container table th:nth-child(6),
            .custom-container table td:nth-child(6),
            .custom-container table th:nth-child(8),
            .custom-container table td:nth-child(8) {
                display: none;
            }
        }


/* Styles from mature-category-page.htm */
    /* Accordion (Filters) */
    .accordion .accordion-item { border:1px solid #e3f4f9; box-shadow:none; }
    .accordion-button { font-weight:600; }

    /* Category Pills */
    .category-pill {
      display:inline-block;
      padding:.25em .6em;
      font-size:75%;
      font-weight:600;
      text-align:center;
      border-radius:10rem;
      color:#fff;
      margin-right:10px;
    }
    .category-audio         { background:#1abc9c; }
    .category-anime         { background:#e74c3c; }
    .category-book          { background:#8e44ad; }
    .category-movie         { background:#3498db; }
    .category-story         { background:#f39c12; }
    .category-television    { background:#d35400; }
    .category-theater       { background:#2ecc71; }
    .category-shorts        { background:#e67e22; }
    .category-documentary   { background:#c0392b; }
    .category-video-game    { background:#9b59b6; }
    .category-advertisement { background:#e74c3c; }
    .category-music         { background:#2c3e50; }
    .category-article       { background:#7f8c8d; }
    .category-photo         { background:#34495e; }
    .category-video         { background:#2980b9; }
    .category-forum         { background:olive;    }
    .category-other         { background:#95a5a6; }
    .category-magazines     { background:#bdc3c7; }

    /* Service Pills */
    .service-pill {
      display:inline-block;
      padding:.25em .6em;
      font-size:75%;
      font-weight:600;
      text-align:center;
      border-radius:10rem;
      color:#fff;
      margin-right:10px;
      width:100px;
    }
    .service-onlyfans    { background:#FF4500; }
    .service-patreon     { background:#0061F2; }
    .service-just-for-fans { background:#FFD700; }
    .service-independent { background:#6c757d; }
    .service-clips4sale  { background:#a22363; }
    .service-other       { background:#95a5a6; }

    /* Status Dot */
    .status-dot {
      display:inline-block;
      width:10px; height:10px;
      border-radius:50%;
      margin-right:5px;
    }

    /* Table */
    .custom-container table th, .custom-container table td {
      padding:12px;
      border-bottom:1px solid #e3f4f9;
    }
    .custom-container table th {
      background:#f3f4f6;
      position:sticky; top:0; z-index:1;
    }

    .modern-table { border:1px solid #e3f4f9; border-radius:.5rem; overflow:hidden; }
    .table-responsive.modern-table { overflow-x:hidden; }
    .custom-container .modern-table table,
    .custom-container .modern-table table th,
    .custom-container .modern-table table td {
      white-space:normal;
      word-break:break-word;
    }

    .smart-update-row td {
      display:flex;
      flex-wrap:wrap;
      overflow:hidden;
      white-space:normal;
      word-break:break-word;
    }

    .creator-cards .card {
      border:1px solid #e3f4f9;
    }
    .creator-cards .card + .card { margin-top:1rem; }
    @media(max-width:768px) {
      .modern-table table th:nth-child(n+2),
      .modern-table table td:nth-child(n+2) {
        display:none;
      }
    }

    #blur-overlay .custom-container {
      overflow-x:hidden;
    }

    /* Pagination */
    .pagination {
      display:flex;
      justify-content:center;
      padding-left:0;
      list-style:none;
    }
    .pagination .page-item + .page-item { margin-left:.25rem; }


/* Styles from image-product-page.htm */
.full-size-image img {
    width: 100%;
    height: auto;
}
      /* Remove underline from mpreg tag badges */
      .mpreg-tag { text-decoration: none; }
      /* Icon link styling */
      .icon-link { font-size: 1.2rem; margin-right: 8px; color: inherit; text-decoration: none; }
      .icon-link:hover { color: #0056b3; }


/* Styles from media.htm */
      :root {
        --palette-lightest: #FCFBF9;
        --palette-light:    #F1EFEC;
        --palette-tan:      #D4C9BE;
        --palette-navy:     #123458;
        --palette-charcoal: #1A1A1A;

        --bg-album:      #C08B5C;
        --bg-audiobook:  #E9C46A;
        --bg-book:       #A0845E;
        --bg-movie:      #756AB6;
        --bg-podcast:    #36BA98;
        --bg-television: #AC87C5;
      --bg-track:      #F08A5D;
      }

/* Category background helpers */
      .bg-album      { background-color: var(--bg-album); }
      .bg-audiobook  { background-color: var(--bg-audiobook); }
      .bg-book       { background-color: var(--bg-book); }
      .bg-movie      { background-color: var(--bg-movie); }
      .bg-podcast    { background-color: var(--bg-podcast); }
      .bg-television { background-color: var(--bg-television); }
      .bg-track      { background-color: var(--bg-track); }

      body {
        background: var(--palette-lightest);
        color: var(--palette-charcoal);
      }
      .card {
        background: #fff;
        border: 1px solid var(--palette-tan);
        margin-bottom: 20px;
      }
      .card-img-top {
        height: 150px; overflow: hidden;
      }
      .card-img-top img {
        width:100%; height:100%; object-fit:cover;
      }
      .card-img-placeholder {
        display:flex; align-items:center; justify-content:center;
        height:150px; color:#fff;
      }
      .card-img-placeholder h2 {
        font-size:1.2rem; margin:0; white-space:nowrap;
        overflow:hidden; text-overflow:ellipsis; max-width:90%;
      }
      @media (max-width:768px){ .card-img-placeholder h2{font-size:1rem;} }
      @media (max-width:576px){ .card-img-placeholder h2{font-size:0.9rem;} }

      .card-body {
        padding:1rem; background:#fff;
      }
      .card-body .card-title {
        font-size:1.1rem; margin-bottom:0.5rem; font-weight:bold;
      }
      .card-body h5 {
        color:var(--palette-navy); margin-bottom:0.5rem;
      }
      .card-body p {
        font-size:0.9rem; line-height:1.4; height:2.6em;
        overflow:hidden; text-overflow:ellipsis;
      }


/* Styles from account.htm */
    body { background:#F1EFEC; color:#030303; }
    .account-container { margin-top:20px; position:relative; }
    .header-grid { display:grid; grid-template-columns:1fr auto; align-items:center; margin-bottom:1rem; }
    .user-dropdown img { border-radius:50%; }
    .progress { height:25px; margin-bottom:20px; }
    .progress-bar { background:#123458; }
    table { width:100%; border-collapse:collapse; margin-bottom:20px; }
    th,td { padding:10px; border:1px solid #D4C9BE; }
    th { background:#123458; color:#F1EFEC; }
    td { background:#F1EFEC; }
    .extra-row td { background:#ECECEC; border-bottom:2px solid #123458; }
    .badge-warning { background:#D4C9BE!important; color:#030303!important; }
    .badge-info    { background:#123458!important; color:#F1EFEC!important; }
    .alert-dark    { background:#D4C9BE; color:#030303; border:none; }
    .nav-pills .nav-link {
      font-size:1.1rem; padding:.75rem 1.25rem; margin-right:.5rem;
      border-radius:.5rem; box-shadow:0 2px 4px rgba(0,0,0,0.1);
    }
    .nav-pills .nav-link.disabled { opacity:.6; pointer-events:none; }
    .nav-pills .nav-link.badge-warning {
      background:#123458!important; border:1px solid #123458!important; color:#F1EFEC!important;
    }
    .nav-pills .nav-link.timeline-btn {
      background:#D6C5F1!important; border:1px solid #BFA3E3!important; color:#030303!important;
    }
    .story-card {
      cursor:pointer; transition:transform .15s; background:#F1EFEC; border:1px solid #D4C9BE;
    }
    .story-card:hover { transform:scale(1.02); }
    .story-card .card-header {
      background:#123458; color:#F1EFEC; height:150px;
      display:flex; align-items:center; justify-content:center;
    }
    .badge-category { background:#D4C9BE; color:#030303; }


/* Styles from membership.htm */
        .card {
            border-radius: 0.375rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .card-body {
            text-align: left;
        }

        .card-header {
            text-align: center;
            font-size: 1.75rem;
            font-weight: bold;
            padding: 20px;
        }

        .card-header.bg-primary {
            background-color: #007bff;
        }

        .card-header.bg-secondary {
            background-color: #6c757d;
        }

        .card-header.bg-dark {
            background-color: #343a40;
        }

        .disabled-card {
            opacity: 0.6;
            pointer-events: none;
        }

        .btn-primary, .btn-secondary, .btn-dark {
            font-size: 1.1rem;
            padding: 10px 20px;
        }

        .info-alert {
            margin-bottom: 20px;
            padding: 15px;
            background-color: #e9ecef;
            border-left: 5px solid #007bff;
            border-radius: 0.375rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }

        .info-alert h5 {
            margin-bottom: 10px;
            font-size: 1.25rem;
        }

        .text-left {
            text-align: left;
        }


/* Styles from ai-photos.htm */
        /* Card image and hover scale */
        .card-img-top {
            height: 200px;
            object-fit: cover;
            position: relative;
            z-index: 0;
        }
        .card {
            transition: transform 0.2s ease;
        }
        .card:hover {
            transform: scale(1.02);
        }
        .card-body {
            position: relative;
            z-index: 1;
            background-color: #fff;
            padding: 1rem;
        }
        /* Active Filters Display */
        .active-filters {
            background-color: #f8f9fa;
            padding: 10px 15px;
            border-radius: 5px;
            margin-bottom: 20px;
            font-weight: bold;
        }
        .active-filters ul {
            list-style: none;
            padding-left: 0;
            margin-bottom: 0;
        }
        .active-filters li {
            display: inline;
            margin-right: 15px;
        }
        .clear-filters {
            margin-top: 10px;
        }
        /* Info Alert */
        .info-alert {
            margin-bottom: 20px;
            padding: 15px;
            background-color: #e9ecef;
            border-left: 5px solid #007bff;
            border-radius: 0.375rem;
            box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
        }
        /* Responsive adjustments for filters */
        @media (max-width: 576px) {
            .breadcrumb { display: none; }
            .input-group { flex-direction: column; }
            .filter-dropdown {
                margin-bottom: 10px;
                width: 100%;
                min-width: 200px;
            }
        }
        /* Help dropdowns display fully */
        select.form-select {
            max-height: 300px; /* Adjust as needed */
            overflow-y: auto;
        }


/* Styles from story-creator.htm */
        /* Your existing styles */
        /* Card Styles */
        .card {
            border: none;
            transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
            overflow: hidden;
            border-radius: 20px;
            box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
            position: relative;
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center center;
            cursor: pointer;
        }

        .card-has-bg:before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-image: inherit;
            background-size: cover;
            background-position: center center;
            filter: grayscale(100%);
            z-index: 1;
            pointer-events: none;
        }

        .card:hover {
            transform: scale(0.98);
            box-shadow: 0 0 5px -2px rgba(0, 0, 0, 0.3);
            background-size: 130%;
        }

        .card-img-overlay {
            z-index: 2;
            transition: all 800ms cubic-bezier(0.19, 1, 0.22, 1);
            background: linear-gradient(90deg, #e3ffe7 0%, #d9e7ff 100%);
        }

        .card-title {
            font-weight: 800;
        }

        .card-meta {
            color: rgba(0, 0, 0, 0.3);
            text-transform: uppercase;
            font-weight: 500;
            letter-spacing: 2px;
        }

        .card-body {
            transition: all 500ms cubic-bezier(0.19, 1, 0.22, 1);
        }

        .card:hover .card-body {
            margin-top: 30px;
        }

        /* Loading Animation Overlay */
        #loadingAnimationOverlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            backdrop-filter: blur(5px);
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            color: #fff;
        }

        #loadingAnimationOverlay .creating-story {
            text-align: center;
        }

        #loadingAnimationOverlay .creating-story p {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }

        #loadingAnimationOverlay .spinner-border {
            width: 3rem;
            height: 3rem;
            border-width: 0.3em;
        }

        .story-content {
            font-size: 1.2rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }

        .storystartbutton {
            padding-bottom: 20px;
        }

        /* Basic button styling */
        .storystartbutton .btn {
            position: relative;
            font-size: 1.2rem;
            padding: 15px 30px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .storystartbutton .btn:hover {
            background-color: #0056b3;
        }

        .storystartbutton .btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            transition: transform 0.6s ease;
            z-index: 0;
        }

        .storystartbutton .btn:hover::before {
            animation: wave 1s forwards;
        }

        @keyframes wave {
            0% {
                left: -100%;
                opacity: 0.2;
            }
            50% {
                left: 50%;
                opacity: 0.5;
            }
            100% {
                left: 100%;
                opacity: 0;
            }
        }

        .storystartbutton .btn span {
            position: relative;
            z-index: 1;
        }

        .btn-block {
            width: 100%;
        }

        .custom-select {
            display: block;
            width: 100%;
            padding: 0.5rem 0.75rem;
            font-size: 1rem;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            border: 1px solid #ced4da;
            border-radius: 0.25rem;
            appearance: none;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
            box-shadow: 0 1px 4px rgba(0,0,0,0.1);
        }

        .custom-select:focus {
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .form-control.d-inline.w-auto.fs-5.mx-1 {
            display: inline-block;
        }


/* Styles from notifications.htm */
    .nav-btn {
      margin: .5rem .5rem;
      padding: .5rem 1rem;
      border: 1px solid #000;
      border-radius: .75rem;
      background: #fff;
      color: #000;
      box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    }
    .nav-btn.active {
      background: #0d6efd;
      color: #fff;
      border-color: #0d6efd;
    }


/* Styles from moderation.htm */
    /* Custom styles if needed */
    .list-group-item {
        margin-bottom: 15px;
        background-color: transparent;
    }
    .review-actions {
        margin-top: 10px;
    }


/* Styles from image-cloud-category-page.htm */
        body {
            background-color: #f5f5f5;
            font-family: Arial, sans-serif;
        }
        .container {
            margin-top: 30px;
        }
        /* Search Box Styles */
        .search-container {
            margin-bottom: 20px;
        }
        #tagFilter {
            width: 100%;
            padding: 10px;
            font-size: 1em;
            border: 1px solid #ddd;
            border-radius: 4px;
        }
        /* Category Header Styles */
        .category-header {
            margin-top: 40px;
            margin-bottom: 10px;
            font-size: 1.8em;
            position: relative;
            display: inline-block;
            padding-bottom: 5px;
        }
        .category-header::after {
            content: "";
            display: block;
            width: 50px;
            height: 3px;
            background-color: #007BFF;
            margin-top: 5px;
        }
        /* Tag Pills Container */
        .tag-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        /* Individual Tag Pill Styles */
        .tag-pill {
            display: inline-flex;
            align-items: center;
            padding: 8px 16px;
            color: #fff;
            border-radius: 50px;
            text-decoration: none;
            transition: background-color 0.3s, transform 0.2s;
            font-size: 0.9em;
        }
        .tag-pill:hover {
            opacity: 0.8;
            transform: scale(1.05);
        }
        /* Dynamic Color Classes */
        .color1 { background-color: #210F37; color: #F4F4F4; }
        .color2 { background-color: #4F1C51; color: #F4F4F4; }
        .color3 { background-color: #A55B4B; color: #F4F4F4; }
        .color4 { background-color: #DCA06D; color: #210F37; }
        /* Statistics Cards */
        .stats-cards {
            display: flex;
            gap: 20px;
            margin-bottom: 30px;
        }
        .card {
            flex: 1;
            padding: 0px;
            background-color: #fff;
            border: 1px solid #ddd;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .card-title {
            font-size: 1.5em;
            margin-bottom: 10px;
            color: #343a40;
        }
        .card-text {
            font-size: 1.3em;
            color: #007BFF;
        }
        /* Alert Styles */
        .alert {
            margin-top: 30px;
            padding: 15px;
            background-color: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
            border-radius: 4px;
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            .stats-cards {
                flex-direction: column;
            }
        }
        /* 3-Column Grid for Other Categories */
        .other-categories {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }
        .category-section {
            margin-bottom: 30px;
        }
        /* Badge Styles */
        .badge {
            margin-left: 8px;
        }
        /* Button Styles */
        #loadRest {
            padding: 10px 20px;
            font-size: 1em;
            border: none;
            border-radius: 4px;
            background-color: #007BFF;
            color: #fff;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        #loadRest:hover {
            background-color: #0056b3;
        }


/* Styles from index.htm */
    .custom-button {
        border: 2px solid black;
        background-color: white;
        box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
        padding: 20px 20px;
        margin: 10px;
        text-align: center;
        text-decoration: none;
        color: black;
        font-size: 18px;
        transition: background-color 0.3s;
    }
    .custom-button:hover {
        background-color: #f0f0f0;
    }
        .custom-container .filter-container {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            gap: 10px;
            flex-wrap: wrap;
        }

        .custom-container .filter-container select,
        .custom-container .filter-container .btn {
            margin-left: auto;
        }

        .custom-container table {
            width: 100%;
            border-collapse: collapse;
            white-space: nowrap;
        }

        .custom-container table th, 
        .custom-container table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e3f1d5;
        }

        .custom-container table th {
            background-color: #f3f4f6;
            font-size: 14px;
            text-transform: uppercase;
            position: sticky;
            top: 0;
            z-index: 1;
        }

        .custom-container .service-pill {
            display: inline-block;
            padding: .25em .6em;
            font-size: 75%;
            font-weight: 600;
            text-align: center;
            border-radius: 10rem;
            color: #fff;
            margin-right: 5px;
        }

        /* Specific Service Colors */
        .service-onlyfans { background-color: #FF4500; }
        .service-patreon { background-color: #0061F2; }
        .service-just-for-fans { background-color: #FFD700; }
        .service-independent { background-color: #6c757d; }
        .service-website { background-color: #2E8B57; }
        .service-clips4sale { background-color: #a22363; }
        .service-discord { background-color: #7289da; }
        .service-tumblr { background-color: #34526f; }
        .service-pornhub { background-color: #ff9900; }

        /* MediaCategory Pills */
        .category-pill {
            display: inline-block;
            padding: .25em .6em;
            font-size: 75%;
            font-weight: 600;
            text-align: center;
            border-radius: 10rem;
            color: #fff;
            margin-right: 5px;
        }

        /* Specific MediaCategory Colors */
        .category-audio { background-color: #1abc9c; }
        .category-anime { background-color: #e74c3c; }
        .category-book { background-color: #8e44ad; }
        .category-movie { background-color: #3498db; }
        .category-story { background-color: #f39c12; }
        .category-television { background-color: #d35400; }
        .category-theater { background-color: #2ecc71; }
        .category-shorts { background-color: #e67e22; }
        .category-documentary { background-color: #c0392b; }
        .category-video-game { background-color: #9b59b6; }
        .category-advertisement { background-color: #e74c3c; }
        .category-music { background-color: #2c3e50; }
        .category-article { background-color: #7f8c8d; }
        .category-photo { background-color: #34495e; }
        .category-video { background-color: #2980b9; }
        .category-other { background-color: #95a5a6; }
        .category-magazines { background-color: #bdc3c7; }

        .custom-container .pagination {
            justify-content: center;
            padding: 20px 0;
        }

        .badge-light {
            background-color: #f8f9fa;
            color: #6c757d;
            display: flex;
            align-items: center;
        }

        .status-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 5px;
        }

        /* Status Colors */
        .status-draft { background-color: #6c757d; }
        .status-prereleased { background-color: #f0ad4e; }
        .status-new { background-color: #007bff; }
        .status-available { background-color: #28a745; }
        .status-nolonger { background-color: #dc3545; }
        .status-inactive { background-color: #ffc107; }

        /* Blur effect */
        #blur-overlay {
            transition: filter 0.3s ease-in-out;
        }

        /* Sorting icons */
        .sort-icon {
            margin-left: 5px;
            opacity: 0.6;
        }

        th.sorted-asc .sort-icon::after {
            content: '\2191'; /* Up arrow */
        }

        th.sorted-desc .sort-icon::after {
            content: '\2193'; /* Down arrow */
        }

        /* Hide certain columns on smaller screens */
        @media screen and (max-width: 768px) {
            .custom-container table th:nth-child(2),
            .custom-container table td:nth-child(2),
            .custom-container table th:nth-child(4),
            .custom-container table td:nth-child(4),
            .custom-container table th:nth-child(5),
            .custom-container table td:nth-child(5),
            .custom-container table th:nth-child(6),
            .custom-container table td:nth-child(6),
            .custom-container table th:nth-child(8),
            .custom-container table td:nth-child(8) {
                display: none;
            }
        }


/* Styles from stories.htm */
        .card-img-top {
            height: 225px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .card-img-top img {
            max-width: 100%;
            max-height: 225px;
            object-fit: cover;
        }
        .filter-dropdown {
            min-width: 150px;
            width: auto;
        }

        .form-select.form-control {
            display: inline-block;
            width: auto;
            flex: 1 1 auto;
        }

        /* Optional CSS to remove text decoration from links */
        a.text-decoration-none {
            text-decoration: none;
        }


/* Styles from messages.htm */
  .dm-thread { max-height:70vh; overflow-y:auto; border:1px solid var(--instagram-border); border-radius:12px; padding:1rem; background:#fff; }
  .dm-message-row { display:flex; margin-bottom:0.5rem; align-items:flex-end; }
  .dm-message-row.me { justify-content:flex-end; }
  .dm-avatar { width:32px; height:32px; border-radius:50%; margin:0 0.5rem; }
  .dm-message-bubble { padding:0.5rem 0.75rem; border-radius:18px; max-width:65%; font-size:0.9rem; }
  .dm-message-bubble.other { background:#efefef; color:var(--instagram-primary-text); }
  .dm-message-bubble.me {
    background:#e9f3ff;
    color:#000;
    border:1px solid var(--instagram-border);
  }

/* Inbox layout enhancements */
  .inbox-container { display:flex; flex-direction:column; width:100%; }
  @media (min-width:768px){ .inbox-container{ flex-direction:row; }}
  .inbox-list { border-right:1px solid var(--instagram-border); overflow-y:auto; max-height:80vh; margin-bottom:1rem; }
  @media (min-width:768px){ .inbox-list{ min-width:260px; max-width:320px; margin-bottom:0; }}
  .inbox-list-item .avatar { width:32px; height:32px; border-radius:50%; margin-right:.75rem; }
  .inbox-thread-header .avatar { width:36px; height:36px; border-radius:50%; margin-right:.5rem; }
  .inbox-snippet { color:var(--instagram-secondary-text); font-size:.875rem; }
  .inbox-time { color:var(--instagram-secondary-text); font-size:.75rem; }

  .message-input .form-control { border-radius:20px; }
  .message-input textarea.form-control { resize:none; }

/* Inbox layout enhancements */
  .inbox-container { display:flex; flex-direction:column; width:100%; }
  @media (min-width:768px){ .inbox-container{ flex-direction:row; }}
  .inbox-list { border-right:1px solid var(--instagram-border); overflow-y:auto; max-height:80vh; margin-bottom:1rem; }
  @media (min-width:768px){ .inbox-list{ min-width:260px; max-width:320px; margin-bottom:0; }}
  .inbox-list-item .avatar { width:32px; height:32px; border-radius:50%; margin-right:.75rem; }
  .inbox-thread-header .avatar { width:36px; height:36px; border-radius:50%; margin-right:.5rem; }
  .inbox-snippet { color:var(--instagram-secondary-text); font-size:.875rem; }
  .inbox-time { color:var(--instagram-secondary-text); font-size:.75rem; }

  .message-input .form-control { border-radius:20px; }
  .message-input textarea.form-control { resize:none; }


/* Styles from layouts/mpsfull.htm */
    :root {
      --gradient-start: #f3f6ff; --gradient-end: #ffffff;
      --primary-color: #6c63ff; --text-color: #333333;
      --sidebar-bg: #ffffff; --shadow: rgba(0,0,0,0.06);
      --border: #e6e6e6; --font: "Inter", sans-serif;
      --instagram-primary-text: #262626;
      --instagram-secondary-text: #8e8e8e;
      --instagram-blue: #0095f6;
      --instagram-border: #dbdbdb;
      --instagram-hover-bg: #fafafa;
    }
    body.app-dashboard {
      background: linear-gradient(120deg,var(--gradient-start),var(--gradient-end));
      font-family: var(--font); overflow-x:hidden;
    }
    /* PRIMARY SIDEBAR */
    #sidebarMenu {
      position:fixed; top:0; left:0;
      width:220px; height:100vh;
      background:var(--sidebar-bg);
      box-shadow:2px 0 8px var(--shadow);
      overflow-y:hidden; overflow-x:hidden;
      transition:width .3s; z-index:999;
      border-right: 1px solid var(--border);
    }
    #sidebarMenu .sidebar-content {
      display:flex; flex-direction:column; min-height:100%;
    }
    .logo-container {
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid var(--border);
    }
    .logo {max-width:60%; height:auto;}
    .logo-large {display:inline-block;}
    .logo-icon {display:none; max-width:38px; height:auto;}

    /* Search box under logo */
    .sidebar-search-form {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border);
    }
    .sidebar-search-form .form-control {
        border-radius: 20px; font-size: 0.9em;
    }

    #sidebarMenu .nav-link {
      position: relative;
      display:flex; align-items:center;
      padding:.65rem 1rem; margin:.25rem .5rem;
      color:var(--instagram-primary-text)!important;
      font-size:14px; font-weight:600;
      text-decoration:none; border-radius:8px;
      transition:background .2s, color .2s;
    }
    #sidebarMenu .nav-link:hover {background:var(--instagram-hover-bg);}
    #sidebarMenu .nav-link.active {
      background:var(--instagram-hover-bg); color:var(--instagram-primary-text)!important; font-weight:700;
    }
    #sidebarMenu .nav-link i {margin-right:10px; font-size: 1.1em;}

    .badge-counter {
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
      padding: 2px 6px;
      font-size: 0.75rem;
      background-color: var(--instagram-blue);
      color: #fff;
      border-radius: 10px;
    }
      .badge-counter { right: 8px; }
    

      #sidebarMenu {width:75px!important;} /* Instagram-like narrow sidebar */
      .logo-large {display:none;}
      .logo-icon {display:inline-block; max-width:38px!important;}
      .sidebar-search-form { display: none; } /* Hide search form on collapsed sidebar */
      #sidebarMenu .nav-link .link-text {display:none!important;}
      #sidebarMenu .nav-link i {margin-right:0; font-size: 1.3em;}
      #sidebarMenu .nav-link {justify-content: center;}
      .account-info .user-details { display: none; }
    
    /* ACCOUNT INFO */
    .account-info {
      margin-top:auto; padding:1rem;
      border-top:1px solid var(--border);
    }
    .account-info .avatar-link { /* Changed from #avatarTrigger */
      display:flex; align-items:center; justify-content: center;
      padding:.25rem .5rem!important;
      margin:.25rem 0!important;
      text-decoration: none;
    }
    .account-info .avatar-thumb {
      width:40px; height:40px; border-radius:50%;
      object-fit:cover; margin:0 auto .5rem;
      box-shadow:0 2px 5px var(--shadow);
    }
     @media(min-width:768px) { /* Show username next to avatar on wider sidebar */
        .account-info .avatar-link {
            justify-content: flex-start;
        }
        .account-info .avatar-thumb {
            margin-right: 10px; margin-bottom: 0;
        }
        .account-info .user-details {
            display: flex; flex-direction: column;
            line-height: 1.2; text-align:left;
        }
        .account-info .user-name {
            font-weight: 500; font-size:0.9em; color: var(--text-color);
        }
        .account-info .user-username {
            font-size:0.8em; color: var(--instagram-secondary-text);
        }
    }


    /* SECONDARY SIDEBAR */
    #secondarySidebar {
      position:fixed; top:0; left:220px; /* Default open position */
      width:350px; /* Wider for Instagram DM style */
      height:100vh;
      background:var(--sidebar-bg);
      border-right: 1px solid var(--instagram-border);
      box-shadow: none; /* Removed default shadow, rely on border */
      overflow-y:hidden; /* Content inside will scroll */
      transform:translateX(-100%); /* Default closed: completely off-screen */
      transition:transform .3s ease-in-out; z-index:998;
    }
    #secondarySidebar.open {transform:translateX(0);}
    #secondarySidebar .submenu-block {
        padding:0; height: 100%; display: flex; flex-direction: column;
    }
    #secondarySidebar .nav-link i {color:var(--primary-color);}
    #secondarySidebar .nav-link {color:var(--text-color)!important;}

      #secondarySidebar {left:75px!important;}
    
    main#app-content {
      transition:margin-left .3s;
    }
    /* Adjust main content margin when secondary sidebar is open if it overlays */
    /* #secondarySidebar.open + main#app-content { margin-left: calc(220px + 350px); } */
    /* Or if primary is collapsed and secondary is open */

    .submenu-header {
        padding: 1rem 1rem 0.5rem 1rem;
        border-bottom: 1px solid var(--instagram-border);
    }
    .submenu-title {
        font-size: 1.25rem; font-weight: 600;
        color: var(--instagram-primary-text); margin-bottom: 0.75rem;
    }

    /* --- Instagram DM Styles for submenu-messages --- */
    #submenu-messages .messages-header {
        padding: 1rem 1rem 0.5rem 1rem;
        border-bottom: 1px solid var(--instagram-border);
    }
    #submenu-messages .messages-title {
        font-size: 1.25rem; font-weight: 600;
        color: var(--instagram-primary-text); margin-bottom: 0.75rem;
    }
    #submenu-messages .message-tabs {
      display: flex;
      margin-bottom: 0.5rem; /* Reduced margin */
    }
    #submenu-messages .message-tabs .nav-link { /* Tab styling */
      font-size: 0.95rem; font-weight: 500;
      color: var(--instagram-secondary-text);
      padding: 0.5rem 0.75rem; margin-right: 0.5rem;
      border-bottom: 2px solid transparent;
      border-radius: 0; margin: 0 0.25rem;
      background: none !important; /* Override primary sidebar nav-link hover */
    }
    #submenu-messages .message-tabs .nav-link.active,
    #submenu-messages .message-tabs .nav-link:hover {
      color: var(--instagram-primary-text);
      border-bottom-color: var(--instagram-primary-text);
    }
    #submenu-messages .messages-search-input {
        width: 100%; padding: 0.5rem 0.75rem; font-size:0.9em;
        border: 1px solid var(--instagram-border); border-radius: 8px;
        margin-bottom: 0.5rem; background-color: #efefef;
    }
    #submenu-messages .message-list-container {
        overflow-y: auto; flex-grow: 1;
    }
    #submenu-messages .message-card {
      display: flex; align-items: center;
      padding: 0.75rem 1rem; text-decoration: none;
      border-bottom: 1px solid var(--instagram-border); /* Thin line like IG */
      transition: background-color 0.2s;
    }
    #submenu-messages .message-card:last-child {
        border-bottom: none;
    }
    #submenu-messages .message-card:hover {
      background-color: var(--instagram-hover-bg);
    }
    #submenu-messages .message-card-avatar img {
      width: 44px; height: 44px; border-radius: 50%;
      object-fit: cover; margin-right: 12px;
    }
    #submenu-messages .message-card-content {
      flex-grow: 1; overflow: hidden;
    }
    #submenu-messages .message-card .user-name {
      font-weight: 500; font-size:0.9rem;
      color: var(--instagram-primary-text); margin-bottom: 2px;
    }
    #submenu-messages .message-card .snippet,
    #submenu-messages .message-card .time-ago {
      font-size: 0.85rem; color: var(--instagram-secondary-text);
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }
     #submenu-messages .message-card .snippet.unread {
        font-weight: 600; color: var(--instagram-primary-text);
    }
    #submenu-messages .message-card-meta {
        display: flex; flex-direction: column; align-items: flex-end;
        margin-left: 8px;
    }
    #submenu-messages .message-card .time-ago {
         font-size: 0.75rem; margin-bottom: 4px;
    }
    #submenu-messages .unread-indicator {
      width: 8px; height: 8px; background-color: var(--instagram-blue);
      border-radius: 50%;
    }
    #submenu-messages .no-messages {
        padding: 2rem 1rem; text-align: center; color: var(--instagram-secondary-text);
        font-size: 0.9em;
    }

    /* Other existing styles */
    .badge.bg-danger {background-color:#dc3545;color:#fff;}
    .menu-section-header {
      margin:.5rem .5rem .25rem; font-size:.75rem;
      color:#666; text-transform:uppercase; letter-spacing:.05em;
    }


.submenu-block { display:none; }
#noMessagesFound { display:none; }
        body { background-color: #f5f5f5; }
        .account-container { margin-top: 20px; }
        /* … your existing inline styles … */
    .vh-100 {
      height: 100vh;
    }
    .h-custom-2 {
      height: 100%;
    }


  .bg-image-vertical {
    background-repeat: no-repeat;
    background-position: center; /* Center the background image */
    background-size: cover; /* Cover the entire container */
    transition: background-image 1s ease-in-out;
    background-image: url('/storage/app/media/AI/these-pregnant-men-are-pregnant-there-are-a-few-in-9LMWDHkmTwWG8oXhWa3i6A-0im2cz0cT0O07DDi9fVZCw.jpeg');
  }

  @media (max-width: 1024px) {
    .bg-image-vertical {
      height: 50vh; /* Reduce height on smaller screens */
      width: 100%; /* Take full width of the screen */
      float: none; /* Cancel any floating properties */
    }
    .logo-container {
      display: block;
    }
  }

  @media (min-width: 1025px) {
    .bg-image-vertical {
      width: 50%;
      float: right;
    }
  }





    .form-container {
      max-width: 600px; /* Adjust for larger screens */
      margin: auto;
    }
    .row.custom-flex-fill {
      flex: 1;
      padding: 0; /* Custom padding for this specific row */
      margin-bottom: 0; /* Updated margin-bottom to 0 */
    }
    .logo-container {
      text-align: center;
    }
    .logo-container img {
      max-width: 200px; /* Adjust size as needed */
      cursor: pointer;
    }
    .password-wrapper {
      position: relative;
    }
    .show-password {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      cursor: pointer;
    }
    @media (min-width: 1025px) {
      .bg-image-vertical {
        width: 50%;
        float: right;
      }
    }
        body {
            background-color: #f5f5f5;
        }

        .account-container {
            margin-top: 20px;
        }

        /* Horizontal Navigation Tabs */
        .nav-pills {
            display: flex;
            justify-content: space-around;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .nav-pills .nav-link {
            font-weight: bold;
            border-radius: 0.375rem 0.375rem 0 0;
            color: #6c757d;
            padding: 10px 15px;
            border: none;
            transition: background-color 0.3s ease;
            border-bottom: 3px solid transparent;
        }

        .nav-pills .nav-link.active {
            background-color: #343a40;
            color: #fff;
            border-bottom: 3px solid #1d2124;
        }

        .tab-pane {
            padding-top: 20px;
        }

        .breadcrumb {
            border-radius: 0.375rem;
        }

        .card {
            border-radius: 0.375rem;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }

        .card-body {
            text-align: left;
        }

        .media-card .card-title {
            font-size: 1.25rem;
            margin-bottom: 0.5rem;
        }

        .media-card .card-subtitle {
            font-size: 1rem;
            color: #6c757d;
            margin-bottom: 1rem;
        }

        .media-card .card-text {
            margin-bottom: 0.5rem;
        }

        .card-footer {
            background-color: #f8f9fa;
            border-top: 1px solid #e9ecef;
            text-align: center;
            font-weight: bold;
        }

        .disabled-card {
            opacity: 0.6;
            pointer-events: none;
        }

        .progress {
            height: 25px;
            margin-bottom: 20px;
        }

        .progress-bar {
            background-color: #343a40;
        }

        .progress-bar-animated {
            animation: progress-bar-stripes 1s linear infinite;
        }

        .badge-pill {
            padding: 0.5em 1em;
            border-radius: 10rem;
        }

        table {
            width: 100%;
            margin-bottom: 20px;
            border-collapse: collapse;
        }

        th, td {
            padding: 10px;
            border: 1px solid #ddd;
        }

        th {
            background-color: #343a40;
            color: #fff;
            cursor: pointer;
        }

        td {
            background-color: #f8f9fa;
        }

        .support-text {
            font-size: 1rem;
            margin-bottom: 20px;
        }

        /* Small badge shown in the top right corner for AI generated content */
        .ai-badge {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            z-index: 10;
            font-size: 0.7rem;
        }

.breadcrumb {
    border-radius: 25px !important;
    border: 2px solid #000 !important;
    padding: 15px !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Soft card styling */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: box-shadow .2s ease;
    margin-bottom: 20px;
}
.card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: none;
}
.card-header {
    background-color: transparent;
    border-bottom: none;
}

/* Profile avatar grids (Who's Online + recent visitors) */
.menu-online-users-grid,
.profile-visitors-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
    gap: 0.75rem;
    justify-items: center;
}

.menu-online-users-item,
.profile-visitors-item {
    display: flex;
    justify-content: center;
}

.menu-online-users-link,
.profile-visitors-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0.25rem;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--bs-gray-100, #f1f5f9);
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-online-users-link:hover,
.menu-online-users-link:focus,
.profile-visitors-link:hover,
.profile-visitors-link:focus {
    transform: translateY(-1px);
    box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.45), 0 6px 14px rgba(15, 23, 42, 0.12);
}

.menu-online-users-avatar,
.profile-visitors-avatar {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
    border: none;
}

.menu-online-users-status {
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    width: 0.65rem;
    height: 0.65rem;
    background-color: var(--bs-success);
    border: 2px solid var(--bs-body-bg);
    border-radius: 50%;
}

.menu-online-users-status,
.profile-visitors-status {
    position: absolute;
    bottom: 0.15rem;
    right: 0.15rem;
    width: 0.65rem;
    height: 0.65rem;
    background-color: var(--bs-success);
    border: 2px solid var(--bs-body-bg);
    border-radius: 50%;
}

/* Drawer community cards (Who's Online + recent visitors) */
.drawer-community .card {
    border-radius: 1rem;
}

.drawer-community .drawer-card-title {
    letter-spacing: 0.08em;
    text-align: left;
}

.drawer-community .drawer-card-link {
    color: var(--bs-primary);
    font-weight: 600;
}

@media (max-width: 576px) {
    .drawer-community .menu-online-users-grid,
    .drawer-community .profile-visitors-grid {
        gap: 0.5rem;
    }

    .menu-online-users-link,
    .profile-visitors-link {
        width: 2.9rem;
        height: 2.9rem;
        padding: 0.2rem;
    }
}

.drawer-community .drawer-online-avatar {
    width: 72px;
    color: var(--text-primary, #222b45);
}

.drawer-community .drawer-online-avatar-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--bs-success);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.drawer-community .drawer-online-avatar:hover .drawer-online-avatar-img,
.drawer-community .drawer-online-avatar:focus .drawer-online-avatar-img {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.25);
}

.drawer-community .drawer-online-avatar-name {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.drawer-community .profile-visitors-card .card-header {
    color: var(--text-secondary, #6b7280);
    letter-spacing: 0.08em;
}

/* Allow social profile posts to display their full content */
.post-container .post-item .post-content {
    height: auto;
    max-height: none;
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
}

.post-card .post-content {
    position: relative;
    display: contents;
}

.social-counter-group {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.social-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.16);
    color: var(--bs-primary, #0d6efd);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.social-counter-count {
    line-height: 1;
}

.social-counter-icon {
    font-size: 0.9em;
    line-height: 1;
}

.nav-link .social-counter-group {
    margin-left: 0.75rem;
}

.drawer-content .social-counter-group {
    margin-left: 0.5rem;
}

.ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 0.35rem;
    color: var(--bs-primary, #0d6efd);
    animation: aiIconPulse 3.2s ease-in-out infinite;
    filter: drop-shadow(0 0.2rem 0.6rem rgba(13, 110, 253, 0.25));
}

.ai-icon-creator {
    color: #845ef7;
    animation-delay: -0.6s;
}

.ai-icon-quiz {
    color: #20c997;
}

@keyframes aiIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0.15rem 0.35rem rgba(13, 110, 253, 0.18));
    }
    50% {
        transform: scale(1.18);
        filter: drop-shadow(0 0.35rem 0.75rem rgba(132, 94, 247, 0.35));
    }
}

@media (prefers-reduced-motion: reduce) {
    .ai-icon {
        animation: none !important;
    }
}

/* Community Q&A layout fixes */
.community-qa > .row > [class*='col-'] {
    display: block;
    flex: none;
}

.community-qa > .row .card {
    flex: none;
}

.community-qa .card-body {
    overflow: visible;
    text-overflow: initial;
}

.community-qa #share-answer button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 991.98px) {
    .community-qa aside {
        margin-top: 1.5rem;
    }
}

/* Video experience page */
.video-experience {
    position: relative;
}

.video-experience__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 1199.98px) {
    .video-experience__grid {
        grid-template-columns: 1fr;
    }
}

.video-session {
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.video-session__avatar img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: cover;
}

.video-session__eyebrow {
    letter-spacing: 0.08em;
}

.video-session__title {
    line-height: 1.2;
}

.video-session__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.video-session__chip {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    background: #e9eefc;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.video-session__player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-session__stats {
    gap: 1.75rem !important;
}

.video-session__stat {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #f1f5f9;
    border-radius: 1rem;
    padding: 0.85rem 1.15rem;
    min-width: 9.5rem;
}

.video-session__stat-icon {
    display: inline-flex;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #0f172a;
    font-size: 1rem;
}

.video-session__stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.video-session__stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.video-session__description {
    background: rgba(15, 23, 42, 0.02);
    border-radius: 1rem;
    padding: 1.5rem;
}

.video-comments {
    border-radius: 1.5rem;
    position: sticky;
    top: 1.5rem;
}

.video-comments__list {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.video-comments__list::-webkit-scrollbar {
    width: 0.4rem;
}

.video-comments__list::-webkit-scrollbar-thumb {
    background-color: rgba(15, 23, 42, 0.18);
    border-radius: 999px;
}

.video-comments__list .list-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-comments__list .list-group-item {
    border: 0;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 1rem 1.15rem;
}

.video-comments__list .list-group-item .text-muted {
    font-size: 0.8rem;
}

.video-comments__input {
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    resize: vertical;
}

.video-comments__form .btn {
    border-radius: 999px;
}

.video-session__action-buttons .btn-outline-secondary.btn-success {
    border-color: transparent;
}

@media (max-width: 767.98px) {
    .video-session__stat {
        width: 100%;
    }

    .video-comments {
        position: static;
    }
}
