/*

Pixel Flow

*/

/*---------------------------------------
CUSTOM PROPERTIES ( VARIABLES )
-----------------------------------------*/
:root {

  --pf-ui-zoom:                   0.85;	/* zooms the browser */

  --white-color:                  #ffffff;
  --primary-color:                #E63946;
  --secondary-color:              #F1FAEE;
  --section-bg-color:             #ececec;
  --primary-bg-color:             #E63946;
  --custom-btn-bg-color:          #3C9294; /*#A8DADC;*/
  --blue-bg-color:          	#A8DADC;
  --custom-btn-bg-hover-color:    #1D3557;
  --heading-color:                #1D3557;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #e0e0e5;
  --link-hover-color:             #E63946;

  --body-font-family:             'Unbounded';

  --h1-font-size:                 74px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --menu-font-size:               14px;
  --btn-font-size:                12px;
  --copyright-font-size:          10px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
  zoom: var(--pf-ui-zoom); /* for zooming the browser */
}


/*---------------------------------------
TYPOGRAPHY
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-bold);
}

h1 {
  font-size: var(--h1-font-size);
}

h2 {
  font-size: var(--h2-font-size);
}

h3 {
  font-size: var(--h3-font-size);
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
}

h6 {
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
}

a,
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

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

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
SECTION
-----------------------------------------*/
.main-wrapper {
  background: var(--section-bg-color);
  min-height: calc(100vh - 65px);
}

.section-padding {
  padding: 100px 50px;
}

.title-group small {
  font-weight: var(--font-weight-light);
}

.custom-block.section-bg,
.section-bg {
  background-color: var(--section-bg-color);
}

.custom-block.primary-bg {
  background: var(--primary-bg-color);
}

.featured-box {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  padding: 20px;
  text-align: center;
}

.featured-box img {
  display: block;
  margin: auto;
  margin-bottom: 15px;
  width: 100px;
  height: auto;
}


/*---------------------------------------
TAB BAR
-----------------------------------------*/
.tab-content {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
}

.nav-tabs {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 35px;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
  padding: 15px 25px;
  transition: all 0.3s;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
  border-bottom-color: var(--primary-color);
  color: var(--primary-color);
}


/*---------------------------------------
PROFILE IMAGE
-----------------------------------------*/
.profile-image {
  border-radius: var(--border-radius-small);
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.custom-block-profile-image-wrap {
  max-width: 95.71px;
  margin: auto;
  position: relative;
}

.custom-block-profile-front .custom-block-profile-image-wrap {
  max-width: 130px;
}

.custom-block-profile-front .custom-block-profile-image {
  width: 130px;
  height: 130px;
}

.custom-block-profile-image {
  border-radius: var(--border-radius-large);
  display: block;
  margin: auto;
  width: 95.71px;
  height: 95.71px;
  object-fit: cover;
}

.custom-block .profile-image {
  border-radius: var(--border-radius-medium);
  width: 64px;
  height: 64px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.profile-rounded {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  display: inline-block;
  vertical-align: top;
  width: 64px;
  height: 64px;
  text-align: center;
}

.profile-rounded-icon {
  font-size: var(--h2-font-size);
}

.dropdown-menu-profile-thumb {
  margin: 15px 25px;
}

.dropdown-menu-profile-thumb small,
.dropdown-menu-profile-thumb a {
  font-size: var(--btn-font-size);
}

.dropdown-menu.dropdown-menu-social {
  min-width: 340px;
}

.dropdown-menu-social .profile-image {
  margin-bottom: 5px;
}

.dropdown .dropdown-menu-social span {
  font-size: var(--btn-font-size);
}

.dropdown .dropdown-menu-social .dropdown-item {
  display: block;
  margin: auto;
  margin-bottom: 5px;
  padding-right: 0;
  padding-left: 0;
}

.dropdown .dropdown-menu-social .dropdown-item:hover {
  background: var(--section-bg-color);
  color: var(--p-color);
}


/*---------------------------------------
NOTIFICATIONS ICON
-----------------------------------------*/
.dropdown-menu.notifications-block-wrap {
  min-width: 465px;
}

.notifications-block-wrap small {
  background: var(--custom-btn-bg-color);
  display: block;
  padding: 15px 30px;
  margin-top: -15px;
  margin-bottom: 10px;
}

.notifications-block p {
  font-size: var(--btn-font-size);
  margin-bottom: 0;
}

.notifications-block span {
  white-space: normal;
}

.dropdown .notifications-block .dropdown-item:hover {
  background: transparent;
  color: var(--dark-color);
}

.notifications-icon-wrap {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  width: 32px;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-right: 10px;
}

.notifications-icon {
  font-size: var(--p-font-size);
  color: var(--white-color);
}


/*---------------------------------------
CUSTOM BUTTON
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-bold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}

.custom-btn-italic {
  font-style: italic;
}


/*---------------------------------------
NAVIGATION
-----------------------------------------*/

:root{
  --header-h: 64px;          /* your fixed top app header */
  --sidebar-w: 300px;
  --sidebar-w-sm: 72px;
  --sidebar-head-h: 56px;    /* <— set to the actual height of the bar with the toggle */
}

/* OUTER: fixed container, no vertical scrolling here */
/* #sidebarMenu.sidebar{
position: fixed;
left: 0; top: 0; bottom: 0;
width: var(--sidebar-w);
padding-top: var(--header-h);       push below app header
background: var(--white-color, #fff);
border-right: 1px solid rgba(0,0,0,.075);
overflow: hidden;                   important: inner element scrolls
transition: width 180ms ease;
}
.sidebar-collapsed #sidebarMenu.sidebar{ width: var(--sidebar-w-sm); }

The small header area inside the sidebar (logo/toggle row)
#sidebarMenu .sidebar-head{
position: sticky;
top: 0;
z-index: 2;
height: var(--sidebar-head-h);      <— define its height
display: flex; align-items: center;
background: #f8f9fa;
}

INNER: the only element that should scroll
.sidebar-sticky{
subtract both the app header and the sidebar head
height: calc(100vh - (var(--header-h) + var(--sidebar-head-h)));
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: auto;
} */

/* =========================================================
LEFT SIDEBAR
========================================================= */

#sidebarMenu.sidebar {
  position: fixed;
  left: 0;
  top: var(--header-h);
  bottom: 0;

  width: var(--sidebar-w);
  padding: 0;

  display: flex !important;
  flex-direction: column;

  background: var(--white-color, #fff);
  border-right: 1px solid rgba(0,0,0,.075);

  overflow: hidden;

  transition: width 180ms ease;
}

.sidebar-collapsed #sidebarMenu.sidebar {
  width: var(--sidebar-w-sm);
}


/* Toggle/header area stays fixed */
#sidebarMenu .sidebar-head {
  flex: 0 0 var(--sidebar-head-h);
  min-height: var(--sidebar-head-h);

  display: flex;
  align-items: center;

  background: #f8f9fa;
  z-index: 2;
}


/* Only this area scrolls */
#sidebarMenu .sidebar-sticky {
  flex: 1 1 0;
  min-height: 0;
  height: 0;

  overflow-y: auto;
  overflow-x: hidden;

  padding-bottom: 24px !important;

  scrollbar-width: auto;
  scrollbar-gutter: stable;
}


/* Chrome / Edge */
#sidebarMenu .sidebar-sticky::-webkit-scrollbar {
  width: 8px;
}

#sidebarMenu .sidebar-sticky::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.30);
  border-radius: 4px;
}

#sidebarMenu .sidebar-sticky::-webkit-scrollbar-track {
  background: transparent;
}


/* .sidebar-sticky::-webkit-scrollbar{ width: 8px; }
.sidebar-sticky::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.25); border-radius: 4px; }
.sidebar-sticky::-webkit-scrollbar-track{ background: transparent; } */

/* your existing utility rules can stay */
#sidebarMenu .sidebar-toggle{ width:32px; height:32px; padding:0; display:inline-flex; align-items:center; justify-content:center; }
#sidebarMenu .nav-link{ display:flex; align-items:center; gap:.75rem; }
#sidebarMenu .nav-icon{ min-width:1.25rem; text-align:center; }


/* #sidebarMenu .sidebar-head { position: sticky; top: 0; z-index: 2; background: #f8f9fa; } */



.logo-image {
  width: 32px;
  height: auto;
}

.navbar {
  background: var(--white-color);
  border-bottom: 1px solid var(--border-color);
  padding-top: 8px;
  padding-bottom: 8px;
}

.navbar .nav-link {
  position: relative;
}

.navbar .header-form {
  width: 35%;
}

.navbar .header-form .form-control {
  margin-bottom: 0;
}

.navbar .dropdown-toggle::after {
  display: none;
}

.dropdown-menu {
  overflow: hidden;
  min-width: 240px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.dropdown-toggle {
  width: 32px;
}

.dropdown-toggle .start-100 {
  top: 8px;
  left: 68%!important;
}

.dropdown .dropdown-item {
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-light);
  display: inline-block;
  margin-right: 15px;
  margin-left: 15px;
  padding-top: 7px;
  padding-bottom: 7px;
  width: auto;
}

.dropdown .dropdown-item:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-nav .dropdown-menu {
  border-color: transparent;
  border-radius: var(--border-radius-small);
  position: absolute;
}

.dropdown-menu[data-bs-popper] {
  right: 0;
  left: auto;
}

#sidebarMenu .nav {
  flex-wrap: inherit;
}

#sidebarMenu .nav-link {
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-size: var(--menu-font-size);
  display: inline-block;
  position: relative;
  margin-top: 5px;
}

#sidebarMenu .nav-link.active,
#sidebarMenu .nav-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-toggler {
  background: var(--primary-color);
  border-radius: var(--border-radius-small);
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 222;
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 10px;
  width: 40px;
  height: 40px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  margin: auto;
  width: 23px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 23px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
CUSTOM BLOCK
-----------------------------------------*/
.custom-block {
  background: var(--secondary-color);
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 30px;
}

.custom-block h2,
.custom-block p {
  position: relative;
  z-index: 2;
}

.custom-block-balance::before {
  content: "";
  background: var(--custom-btn-bg-color);
  background: #ff0000;
  border-radius: 100%;
  width: 200px;
  height: 200px;
  position: absolute;
  top: -65px;
  right: -25px;
  transform: rotate(-25deg);
}

.custom-block-balance::after {
  content: "";
  background: var(--primary-color);
  background: #ffa500;
  border-radius: 100%;
  width: 180px;
  height: 180px;
  position: absolute;
  top: -75px;
  right: -25px;
  transform: rotate(-25deg);
}

.custom-block-edit-icon {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  width: 35px;
  height: 35px;
  line-height: 35px;
  text-align: center;
}

.custom-block-edit-icon:hover {
  background: var(--custom-btn-bg-color);
  color: var(--white-color);
}

.custom-block-profile .custom-block-edit-icon {
  position: absolute;
  bottom: 0;
  right: 0;
}

.custom-block-profile-front .custom-block-edit-icon {
  bottom: 10px;
}

.custom-block-bottom {
  background: var(--blue-bg-color);
  text-align: center;
}

.custom-block.custom-block-bottom small {
  text-transform: none;
}

.custom-block-bottom-item {
  flex: auto;
}

.custom-block-icon {
  background: var(--secondary-color);
  border-radius: var(--border-radius-medium);
  font-size: var(--h6-font-size);
  width: 55px;
  height: 55px;
  line-height: 55px;
  text-align: center;
  color: var(--dark-color);
  display: block;
  margin: auto;
  margin-bottom: 10px;
  transition: all 0.3s;
}

.custom-block-icon:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-block p {
  color: var(--dark-color);
  margin-bottom: 0;
}

.custom-block small {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  text-transform: uppercase;
}

.custom-block-numbers {
  margin-bottom: 10px;
}

.custom-block-numbers span {
  color: var(--dark-color);
  display: inline-block;
  vertical-align: middle;
  font-size: var(--p-font-size);
  margin-right: 10px;
  position: relative;
  top: 3px;
}

.custom-block-image {
  border: 10px solid var(--primary-color);
  border-radius: 100%;
  position: absolute;
  top: -60px;
  right: 20px;
  left: 0;
  width: 120px;
  height: 120px;
  margin: auto;
  object-fit: cover;
}

.custom-block-exchange,
.custom-block-contact {
  background: var(--custom-btn-bg-color);
}

.custom-block-exchange .border-bottom {
  border-bottom: 1px solid #c6e5e7 !important;
}

.custom-block-exchange h6 {
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-normal);
}

.custom-block-exchange p + h6 {
  color: var(--p-color);
}

.exchange-image {
  border-radius: var(--border-radius-small);
  width: 64px;
  height: auto;
  margin-right: 15px;
}

.custom-block-transations p {
  font-size: var(--menu-font-size);
  margin-bottom: 0;
}

.custom-block-transations small {
  text-transform: none;
}

.custom-block-transations p a {
  color: var(--dark-color);
}

.custom-block-transations p a:hover {
  color: var(--primary-color);
}

.custom-block-transation-detail h6,
.custom-block-transation-detail-item p {
  font-size: var(--menu-font-size);
}

.custom-block-transation-detail-item {
  flex: auto;
}

.custom-block-faq p {
  font-size: var(--menu-font-size);
}

.custom-block-contact p a {
  color: var(--heading-color);
}

.custom-block-contact p a:hover {
  color: var(--white-color);
}

.custom-block-profile p {
  font-size: var(--menu-font-size);
}

.custom-block-profile span,
.custom-block-profile p a {
  color: var(--p-color);
  max-width: 200px;
}

.custom-block-profile p a:hover {
  color: var(--primary-color);
}

.custom-block-profile strong {
  min-width: 125px;
  margin-right: 10px;
}


/*---------------------------------------
SEARCH, PROFILE FORM
-----------------------------------------*/
.profile-form .input-group .form-control {
  background: #e9ecef;
}

.profile-form .profile-image {
  width: 52px;
  height: 52px;
}

.profile-form .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
  border-radius: var(--border-radius-medium);
}

.profile-form .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  margin-left: 0;
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
ACCOUNT TABLE
-----------------------------------------*/
.account-table {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  position: relative;
  overflow: hidden;
}

.account-table>:not(caption)>*>* {
  border-bottom: 0;
  padding: 15px 10px;
}

.account-table thead {
  background: var(--custom-btn-bg-color);
}

.account-table th,
.account-table tr {
  font-size: var(--btn-font-size);
  padding: 15px 10px;
}

.account-table th {
  padding: 12px 15px;
}

.account-table tr {
  font-weight: var(--font-weight-normal);
}

.account-table tbody tr:nth-child(odd) {
  background: var(--white-color);
}

.badge {
  border-radius: var(--border-radius-large);
  font-weight: var(--font-weight-normal);
  line-height: normal;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 4px;
}

/* Larger checkbox for table row selection */
.account-table .pf-table-select-checkbox {
  width: 1.35rem;
  height: 1.35rem;
  cursor: pointer;
}

.account-table th.select-col,
.account-table td.select-col {
  min-width: 100px;
  width: 100px;
  text-align: center;
  vertical-align: middle;
}


/*---------------------------------------
PAGINATION
-----------------------------------------*/
.pagination {
  margin-top: 20px;
}

.page-link {
  border-radius: var(--border-radius-medium);
  color: var(--p-color);
  font-size: var(--btn-font-size);
  margin: 0 5px;
  padding: 10px 20px;
}

.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--custom-btn-bg-color);
  color: var(--white-color);
}

.page-item:not(:first-child) .page-link {
  margin-left: 10px;
}

.page-item:first-child .page-link {
  margin-right: 10px;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: var(--border-radius-medium);
  font-weight: var(--font-weight-bold);
  margin-left: 15px;
}

.active>.page-link, .page-link.active {
  background-color: var(--custom-btn-bg-color);
  border-color: var(--secondary-color);
}


/*---------------------------------------
CUSTOM FORM
-----------------------------------------*/
.custom-form .form-control {
  color: var(--p-color);
  border-radius: var(--border-radius-large);
  font-size: var(--menu-font-size);
  margin-bottom: 24px;
  padding: 10px 20px;
  outline: none;
  transition: all 0.3s;
}

.form-check-input:checked {
  background-color: var(--custom-btn-bg-hover-color);
  border-color: var(--custom-btn-bg-hover-color);
}

.form-check-label {
  color: var(--p-color);
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  background: var(--section-bg-color);
  border-color: transparent;
}

.custom-form button[type="button"],
.custom-form button[type="submit"] {
  border-radius: var(--border-radius-large);
  font-size: var(--menu-font-size);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-hover-color);
  border: none;
  color: var(--white-color);
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
}


/*---------------------------------------
SITE FOOTER
-----------------------------------------*/
.site-footer {
  padding-right: 20px;
  padding-left: 20px;
}

.copyright-text {
  font-size: var(--copyright-font-size);
}


