/*
 * DirtyBoyVideo members extras (ZMS).
 * Tag filter UI is ZMS-owned — do not reuse elevatedX tags_filter markup/styles.
 *
 * Loaded AFTER style-l/menu so these rules can override style-l's
 * `@media (min-width: 320px) { .container { max-width: 100% } }`, which makes
 * members pages stretch edge-to-edge on wide monitors. Header already intends 1450px.
 */
body.member .container {
  max-width: 1450px;
  margin-left: auto;
  margin-right: auto;
}

body.member .pagination > li.active > a,
body.member .pagination > li.active > a:hover,
body.member .pagination > li.active > a:focus {
  background: #c1272d;
  color: #fff;
}

/* ---- ZMS members tag filter (scenes listing) ---- */
.zms-dbv-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 0.75rem;
}
.zms-dbv-toolbar__sort select {
  min-width: 10rem;
  max-width: 100%;
  height: 2.25rem;
  padding: 0.25rem 0.6rem;
  border: 1px solid #c8c0bc;
  border-radius: 2px;
  background: #fff;
  color: #222;
  font-size: 0.9rem;
}
.zms-dbv-tag-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  height: 2.25rem;
  padding: 0 0.9rem;
  border: 1px solid #660d00;
  border-radius: 2px;
  background: #fff;
  color: #660d00;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}
.zms-dbv-tag-toggle:hover,
.zms-dbv-tag-toggle.is-open {
  background: #660d00;
  color: #fff;
}
.zms-dbv-tag-panel {
  margin: 0 0 1.25rem;
  border-top: 3px solid #660d00;
  border-right: 1px solid #e7e0dc;
  border-bottom: 1px solid #e7e0dc;
  border-left: 1px solid #e7e0dc;
  background: linear-gradient(180deg, #faf7f5 0%, #fff 40%);
  padding: 0.85rem 1rem 1rem;
}
.zms-dbv-tag-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.zms-dbv-tag-panel__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3a1a14;
}
.zms-dbv-tag-panel__close {
  border: 0;
  background: transparent;
  color: #6a524c;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.15rem;
  cursor: pointer;
}
.zms-dbv-tag-panel__close:hover {
  color: #660d00;
}
.zms-dbv-tag-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.zms-dbv-tag-chip {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border: 1px solid #d6cdc8;
  border-radius: 999px;
  background: #fff;
  color: #3a1a14;
  font-size: 0.8rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.zms-dbv-tag-chip:hover {
  border-color: #660d00;
  color: #660d00;
  text-decoration: none;
}
.zms-dbv-tag-chip.is-active {
  border-color: #660d00;
  background: #660d00;
  color: #fff;
}
.zms-dbv-tag-panel__foot {
  margin-top: 0.85rem;
  padding-top: 0.65rem;
  border-top: 1px solid #ebe4df;
  text-align: right;
}
.zms-dbv-tag-panel__foot a {
  color: #660d00;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.zms-dbv-tag-panel__foot a:hover {
  text-decoration: underline;
}

@media (max-width: 575.98px) {
  .zms-dbv-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .zms-dbv-tag-toggle {
    margin-left: 0;
    justify-content: center;
  }
  .zms-dbv-tag-panel__foot {
    text-align: center;
  }
}

/* ---- ZMS members scene detail (videos_members) ---- */
/* Live wraps player + tabs + copy in max-width:1200px; style-l .container is fluid. */
body.member .video-block {
  clear: both;
}
.zms-dbv-scene-shell {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}
.zms-dbv-scene-title {
  margin: 20px auto;
  text-align: center;
}
.zms-dbv-scene-player {
  width: 100%;
  margin: 0 auto 20px;
}
#redbar {
  background: #660d00;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}
#redbar .cell {
  display: inline-block;
}
#redbar a:link,
#redbar a:active,
#redbar a:visited,
#redbar a:hover {
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  padding: 5px 15px;
  display: inline-block;
}
#redbar .favicon {
  margin-right: 0.35rem;
}
#redbar .favicon.heart_pink {
  color: #ff4d6d;
}
#redbar .favicon.heart_grey {
  color: #fff;
}
.zms-dbv-scene-description {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  line-height: 1.45;
  font-weight: normal;
  text-transform: none;
}
.zms-dbv-photo-shell {
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
}
.zms-dbv-photo-description {
  margin: 0 !important;
  padding: 0 !important;
}
.zms-dbv-scene-meta {
  margin-top: 5px !important;
  margin-bottom: 5px;
}
.zms-dbv-scene-meta a {
  margin-right: 0.35rem;
}
.zms-dbv-scene-comments {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}
.zms-dbv-fav-toggle {
  margin-top: 0.35rem;
}
.zms-dbv-fav-toggle a {
  color: #660d00;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
}
.zms-dbv-fav-toggle .favicon.heart_pink {
  color: #ff4d6d;
}
.zms-dbv-fav-toggle .favicon.heart_grey {
  color: #888;
}

