:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --background-color: #cddae6;
  --text-color: #212529;
  --link-hover-color: #0056b3;
  --padding-standard: 1rem;
  --margin-standard: 1rem;
  --font-base-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  font-size: var(--font-base-size);
  color: var(--text-color);
  background-color: var(--background-color);
  margin: 0;
  padding: 0;
}

#app-content {
  padding-top: 0px;
}

.customnavmpstuff
{
    padding-left: 21px;
    padding-right: 21px;
}

.align-items-md-stretch {
  padding-bottom: 20px;
}


.fullscreen-bg {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  z-index: -100;
}

.fullscreen-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navbar-nav .nav-item {
  margin-right: 10px;
}

.nav-item .btn {
  padding: 5px 10px;
  margin: 0 5px;
  font-size: 0.9rem;
}

.custom-header {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: lightgray;
  background-size: contain;
  height: 400px;
  padding: 0px;
}

.custom-sidebar {
  padding-top: 52px;
  margin-top: 0px;
}

.album .row .col {
  padding: 5px;
}

.card, .img-fluid {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  margin-bottom: var(--margin-standard);
}

.card:hover, .img-fluid:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-img-top {
  height: 357px;
  object-fit: cover;
  padding: 0;
}

.card-header {
  padding: 0 0 0.75rem 0;
}
.card-header.d-flex {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
}

.card-title {
  font-size: 1rem;
}

.clickable-card {
  cursor: pointer;
}

.breadcrumb {
  background-color: transparent;
  margin-top: 31px;
  margin-bottom: 20px;
  padding: 0px;
}

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

.breadcrumb a:hover {
  color: var(--link-hover-color);
}

.ad-top, .ad-section {
  margin-bottom: var(--margin-standard);
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
}

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

.relevant-links {
  padding: var(--padding-standard);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: var(--margin-standard);
  margin-bottom: var(--margin-standard);
}

.youtube {
  margin-top: 20px;
  margin-bottom: 20px;
}

.row {
  margin-bottom: 15px;
}

.ad-top img {
  width: 100%;
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  body {
    font-size: calc(var(--font-base-size) + 2px);
  }
}

.icon-person-circle {
  border-radius: 50%;
  border: 2px solid var(--main-color);
  padding: 2px;
}


.nav.flex-column.nav-pills {
  display: flex;
  flex-direction: column;
}

.account-card {
  background-color: var(--bs-body-bg, #ffffff);
  box-shadow: 0 1rem 2.5rem rgba(15, 22, 47, 0.18);
  border: 1px solid rgba(15, 22, 47, 0.08);
}

html[data-bs-theme='dark'] .account-card {
  background-color: var(--bg-secondary, #1b1b2f);
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

.form-group {
  margin-bottom: 1rem;
}

.form-control {
  font-size: 1rem;
}

.navbar-toggler {
  padding: 5px 10px;
  margin-right: 5px;
  font-size: 0.9rem;
}

.nav.flex-column.nav-pills {
  display: flex;
  flex-direction: column;
}

.navbar-brand {
  margin-left: auto;
  margin-right: auto;
}

.search-bar {
  display: none;
}

#v-pills-tab a {
  cursor: pointer;
}

/* Custom Styles for Watch History Tab Cards */
.card-custom {
  height: 200px; /* Set a fixed height */
  width: 100%; /* Full width */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Distribute space evenly */
}

.card-body {
  overflow: hidden; /* Hide overflow */
  text-overflow: ellipsis; /* Add ellipsis for overflow text */
}

.row {
  display: flex;
  flex-wrap: wrap;
}

.row > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.row .card {
  flex: 1; /* Cards will take up equal space */
}

.star-rating .fa {
  color: #ddd; /* Default star color */
  cursor: pointer;
}

.star-rating .fa:hover,
.star-rating .fa.active {
  color: #ffc107; /* Active/Hover star color */
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.star-rating {
  display: flex;
  justify-content: space-between;
}

.tracking-switch{
  display: flex;
  justify-content: space-between;
}

.star-rating input {
  display: none;
}

.star-container {
  display: flex;
  align-items: center;
}

.star-rating label {
  font-size: 1.5rem;
  cursor: pointer;
  display: inline-block;
  height: 1.5rem;
  width: 1.5rem;
  border-radius: 50%;
  background-color: #ddd;
  border: 1px solid #ddd;
  line-height: 1.5rem;
  text-align: center;
}

.star-rating input:checked ~ label {
  background-color: #ffc107;
  border-color: #ffc107;
}
.star-rating label i {
  display: block;
  font-size: 1.25rem;
}

.star-rating input:checked ~ label i {
  color: #000;
}

.star-rating-item {
  color: #ccc; /* Unselected color */
  cursor: pointer;
}

.star-rating-item input {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.star-rating-item label {
  cursor: pointer;
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
}
/* 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 */
  }
  .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: none; /* Hide the logo container on mobile devices */
    }
  }
  @media (min-width: 1025px) {
    .bg-image-vertical {
      width: 50%;
      float: right;
    }
  }


/* 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: none; /* Hide the logo container on mobile devices */
    }
  }

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