/*---------------------------------------
RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 1200px) {
  h1 {
    font-size: 62px;
  }
}

@media screen and (max-width: 991px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }
}


@media screen and (max-width: 767px) {

  .navbar .header-form {
    width: 100%;
    margin: 10px;
  }

  .navbar .nav-link {
    padding-top: 7px;
  }

  .navbar-nav .dropdown:last-child {
    margin-right: 50px;
  }
}


@media screen and (max-width: 580px) {
  .navbar-nav .dropdown-menu {
    width: 95%;
    min-width: 240px;
    margin: auto;
    top: 60px;
    right: 0;
    left: 0;
  }

  .dropdown-menu[data-bs-popper] {
    top: 60px;
    right: 0;
    left: 0;
  }

  .dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: inherit;
  }
}


@media screen and (max-width: 480px) {
  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .navbar-nav .dropdown-menu {
    width: 95%;
    min-width: 240px;
    margin: auto;
    top: 60px;
    right: 0;
    left: 0;
  }

  .dropdown-menu[data-bs-popper] {
    top: 60px;
    right: 0;
    left: 0;
  }

  .dropdown, .dropdown-center, .dropend, .dropstart, .dropup, .dropup-center {
    position: inherit;
  }

  .navbar-brand,
  .custom-block p {
    font-size: var(--menu-font-size);
  }

  .custom-block .profile-image {
    width: 32px;
    height: 32px;
  }

  .profile-form .profile-image {
    width: 42px;
    height: 42px;
  }

  .custom-block-bottom-item {
    flex: 35%;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .custom-block-profile-image-wrap {
    max-width: 100px;
  }

  .custom-block-profile-front .custom-block-profile-image,
  .custom-block-profile-image {
    width: 100px;
    height: 100px;
  }

  .custom-block-profile .custom-block-edit-icon {
    bottom: 10px;
  }

  .nav-tabs {
    margin-bottom: 25px;
  }

  .nav-tabs .nav-link {
    padding: 10px;
  }

  .nav-tabs .nav-link,
  .custom-block-exchange h6 {
    font-size: var(--btn-font-size);
  }

  .exchange-image {
    width: 42px;
  }

  .profile-rounded {
    width: 32px;
    height: 32px;
  }

  .profile-rounded-icon {
    font-size: var(--h6-font-size);
  }

}

/* Whole table: font family/size/row spacing */
.account-table.table {
  /* uses your existing Google font if present, then falls back gracefully */
  font-family: 'Unbounded', system-ui, -apple-system, Segoe UI, Roboto,
  "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 0.95rem;       /* body font size */
  line-height: 1.45;
}

/* Header row: heavier weight, slightly smaller caps feel, subtle separator */
.account-table thead th {
  font-weight: 700;         /* bold headers */
  font-size: 0.80rem;       /* slightly tighter header text */
  letter-spacing: 0.02em;   /* small tracking for readability */
  color: #0f172a;           /* near-slate-900 */
  background-color: #f8f9fa;/* soft light background that plays nice with Bootstrap */
  border-bottom: 2px solid #e9ecef;
  vertical-align: middle;
  text-transform: none;     /* keep your header text exactly as written */
}

.sidebar-collapsed #sidebarMenu.sidebar { width: var(--sidebar-w-sm); }

#sidebarMenu .sidebar-head{ position:sticky; top:0; z-index:2; background:#f8f9fa; }
#sidebarMenu .sidebar-toggle{ width:32px; height:32px; padding:0; display:inline-flex; align-items:center; justify-content:center; }

#sidebarMenu .nav-link{ display:flex; align-items:center; gap:.75rem; }
#sidebarMenu .nav-icon{ min-width:1.25rem; text-align:center; }


/* Make Bootstrap grid + fixed sidebar work together */
@media (min-width: 768px) {
  /* Let the main area reclaim space equal to the fixed sidebar width */
  .main-wrapper {
    margin-left: var(--sidebar-w) !important;
    width: calc(100% - var(--sidebar-w)) !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    min-width: 0;            /* avoid horizontal overflow from wide tables */
    overflow-x: hidden;      /* avoid phantom horizontal scrollbar */
  }

  .sidebar-collapsed .main-wrapper {
    margin-left: var(--sidebar-w-sm) !important;
    width: calc(100% - var(--sidebar-w-sm)) !important;
  }
}

/* Prevent page-level vertical scrollbar unless content truly overflows */
html, body {
  overflow-x: hidden;   /* prevent phantom horizontal bar */
}


/* Make links a clean icon-only rail when collapsed */
.sidebar-collapsed #sidebarMenu .nav-text {
  display: none !important;           /* hide the label */
}

.sidebar-collapsed #sidebarMenu .nav-link {
  justify-content: center;            /* center the icon */
  gap: 0 !important;                  /* remove space that made text peek */
  padding-left: 0.5rem;               /* compact horizontal padding */
  padding-right: 0.5rem;
  overflow: hidden;                   /* guard against any residual text */
}

/* Keep icon width consistent so items align perfectly */
#sidebarMenu .nav-icon {
  min-width: 1.25rem;                 /* ~20px */
  text-align: center;
  /* If you added Bootstrap margin class like .me-2 in HTML/JS, cancel it here: */
  margin-right: 0 !important;
}

/* Optional: ensure list items don’t show partial text due to rounding */
#sidebarMenu .nav-link {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

/* If you have badges/chevrons/alignment helpers on the right, hide them too */
.sidebar-collapsed #sidebarMenu .nav-right,
.sidebar-collapsed #sidebarMenu .badge,
.sidebar-collapsed #sidebarMenu .chevron {
  display: none !important;
}

/* --- Fixed header spacing & z-order --- */

#siteHeader{
  position: fixed;      /* force (more reliable than sticky) */
  top: 0; left: 0; right: 0;
  z-index: 1040;        /* above sidebar, below modals */
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

/* Sidebar already accounts for header; keep it consistent with the var */
.sidebar { padding: var(--header-h) 0 0; }               /* you had 58px here */

/* Push main content below the fixed header so it doesn't slide under it */
.main-wrapper { padding-top: var(--header-h); }

.title-group {
  margin-top: calc(var(--header-h) + 10px);
}


/* Force uniform grey background for Screen Info rows */
#screenInfoBody tr {
  background-color: #f8f9fa !important; /* Bootstrap's light grey */
}

/**** ****/
/* Make the Link Creatives button size to content, not full width */
#linkBtn {
  width: auto !important;
  max-width: 100%;
  display: inline-flex;
  white-space: nowrap;         /* keep label on one line */
  overflow: hidden;            /* no inner scrollbars */
  text-overflow: ellipsis;
  padding: .45rem .9rem;       /* slightly smaller pill */
  border-radius: 9999px;       /* keep the rounded look */
}

/* If your custom .custom-btn forces width:100%, override it here */
.custom-btn#linkBtn { width: auto !important; }

/* Ensure the row that contains the button doesn't create a scrollbar */
#selectCreativesToMatch .row { overflow-x: visible; }

/* If your table wrapper uses .table-responsive, keep its scroll,
but prevent nested children (like the button row) from stretching */
.table-responsive .row { margin-left: 0; margin-right: 0; }


/* style for action icons like left nav */
a.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;       /* same size as your nav icons */
  height: 36px;
  border-radius: 0.5rem;
  color: inherit;    /* keep icon color */
  text-decoration: none;
}

a.action-icon:hover {
  background-color: #dc3545; /* Bootstrap danger red */
  color: #fff;              /* icon turns white on hover */
}

/* When a fold is active, shrink the controlling column's body cells */
.pf-col-handle-cell {
  width: 28px !important;
  padding-left: 4px !important;
  padding-right: 4px !important;
  white-space: nowrap;
}
.pf-col-handle-cell > * {
  display: none; /* hide body content; header still shows the toggle */
}


/* Admin Ads preview cell */
.ad-prev {
  display: inline-block;
  width: 120px;           /* thumbnail width */
  text-decoration: none;
}
.ad-prev-media {
  display: block;
  max-width: 120px;       /* constrain width */
  max-height: 80px;       /* constrain height */
  border-radius: 8px;
  object-fit: cover;      /* crop overflow nicely */
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

/* --- Left Nav Divider --- */
#sidebarMenu .nav-divider {
  padding: 4px 10px;
}

#sidebarMenu .pf-nav-divider {
  border: none;
  border-top: 1px solid var(--border-color);
  opacity: 1.0;
  margin: 6px 0;
}

/* --- Left Nav Label / Section Header --- */

#sidebarMenu .pf-nav-label {
  display: flex;
  align-items: center;
  gap: .75rem;

  margin-top: 8px;
  margin-bottom: 2px;
  padding: 8px 12px;

  border-radius: var(--border-radius-small);

  background: #f1f3f5;
  color: #495057;

  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-bold);

  white-space: nowrap;
  overflow: hidden;

  user-select: none;
}

#sidebarMenu .pf-nav-label .nav-icon {
  min-width: 1.25rem;
  margin-right: 0 !important;
  color: #6c757d;
  text-align: center;
}

/* Collapsed sidebar - label becomes icon only */
.sidebar-collapsed #sidebarMenu .pf-nav-label {
  justify-content: center;
  gap: 0;
  padding-left: .5rem;
  padding-right: .5rem;
  overflow: hidden;
}

.sidebar-collapsed #sidebarMenu .pf-nav-label .nav-text {
  display: none !important;
}

@media (max-width: 767.98px) {

  #sidebarMenu.sidebar {
    z-index: 1035;

    width: min(85vw, var(--sidebar-w));

    background: var(--white-color, #fff);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);

    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  #sidebarMenu.sidebar.show {
    transform: translateX(0);
  }

  .main-wrapper {
    position: relative;
    z-index: 1;
    margin-left: 0 !important;
    width: 100% !important;
  }

  body.pf-sidebar-open {
    overflow: hidden;
  }
}


/* action column buttons */
.pf-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.pf-action-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.35rem;
  text-decoration: none;
}

.pf-action-btn i {
  font-size: 1rem;
  line-height: 1;
}

/* --- end fix for side bar */

/* Admin Home - Account Stats */
.admin-stats-table-wrap {
  width: 100%;
  overflow-x: hidden;
}

.admin-stats-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.72rem;
  line-height: 1.25;
  margin-bottom: 0;
  border-radius: var(--border-radius-small);
  overflow: hidden;
}

.admin-stats-table thead th {
  background: #f8f9fa;
  color: var(--heading-color);
  font-weight: 700;
  font-size: 0.70rem;
  padding: 10px 6px;
  border-bottom: 2px solid #e9ecef;
  text-align: center;
  white-space: normal;
}

.admin-stats-table tbody td {
  padding: 10px 6px;
  font-size: 0.72rem;
  color: var(--dark-color);
  border-bottom: 0;
  text-align: center;
  vertical-align: middle;
}

.admin-stats-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.admin-stats-table tbody tr:nth-child(even) {
  background: #f1f1f1;
}

.admin-stats-table th:first-child,
.admin-stats-table td:first-child {
  text-align: left;
  width: 22%;
}

.admin-stats-table th:not(:first-child),
.admin-stats-table td:not(:first-child) {
  width: 13%;
}

.admin-stats-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: var(--border-radius-small);
}

.admin-stats-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: var(--border-radius-small);
}

.admin-stats-total-row td {
  background: #dfe7ef !important;
  color: var(--heading-color);
  font-weight: 700;
  border-top: 2px solid #cfd8e3;
}

.admin-stats-total-row td:first-child {
  letter-spacing: 0.03em;
}


/* --- Campaign Booking Calendar --- */

.pf-calendar-shell {
  display: flex;
  min-height: calc(100vh - 170px);
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  overflow: hidden;
  --pf-booking-calendar-today-color: #0d6efd;
  --pf-booking-calendar-selected-color: var(--primary-color);
}

.pf-calendar-left {
  width: 270px;
  flex-shrink: 0;
  background: #f8f9fa;
  border-right: 1px solid var(--border-color);
  padding: 1rem;
}

.pf-calendar-main {
  flex: 1;
  min-width: 0;
  background: var(--white-color);
}

.pf-calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  background: var(--white-color);
}

.pf-calendar-title {
  color: var(--heading-color);
  font-size: 1.15rem;
  font-weight: 700;
}

.pf-calendar-view-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
}

.pf-mini-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .75rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--heading-color);
}

.pf-mini-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .25rem;
  text-align: center;
  font-size: .75rem;
}

.pf-mini-day-name {
  color: var(--p-color);
  font-weight: 700;
  padding-bottom: .25rem;
}

.pf-mini-day {
  padding: .35rem 0;
  border-radius: .35rem;
  cursor: pointer;
}

.pf-mini-day:hover {
  background: #e9ecef;
}

.pf-mini-day.today {
  background: var(--pf-booking-calendar-today-color);
  color: var(--white-color);
}

.pf-mini-day.selected {
  background: var(--pf-booking-calendar-selected-color);
  color: var(--white-color);
}

.pf-mini-day.today.selected {
  background: var(--pf-booking-calendar-selected-color);
  color: var(--white-color);
}

.pf-mini-day.muted {
  color: #adb5bd;
}

.pf-calendar-grid-wrap {
  height: calc(100vh - 245px);
  overflow: auto;
}

.pf-day-grid {
  display: grid;
  grid-template-columns: 70px 1fr;
  min-width: 700px;
}

.pf-week-grid {
  display: grid;
  grid-template-columns: 70px repeat(7, 1fr);
  min-width: 1050px;
}

.pf-calendar-time-cell {
  height: 58px;
  padding: .4rem;
  text-align: right;
  color: var(--p-color);
  font-size: .75rem;
  background: #fafafa;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pf-calendar-hour-cell {
  height: 58px;
  cursor: pointer;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  background-image: linear-gradient(to bottom, transparent 49%, #f1f3f5 50%, transparent 51%);
}

.pf-calendar-hour-cell:hover {
  background-color: var(--secondary-color);
}

.pf-day-header,
.pf-week-day-header {
  height: 64px;
  padding: .7rem;
  background: var(--white-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pf-day-header.today,
.pf-week-day-header.today {
  border-top: 3px solid var(--pf-booking-calendar-today-color);
}

.pf-calendar-day-number {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.1;
}

.pf-calendar-day-label {
  color: var(--p-color);
  font-size: .75rem;
}

.pf-month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  min-width: 0;
}

.pf-month-day-name,
.pf-month-cell {
  min-width: 0;
}

.pf-month-day-name {
  padding: .55rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--heading-color);
  background: #f8f9fa;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pf-month-cell {
  height: 120px;
  padding: .5rem;
  cursor: pointer;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  font-size: .8rem;
}

.pf-month-cell:hover {
  background: var(--secondary-color);
}

.pf-month-cell.muted {
  color: #adb5bd;
  background: #fafafa;
}

.pf-month-cell.today {
  outline: 2px solid var(--pf-booking-calendar-today-color);
  outline-offset: -2px;
}

.pf-calendar-placeholder {
  margin-top: .45rem;
  padding: .25rem .4rem;
  background: var(--secondary-color);
  border-left: 3px solid var(--primary-color);
  border-radius: .25rem;
  color: var(--heading-color);
  font-size: .68rem;
}

@media (max-width: 991.98px) {
  .pf-calendar-shell {
    flex-direction: column;
  }

  .pf-calendar-left {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
}

/* =========================================================
CAMPAIGN BOOKING CALENDAR - EXTENDED STYLES
========================================================= */

/*
1) Month weekday header uses the same visual tone as Day/Week headers.
2) Day/Week headers stay visible while the slot grid scrolls. */
#calendarGrid {
  position: relative;
}

#calendarGrid .pf-calendar-sticky-corner,
#calendarGrid .pf-calendar-sticky-header {
  position: sticky;
  top: 0;
  background: #fff;
}

#calendarGrid .pf-calendar-sticky-corner {
  z-index: 30;
  border-bottom: 1px solid #dee2e6;
}

#calendarGrid .pf-calendar-sticky-header {
  z-index: 20;
  border-bottom: 1px solid #dee2e6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}

#calendarGrid .pf-calendar-month-day-header {
  background: #fff;
  /* color:  #12284c; */
  color: #dc3545;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .75rem;
}

/* Campaign details shown inside the booking modal. */
.pf-campaign-detail-box {
  height: 190px;
  overflow-y: auto;
  white-space: normal;
}

.pf-campaign-detail-label {
  font-weight: 700;
  color: #495057;
}

/* Compact left side of Booking Modal so Details gets more vertical space */
#bookingModal .pf-booking-modal-left > .mb-3 { margin-bottom: .65rem !important; }
#bookingModal .pf-booking-modal-left .form-label { margin-bottom: .25rem; line-height: 1.15; }
#bookingModal .pf-booking-modal-left .form-control,
#bookingModal .pf-booking-modal-left .form-select { padding-top: .32rem; padding-bottom: .32rem; min-height: 34px; }

#bookingModal .pf-booking-modal-left #oneTimePanel,
#bookingModal .pf-booking-modal-left #recurringPanel { padding: .65rem !important; margin-bottom: .65rem !important; }

#bookingModal .pf-booking-modal-left #oneTimePanel .row,
#bookingModal .pf-booking-modal-left #recurringPanel .row { --bs-gutter-y: .55rem; }

#bookingModal .pf-booking-modal-left .btn-group .btn { padding-top: .3rem; padding-bottom: .3rem; }

#bookingModal .pf-campaign-detail-box { height: 275px; }

#bookingModal .pf-campaign-creatives-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .4rem;
}

#bookingModal .pf-campaign-creative-card { padding: .3rem; }
#bookingModal .pf-campaign-creative-thumb { height: 92px; }

.pf-campaign-creatives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.pf-campaign-creative-card {
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  background: #fff;
  padding: .4rem;
  min-width: 0;
}

.pf-campaign-creative-thumb {
  width: 100%;
  height: 74px;
  object-fit: contain;
  border-radius: .35rem;
  border: 1px solid #edf0f2;
  background: #f8f9fa;
}

.pf-campaign-creative-title {
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: .35rem;
}

.pf-campaign-creative-meta {
  font-size: .68rem;
  line-height: 1.1;
  color: #6c757d;
}

/* ------------------------------------------------------------------
Outlook-style booking blocks for Day and Week view.
Bookings are rendered as one continuous block, not one row per slot.
Overlapping bookings are placed side-by-side.
------------------------------------------------------------------ */
#calendarGrid .pf-block-day-grid,
#calendarGrid .pf-block-week-grid {
  --pf-hour-height: 62px;
  position: relative;
}

#calendarGrid .pf-block-day-grid {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  grid-template-rows: 56px calc(var(--pf-hour-height) * 24);
  min-width: 720px;
}

#calendarGrid .pf-block-week-grid {
  display: grid;
  grid-template-columns: 74px repeat(7, minmax(150px, 1fr));
  grid-template-rows: 56px calc(var(--pf-hour-height) * 24);
  min-width: 1100px;
}

.pf-time-column {
  position: relative;
  height: calc(var(--pf-hour-height) * 24);
  background: #fff;
  border-right: 1px solid #dee2e6;
}