/* Favorites page: title left / sort right (BS4 has no .pull-right) */
.zms-dbv-favorites {
  clear: both;
}
.zms-dbv-favorites__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0 0 1rem;
}
.zms-dbv-favorites__title {
  margin: 0;
  line-height: 1.2;
}
.zms-dbv-favorites__toolbar .sort_options,
.zms-dbv-favorites__toolbar select {
  float: none;
  margin: 0;
}

/* Rating star PNG sprites removed — no DirtyBoyVideo template uses rating_empty /
   rating_voted / rating_* classes, and images/icons/star*.png were never shipped
   under this skin. Thumbs-up/down rules below remain (text-shadow only). */

/* Rating Thumbs up / Thumbs Down CSS */

.thumbs_vote { font-size:10px; color:transparent;}
.thumbs_vote:hover { cursor:pointer; }

/* Thumb can be voted on, but has not been voted on yet */
.thumbs_vote_up { text-shadow: 0 0 0 green; }
.thumbs_vote_down { text-shadow: 0 0 0 red; }
.thumbs_vote_up:hover { text-shadow: 0 0 0 gold; }
.thumbs_vote_down:hover { text-shadow: 0 0 0 gold; }
.thumbs_vote_up:active { text-shadow: 0 0 0 orange; }
.thumbs_vote_down:active { text-shadow: 0 0 0 orange; }

/* Thumb can be voted on, and has been voted on */
.thumbs_voted_up { text-shadow: 0 0 0 orange; }
.thumbs_voted_down { text-shadow: 0 0 0 orange; }
.thumbs_voted_up:hover { text-shadow: 0 0 0 gold; }
.thumbs_voted_down:hover { text-shadow: 0 0 0 gold; }
.thumbs_voted_up:active { text-shadow: 0 0 0 orange; }
.thumbs_voted_down:active { text-shadow: 0 0 0 orange; }

/* Thumb cannot be voted on */

.thumbs_novote { font-size:10px; color: transparent; text-shadow: 0 0 0 #808080;}
.novote_down { text-shadow: 0 0 0 #808080;}
.novote_up { text-shadow: 0 0 0 #808080;}

/* Welcome, name! stays sentence case (nav is otherwise uppercase). */
body.member .navbar-nav .zms-members-welcome .zms-members-welcome__toggle {
  text-transform: none !important;
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zms-dl-status {
  font-weight: 600;
  white-space: nowrap;
}
.zms-dl-status--success { color: #1e8449; }
.zms-dl-status--pending { color: #1a5276; }
.zms-dl-status--incomplete { color: #b9770e; }
.zms-dl-status--error { color: #c0392b; }
.zms-dl-status--denied_policy,
.zms-dl-status--denied_cap,
.zms-dl-status--denied_token { color: #7f8c8d; }