/* Reusable card styles */
.card-clickable {
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-clickable:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.app-card-grid {
    /* allow custom gaps if needed */
    row-gap: 1rem;
    column-gap: 1rem;
}


/* 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 {
            margin-left: 10px;
        }

        /* 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;
            }
        }


/* 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; }
    /* Ensure modals appear above any page overlays */
    .modal { z-index: 11000 !important; }
    .modal-backdrop {
      z-index: 10998 !important;
      pointer-events: none;
    }
    .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 */

        .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: none; /* Hide the logo container on mobile devices */
    }
  }
  @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;
      }
      .blur-content {
          filter: blur(8px) grayscale(50%);
          transition: filter 0.3s ease;
      }
      .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;
      }
    }

    /* 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; }

    /* Dim disabled nav buttons */
    .nav-btn:disabled,
    .nav-btn[disabled] {
      opacity: .5;
    }

    /* Register modal call-to-action */
    #registerPromptModal .modal-content {
      background: transparent;
      border: none;
      box-shadow: none;
    }

    #registerCarousel.register-cta {
      background: linear-gradient(135deg, #f5f9ff 0%, #dce9ff 100%);
      border-radius: 1.5rem;
      padding: clamp(2rem, 4vw, 3.5rem);
      box-shadow: 0 20px 45px -20px rgba(15, 43, 87, 0.35);
      display: flex;
      justify-content: center;
    }

    .register-cta__content {
      max-width: 540px;
      color: #123458;
    }

    .register-cta__eyebrow {
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: rgba(18, 52, 88, 0.75);
    }

    .register-cta__headline {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      font-weight: 700;
      color: #123458;
    }

    .register-cta__primary {
      min-width: 150px;
      font-weight: 600;
      color: #123458;
      background-color: #ffffff;
      border-color: #ffffff;
      box-shadow: 0 10px 25px -10px rgba(28, 76, 160, 0.6);
    }

    .register-cta__secondary {
      font-weight: 600;
      color: #123458;
      background-color: rgba(255, 255, 255, 0.65);
      border-color: rgba(18, 52, 88, 0.25);
      backdrop-filter: blur(6px);
    }

    .register-cta__secondary:hover,
    .register-cta__secondary:focus {
      color: #0d2742;
      background-color: rgba(255, 255, 255, 0.85);
      border-color: rgba(18, 52, 88, 0.35);
    }

    @media (max-width: 576px) {
      #registerCarousel.register-cta {
        text-align: center;
        padding: 2rem;
      }

      .register-cta__content {
        max-width: 100%;
      }
    }

    html[data-bs-theme='dark'] #registerCarousel.register-cta,
    body[data-bs-theme='dark'] #registerCarousel.register-cta {
      background: radial-gradient(circle at top left, rgba(63, 99, 173, 0.4), rgba(20, 32, 63, 0.95));
      box-shadow: 0 24px 55px -25px rgba(6, 16, 38, 0.8);
    }

    html[data-bs-theme='dark'] .register-cta__content,
    body[data-bs-theme='dark'] .register-cta__content {
      color: #f1f5ff;
    }

    html[data-bs-theme='dark'] .register-cta__eyebrow,
    body[data-bs-theme='dark'] .register-cta__eyebrow {
      color: rgba(241, 245, 255, 0.75);
    }

    html[data-bs-theme='dark'] .register-cta__headline,
    body[data-bs-theme='dark'] .register-cta__headline {
      color: #f8fbff;
    }

    html[data-bs-theme='dark'] .register-cta__primary,
    body[data-bs-theme='dark'] .register-cta__primary {
      color: #123458;
      background-color: #ffffff;
      border-color: #ffffff;
      box-shadow: 0 15px 35px -15px rgba(72, 144, 255, 0.85);
    }

    /* 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;
    }