.pf-time-column .pf-calendar-time-cell {
  height: var(--pf-hour-height);
  border-bottom: 1px solid #dee2e6;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
  font-size: .8rem;
  line-height: 1.1;
  color: #6c757d;
  text-align: center;
  background: #fff;
}

.pf-day-body-column {
  position: relative;
  height: calc(var(--pf-hour-height) * 24);
  background: #fff;
  border-right: 1px solid #dee2e6;
  overflow: hidden;
}

.pf-day-hour-row {
  height: var(--pf-hour-height);
  border-bottom: 1px solid #dee2e6;
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.pf-day-hour-half {
  position: relative;
  min-height: 31px;
  cursor: pointer;
}

.pf-day-hour-half:first-child {
  border-bottom: 1px solid #f1f3f5;
}

.pf-booking-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

.pf-booking-block {
  position: absolute;
  border-radius: 6px;
  border-left: 4px solid var(--pf-calendar-booking-border, #dc3545);
  background: var(--pf-calendar-booking-bg, #eef8ec);
  color: var(--pf-calendar-booking-text, #12284c);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.15;
  padding: 6px 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.pf-booking-block-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-booking-block-time {
  font-size: .68rem;
  font-weight: 600;
  color: var(--pf-calendar-booking-time-text, #495057);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-booking-block-title .pf-booking-block-time {
  margin-top: 0;
  font-size: .64rem;
}


.pf-booking-block-content {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.pf-booking-block-main {
  flex: 0 0 auto;
  max-width: 42%;
  min-width: 0;
  overflow: hidden;
}

.pf-booking-block-with-ads {
  padding-top: 4px;
  padding-bottom: 4px;
}

.pf-booking-ad-thumbs {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  pointer-events: auto;
}

.pf-booking-ad-thumb-box {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
}

.pf-booking-ad-thumb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
}

.pf-booking-ad-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pf-month-booking-chip {
  display: block;
  width: calc(100% - 12px);
  margin: 4px 6px 0 6px;
  padding: 4px 6px;
  border-radius: 5px;
  border-left: 4px solid var(--pf-calendar-booking-border, #dc3545);
  background: var(--pf-calendar-booking-bg, #eef8ec);
  color: var(--pf-calendar-booking-text, #12284c);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}

.pf-month-booking-chip.more {
  border-left-color: #6c757d;
  background: #f1f3f5;
  color: #6c757d;
}


.pf-active-bookings-section {
  border-top: 1px solid #dee2e6;
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.pf-active-bookings-title {
  font-size: .9rem;
  font-weight: 800;
  color: #12284c;
  letter-spacing: .02em;
}

.pf-active-bookings-list {
  display: grid;
  gap: .6rem;
  height: calc(100vh - 520px);
  min-height: 180px;
  max-height: 430px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: .25rem;
}

.pf-active-booking-card {
  width: 100%;
  text-align: left;
  border: 1px solid #dee2e6;
  border-left: 5px solid var(--pf-active-booking-border, #6c757d);
  border-radius: .65rem;
  background: var(--pf-active-booking-bg, #fff);
  color: var(--pf-active-booking-text, #12284c);
  padding: .65rem .7rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

button.pf-active-booking-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
}

button.pf-active-booking-card:focus {
  outline: 2px solid rgba(13, 110, 253, .35);
  outline-offset: 2px;
}

.pf-active-booking-card.disabled {
  opacity: .7;
  cursor: not-allowed;
}

.pf-active-booking-title {
  font-size: .82rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.pf-active-booking-subtitle {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(0, 0, 0, .62);
  margin-top: .25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pf-active-booking-meta {
  font-size: .7rem;
  line-height: 1.25;
  color: rgba(0, 0, 0, .62);
  margin-top: .3rem;
}

.pf-active-booking-status {
  flex: 0 0 auto;
  font-size: .62rem;
  font-weight: 900;
  line-height: 1;
  padding: .25rem .4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: var(--pf-active-booking-text, #12284c);
  border: 1px solid rgba(0, 0, 0, .08);
}

.pf-booking-modal-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.pf-booking-modal-status {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
  padding: .42rem .6rem;
  border-radius: 999px;
}

.pf-non-working-slot {
  background-image: repeating-linear-gradient(
  -45deg,
  rgba(108, 117, 125, .18),
  rgba(108, 117, 125, .18) 5px,
  rgba(255, 255, 255, .55) 5px,
  rgba(255, 255, 255, .55) 11px
  );
  background-size: 16px 16px;
}

.pf-working-slot-warning {
  font-size: .8rem;
  line-height: 1.25;
}

.pf-spatial-loading {
  opacity: .65;
}

.pf-publish-cost-modal,
.pf-cancel-cost-modal {
  z-index: 1065;
}

.pf-pricing-tree-modal {
  z-index: 1075;
}

.pf-publish-cost-message,
.pf-cancel-cost-message {
  white-space: pre-line;
  line-height: 1.45;
}

.pf-pricing-tree-summary {
  font-size: .82rem;
  font-weight: 700;
  color: #495057;
}

.pf-pricing-tree-table th {
  white-space: nowrap;
}

.pf-pricing-tree-table td {
  vertical-align: middle;
}

.pf-pricing-tree-creative-thumb {
  width: 96px;
  height: 54px;
  object-fit: contain;
  border-radius: .35rem;
  border: 1px solid #dee2e6;
  background: #f8f9fa;
}

.pf-show-inactive-bookings {
  white-space: nowrap;
}

.pf-show-inactive-bookings .form-check-label {
  color: #495057;
  cursor: pointer;
}

/* --- Booking Modal Day Calendar --- */

.pf-modal-day-calendar {
  height: 620px;
  overflow-y: auto;
  background: var(--white-color);
}

.pf-modal-day-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  min-height: 54px;
  border-bottom: 1px solid var(--border-color);
}

.pf-modal-day-time {
  padding: .4rem;
  text-align: right;
  color: var(--p-color);
  font-size: .75rem;
  background: #fafafa;
  border-right: 1px solid var(--border-color);
}

.pf-modal-day-slot {
  cursor: pointer;
  position: relative;
  background-image: linear-gradient(to bottom, transparent 49%, #f1f3f5 50%, transparent 51%);
}

.pf-modal-day-slot:hover {
  background-color: var(--secondary-color);
}

.pf-modal-day-slot.selected {
  background: #cdeccd;
  border-left: 4px solid #198754;
}

.pf-modal-selected-pill {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 8px;
  padding: .25rem .5rem;
  border-radius: .25rem;
  background: #75c47b;
  color: #000;
  font-size: .78rem;
  font-weight: 700;
}

/* --- Booking modal date picker popup --- */

.pf-modal-date-title-btn {
  border: 1px solid transparent;
  background: transparent;
  color: var(--heading-color);
  font-weight: 700;
  padding: .35rem .55rem;
  border-radius: .35rem;
}

.pf-modal-date-title-btn:hover {
  border-color: var(--border-color);
  background: var(--section-bg-color);
}

.pf-modal-date-picker {
  position: absolute;
  top: 54px;
  right: 18px;
  z-index: 1065;
  width: 560px;
  background: var(--white-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  padding: 1.25rem;
}

.pf-modal-date-picker[hidden] {
  display: none !important;
}

.pf-modal-date-picker-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
}

.pf-modal-month-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}

.pf-modal-month-btn {
  border: 0;
  background: transparent;
  padding: .65rem;
  border-radius: .4rem;
  font-weight: 600;
}

.pf-modal-month-btn:hover,
.pf-modal-month-btn.active {
  background: var(--secondary-color);
  color: var(--heading-color);
}

.pf-modal-date-picker .pf-mini-day.selected {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

.pf-mini-day.disabled,
.pf-month-cell.disabled,
.pf-calendar-hour-cell.disabled,
.pf-modal-day-slot.disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.pf-mini-day.disabled:hover,
.pf-month-cell.disabled:hover,
.pf-calendar-hour-cell.disabled:hover,
.pf-modal-day-slot.disabled:hover {
  background: inherit;
}

/* Fixed action slots: keeps action icons vertically aligned across rows */
.pf-action-slot {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --- Advertiser Payment Page --- */

.pf-payment-summary-card {
  font-size: 0.82rem;
  line-height: 1.35;
}

.pf-payment-summary-title {
  font-size: 0.92rem;
  line-height: 1.25;
}

.pf-payment-summary-total {
  font-size: 0.92rem;
  line-height: 1.25;
}

.pf-payment-points-value {
  font-size: 0.92rem;
  line-height: 1.25;
}

.pf-payment-exchange-rate {
  font-size: 0.72rem;
  line-height: 1.4;
}



/* =========================================================
   PURCHASE AD POINTS - COUPONS
   ========================================================= */


/* --- Coupon entry row --- */

#makePaymentForm .pf-coupon-control {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: .55rem;
}

#makePaymentForm .pf-coupon-control > .form-control {
    min-width: 0;
    border-radius: .55rem !important;
}

#makePaymentForm .pf-coupon-control > .btn {
    flex: 0 0 auto;
    margin-left: 0 !important;
    border-radius: 999px !important;
    padding: .40rem .95rem;
    font-size: inherit;
    font-weight: 600;
    white-space: nowrap;
}

#makePaymentForm .pf-coupon-control > .invalid-feedback {
    width: 100%;
}


/* --- Apply button --- */

#makePaymentForm #applyDiscountBtn {
    min-width: 76px;
    background: var(--custom-btn-bg-color) !important;
    border-color: var(--custom-btn-bg-color) !important;
    color: #fff !important;
}

#makePaymentForm #applyDiscountBtn:hover,
#makePaymentForm #applyDiscountBtn:focus-visible {
    background: var(--custom-btn-bg-hover-color) !important;
    border-color: var(--custom-btn-bg-hover-color) !important;
    color: #fff !important;
}


/* --- Clear button --- */

#makePaymentForm #clearDiscountBtn {
    min-width: 72px;
    background: #fff;
    border-color: #adb5bd;
    color: #6c757d;
}

#makePaymentForm #clearDiscountBtn:hover,
#makePaymentForm #clearDiscountBtn:focus-visible {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}


/* --- Coupons button --- */

#makePaymentForm #couponsBtn {
    min-width: 92px;
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

#makePaymentForm #couponsBtn:hover,
#makePaymentForm #couponsBtn:focus-visible {
    background: #c92d39 !important;
    border-color: #c92d39 !important;
    color: #fff !important;
}


/* --- Disabled coupon buttons --- */

#makePaymentForm .pf-coupon-control > .btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* --- Mobile coupon controls --- */

@media (max-width: 767.98px) {

    #makePaymentForm .pf-coupon-control {
        flex-wrap: wrap;
    }

    #makePaymentForm .pf-coupon-control > .form-control {
        flex: 1 1 100%;
        width: 100%;
    }

    #makePaymentForm .pf-coupon-control > .btn {
        flex: 1 1 auto;
    }
}


/* --- Coupon modal --- */

#availableCouponsModal .modal-content {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

#availableCouponsModal .modal-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #ececec;
    background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

#availableCouponsModal .modal-title {
    color: var(--heading-color);
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

#availableCouponsModal .modal-body {
    padding: 1rem 1.25rem 1.1rem;
}

#availableCouponsModal .modal-footer {
    border-top: 1px solid #ececec;
    padding: .85rem 1.25rem;
}


/* --- Modal introduction --- */

#availableCouponsModal .pf-coupon-intro {
    margin-bottom: .9rem;
    padding: .85rem 1rem;
    border: 1px solid #f0e6e6;
    border-radius: 14px;
    background: #fafafa;
    color: #666;
    font-size: .95rem;
    line-height: 1.45;
}


/* --- Coupon table --- */

#availableCouponsModal .pf-coupon-table-wrap {
    border: 1px solid #ececec;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

#availableCouponsModal .pf-coupon-table {
    width: 100%;
    margin-bottom: 0;
}

#availableCouponsModal .pf-coupon-table thead th {
    background: #f7f8fa;
    color: var(--heading-color);
    font-size: .95rem;
    font-weight: 700;
    border-bottom: 1px solid #e9ecef;
    padding: .85rem .9rem;
    vertical-align: middle;
}

#availableCouponsModal .pf-coupon-table tbody td {
    padding: .9rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

#availableCouponsModal .pf-coupon-table tbody tr:last-child td {
    border-bottom: 0;
}


/* --- Table column widths --- */

#availableCouponsModal .pf-coupon-table th:nth-child(1) { width: 34%; }
#availableCouponsModal .pf-coupon-table th:nth-child(2) { width: 32%; }
#availableCouponsModal .pf-coupon-table th:nth-child(3) { width: 15%; }
#availableCouponsModal .pf-coupon-table th:nth-child(4) { width: 19%; }

#availableCouponsModal .pf-coupon-table th:first-child,
#availableCouponsModal .pf-coupon-table td:first-child {
    min-width: 205px;
}


/* --- Selectable coupon row --- */

#availableCouponsModal .pf-coupon-row {
    cursor: pointer;
    transition: background-color .18s ease;
}

#availableCouponsModal .pf-coupon-row:hover {
    background: #fff7f7;
}

#availableCouponsModal .pf-coupon-row:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
    background: #fff7f7;
}


/* --- Coupon code --- */

#availableCouponsModal .pf-coupon-code {
    display: inline-flex;
    align-items: center;
    padding: .42rem .72rem;
    border-radius: 999px;
    background: #f4f6f8;
    color: var(--heading-color);
    font-weight: 700;
    font-size: .93rem;
    line-height: 1.2;
    white-space: nowrap;
}


/* --- Coupon type: Exclusive / General --- */

#availableCouponsModal .pf-coupon-type {
    display: inline-block;
    margin-top: .45rem;
    padding: .18rem .5rem;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--primary-color);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
}


/* --- Coupon description --- */

#availableCouponsModal .pf-coupon-desc {
    color: #4f5560;
    font-size: .94rem;
    line-height: 1.4;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* --- Discount badge --- */

#availableCouponsModal .pf-coupon-discount {
    display: inline-block;
    min-width: 74px;
    text-align: center;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(60, 146, 148, .12);
    color: var(--custom-btn-bg-hover-color);
    font-weight: 700;
    font-size: .92rem;
}


/* --- Expiry date --- */

#availableCouponsModal .pf-coupon-expiry {
    color: #444;
    font-weight: 600;
    font-size: .92rem;
    white-space: nowrap;
}

#availableCouponsModal .pf-coupon-expiry.muted {
    color: #9aa1a9;
    font-weight: 500;
}


/* --- Modal footer note and messages --- */

#availableCouponsModal .pf-coupon-footnote {
    margin-top: .8rem;
    color: #7a7f87;
    font-size: .88rem;
}

#couponsError,
#couponsEmpty {
    margin-bottom: 0;
    border-radius: 12px;
}

#couponsLoading {
    color: #666;
}


/* =========================================================
SEARCH VENUE FOR BOOKING
========================================================= */

#searchVenueForm .form-control,
#searchVenueForm .form-select {
  margin-bottom: 0;
}

#searchVenueForm .venue-search-label {
  font-weight: var(--font-weight-bold);
}

#searchVenueForm .lat-long-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}


/* --- Venue result card --- */

.pf-venue-result-card {
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
  margin-bottom: 18px;
}

.pf-venue-row-white {
  background: var(--white-color);
}

.pf-venue-row-gray {
  background: #f8f9fa;
}


/*
* IMPORTANT:
* Fixed desktop row height.
*
* Regardless of whether there are 1, 2, 3, 4 or 5 attachments,
* the entire venue row remains this height.
*/
.pf-venue-result-inner {
  display: grid;
  grid-template-columns: 50% 50%;
  width: 100%;
  height: 330px;
}


/* --- Left half --- */

.pf-venue-result-info {
  min-width: 0;
  height: 330px;
  padding: 22px 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.pf-venue-result-name {
  color: var(--heading-color);
  font-size: 1.15rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  margin-bottom: 8px;
}

.pf-venue-result-desc {
  color: var(--p-color);
  font-size: .92rem;
  line-height: 1.5;
  margin-bottom: 10px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pf-venue-result-location {
  color: var(--dark-color);
  font-size: .88rem;
  line-height: 1.4;
  margin-bottom: 9px;
}

.pf-venue-result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .88rem;
  margin-bottom: 15px;
}

.pf-venue-result-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pf-venue-result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pf-venue-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#fltVenueTypesMenu {
  overflow: hidden;
}

#fltVenueTypesOptions {
  max-height: 280px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.pf-venue-book-btn {
  min-width: 135px;
}

.pf-venue-book-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Disabled-looking button that can still receive click for informational toast */
.pf-venue-book-disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* --- Right half / Amazon-style venue gallery --- */

.pf-venue-result-media {
  width: 100%;
  height: 330px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--white-color);
  border-left: 0;
}

.pf-venue-gallery {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  background: var(--white-color);
}


/* Thumbnail rail */

.pf-venue-thumb-rail {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  padding-right: 2px;
}

.pf-venue-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 54px;
  flex: 0 0 54px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: #f2f4f7;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

/* .pf-venue-thumb:hover,
.pf-venue-thumb.active {
border-color: var(--link-hover-color);
}

.pf-venue-thumb.active {
box-shadow: 0 0 0 1px rgba(230, 57, 70, .18);
} */

.pf-venue-thumb:hover,
.pf-venue-thumb.active {
  border-color: var(--heading-color);
}

.pf-venue-thumb.active {
  box-shadow: 0 0 0 1px rgba(29, 53, 87, .12);
}

.pf-venue-thumb img,
.pf-venue-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

.pf-venue-thumb-video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .60);
  color: var(--white-color);
  font-size: .85rem;
  pointer-events: none;
}

.pf-venue-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-color);
}


/* Large selected media */

.pf-venue-main-media {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  background: #f7f8fa;
}

.pf-venue-main-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.pf-venue-main-link img,
.pf-venue-main-link video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.pf-venue-main-link img {
  transition: transform .2s ease;
}

.pf-venue-main-link:hover img {
  transform: scale(1.01);
}

.pf-venue-main-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
}

/* --- Video indicator --- */

.pf-venue-video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(0, 0, 0, .58);
  color: var(--white-color);
  font-size: 1.3rem;

  pointer-events: none;
}


/* --- No photos --- */

.pf-venue-no-photos {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--p-color);
  font-weight: var(--font-weight-bold);
  background: #f2f4f7;
}


/* --- View Venue modal media --- */

.pf-venue-modal-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.pf-venue-modal-media-card {
  min-width: 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  overflow: hidden;
  background: var(--white-color);
}

.pf-venue-modal-media-link {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f2f4f7;
}

.pf-venue-modal-media-link img,
.pf-venue-modal-media-link video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.pf-venue-modal-media-info {
  padding: 9px 11px;
}

.pf-venue-modal-notes {
  margin-top: 5px;
  color: var(--p-color);
  white-space: pre-wrap;
}


/* --- Tablet/mobile --- */

@media (max-width: 991.98px) {

  .pf-venue-result-inner {
    display: block;
    height: auto;
  }

  .pf-venue-result-info {
    height: auto;
    min-height: 220px;
  }

  .pf-venue-result-media {
    height: 270px;
    border-left: 0;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 767.98px) {

  #searchVenueForm .lat-long-group {
    grid-template-columns: 1fr;
  }

  .pf-venue-result-info {
    padding: 18px;
  }

  .pf-venue-result-actions {
    align-items: stretch;
  }

  .pf-venue-view-btn,
  .pf-venue-book-btn {
    flex: 1 1 auto;
  }

  .pf-venue-modal-media-grid {
    grid-template-columns: 1fr;
  }

  .pf-venue-gallery {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }

  .pf-venue-thumb-rail {
    gap: 5px;
  }

  .pf-venue-thumb {
    height: 46px;
    flex-basis: 46px;
  }
}

/* =========================================================
ADVERTISER HOME
========================================================= */


/* --- Summary cards --- */

.pf-home-summary-card {
  background: var(--secondary-color);
  border: 1px solid rgba(29, 53, 87, 0.06);
  border-radius: var(--border-radius-small);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.05);
  padding: 26px;
}


/* --- Summary card header --- */

.pf-home-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}

.pf-home-summary-header h5 {
  margin: 0 0 5px 0;
}

.pf-home-summary-subtitle {
  color: var(--p-color);
  font-size: 0.68rem;
  font-weight: var(--font-weight-normal);
}

.pf-home-summary-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(29, 53, 87, 0.08);
  color: var(--heading-color);

  font-size: 1.2rem;
}


/* --- Summary table container --- */

.pf-home-summary-table-wrap {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 53, 87, 0.07);
  border-radius: 12px;
  overflow: hidden;
}


/* --- Summary table --- */

.pf-home-summary-table {
  width: 100%;
  margin: 0;
  font-size: 0.86rem;
}

.pf-home-summary-table > :not(caption) > * > * {
  border-bottom: 0;
}

.pf-home-summary-table thead th {
  background: rgba(255, 255, 255, 0.88);
  color: var(--heading-color);

  font-size: 0.72rem;
  font-weight: var(--font-weight-bold);

  padding: 12px 16px;

  border-bottom: 1px solid rgba(29, 53, 87, 0.09);

  vertical-align: middle;
}

.pf-home-summary-table tbody td {
  padding: 11px 16px;
  color: var(--p-color);
  vertical-align: middle;
}

.pf-home-summary-table tbody tr {
  transition: background-color 0.15s ease;
}

.pf-home-summary-table tbody tr:not(:last-child) td {
  border-bottom: 1px solid rgba(29, 53, 87, 0.055);
}

.pf-home-summary-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.82);
}


/* --- Status display --- */

.pf-home-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #5f6670;
  font-weight: var(--font-weight-normal);
}

.pf-home-status::before {
  content: "";

  width: 8px;
  height: 8px;
  flex: 0 0 8px;

  border-radius: 50%;
  background: #adb5bd;
}


/* Active / Running */

.pf-status-active::before,
.pf-status-running::before {
  background: #198754;
}


/* New / Not Started */

.pf-status-new::before,
.pf-status-not-started::before {
  background: #0d6efd;
}


/* Edited */

.pf-status-edited::before {
  background: #fd7e14;
}


/* Submitted */

.pf-status-submitted-for-review::before,
.pf-status-submitted::before {
  background: #6f42c1;
}


/* Failed */

.pf-status-review-failed::before,
.pf-status-failed::before {
  background: #dc3545;
}


/* Deleted */

.pf-status-deleted::before {
  background: #6c757d;
}


/* Suspended */

.pf-status-suspended::before {
  background: #dc3545;
}


/* Completed */

.pf-status-completed::before {
  background: #20c997;
}


/* Not Activated */

.pf-status-not-activated::before {
  background: #ffc107;
}


/* Cancelled */

.pf-status-cancelled::before {
  background: #6c757d;
}


/* --- Count pill --- */

.pf-home-count {
  min-width: 38px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 10px;

  border-radius: 999px;

  background: rgba(29, 53, 87, 0.09);
  color: var(--heading-color);

  font-size: 0.78rem;
  font-weight: var(--font-weight-bold);
}

.pf-home-count-zero {
  background: rgba(113, 114, 117, 0.07);
  color: #9a9ca0;
}


/* --- Running campaigns --- */

.pf-home-running-list {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 53, 87, 0.07);
  border-radius: 12px;
  overflow: hidden;
}

.pf-home-running-row {
  min-height: 52px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  padding: 11px 16px;

  transition: background-color 0.15s ease;
}

.pf-home-running-row:not(:last-child) {
  border-bottom: 1px solid rgba(29, 53, 87, 0.055);
}

.pf-home-running-row:hover {
  background: rgba(255, 255, 255, 0.82);
}


/* --- Profile card --- */

.pf-home-profile-card {
  border: 1px solid rgba(29, 53, 87, 0.06);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.05);
}


/* --- Ad Points card --- */

.pf-home-points-card {
  border: 1px solid rgba(29, 53, 87, 0.06);
  box-shadow: 0 4px 16px rgba(29, 53, 87, 0.05);
  text-align: left;
}

.pf-home-points-label {
  color: var(--heading-color);
}

.pf-home-points-value {
  color: var(--heading-color);
  line-height: 1.1;
}

.pf-home-points-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf-home-points-action {
  width: 42px;
  height: 42px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.55);
  color: var(--heading-color);

  text-decoration: none;

  transition: all 0.2s ease;
}

.pf-home-points-action:hover {
  background: var(--heading-color);
  color: var(--white-color);
}


/* --- Advertiser Home Responsive --- */

@media (max-width: 767.98px) {

  .pf-home-summary-card {
    padding: 20px;
  }

  .pf-home-summary-table thead th,
  .pf-home-summary-table tbody td {
    padding-left: 12px;
    padding-right: 12px;
  }

  .pf-home-summary-icon {
    width: 38px;
    height: 38px;
  }

  .pf-home-points-action {
    width: 38px;
    height: 38px;
  }
}

/* Test mode blink */
.pf-test-mode {
  animation: pf-test-mode-blink 1.2s ease-in-out infinite;
}

@keyframes pf-test-mode-blink {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}


/* =========================================================
ADVERTISER - VIEW CAMPAIGNS
========================================================= */


/* --- Campaign card --- */

.pf-campaign-card {
  width: 100%;
  margin-bottom: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-medium);
  overflow: hidden;
}

.pf-campaign-row-white {
  background: var(--white-color);
}

.pf-campaign-row-gray {
  background: #f8f9fa;
}

.pf-campaign-card-inner {
  display: grid;
  grid-template-columns: 60% 40%;
  width: 100%;
  height: 330px;
}


/* --- Campaign information --- */

.pf-campaign-info {
  min-width: 0;
  height: 330px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.pf-campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 7px;
}

.pf-campaign-name {
  color: var(--heading-color);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  margin-bottom: 0;
  min-width: 0;
}

.pf-campaign-id {
  color: var(--p-color);
  font-size: .82rem;
  margin-bottom: 17px;
}

.pf-campaign-details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 19px;
}

.pf-campaign-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--dark-color);
  font-size: .86rem;
}

.pf-campaign-detail-item > i:not(.bi-circle-fill) {
  width: 18px;
  text-align: center;
  color: var(--heading-color);
}

.pf-campaign-detail-item .bi-circle-fill {
  width: 18px;
  font-size: .48rem;
  text-align: center;
  color: #adb5bd;
}


/* --- Campaign status dot --- */

.pf-campaign-status-active {
  color: #198754 !important;
}

.pf-campaign-status-new {
  color: #0d6efd !important;
}

.pf-campaign-status-edited {
  color: #fd7e14 !important;
}

.pf-campaign-status-suspended {
  color: #dc3545 !important;
}

.pf-campaign-status-submitted {
  color: #6f42c1 !important;
}


/* --- Campaign action buttons --- */

.pf-campaign-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.pf-campaign-action-btn {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  font-size: .72rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.15;
  white-space: nowrap;
}

.pf-campaign-message-wrap {
  margin-top: 12px;
}

.pf-campaign-book-btn {
  flex-shrink: 0;
  font-weight: var(--font-weight-bold);
}

.pf-campaign-book-btn.btn-outline-success {
  color: #198754;
  border-color: #198754;
  background: transparent;
}

.pf-campaign-book-btn.btn-outline-success i {
  color: #198754;
}

.pf-campaign-book-btn.btn-outline-success:hover {
  color: var(--white-color);
  background: #198754;
  border-color: #198754;
}

.pf-campaign-book-btn.btn-outline-success:hover i {
  color: var(--white-color);
}


/* --- Right campaign creative gallery --- */

.pf-campaign-media {
  width: 100%;
  height: 330px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--white-color);
  border-left: 0;
}

.pf-campaign-gallery {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 9px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 8px;
  overflow: hidden;
  background: var(--white-color);
}


/* --- Campaign thumbnail rail --- */

.pf-campaign-thumb-rail {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: thin;
}

.pf-campaign-thumb-rail::-webkit-scrollbar {
  width: 5px;
}

.pf-campaign-thumb-rail::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, .20);
  border-radius: 5px;
}

.pf-campaign-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 54px;
  flex: 0 0 54px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: #f2f4f7;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.pf-campaign-thumb:hover,
.pf-campaign-thumb.active {
  border-color: var(--heading-color);
}

.pf-campaign-thumb.active {
  box-shadow: 0 0 0 1px rgba(29, 53, 87, .12);
}

.pf-campaign-thumb img,
.pf-campaign-thumb video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.pf-campaign-thumb-video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .60);
  color: var(--white-color);
  font-size: .85rem;
  pointer-events: none;
}

.pf-campaign-thumb-file {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-color);
}


/* --- Large selected campaign creative --- */


.pf-campaign-main-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--white-color);
}


.pf-campaign-main-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  text-decoration: none;
}

.pf-campaign-main-link img,
.pf-campaign-main-link video {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.pf-campaign-main-link img {
  transition: transform .2s ease;
}

.pf-campaign-main-link:hover img {
  transform: scale(1.01);
}

/* --- Selected campaign creative information overlay --- */

.pf-campaign-media-meta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;

  width: max-content;
  max-width: calc(100% - 20px);
  padding: 6px 10px;

  border-radius: 7px;
  background: #1D3557; /* rgba(0, 99, 0, 1); */
  color: var(--white-color);

  font-size: .68rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  pointer-events: none;
}

.pf-campaign-media-meta span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.pf-campaign-media-meta span:not(:last-child)::after {
  content: "|";
  margin: 0 8px;
  color: rgba(255, 255, 255, .60);
}

.pf-campaign-video-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, .58);
  color: var(--white-color);
  font-size: 1.3rem;
  pointer-events: none;
}

.pf-campaign-main-empty,
.pf-campaign-no-media {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--p-color);
  font-weight: var(--font-weight-bold);
  background: #f2f4f7;
}

.pf-campaign-main-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--heading-color);
  text-decoration: none;
}


/* --- Responsive campaign cards --- */

@media (max-width: 991.98px) {

  .pf-campaign-card-inner {
    display: block;
    height: auto;
  }

  .pf-campaign-info {
    height: auto;
    min-height: 270px;
  }

  .pf-campaign-media {
    height: 330px;
    border-left: 0;
    border-top: 1px solid var(--border-color);
  }
}


@media (max-width: 767.98px) {

  .pf-campaign-info {
    padding: 18px;
  }

  .pf-campaign-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .pf-campaign-book-btn {
    flex: 0 0 auto;
  }

  .pf-campaign-actions {
    align-items: stretch;
  }

  .pf-campaign-action-btn {
    flex: 1 1 auto;
  }

  .pf-campaign-gallery {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 7px;
    padding: 6px;
  }

  .pf-campaign-thumb {
    height: 46px;
    flex-basis: 46px;
  }
}

/* =========================================================
ADMIN VIEW CAMPAIGNS
========================================================= */

.pf-admin-campaign-identifiers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 22px;
  color: var(--p-color);
  font-size: .82rem;
  margin-bottom: 14px;
}

.pf-admin-campaign-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 17px;
}

.pf-admin-campaign-details .pf-campaign-detail-item {
  min-width: 0;
}

.pf-admin-campaign-details .pf-campaign-detail-item strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-admin-campaign-list .pf-campaign-card-inner {
  height: 360px;
}

.pf-admin-campaign-list .pf-campaign-info {
  height: 360px;
}

.pf-admin-campaign-list .pf-campaign-media {
  height: 360px;
}

@media (max-width: 991.98px) {

  .pf-admin-campaign-list .pf-campaign-card-inner {
    height: auto;
  }

  .pf-admin-campaign-list .pf-campaign-info {
    height: auto;
    min-height: 300px;
  }

  .pf-admin-campaign-list .pf-campaign-media {
    height: 330px;
  }
}

@media (max-width: 767.98px) {

  .pf-admin-campaign-details {
    grid-template-columns: 1fr;
  }

  .pf-admin-campaign-identifiers {
    display: block;
  }

  .pf-admin-campaign-identifiers span {
    display: block;
    margin-bottom: 3px;
  }
}

/* =========================================================
NOTIFICATIONS
========================================================= */


/* --- Notification subject link --- */

a.notif-link {
  color: var(--bs-secondary-color) !important;
  text-decoration: none;
}

a.notif-link:hover {
  color: var(--bs-body-color) !important;
  text-decoration: underline;
}


/* --- Bulk notification actions --- */

#notifActions a {
  color: var(--bs-primary) !important;
  text-decoration: none;
}

#notifActions a:hover {
  text-decoration: underline;
}


/* --- Compact notification list --- */

#notifTable th,
#notifTable td {
  font-size: .875rem;
}

#notifTable td .small,
#notifTable td .text-muted.small {
  font-size: .75rem;
}


/* --- Right-side notification preview --- */

#notifPreviewCol {
  font-size: .9rem;
}

#notifDetails {
  padding: .75rem !important;
}

#notifDetails h6 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

#notifDetails .text-muted.small {
  font-size: .75rem;
}


/* --- Isolated notification HTML --- */

.notif-body-frame {
  display: block;
  width: 100%;
  min-height: 180px;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--white-color);
  overflow: hidden;
}

/* =========================================================
ADMIN VIEW VENUES
========================================================= */

.pf-admin-view-venues #venueFilterBlock .filter-row { margin-bottom: .75rem; }
.pf-admin-view-venues #venueFilterBlock .filter-row:last-child { margin-bottom: 0; }

.pf-admin-view-venues .account-table th.actions-col,
.pf-admin-view-venues .account-table td.actions-col { min-width: 150px; width: 150px; }

.pf-admin-view-venues .account-table th.select-col,
.pf-admin-view-venues .account-table td.select-col { min-width: 80px; width: 80px; text-align: center; }

.pf-admin-view-venues button.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: .5rem;
  color: inherit;
  text-decoration: none;
}

.pf-admin-view-venues button.action-icon:hover,
.pf-admin-view-venues button.action-icon:focus {
  background-color: #dc3545 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.pf-admin-view-venues .pf-connect-screen-list {
  min-height: 38px;
  max-height: 150px;
  overflow-y: auto;
  padding: .5rem .75rem;
  border: 1px solid var(--border-color);
  border-radius: .375rem;
  background: #f8f9fa;
  line-height: 1.6;
}

#venueActionTooltip {
  position: fixed;
  z-index: 99999;
  padding: 7px 11px;
  background: #1c1c1c;
  color: #fff;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

#venueActionTooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #1c1c1c transparent transparent transparent;
}

/* =========================================================
LOCATION CARD
========================================================= */

.pf-location-card {
  overflow: hidden;
  background: var(--white-color);
  border: 1px solid #dfe5ec;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(29, 53, 87, .05);
}


/* --- Header --- */

.pf-location-card-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e9ef;
}

.pf-location-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pf-location-card-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: rgba(60, 146, 148, .11);
  color: var(--custom-btn-bg-color);
  font-size: 1.15rem;
}

.pf-location-card-title {
  color: var(--heading-color);
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
}

.pf-location-card-subtitle {
  margin-top: 3px;
  color: var(--p-color);
  font-size: .72rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.35;
}

.pf-location-required-note {
  flex: 0 0 auto;
  color: var(--p-color);
  font-size: .68rem;
  white-space: nowrap;
}


/* --- Body --- */

.pf-location-card-body {
  padding: 20px;
}


/* --- Sections --- */

.pf-location-section {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #edf0f3;
}

.pf-location-section-last {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.pf-location-section-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 14px;
  color: var(--heading-color);
  font-size: .78rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.pf-location-section-heading > i {
  width: 20px;
  color: var(--custom-btn-bg-color);
  font-size: .9rem;
  text-align: center;
}

.pf-location-optional {
  margin-left: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #f1f3f5;
  color: #7b8188;
  font-size: .58rem;
  font-weight: var(--font-weight-normal);
}


/* --- Uniform two-column grid --- */

.pf-location-card .row {
  --bs-gutter-x: 18px;
  --bs-gutter-y: 14px;
}

.pf-location-card .row > .col-md-6 {
  min-width: 0;
}


/* --- Labels --- */

.pf-location-card .form-label {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 6px;
  color: #303842;
  font-size: .82rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.25;
}

.pf-location-card .form-label .text-danger {
  margin-left: 1px;
}


/* --- Information icons inserted by JS --- */

.pf-location-card [data-pf-field-help="true"] {
  margin-left: 3px !important;
  color: #77818c !important;
  font-size: .78rem;
  cursor: help;
  transition: color .15s ease;
}

.pf-location-card [data-pf-field-help="true"]:hover,
.pf-location-card [data-pf-field-help="true"]:focus {
  color: var(--custom-btn-bg-color) !important;
}


/* --- Form controls --- */

.pf-location-card .form-control,
.pf-location-card .form-select {
  width: 100%;
  min-height: 40px;
  margin-bottom: 0;
  padding: .55rem .75rem;
  background-color: var(--white-color);
  border: 1px solid #d8dee6;
  border-radius: 8px;
  color: var(--dark-color);
  font-size: .84rem;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.pf-location-card .form-control:hover,
.pf-location-card .form-select:hover {
  border-color: #bfc9d4;
}

.pf-location-card .form-control:focus,
.pf-location-card .form-select:focus {
  background-color: var(--white-color);
  border-color: var(--custom-btn-bg-color);
  box-shadow: 0 0 0 .18rem rgba(60, 146, 148, .12);
}

.pf-location-card .form-control::placeholder {
  color: #9aa2ab;
}


/* --- Disabled / readonly --- */

.pf-location-card .form-control:disabled,
.pf-location-card .form-select:disabled,
.pf-location-card .form-control[readonly] {
  background-color: #f3f5f7;
  color: #68717c;
  opacity: 1;
}


/* --- Validation --- */

.pf-location-card .invalid-feedback {
  margin-top: 4px;
  font-size: .68rem;
}

.pf-location-card .form-control.is-invalid,
.pf-location-card .form-select.is-invalid,
.was-validated .pf-location-card .form-control:invalid,
.was-validated .pf-location-card .form-select:invalid {
  border-color: #dc3545;
}

.pf-location-card .form-control.is-valid,
.pf-location-card .form-select.is-valid,
.was-validated .pf-location-card .form-control:valid,
.was-validated .pf-location-card .form-select:valid {
  border-color: #198754;
}


/* --- Location error --- */

.pf-location-card #locationError {
  margin-bottom: 18px;
}


/* --- Tablet / mobile --- */

@media (max-width: 767.98px) {

  .pf-location-card-header {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .pf-location-required-note {
    display: none;
  }

  .pf-location-card-body {
    padding: 16px;
  }

  .pf-location-section {
    padding-bottom: 17px;
    margin-bottom: 17px;
  }

  .pf-location-card .row {
    --bs-gutter-y: 12px;
  }
}


/* --- Small mobile --- */

@media (max-width: 575.98px) {

  .pf-location-card-header {
    padding: 12px 14px;
  }

  .pf-location-card-icon {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

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

  .pf-location-card-subtitle {
    font-size: .66rem;
  }

  .pf-location-card-body {
    padding: 14px;
  }

  .pf-location-card .form-control,
  .pf-location-card .form-select {
    min-height: 38px;
  }
  
}


/* =========================================================
ADMIN VIEW CONTRACTS
========================================================= */

.pf-contract-table thead th {
	font-size: 0.85rem;
}

.pf-contract-table tbody td {
	font-size: 0.80rem;
}

/* Bootstrap icons in Actions column */
.pf-contract-table .action-icon {
	width: 40px;
	height: 40px;
}

.pf-contract-table .action-icon .bi {
	font-size: 1.00rem !important;
	line-height: 1;
}

/* Create Contract button */
#createContractBtn {
	font-size: 0.90rem;
}

#createContractBtn .bi {
	font-size: 1.10rem !important;
}


/* =========================================================
CAMPAIGN BOOKING - SLOT CAPACITY ERROR MESSAGES
========================================================= */

.pf-slot-capacity-errors {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding-right: 10px;
}

/* Error heading */

.pf-slot-capacity-heading {
    font-size: .88rem;
    font-weight: 700;
    color: #842029;
    line-height: 1.4;
    margin-bottom: 3px;
}

/* Description below heading */

.pf-slot-capacity-subtitle {
    font-size: .76rem;
    font-weight: 400;
    color: #842029;
    line-height: 1.45;
    margin-bottom: 12px;
}

/* Individual conflicting slot */

.pf-slot-capacity-card {
    padding: 9px 0;
    border-top: 1px solid rgba(132, 32, 41, .15);
    min-width: 0;
}

.pf-slot-capacity-subtitle + .pf-slot-capacity-card {
    border-top: 0;
}

/* Slot date and time */

.pf-slot-capacity-date {
    font-size: .80rem;
    font-weight: 700;
    color: #842029;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Required / Available / Limit badges */

.pf-slot-capacity-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

/* Common badge styling */

.pf-slot-capacity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
}

/* Required duration */

.pf-slot-capacity-required {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f1aeb5;
}

/* Available duration */

.pf-slot-capacity-available {
    background: #e9ecef;
    color: #495057;
    border: 1px solid #dee2e6;
}

/* Maximum loop duration */

.pf-slot-capacity-limit {
    background: #ffffff;
    color: #495057;
    border: 1px solid #ced4da;
}

/* Page-level error has a close button */

#pageErrorMessage .pf-slot-capacity-errors {
    padding-right: 25px;
}

/* Mobile layout */

@media (max-width: 575.98px) {

    .pf-slot-capacity-badges {
        gap: 5px;
    }

    .pf-slot-capacity-badge {
        font-size: .68rem;
        padding: 5px 7px;
    }

    .pf-slot-capacity-date {
        font-size: .75rem;
    }
}


/* =========================================================
LOGIN PAGE - SIGN IN AND ACCOUNT REGISTRATION
========================================================= */

/* --- Login section --- */

.pf-login-section {
  background-color: #f5f7fa;
}

.pf-login-card {
  padding: 30px;
}

.pf-login-logo {
  height: 60px;
}

.pf-login-header {
  margin-bottom: 0;
}


/* --- Login and registration views --- */

.pf-login-view[hidden] {
  display: none !important;
}


/* --- Forgot password --- */

.pf-login-forgot {
  margin-top: 14px;
  text-align: center;
}

.pf-login-forgot a {
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
}

.pf-login-forgot a:hover {
  text-decoration: underline;
}


/* --- Create Account - Login view --- */

.pf-login-switch {
  max-width: 550px;
  margin: 25px auto 0;
  padding-top: 20px;
  border-top: 1px solid #e5e9ef;
  text-align: center;
}

.pf-login-card .pf-login-switch-text {
  margin-bottom: 12px;
  color: #717275;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.pf-login-switch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 180px;
  min-height: 38px;
  padding: 8px 20px;
  border: 1px solid var(--custom-btn-bg-color);
  border-radius: 100px;
  background-color: #ffffff;
  color: var(--custom-btn-bg-color);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pf-login-switch-btn i {
  font-size: 13px;
}

.pf-login-switch-btn:hover,
.pf-login-switch-btn:focus {
  background-color: var(--custom-btn-bg-color);
  border-color: var(--custom-btn-bg-color);
  color: #ffffff;
}


/* --- Registration view header --- */

.pf-login-register-header {
  margin-bottom: 20px;
}

.pf-login-register {
  max-width: 550px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #e5e9ef;
  text-align: center;
}


/* --- Registration option cards --- */

.pf-login-register-option {
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid #e0e5eb;
  border-radius: 10px;
  background-color: #ffffff;
  text-align: center;
}

.pf-login-register-option:last-child {
  margin-bottom: 0;
}

.pf-login-register-option-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--heading-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.pf-login-register-option-title i {
  color: var(--custom-btn-bg-color);
  font-size: 19px;
}

.pf-login-card .pf-login-register-option-desc {
  margin: 0 auto 15px;
  color: #626b76;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
}


/* --- Registration buttons --- */

.pf-login-register-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 205px;
  max-width: 100%;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--custom-btn-bg-color);
  border-radius: 100px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.pf-login-register-btn i {
  font-size: 12px;
}


/* --- Create Account button --- */

.pf-login-create-btn {
  background-color: var(--custom-btn-bg-color);
  color: #ffffff;
}

.pf-login-create-btn:hover,
.pf-login-create-btn:focus {
  background-color: var(--custom-btn-bg-hover-color);
  border-color: var(--custom-btn-bg-hover-color);
  color: #ffffff;
}


/* --- Request Assistance button --- */

.pf-login-assist-btn {
  background-color: #ffffff;
  color: var(--custom-btn-bg-color);
}

.pf-login-assist-btn:hover,
.pf-login-assist-btn:focus {
  background-color: var(--custom-btn-bg-color);
  border-color: var(--custom-btn-bg-color);
  color: #ffffff;
}


/* --- Back to Sign In --- */

.pf-login-back {
  max-width: 550px;
  margin: 22px auto 0;
  padding-top: 18px;
  border-top: 1px solid #e5e9ef;
  text-align: center;
}

.pf-login-card .pf-login-back-text {
  margin-bottom: 8px;
  color: #717275;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.pf-login-back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 5px 12px;
  border: none;
  border-radius: 6px;
  background-color: transparent;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pf-login-back-btn i {
  font-size: 13px;
}

.pf-login-back-btn:hover,
.pf-login-back-btn:focus {
  background-color: #fff1f2;
  color: var(--link-hover-color);
}


/* --- Login page responsive styles --- */

@media (max-width: 575.98px) {

  .pf-login-card {
    padding: 24px 16px;
  }

  .pf-login-switch {
    margin-top: 22px;
    padding-top: 18px;
  }

  .pf-login-register {
    padding-top: 18px;
  }

  .pf-login-register-option {
    padding: 16px 12px;
  }

  .pf-login-register-option-title {
    font-size: 14px;
  }

  .pf-login-card .pf-login-register-option-desc {
    font-size: 12px;
  }

  .pf-login-back {
    margin-top: 18px;
    padding-top: 16px;
  }
}



/* =========================================================
CREATE ACCOUNT - FIELD VALIDATION
========================================================= */

/* --- Invalid fields --- */

#createAccountForm .form-control.is-invalid,
#createAccountForm .form-select.is-invalid {
  border-color: #dc3545;
}

#createAccountForm .invalid-feedback {
  margin-top: 5px;
  color: #842029;
  font-size: 0.75rem;
  line-height: 1.5;
}


/* --- Successfully validated fields --- */

#createAccountForm .form-control.is-valid,
#createAccountForm .form-select.is-valid {
  border-color: #198754;
}


/* --- Validation status --- */

#createAccountForm #gstNumberStatus,
#createAccountForm #emailStatus,
#createAccountForm #mobileStatus,
#createAccountForm #loginIdStatus {
  margin-top: 5px;
  color: #717275;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* =========================================================
SAVE CREATIVE PAGE
========================================================= */

/* Reduce the extra padding of the taxonomy card inside the creative form. */

.pf-save-creative #creativeTaxonomyCardHost .pf-taxonomy-card {
    padding: 12px 0;
    margin-bottom: 0;
    border-radius: 0;
}

/* Allow the taxonomy search field and tree to use available space. */

.pf-save-creative #creativeTaxonomyCardHost .pf-taxonomy-search {
    width: 100%;
    max-width: 400px;
}

/* Prevent wide taxonomy entries from expanding the form layout. */

.pf-save-creative #creativeTaxonomyCardHost {
    min-width: 0;
    max-width: 100%;
}

/* Maintain comfortable spacing on smaller screens. */

@media (max-width: 767.98px) {

    .pf-save-creative #creativeTaxonomyCardHost .pf-taxonomy-card {
        padding: 12px 0;
    }

    .pf-save-creative #creativeTaxonomyCardHost .pf-taxonomy-search {
        max-width: 100%;
    }
}



/* =========================================================
   ADMIN AD QUALITY AUDIT - AD PREVIEW
   ========================================================= */

.pf-admin-ad-quality-audit .pf-audit-preview-layout {
    display: grid;
    grid-template-columns: minmax(220px, 40%) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.pf-admin-ad-quality-audit .pf-audit-preview-media {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

.pf-admin-ad-quality-audit .pf-audit-preview-media img,
.pf-admin-ad-quality-audit .pf-audit-preview-media video {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pf-admin-ad-quality-audit .pf-audit-preview-info {
    min-width: 0;
}

.pf-admin-ad-quality-audit .pf-audit-preview-info-row {
    display: grid;
    grid-template-columns: minmax(110px, 145px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.pf-admin-ad-quality-audit .pf-audit-preview-info-row:last-child {
    border-bottom: 0;
}

.pf-admin-ad-quality-audit .pf-audit-preview-info-label {
    font-weight: 500;
    color: #495057;
}

.pf-admin-ad-quality-audit .pf-audit-preview-info-value {
    min-width: 0;
    overflow-wrap: anywhere;
}


/* =========================================================
   ADMIN AD QUALITY AUDIT - TAXONOMY CARD
   ========================================================= */

.pf-admin-ad-quality-audit .pf-audit-taxonomy .pf-taxonomy-card {
    padding: 0;
    margin-bottom: 0;
    border-radius: 0;
    overflow: visible;
}

/* Hide category reset icons when the tree is read-only. */

.pf-admin-ad-quality-audit .pf-audit-taxonomy:not(.pf-audit-editing) .pf-tree-reset {
    display: none;
}

.pf-admin-ad-quality-audit .pf-audit-taxonomy:not(.pf-audit-editing) .pf-tree-node-label {
    cursor: default;
}

.pf-admin-ad-quality-audit .pf-audit-taxonomy .pf-tax-checkbox:disabled {
    opacity: 1;
}


/* =========================================================
   ADMIN AD QUALITY AUDIT - SEGMENT CHECKBOX ALIGNMENT
   ========================================================= */

.pf-admin-ad-quality-audit .pf-audit-seg-checkbox:disabled {
    opacity: 1;
}

/*
 * Bootstrap form-check uses a negative margin on its checkbox.
 * Give the row enough left padding to keep the checkbox
 * within the bordered segment container.
 */

.pf-admin-ad-quality-audit .pf-audit-segment-row.form-check {
    min-height: 25px;
    padding: 2px 6px 2px 2rem;
    margin-left: 0;
    border-radius: 5px;
}

.pf-admin-ad-quality-audit .pf-audit-segment-row .form-check-input {
    margin-left: -1.5rem;
}

.pf-admin-ad-quality-audit .pf-audit-segment-row.pf-audit-segment-changed {
    background-color: #fff3cd;
}


/* =========================================================
   ADMIN AD QUALITY AUDIT - MODIFY SEGMENTS CHECKBOX
   ========================================================= */

.pf-admin-ad-quality-audit .pf-audit-modify-segments.form-check {
    display: block;
    padding-left: 2rem;
    margin-left: 0;
}

.pf-admin-ad-quality-audit .pf-audit-modify-segments .form-check-input {
    margin-left: -1.5rem;
}

.pf-admin-ad-quality-audit .pf-audit-modify-segments .form-check-input,
.pf-admin-ad-quality-audit .pf-audit-modify-segments .form-check-label {
    cursor: pointer;
}


/* =========================================================
   ADMIN AD QUALITY AUDIT - AUDIT CHECKS
   ========================================================= */

.pf-admin-ad-quality-audit .pf-audit-check label {
    white-space: normal;
}


/* =========================================================
   ADMIN AD QUALITY AUDIT - RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {

    .pf-admin-ad-quality-audit .pf-audit-preview-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pf-admin-ad-quality-audit .pf-audit-preview-media {
        justify-content: flex-start;
    }

    .pf-admin-ad-quality-audit .pf-audit-preview-info-row {
        grid-template-columns: minmax(100px, 35%) minmax(0, 1fr);
    }

}

/* Venue gallery rollback: keep five complete thumbnails and contain viewer. */
.pf-venue-result-meta { flex-wrap: wrap; }
.pf-venue-result-meta-item { white-space: nowrap; }
.pf-venue-gallery { display:flex; gap:10px; min-width:0; }
.pf-venue-thumb-column { display:flex; flex-direction:column; flex:0 0 60px; min-width:0; }
.pf-venue-thumb-rail { display:flex; flex-direction:column; justify-content:flex-start; gap:4px; height:250px; max-height:250px; min-height:0; padding:0 2px; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.pf-venue-thumb-column .pf-venue-thumb { display:flex; align-items:center; justify-content:center; width:100%; height:46px; min-height:46px; flex:0 0 46px; margin:0; padding:0; overflow:hidden; border-radius:6px; box-sizing:border-box; }
.pf-venue-thumb-column .pf-venue-thumb img, .pf-venue-thumb-column .pf-venue-thumb video { width:100%; height:100%; object-fit:cover; }
.pf-venue-thumb-scroll { border:1px solid #d7dce3; border-radius:6px; background:white; padding:0; min-height:23px; flex:0 0 23px; cursor:pointer; }
.pf-venue-thumb-scroll:disabled { opacity:.3; cursor:default; }
.pf-venue-main-media { flex:1; min-width:0; }
.pf-venue-main-link, .pf-venue-modal-media-link { cursor:zoom-in; }
/* The media viewer is a fixed overlay, never a normal page block. */
.pf-media-viewer { position:fixed !important; inset:0; z-index:2000; background:rgba(0,0,0,.88); display:flex; align-items:center; justify-content:center; padding:12px; overflow:hidden; }
.pf-media-viewer[hidden] { display:none !important; }
.pf-media-viewer-frame { position:relative; width:min(1100px,100%); max-height:calc(100dvh - 24px); min-height:0; display:flex; flex-direction:column; align-items:center; gap:8px; color:#fff; }
.pf-media-viewer-close { align-self:flex-end; color:white; background:#333; border:1px solid #aaa; border-radius:6px; padding:4px 12px; }
.pf-media-viewer-stage { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:0; flex:1; }
.pf-media-viewer-main { flex:1; min-width:0; min-height:0; display:flex; justify-content:center; align-items:center; overflow:hidden; }
.pf-media-viewer-main img, .pf-media-viewer-main video { display:block; width:auto; height:auto; max-width:100%; max-height:min(68dvh,680px); object-fit:contain; }
.pf-media-viewer-nav { flex:0 0 36px; border:1px solid #aaa; border-radius:50%; background:#303030; color:white; width:36px; height:36px; }
.pf-media-viewer-nav:disabled { opacity:.25; }
.pf-media-viewer-description { text-align:center; overflow:auto; max-height:52px; white-space:pre-wrap; overflow-wrap:anywhere; }
.pf-media-viewer-thumbs { display:flex; gap:7px; overflow-x:auto; max-width:100%; padding:5px; scrollbar-width:thin; }
.pf-media-viewer-thumb { flex:0 0 65px; width:65px; height:52px; padding:2px; border:2px solid transparent; border-radius:5px; background:#333; position:relative; }
.pf-media-viewer-thumb.active { border-color:#fff; }
.pf-media-viewer-thumb img, .pf-media-viewer-thumb video { width:100%; height:100%; object-fit:cover; }
.pf-media-viewer-counter { font-size:12px; }
@media(max-width:576px) { .pf-media-viewer { padding:6px; } .pf-media-viewer-frame { max-height:calc(100dvh - 12px); } .pf-media-viewer-nav { flex-basis:28px; width:28px; height:32px; } .pf-media-viewer-main img, .pf-media-viewer-main video { max-height:60dvh; } .pf-venue-thumb-column { flex-basis:52px; } }



/* =========================================================
   VENUE GALLERY - REMOVE IMAGE BORDERS
   ========================================================= */

/* Main image in Search Venue */
.pf-venue-main-media,
.pf-venue-main-link,
.pf-venue-main-media img,
.pf-venue-main-media video {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Images inside View Venue modal */
.pf-venue-modal-media-link,
.pf-venue-modal-media-link img,
.pf-venue-modal-media-link video {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* =========================================================
   VIEW CAMPAIGN BOOKINGS
   ========================================================= */

/* --- Search / filter panel --- */

.pf-view-campaign-bookings .pf-booking-filter-panel {
	background:#f8fafc; border:1px solid #e3e8ee; border-radius:12px;
	padding:18px 20px; margin-bottom:22px;
}

.pf-view-campaign-bookings .pf-booking-filter-row {
	display:grid; gap:14px 18px; align-items:end; justify-content:start; margin-bottom:15px;
}

.pf-view-campaign-bookings .pf-booking-filter-row-ids {
	grid-template-columns:repeat(3, minmax(170px, 220px));
}

.pf-view-campaign-bookings .pf-booking-filter-row-types {
	grid-template-columns:repeat(4, minmax(170px, 220px));
}

.pf-view-campaign-bookings .pf-booking-filter-row-dates {
	grid-template-columns:repeat(2, minmax(170px, 220px)); margin-bottom:0;
}

.pf-view-campaign-bookings .pf-booking-filter-field { min-width:0; }

.pf-view-campaign-bookings .pf-booking-filter-label {
	display:block; margin-bottom:5px; color:#495057;
	font-size:.75rem; font-weight:var(--font-weight-bold); line-height:1.2;
}

.pf-view-campaign-bookings .pf-booking-filter-field .form-control,
.pf-view-campaign-bookings .pf-booking-filter-field .form-select {
	width:100%; min-height:38px; margin-bottom:0; font-size:.78rem;
	border-color:#d8dee6; background:var(--white-color);
}

.pf-view-campaign-bookings .pf-booking-filter-field .form-control:focus,
.pf-view-campaign-bookings .pf-booking-filter-field .form-select:focus {
	border-color:var(--custom-btn-bg-color);
	box-shadow:0 0 0 .15rem rgba(60,146,148,.12);
}

.pf-view-campaign-bookings .pf-booking-active-filter {
	min-height:38px; display:flex; align-items:center; padding:0 12px;
	background:var(--white-color); border:1px solid #d8dee6; border-radius:.375rem;
}

.pf-view-campaign-bookings .pf-booking-active-filter .form-check-input { margin-top:0; }

.pf-view-campaign-bookings .pf-booking-active-filter .form-check-label {
	font-size:.78rem; font-weight:600; color:#495057; cursor:pointer;
}

.pf-view-campaign-bookings .pf-booking-filter-actions {
	display:flex; align-items:center; justify-content:flex-start; gap:8px;
	margin-top:16px; padding-top:14px; border-top:1px solid #e7ebef;
}

.pf-view-campaign-bookings .pf-booking-filter-actions .btn {
	min-width:80px; font-size:.75rem;
}


/* --- Booking table --- */

.pf-view-campaign-bookings .booking-table thead th {
	white-space:normal; background-color:#f8f9fa; font-weight:700;
	line-height:1.25; vertical-align:middle; padding-top:1rem; padding-bottom:1rem;
}

.pf-view-campaign-bookings .booking-table tbody td { white-space:nowrap; }

.pf-view-campaign-bookings .booking-table tbody tr.booking-row > td {
	background-color:var(--pf-booking-row-bg, #fff);
	color:var(--pf-booking-row-text, inherit);
}

.pf-view-campaign-bookings .booking-table tbody tr.booking-row > td:first-child {
	border-left:4px solid var(--pf-booking-row-border, transparent);
}


/* --- Booking status --- */

.pf-view-campaign-bookings .booking-status-badge {
	display:inline-block; font-size:.72rem; font-weight:800; line-height:1;
	padding:.35rem .5rem; border-radius:999px;
	background-color:var(--pf-booking-row-bg, #f8f9fa);
	color:var(--pf-booking-row-text, #495057);
	border:1px solid var(--pf-booking-row-border, #6c757d);
}


/* --- Action icons --- */

.pf-view-campaign-bookings .booking-action-wrap {
	display:flex; align-items:center; gap:.65rem; white-space:nowrap;
}

.pf-view-campaign-bookings .booking-action-btn {
	display:inline-flex; align-items:center; justify-content:center;
	border:0; background:transparent; padding:2px; color:#dc3545;
	font-size:1.15rem; line-height:1; cursor:pointer;
}

.pf-view-campaign-bookings .booking-action-btn:hover { color:#bb2d3b; }
.pf-view-campaign-bookings .booking-action-btn:disabled { color:#adb5bd !important; cursor:not-allowed; }

.pf-view-campaign-bookings .booking-report-btn { color:#0d6efd; }
.pf-view-campaign-bookings .booking-report-btn:hover { color:#0a58ca; }

.pf-view-campaign-bookings .booking-wallet-btn { color:#198754; }
.pf-view-campaign-bookings .booking-wallet-btn:hover { color:#146c43; }


/* --- Responsive --- */

@media (max-width:991.98px) {

	.pf-view-campaign-bookings .pf-booking-filter-row-ids,
	.pf-view-campaign-bookings .pf-booking-filter-row-types {
		grid-template-columns:repeat(2, minmax(170px, 1fr));
	}
}

@media (max-width:767.98px) {

	.pf-view-campaign-bookings .pf-booking-filter-panel { padding:15px; }

	.pf-view-campaign-bookings .pf-booking-filter-row-ids,
	.pf-view-campaign-bookings .pf-booking-filter-row-types,
	.pf-view-campaign-bookings .pf-booking-filter-row-dates {
		grid-template-columns:1fr;
	}

	.pf-view-campaign-bookings .pf-booking-filter-actions { justify-content:flex-start; }
}


/* =========================================================
   VIEW BOOKING WALLET
   ========================================================= */

.pf-booking-wallet-table th,
.pf-booking-wallet-table td {
	white-space: nowrap;
	vertical-align: middle;
}

.pf-booking-wallet-table .pf-booking-wallet-group-header th {
	background: #eef1f4;
	color: var(--heading-color);
	font-weight: var(--font-weight-bold);
	text-align: center;
	border-bottom: 1px solid var(--border-color);
}

.pf-booking-wallet-table .pf-booking-wallet-points {
	text-align: right;
}

.pf-booking-wallet-table tbody tr:hover td {
	background-color: #fafafa;
}

.pf-booking-wallet-summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 30px;
	margin-bottom: 12px;
}

.pf-booking-wallet-summary-item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.pf-booking-wallet-summary-label {
	color: var(--p-color);
	font-size: var(--btn-font-size);
}

.pf-booking-wallet-summary-value {
	color: var(--heading-color);
	font-size: var(--menu-font-size);
	font-weight: var(--font-weight-bold);
}

.pf-booking-wallet-empty {
	margin-top: 10px;
}

@media (max-width: 767.98px) {

	.pf-booking-wallet-summary {
		gap: 8px 20px;
	}
}

/* =========================================================
   GOOGLE MAPS IMAGE DOWNLOADER
   ========================================================= */

.pf-google-image-tool {
	max-width: 1200px;
}

.pf-google-image-heading {
	color: var(--heading-color);
	font-size: .90rem;
	font-weight: var(--font-weight-bold);
	margin-bottom: 4px;
}

.pf-google-image-help {
	color: var(--p-color);
	font-size: .75rem;
	line-height: 1.45;
}

.pf-google-image-url-row {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
}

.pf-google-image-url-row .form-control {
	flex: 1 1 auto;
	min-width: 0;
	margin-bottom: 0;
}

.pf-google-image-url-row .custom-btn {
	flex: 0 0 auto;
	white-space: nowrap;
	min-width: 125px;
}

.pf-google-image-result {
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
}

.pf-google-image-result-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.pf-google-image-result-title {
	color: var(--heading-color);
	font-size: .90rem;
	font-weight: var(--font-weight-bold);
}

.pf-google-image-meta {
	margin-top: 3px;
	color: var(--p-color);
	font-size: .72rem;
}

.pf-google-image-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 280px;
	max-height: 700px;
	padding: 14px;
	overflow: auto;
	background: #f8f9fa;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-small);
}

.pf-google-image-preview img,
.pf-google-image-preview video {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 650px;
	object-fit: contain;
}

.pf-google-image-preview video {
	background: #000;
}

.pf-google-image-note {
	margin-top: 8px;
	color: var(--p-color);
	font-size: .68rem;
}

@media (max-width: 767.98px) {
	.pf-google-image-url-row,
	.pf-google-image-result-header {
		align-items: stretch;
		flex-direction: column;
	}

	.pf-google-image-url-row .custom-btn,
	.pf-google-image-result-header .custom-btn {
		width: 100%;
	}

	.pf-google-image-preview {
		min-height: 200px;
	}
}

/* =========================================================
AD / VENUE TAXONOMY MAP
========================================================= */

.pf-ad-venue-map .pf-avm-control-card { margin-bottom:0; }

.pf-ad-venue-map .pf-avm-alert {
	display:flex; align-items:center; gap:12px;
}

.pf-ad-venue-map .pf-avm-alert.d-none { display:none !important; }

.pf-ad-venue-map .pf-avm-layout {
	display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr);
	gap:20px; align-items:start;
}

.pf-ad-venue-map .pf-avm-panel {
	min-width:0; padding:22px;
}

.pf-ad-venue-map .pf-avm-panel-header {
	display:flex; align-items:flex-start; justify-content:space-between;
	gap:15px; min-height:54px; margin-bottom:12px;
}

.pf-ad-venue-map .pf-avm-panel-title {
	margin:0 0 4px 0; color:var(--heading-color);
	font-size:1rem; font-weight:var(--font-weight-bold);
}

.pf-ad-venue-map .pf-avm-count-pill {
	flex:0 0 auto; padding:5px 10px; border-radius:999px;
	background:#f1f3f5; color:#495057; font-size:.68rem;
	font-weight:var(--font-weight-bold); white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-taxonomy-filter {
	display:flex; align-items:center; min-height:30px;
	margin-bottom:10px;
}

.pf-ad-venue-map .pf-avm-taxonomy-filter .form-check-label {
	font-size:.70rem; cursor:pointer;
}

.pf-ad-venue-map .pf-avm-tree-toolbar {
	display:flex; align-items:center; justify-content:space-between;
	gap:12px; flex-wrap:wrap;
}

.pf-ad-venue-map .pf-avm-search {
	width:330px; max-width:100%;
}

.pf-ad-venue-map .pf-avm-tree-actions {
	display:flex; align-items:center; gap:12px; white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-tree {
	height:calc(100vh - 435px); min-height:420px;
	overflow:auto; padding:2px 4px 12px 0;
	scrollbar-width:thin; scrollbar-gutter:stable;
}

.pf-ad-venue-map .pf-avm-tree::-webkit-scrollbar {
	width:7px; height:7px;
}

.pf-ad-venue-map .pf-avm-tree::-webkit-scrollbar-thumb {
	background:rgba(0,0,0,.20); border-radius:5px;
}

.pf-ad-venue-map .pf-avm-tree::-webkit-scrollbar-track {
	background:transparent;
}

.pf-ad-venue-map .pf-avm-tree-node {
	min-width:max-content;
}

.pf-ad-venue-map .pf-avm-tree-children {
	margin-left:22px;
}

.pf-ad-venue-map .pf-avm-node-row {
	min-height:30px; display:flex; align-items:center; gap:6px;
	padding:3px 7px; margin-bottom:2px; border-radius:6px;
	border-left:3px solid transparent; font-size:.76rem;
	transition:background-color .12s ease, border-color .12s ease;
}

.pf-ad-venue-map .pf-avm-node-row:hover {
	background:#f8f9fa;
}

.pf-ad-venue-map .pf-avm-tree-toggle,
.pf-ad-venue-map .pf-avm-tree-toggle-spacer {
	width:22px; height:22px; flex:0 0 22px;
}

.pf-ad-venue-map .pf-avm-tree-toggle {
	display:inline-flex; align-items:center; justify-content:center;
	padding:0; border:0; background:transparent; color:#6c757d;
	font-size:.72rem; cursor:pointer;
}

.pf-ad-venue-map .pf-avm-tree-toggle:hover {
	color:var(--heading-color);
}

.pf-ad-venue-map .pf-avm-node-select {
	display:inline-flex; align-items:center; min-width:0;
	padding:0; border:0; background:transparent;
	color:inherit; text-align:left; cursor:pointer;
}

.pf-ad-venue-map .pf-avm-node-name {
	color:var(--dark-color); font-weight:600; white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-node-select:hover .pf-avm-node-name {
	color:var(--primary-color);
}

.pf-ad-venue-map .pf-avm-node-meta {
	color:#8b9095; font-size:.64rem; white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-map-count {
	display:inline-flex; align-items:center; padding:2px 7px;
	border-radius:999px; background:rgba(29,53,87,.08);
	color:var(--heading-color); font-size:.62rem;
	font-weight:700; white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-status {
	display:inline-flex; align-items:center; padding:2px 7px;
	border-radius:999px; font-size:.60rem; font-weight:700;
	white-space:nowrap;
}

.pf-ad-venue-map .pf-avm-status-mapped {
	background:rgba(25,135,84,.12); color:#198754;
}

.pf-ad-venue-map .pf-avm-status-inactive {
	background:rgba(220,53,69,.10); color:#dc3545;
}

.pf-ad-venue-map .pf-avm-status-changed {
	background:#fff3cd; color:#856404;
}

.pf-ad-venue-map .pf-avm-node-selected {
	background:#eef3f8; border-left-color:var(--heading-color);
}

.pf-ad-venue-map .pf-avm-node-selected:hover {
	background:#eef3f8;
}

.pf-ad-venue-map .pf-avm-mapped-active {
	border-left-color:#198754; background:rgba(25,135,84,.035);
}

.pf-ad-venue-map .pf-avm-mapped-inactive {
	border-left-color:#dc3545; background:rgba(220,53,69,.035);
}

.pf-ad-venue-map .pf-avm-context-row .pf-avm-node-name {
	color:#7b8187; font-weight:500;
}

.pf-ad-venue-map .pf-avm-context-row .pf-avm-node-meta {
	color:#adb5bd;
}

.pf-ad-venue-map .pf-avm-node-inactive {
	opacity:.68;
}

.pf-ad-venue-map .pf-avm-edit-node {
	display:inline-flex; align-items:center; justify-content:center;
	width:22px; height:22px; flex:0 0 22px; margin-left:2px;
	padding:0; border:0; border-radius:4px;
	background:transparent; color:#77818c;
	font-size:.76rem; line-height:1; cursor:pointer;
}

.pf-ad-venue-map .pf-avm-edit-node:hover,
.pf-ad-venue-map .pf-avm-edit-node:focus {
	background:#eef3f8; color:var(--heading-color);
}

.pf-ad-venue-map .pf-avm-empty {
	min-height:180px; display:flex; align-items:center;
	justify-content:center; flex-direction:column; gap:8px;
	padding:25px; color:#8b9095; font-size:.76rem; text-align:center;
}

.pf-ad-venue-map .pf-avm-empty i {
	font-size:1.4rem; color:#adb5bd;
}


/* =========================================================
AD / VENUE TAXONOMY MAP - EDITOR MODAL
========================================================= */

#mappingEditorModal {
	overflow:hidden;
}

#mappingEditorModal .pf-avm-editor-dialog {
	height:calc(100dvh - 32px);
	max-height:calc(100dvh - 32px);
	margin:16px auto;
}

#mappingEditorModal .pf-avm-editor-content {
	height:100%;
	max-height:100%;
	display:flex;
	flex-direction:column;
	overflow:hidden;
	background:#fff;
}

#mappingEditorModal .modal-header,
#mappingEditorModal .modal-footer {
	flex:0 0 auto;
	background:#fff;
}

#mappingEditorModal .modal-header {
	border-bottom:1px solid #dee2e6;
}

#mappingEditorModal .modal-footer {
	border-top:1px solid #dee2e6;
}

#mappingEditorModal .pf-avm-editor-body {
	flex:1 1 auto;
	min-height:0;
	display:flex;
	flex-direction:column;
	overflow:hidden;
	background:#fff;
}

#mappingEditorModal .pf-avm-editor-toolbar {
	flex:0 0 auto;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:12px;
	flex-wrap:wrap;
}

#mappingEditorModal .pf-avm-editor-help {
	flex:0 0 auto;
	margin-bottom:10px;
	color:var(--p-color);
	font-size:.70rem;
	line-height:1.4;
}

#mappingEditorModal .pf-avm-editor-tree {
	flex:1 1 0;
	height:0 !important;
	min-height:0 !important;
	max-height:none !important;
	overflow-y:auto !important;
	overflow-x:auto !important;
	padding:8px 8px 14px 6px;
	background:#fff;
	border:1px solid #e3e7eb;
	border-radius:6px;
	scrollbar-width:thin;
	scrollbar-gutter:stable;
	overscroll-behavior:contain;
}

#mappingEditorModal .pf-avm-editor-tree::-webkit-scrollbar {
	width:8px;
	height:8px;
}

#mappingEditorModal .pf-avm-editor-tree::-webkit-scrollbar-thumb {
	background:rgba(0,0,0,.28);
	border-radius:5px;
}

#mappingEditorModal .pf-avm-editor-tree::-webkit-scrollbar-track {
	background:#f7f7f7;
}

#mappingEditorModal .pf-avm-editor-node-row {
	background:#fff;
}

#mappingEditorModal .pf-avm-editor-node-row:hover {
	background:#f8f9fa;
}

#mappingEditorModal .pf-avm-editor-node-row.pf-avm-node-inactive {
	background:#fafafa;
}

#mappingEditorModal .pf-avm-editor-node-row.pf-avm-editor-changed {
	background:#fff8e1;
	border-left-color:#ffc107;
}

#mappingEditorModal .pf-avm-editor-check {
	width:1rem;
	height:1rem;
	flex:0 0 1rem;
	margin:0 1px 0 0;
	cursor:pointer;
}

#mappingEditorModal .pf-avm-editor-tree .pf-avm-node-name {
	font-weight:600;
}

#mappingEditorModal .pf-avm-editor-tree .pf-avm-node-row {
	min-height:30px;
}

#mappingEditorModal .pf-avm-editor-tree .pf-avm-tree-children {
	margin-left:22px;
}


/* =========================================================
AD / VENUE TAXONOMY MAP - RESPONSIVE
========================================================= */

@media (max-width:1199.98px) {

	.pf-ad-venue-map .pf-avm-search {
		width:100%;
	}

	.pf-ad-venue-map .pf-avm-tree-actions {
		width:100%;
		justify-content:flex-end;
	}

	#mappingEditorModal .pf-avm-editor-toolbar {
		align-items:stretch;
	}

	#mappingEditorModal .pf-avm-editor-toolbar > .d-flex {
		justify-content:flex-end;
	}
}


@media (max-width:991.98px) {

	.pf-ad-venue-map .pf-avm-layout {
		grid-template-columns:1fr;
	}

	.pf-ad-venue-map .pf-avm-tree:not(.pf-avm-editor-tree) {
		height:520px;
		min-height:420px;
	}
}


@media (max-width:767.98px) {

	.pf-ad-venue-map .pf-avm-panel {
		padding:18px;
	}

	.pf-ad-venue-map .pf-avm-panel-header {
		flex-wrap:wrap;
	}

	.pf-ad-venue-map .pf-avm-tree-actions {
		justify-content:flex-start;
	}

	.pf-ad-venue-map .pf-avm-node-meta {
		display:none;
	}

	#mappingEditorModal .pf-avm-editor-dialog {
		width:calc(100% - 16px);
		height:calc(100dvh - 16px);
		max-height:calc(100dvh - 16px);
		margin:8px;
	}

	#mappingEditorModal .modal-header,
	#mappingEditorModal .modal-footer {
		padding-left:12px;
		padding-right:12px;
	}

	#mappingEditorModal .pf-avm-editor-body {
		padding:12px;
	}

	#mappingEditorModal .pf-avm-editor-toolbar > .d-flex {
		width:100%;
		justify-content:flex-start;
	}
}

/* =========================================================
VIEW LEADS
========================================================= */

/* Filter */

.pf-view-leads .pf-lead-filter-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 14px;
	row-gap: 10px;
	width: 100%;
}

.pf-view-leads .pf-lead-filter-field {
	min-width: 0;
}

.pf-view-leads #leadFilterBlock .form-label {
	display: block;
	margin-bottom: 4px !important;
	color: var(--dark-color);
	font-size: .78rem;
	line-height: 1.2;
}

.pf-view-leads #leadFilterBlock .form-control,
.pf-view-leads #leadFilterBlock .form-select {
	width: 100%;
	min-width: 0;
	min-height: 32px;
	margin-bottom: 0;
	font-size: .76rem;
}

.pf-view-leads #btnResetFilters,
.pf-view-leads #btnSearch {
	min-height: 32px;
	font-size: .76rem;
}

/* Results table */

.pf-view-leads .pf-leads-table-wrap {
	width: 100%;
	overflow-x: auto;
}

.pf-view-leads .pf-leads-table {
	min-width: 1180px;
	margin-bottom: 0;
}

.pf-view-leads .pf-leads-table thead th {
	vertical-align: middle;
	white-space: nowrap;
	font-size: .72rem;
}

.pf-view-leads .pf-leads-table tbody td {
	vertical-align: middle;
	font-size: .75rem;
}

.pf-view-leads .pf-lead-org-cell {
	min-width: 190px;
}

.pf-view-leads .pf-lead-org-name {
	color: var(--heading-color);
	font-weight: var(--font-weight-bold);
	line-height: 1.3;
}

.pf-view-leads .pf-lead-cell-sub {
	margin-top: 3px;
	color: var(--p-color);
	font-size: .65rem;
	font-weight: var(--font-weight-normal);
	line-height: 1.4;
}

.pf-view-leads .pf-lead-id-link {
	color: var(--heading-color);
	font-weight: var(--font-weight-bold);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pf-view-leads .pf-lead-id-link:hover {
	color: var(--primary-color);
}

.pf-view-leads .pf-lead-actions-col {
	min-width: 92px;
	width: 92px;
	white-space: nowrap;
}

/* Status */

.pf-view-leads .pf-lead-status {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #f1f3f5;
	color: #495057;
	font-size: .62rem;
	font-weight: var(--font-weight-bold);
	white-space: nowrap;
}

.pf-view-leads .pf-lead-status-new {
	background: #e7f1ff;
	color: #0d6efd;
}

.pf-view-leads .pf-lead-status-contacted {
	background: #fff3cd;
	color: #997404;
}

.pf-view-leads .pf-lead-status-qualified {
	background: #e8dcf8;
	color: #6f42c1;
}

.pf-view-leads .pf-lead-status-won {
	background: #d1e7dd;
	color: #146c43;
}

.pf-view-leads .pf-lead-status-lost {
	background: #f8d7da;
	color: #b02a37;
}

.pf-view-leads .pf-lead-status-deleted {
	background: #e9ecef;
	color: #6c757d;
}

/* Empty / error */

.pf-view-leads #leadsMsg {
	padding: 8px 2px;
}

/* Lead details modal */

.pf-view-leads #leadDetailsModal .modal-content {
	border: 0;
	border-radius: 14px;
	overflow: hidden;
}

.pf-view-leads #leadDetailsModal .modal-header {
	background: #f8f9fa;
	border-bottom: 1px solid var(--border-color);
}

.pf-view-leads #leadDetailsModal .modal-title {
	color: var(--heading-color);
	font-size: 1.05rem;
}

.pf-view-leads #leadDetailsModal .modal-body {
	background: #fff;
}

.pf-view-leads .pf-lead-detail-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.pf-view-leads .pf-lead-detail-item {
	min-width: 0;
	padding: 10px 12px;
	border: 1px solid #e6e9ed;
	border-radius: 8px;
	background: #fafbfc;
}

.pf-view-leads .pf-lead-detail-wide {
	grid-column: span 2;
}

.pf-view-leads .pf-lead-detail-label {
	margin-bottom: 4px;
	color: var(--p-color);
	font-size: .64rem;
	font-weight: var(--font-weight-bold);
	text-transform: uppercase;
	letter-spacing: .02em;
}

.pf-view-leads .pf-lead-detail-value {
	color: var(--dark-color);
	font-size: .76rem;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.pf-view-leads .pf-lead-detail-wide .pf-lead-detail-value {
	white-space: pre-wrap;
}

.pf-view-leads .pf-lead-detail-section {
	margin-top: 18px;
	padding-top: 15px;
	border-top: 1px solid #e8ebef;
}

.pf-view-leads .pf-lead-detail-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 9px;
	color: var(--heading-color);
	font-size: .82rem;
	font-weight: var(--font-weight-bold);
}

.pf-view-leads .pf-lead-detail-section-title span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	height: 22px;
	padding: 0 7px;
	border-radius: 999px;
	background: #eef1f4;
	color: #5f6670;
	font-size: .62rem;
}

.pf-view-leads .pf-lead-detail-empty {
	padding: 10px 12px;
	border: 1px dashed #d8dde3;
	border-radius: 8px;
	color: var(--p-color);
	font-size: .72rem;
	background: #fafafa;
}

.pf-view-leads .pf-lead-modal-table {
	min-width: 850px;
	font-size: .70rem;
}

.pf-view-leads .pf-lead-modal-table thead th {
	padding: 8px 9px;
	background: #f8f9fa;
	color: var(--heading-color);
	font-size: .66rem;
	white-space: nowrap;
	border-bottom: 1px solid #e2e6ea;
}

.pf-view-leads .pf-lead-modal-table tbody td {
	padding: 8px 9px;
	vertical-align: top;
	border-bottom: 1px solid #f0f1f3;
}

.pf-view-leads .pf-lead-modal-table tbody tr:last-child td {
	border-bottom: 0;
}

.pf-view-leads .pf-lead-notes-cell {
	min-width: 220px;
	white-space: normal;
}

/* Responsive */

@media (max-width: 991.98px) {

	.pf-view-leads .pf-lead-filter-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pf-view-leads .pf-lead-detail-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {

	.pf-view-leads .pf-lead-filter-grid,
	.pf-view-leads .pf-lead-detail-grid {
		grid-template-columns: 1fr;
	}

	.pf-view-leads .pf-lead-detail-wide {
		grid-column: span 1;
	}

	.pf-view-leads #btnResetFilters,
	.pf-view-leads #btnSearch {
		margin-top: 6px;
	}
}

/* =========================================================
SCREEN PEEK CARD
========================================================= */

.pf-screen-ad-peek .pf-screen-ad-peek-preview-col {
	width: 20%;
}

.pf-screen-ad-peek .pf-screen-ad-peek-preview-wrap {
	position: relative;
	display: inline-block;
}

.pf-screen-ad-peek .pf-screen-ad-peek-thumb {
	display: block;
	width: 120px;
	max-height: 68px;
	object-fit: contain;
	cursor: pointer;
	border-radius: 4px;
	background: #f8f9fa;
}

.pf-screen-ad-peek .pf-screen-ad-peek-video-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 6px 10px;
	border-radius: 50%;
	background: rgba(0, 0, 0, .60);
	color: #fff;
	font-size: 12px;
	pointer-events: none;
}

.pf-screen-ad-peek .pf-screen-ad-peek-controls {
	display: flex;
	align-items: center;
	gap: .5rem;
}

.pf-screen-ad-peek .pf-screen-ad-peek-progress-wrap {
	flex: 1 1 auto;
	min-width: 160px;
	height: 8px;
	margin: 0 .5rem;
}

.pf-screen-ad-peek .pf-screen-ad-peek-progress-wrap .progress-bar {
	width: 0;
}

.pf-screen-ad-peek .pf-screen-ad-peek-now {
	margin-left: auto;
	white-space: nowrap;
}

/* The available area for the screen preview. */

.pf-screen-ad-peek .pf-screen-peek-frame-area {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
}

.pf-screen-ad-peek .pf-screen-ad-peek-stage {
	--pf-peek-ratio: 1.77777778;
	position: relative;
	display: block;
	flex: 0 1 auto;
	width: min(100%, calc(70vh * var(--pf-peek-ratio)));
	height: auto;
	aspect-ratio: var(--pf-peek-ratio);
	min-width: 0;
	overflow: hidden;
	border: 7px solid #181818;
	border-radius: 8px;
	background: #000;
	color: #adb5bd;
	box-shadow: 0 3px 12px rgba(0, 0, 0, .25);
	box-sizing: border-box;
}

/* Portrait, landscape and square all use the same frame logic. */

.pf-screen-ad-peek .pf-screen-peek-media-stage {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #000;
}

/* Show a friendly placeholder while loading or stopped. */

.pf-screen-ad-peek .pf-screen-ad-peek-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 15px;
	color: #adb5bd;
	text-align: center;
	font-size: .9rem;
}

/* Keep the complete creative within the frame without stretching/cropping. */

.pf-screen-ad-peek .pf-screen-ad-peek-media {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
	background: #000;
}

.pf-screen-ad-peek .pf-screen-ad-peek-video {
	background: #000;
}

.pf-screen-ad-peek .pf-screen-peek-frame-info {
	text-align: center;
	font-size: .75rem;
}

/* Responsive layout */

@media (max-width: 767.98px) {

	.pf-screen-ad-peek .pf-screen-ad-peek-controls {
		flex-wrap: wrap;
	}

	.pf-screen-ad-peek .pf-screen-ad-peek-progress-wrap {
		flex: 1 1 calc(100% - 180px);
		margin-right: 0;
	}

	.pf-screen-ad-peek .pf-screen-ad-peek-now {
		width: 100%;
		margin-left: 0;
	}

	.pf-screen-ad-peek .pf-screen-peek-frame-area {
		padding: 0;
	}

	.pf-screen-ad-peek .pf-screen-ad-peek-stage {
		width: min(100%, calc(60vh * var(--pf-peek-ratio)));
	}
}

/* =========================================================
SAVE LEAD
========================================================= */

.pf-save-lead .pf-save-lead-loading {
	padding: 14px 16px;
	margin-bottom: 16px;
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius-small);
	background: #fff;
	color: var(--p-color);
	font-size: .82rem;
}

.pf-save-lead .pf-lead-editor-card {
	padding: 24px;
	border: 1px solid rgba(29, 53, 87, .08);
	box-shadow: 0 3px 12px rgba(29, 53, 87, .04);
}

.pf-save-lead .pf-lead-section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid #edf0f3;
}

.pf-save-lead .pf-lead-section-title {
	color: var(--heading-color);
	font-size: .95rem;
	font-weight: var(--font-weight-bold);
	line-height: 1.2;
}

.pf-save-lead .pf-lead-section-title i {
	color: var(--custom-btn-bg-color);
}

.pf-save-lead .pf-lead-section-subtitle {
	margin-top: 4px;
	color: var(--p-color);
	font-size: .68rem;
	line-height: 1.4;
}

.pf-save-lead .form-label {
	margin-bottom: 5px;
	color: #303842;
	font-size: .78rem;
	font-weight: var(--font-weight-normal);
}

.pf-save-lead .form-control,
.pf-save-lead .form-select {
	min-height: 39px;
	margin-bottom: 0;
	padding: .5rem .7rem;
	border: 1px solid #d8dee6;
	border-radius: 8px;
	font-size: .80rem;
	box-shadow: none;
}

.pf-save-lead textarea.form-control {
	min-height: auto;
}

.pf-save-lead .form-control:focus,
.pf-save-lead .form-select:focus {
	border-color: var(--custom-btn-bg-color);
	box-shadow: 0 0 0 .18rem rgba(60, 146, 148, .12);
}

.pf-save-lead .form-control[readonly] {
	background: #f3f5f7;
	color: #68717c;
}

.pf-save-lead .form-text {
	margin-top: 4px;
	font-size: .62rem;
	color: #818891;
}

.pf-save-lead .pf-lead-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px 25px;
	padding: 11px 14px;
	border-radius: 8px;
	background: #f8f9fa;
}

.pf-save-lead .pf-lead-meta > div {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: .68rem;
}

.pf-save-lead .pf-lead-meta span {
	color: var(--p-color);
}

.pf-save-lead .pf-lead-meta strong {
	color: var(--heading-color);
}

.pf-save-lead .pf-lead-empty {
	padding: 15px;
	border: 1px dashed #ccd3da;
	border-radius: 8px;
	background: #fafafa;
	color: var(--p-color);
	font-size: .74rem;
	text-align: center;
}

.pf-save-lead .pf-lead-child-table {
	min-width: 1050px;
}

.pf-save-lead .pf-lead-child-table thead th {
	white-space: nowrap;
	font-size: .68rem;
}

.pf-save-lead .pf-lead-child-table tbody td {
	font-size: .72rem;
}

.pf-save-lead .pf-child-actions-col {
	min-width: 92px;
	width: 92px;
}

.pf-save-lead .pf-activity-notes {
	min-width: 260px;
	max-width: 420px;
	white-space: pre-wrap;
	overflow-wrap: anywhere;
	line-height: 1.45;
}

.pf-save-lead .pf-followup-panel {
	padding: 16px;
	border: 1px solid #dce4ea;
	border-radius: 10px;
	background: #f8fafb;
}

.pf-save-lead .modal-content {
	border: 0;
	border-radius: 14px;
	overflow: hidden;
}

.pf-save-lead .modal-header {
	background: #f8f9fa;
	border-bottom: 1px solid var(--border-color);
}

.pf-save-lead .modal-title {
	color: var(--heading-color);
	font-size: 1rem;
}

.pf-save-lead .modal-footer {
	border-top: 1px solid #edf0f3;
}

.pf-save-lead #saveLeadFirstMessage {
	font-size: .78rem;
}

@media (max-width: 767.98px) {

	.pf-save-lead .pf-save-lead-heading,
	.pf-save-lead .pf-lead-section-header {
		align-items: flex-start;
		flex-direction: column;
	}

	.pf-save-lead .pf-lead-editor-card {
		padding: 18px;
	}

	.pf-save-lead .pf-lead-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

/* =========================================================
   ADMIN MODIFY ACCOUNT MODAL - SCROLLING
   ========================================================= */

#adminModifyModal .modal-dialog {
    height: calc(100dvh - 2rem) !important;
    max-height: calc(100dvh - 2rem) !important;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
}

#adminModifyModal .modal-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0;
    overflow: hidden !important;
}

/* Important: the form must also be a flex container */
#adminModifyModal #adminModifyForm {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow: hidden;
}

/* Header remains fixed */
#adminModifyModal .modal-header {
    flex: 0 0 auto;
}

/* Only the body scrolls */
#adminModifyModal .modal-body {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #aeb6c0 #f5f5f5;
}

/* Footer remains visible */
#adminModifyModal .modal-footer {
    flex: 0 0 auto;
    background: #fff;
    border-top: 1px solid #dee2e6;
}

/* Chrome / Edge scrollbar */
#adminModifyModal .modal-body::-webkit-scrollbar {
    width: 8px;
}

#adminModifyModal .modal-body::-webkit-scrollbar-thumb {
    background: #aeb6c0;
    border-radius: 6px;
}

/* Admin Modify Account - Field Labels */
#adminModifyModal .form-label {
    font-weight: 700 !important;
    color: #344054;
    font-size: 0.88rem;
    letter-spacing: 0.01em;
    margin-bottom: 6px;
}


/* ==============================================================
   PIXELFLOW - SCREEN DOWNTIME MONITOR
   ============================================================== */

.pf-downtime-report {
    --dt-red: #dc3545;
    --dt-orange: #e68a17;
    --dt-amber: #b7791f;
    --dt-dark: #1d3557;
    --dt-border: #e5e9ef;
    --dt-muted: #778391;
}

.pf-downtime-report [hidden] { display: none !important; }

.pf-downtime-report .custom-block {
    border: 1px solid var(--dt-border);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 3px 14px rgba(25,40,60,.04);
}

.pf-downtime-toolbar {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--dt-border);
}

.pf-downtime-filter { flex: 0 1 260px; min-width: 195px; }
.pf-downtime-filter .form-select { border-radius: 9px; min-height: 41px; }
.pf-downtime-filter .form-label { color: var(--dt-dark); }

.pf-downtime-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-downtime-toolbar-actions .btn {
    border-radius: 9px;
    padding: 9px 22px;
}

.pf-downtime-update {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: .84rem;
    text-align: right;
}

.pf-downtime-update .fw-semibold { color: var(--dt-dark); }

/* Summary */
.pf-downtime-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.pf-downtime-summary-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 17px;
    border: 1px solid var(--dt-border);
    border-radius: 12px;
    background: #fbfcfe;
    min-width: 0;
}

.pf-downtime-summary-icon {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.35rem;
}

.pf-downtime-summary-red { color: #c92b3d; background: #fdecef; }
.pf-downtime-summary-gray { color: #617185; background: #eaf0f6; }
.pf-downtime-summary-orange { color: #bd6c12; background: #fff0d9; }

.pf-downtime-summary-label {
    font-size: .79rem;
    font-weight: 600;
    color: #637083;
}

.pf-downtime-summary-value {
    font-size: 1.65rem;
    font-weight: 750;
    line-height: 1.4;
    color: var(--dt-dark);
    overflow-wrap: anywhere;
}

/* Table heading */
.pf-downtime-table-heading {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.pf-downtime-table-heading h2 { color: var(--dt-dark); }

.pf-downtime-table-count {
    padding: 6px 13px;
    background: #edf1f7;
    border-radius: 50px;
    color: var(--dt-dark);
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
}

/* Table */
.pf-downtime-table {
    min-width: 1000px;
    margin-bottom: 0;
    font-size: .87rem;
}

.pf-downtime-table thead th {
    background: #f4f7fa;
    color: #46566b;
    font-size: .78rem;
    font-weight: 700;
    padding: 14px 13px;
    white-space: nowrap;
    border-bottom: 1px solid var(--dt-border);
}

.pf-downtime-table tbody td {
    padding: 17px 13px;
    vertical-align: middle;
    border-color: #edf0f4;
}

.pf-downtime-table tbody tr:hover td { background: #f9fbff; }

.pf-downtime-never-row td:first-child {
    box-shadow: inset 4px 0 0 #64748b;
}

.pf-downtime-screen-name,
.pf-downtime-venue-name,
.pf-downtime-device-model,
.pf-downtime-last-call {
    font-weight: 650;
    color: #24364d;
}

.pf-downtime-screen-name {
    display: flex;
    align-items: center;
    gap: 9px;
}

.pf-downtime-preview {
    color: #3482b9;
    font-size: .85rem;
    text-decoration: none;
}

.pf-downtime-preview:hover { color: #155b8c; }

.pf-downtime-subtext {
    color: var(--dt-muted);
    font-size: .76rem;
    margin-top: 5px;
    overflow-wrap: anywhere;
}

.pf-downtime-muted { color: #98a2af; font-size: .83rem; }

.pf-downtime-never-label {
    font-weight: 650;
    color: #b54755;
}

/* Downtime duration and visual bar */
.pf-downtime-gap { min-width: 135px; }

.pf-downtime-gap-value {
    font-size: 1rem;
    font-weight: 750;
    margin-bottom: 8px;
}

.pf-downtime-gap--warning .pf-downtime-gap-value { color: #ae7215; }
.pf-downtime-gap--danger .pf-downtime-gap-value { color: #d24a21; }
.pf-downtime-gap--critical .pf-downtime-gap-value { color: #c5283d; }
.pf-downtime-gap--never .pf-downtime-gap-value { color: #64748b; }

.pf-downtime-progress {
    height: 7px;
    width: 100%;
    max-width: 180px;
    background: #e9edf2;
    overflow: hidden;
    border-radius: 100px;
}

.pf-downtime-progress-fill {
    height: 100%;
    border-radius: inherit;
    transition: width .3s ease;
}

.pf-downtime-gap--warning .pf-downtime-progress-fill { background: #e9a13a; }
.pf-downtime-gap--danger .pf-downtime-progress-fill { background: #ec6847; }
.pf-downtime-gap--critical .pf-downtime-progress-fill { background: #df334b; }
.pf-downtime-gap--never .pf-downtime-progress-fill { background: #94a3b8; }

/* Device tags */
.pf-downtime-device-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.pf-downtime-device-tag {
    font-size: .7rem;
    color: #54657b;
    background: #eef2f7;
    padding: 4px 7px;
    border-radius: 5px;
    white-space: nowrap;
}

/* Connectivity indicator */
.pf-downtime-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 100px;
    padding: 7px 10px;
    font-size: .75rem;
    font-weight: 700;
    white-space: nowrap;
}

.pf-downtime-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.pf-downtime-status--warning { color: #a06b13; background: #fff4dd; }
.pf-downtime-status--danger { color: #b94725; background: #ffe9e2; }
.pf-downtime-status--critical { color: #be273b; background: #fde8ec; }
.pf-downtime-status--never { color: #53657d; background: #e9eef4; }

/* Empty state and disclaimer */
.pf-downtime-empty {
    text-align: center;
    padding: 40px 20px;
}

.pf-downtime-empty > i { font-size: 2.5rem; color: #2d9567; }

.pf-downtime-footer-note {
    margin-top: 21px;
    border-top: 1px solid var(--dt-border);
    padding-top: 14px;
    color: #768393;
    font-size: .78rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 991px) {
    .pf-downtime-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-downtime-update { margin-left: 0; text-align: left; }
}

@media (max-width: 575px) {
    .pf-downtime-report .custom-block { padding: 16px; }
    .pf-downtime-toolbar { gap: 14px; }
    .pf-downtime-filter { flex: 1 1 100%; }
    .pf-downtime-update { flex: 1 1 100%; }
    .pf-downtime-summary { grid-template-columns: 1fr; }
    .pf-downtime-summary-card { padding: 13px; }
    .pf-downtime-summary-value { font-size: 1.45rem; }
}

/* =========================================================
   VIEW VENUE SCREENS / REUSABLE VIEW SCREENS CARD
   ========================================================= */
.pf-venue-show-screens-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.pf-vsc-page-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.pf-vsc-page-title { margin: 0 0 5px; font-size: 1.05rem; font-weight: 700; color: var(--heading-color); }
.pf-vsc-page-subtitle { color: #687487; font-size: .78rem; line-height: 1.5; }
.pf-vsc-page-separator { margin: 0 8px; }
.pf-vsc-loading { padding: 48px 12px; text-align: center; color: #657083; font-size: .85rem; }
.pf-vsc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; }
.pf-vsc-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #e0e6ed; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 3px 14px rgba(29, 53, 87, .045); }
.pf-vsc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-height: 74px; padding: 14px 14px 9px; }
.pf-vsc-heading { min-width: 0; flex: 1; }
.pf-vsc-name { color: var(--heading-color); font-size: .92rem; line-height: 1.35; font-weight: 700; margin: 0 0 5px; overflow-wrap: anywhere; }
.pf-vsc-name-link { color: inherit; text-decoration: none; }
.pf-vsc-name-link:hover { color: var(--custom-btn-bg-color); text-decoration: underline; }
.pf-vsc-name-link .bi { font-size: .72em; margin-left: 2px; }
.pf-vsc-subtitle { color: #7b8492; font-size: .7rem; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pf-vsc-status { border: 1px solid #cceadb; background: #edf8f2; color: #237348; border-radius: 99px; padding: 3px 7px; flex: 0 0 auto; font-size: .62rem; font-weight: 700; }
.pf-vsc-stage { position: relative; width: 100%; height: 214px; background: #131a24; overflow: hidden; }
.pf-vsc-stage-content { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.pf-vsc-stage-content img, .pf-vsc-stage-content video { display: block; height: 100%; width: 100%; object-fit: contain; }
.pf-vsc-stage-open { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.pf-vsc-stage-label { z-index: 3; position: absolute; right: 8px; bottom: 8px; border-radius: 6px; background: rgba(0,0,0,.65); color: #fff; padding: 4px 7px; font-size: .65rem; pointer-events: none; }
.pf-vsc-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 100%; padding: 20px; text-align: center; color: #bcc6d4; font-size: .75rem; }
.pf-vsc-empty .bi { font-size: 1.35rem; }
.pf-vsc-empty-error { color: #ffcbcb; }
.pf-vsc-thumbs { display: flex; gap: 7px; min-height: 70px; padding: 9px 12px; border-bottom: 1px solid #edf0f4; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; }
.pf-vsc-thumbs:empty::after { content: 'No ad previews'; color: #9aa3ad; font-size: .72rem; align-self: center; }
.pf-vsc-thumb { position: relative; flex: 0 0 72px; width: 72px; height: 51px; padding: 0; overflow: hidden; border: 2px solid #dfe5eb; border-radius: 7px; background: #151e2b; cursor: pointer; }
.pf-vsc-thumb:hover, .pf-vsc-thumb.active { border-color: var(--custom-btn-bg-color); }
.pf-vsc-thumb img, .pf-vsc-thumb video { display: block; width: 100%; height: 100%; object-fit: contain; }
.pf-vsc-thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.8); pointer-events: none; }
.pf-vsc-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 14px 14px; margin-top: auto; }
.pf-vsc-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #637286; font-size: .67rem; }
.pf-vsc-meta span:not(:last-child)::after { content: '·'; position: relative; left: 7px; color: #a5adb7; }
.pf-vsc-open-link { display: inline-flex; gap: 5px; align-items: center; color: var(--custom-btn-bg-color); font-size: .72rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.pf-vsc-open-link:hover { color: var(--custom-btn-bg-hover-color); text-decoration: underline; }
.pf-vsc-no-device { color: #89939f; font-size: .7rem; }
@media (max-width: 1199.98px) { .pf-vsc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .pf-vsc-grid { grid-template-columns: 1fr; gap: 14px; } .pf-vsc-stage { height: 240px; } }


/* ===== PixelFlow Internet Provider pages - append to pf.css ===== */
.pf-internet-page [hidden] { display: none !important; }
.pf-internet-page .pf-ip-panel { background:#fff; padding:22px; border-radius:14px; box-shadow:0 2px 12px rgba(15,23,42,.05); }
.pf-internet-page .form-label { font-size:.88rem; font-weight:700; color:#344054; margin-bottom:6px; }
.pf-internet-page .form-control { border-radius:8px; }
.pf-internet-page .form-control:focus { border-color:#8cbaff; box-shadow:0 0 0 .18rem rgba(13,110,253,.12); }
.pf-internet-page .form-control[readonly] { background:#f2f4f8; border-color:#dce2e9; color:#566173; cursor:not-allowed; }
.pf-internet-page .pf-ip-btn { border-radius:9px; font-weight:600; }
.pf-internet-page .pf-ip-filter { border:1px solid #dfe5ed; background:#f8fafc; border-radius:12px; padding:18px; }
.pf-internet-page .pf-ip-filter-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; align-items:end; }
.pf-internet-page .pf-ip-filter-check { padding-bottom:4px; }
.pf-internet-page .pf-ip-filter-check .form-check-label { font-weight:650; color:#344054; }
.pf-internet-page .pf-ip-table { min-width:800px; font-size:.89rem; }
.pf-internet-page .pf-ip-table th { padding:12px 10px; background:#f3f6fa; color:#344054; font-size:.79rem; font-weight:700; border-bottom:1px solid #dde5ee; white-space:nowrap; }
.pf-internet-page .pf-ip-table td { padding:11px 10px; border-bottom:1px solid #edf0f4; vertical-align:middle; }
.pf-internet-page .pf-ip-table tbody tr:hover { background:#f8fbff; }
.pf-internet-page .pf-ip-status { display:inline-block; min-width:75px; padding:5px 9px; border-radius:20px; font-size:.76rem; font-weight:700; text-align:center; }
.pf-internet-page .pf-ip-status-active { color:#17643a; background:#e8f6ed; }
.pf-internet-page .pf-ip-status-inactive { color:#963c3c; background:#fceaea; }
.pf-internet-page .pf-ip-actions { display:flex; gap:8px; align-items:center; justify-content:center; white-space:nowrap; }
.pf-internet-page .pf-ip-icon { width:34px; height:34px; border-radius:8px; padding:0; display:inline-flex; align-items:center; justify-content:center; }
.pf-internet-page .pf-ip-icon:disabled { opacity:.4; cursor:not-allowed; }
.pf-internet-page .pf-ip-meta { background:#f4f7fa; border:1px solid #e1e7ef; padding:12px 15px; border-radius:9px; margin-bottom:18px; font-size:.9rem; }
.pf-internet-page .pf-ip-section { font-size:1rem; font-weight:700; color:#263a53; border-bottom:1px solid #e4eaf0; padding-bottom:9px; margin:24px 0 17px; }
.pf-internet-page .pf-ip-section:first-child { margin-top:0; }
.pf-internet-page textarea.form-control { min-height:90px; resize:vertical; }
.pf-internet-page .pf-ip-status-control { background:#f8fafc; border:1px solid #e1e7ef; border-radius:10px; padding:14px 17px; }
.pf-internet-page .pf-ip-status-control .form-check-label { font-weight:650; }
.pf-internet-page .pf-ip-form-actions { display:flex; gap:12px; justify-content:flex-end; border-top:1px solid #e4eaf0; padding-top:20px; margin-top:24px; }
.pf-internet-page .pf-ip-form-actions .btn { min-width:115px; }
@media (max-width:1199px) { .pf-internet-page .pf-ip-filter-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:767px) { .pf-internet-page .pf-ip-panel { padding:15px; } .pf-internet-page .pf-ip-filter-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } .pf-internet-page .pf-ip-form-actions .btn { flex:1; } }
@media (max-width:480px) { .pf-internet-page .pf-ip-filter-grid { grid-template-columns:1fr; } .pf-internet-page .pf-ip-form-actions { flex-direction:column-reverse; } .pf-internet-page .pf-ip-form-actions .btn { width:100%; } }

/* Append to existing pf.css: reusable Internet Provider card and modal */
.pf-ip-provider-modal .modal-dialog { max-width: 1050px; }
.pf-ip-provider-modal .modal-content { border: 0; border-radius: 14px; overflow: hidden; }
.pf-ip-provider-modal .modal-header { border-bottom: 1px solid #e5eaf0; padding: 16px 24px; }
.pf-ip-provider-modal .modal-title { font-weight: 700; }
.pf-ip-provider-modal .modal-body { padding: 18px 24px 24px; overscroll-behavior: contain; }
.pf-ip-card [hidden] { display: none !important; }
.pf-ip-card .form-label { color: #344054; font-size: .88rem; font-weight: 700; margin-bottom: 6px; }
.pf-ip-card .form-control { border-radius: 8px; }
.pf-ip-card .form-control[readonly] { background: #f2f4f8; color: #566173; cursor: not-allowed; }
.pf-ip-card-section { font-size: 1rem; font-weight: 700; color: #263a53; border-bottom: 1px solid #e4eaf0; padding-bottom: 9px; margin: 20px 0 15px; }
.pf-ip-card-section:first-of-type { margin-top: 0; }
.pf-ip-card-meta { background: #f4f7fa; border: 1px solid #e1e7ef; padding: 12px 15px; border-radius: 9px; }
.pf-ip-card-status { border: 1px solid #e1e7ef; border-radius: 10px; padding: 14px 16px; background: #f8fafc; }
.pf-ip-card-actions { display: flex; justify-content: flex-end; border-top: 1px solid #e4eaf0; margin-top: 22px; padding-top: 18px; }
.pf-ip-card-actions .btn { border-radius: 9px; }
.pf-venue-internet-table { min-width: 720px; }
.pf-venue-internet-table th { background: #f3f6fa; white-space: nowrap; font-size: .82rem; }
.pf-venue-internet-table td { vertical-align: middle; }
.pf-venue-internet-actions { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pf-venue-internet-actions .btn { min-width: 32px; }
@media (max-width: 767px) {
    .pf-ip-provider-modal .modal-body { padding: 12px; }
    .pf-ip-provider-modal .modal-header { padding: 12px 16px; }
}
