/* PressPermit. Copyright (c) 2020 PublishPress.
 * This file is licensed under the GNU GPL.
 */
[data-toggle="tooltip"] {
  position: relative;
  display: inline-block;
  cursor: pointer;
  /* Tooltip Box */
  /* Placements */
}
[data-toggle="tooltip"] .tooltip-text {
  display: none;
  position: absolute;
  min-width: 250px;
  padding: 16px;
  font-size: 13px;
  font-weight: normal;
  text-align: left;
  color: #fff;
  background-color: #000c0c;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1), 0 0 56px rgba(0, 0, 0, 0.08);
  z-index: 99999999;
  box-sizing: border-box;
  transform: translate(-50%, -100%);
  transition: all 0.65s cubic-bezier(0.84, -0.18, 0.31, 1.26);
  white-space: normal;
  /* Arrow */
}
div.presspermit-groups table.users [data-toggle="tooltip"] .tooltip-text {
  min-width: 150px;
}
[data-toggle="tooltip"] .tooltip-text a {
  color: #a0e0ff;
  text-decoration: underline;
  transition: color 0.2s;
  font-size: 13px !important;
}
[data-toggle="tooltip"] .tooltip-text a:hover {
  color: #39b6f5;
}
[data-toggle="tooltip"] .tooltip-text i {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 24px;
  height: 12px;
  margin-left: -6px;
  overflow: hidden;
}
[data-toggle="tooltip"] .tooltip-text i::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: 50%;
  background-color: #000c0c;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
[data-toggle="tooltip"]:not(.click):hover .tooltip-text,
[data-toggle="tooltip"]:not(.click):focus-within .tooltip-text {
  display: block;
}
[data-toggle="tooltip"].click.is-active .tooltip-text {
  display: block;
}
[data-toggle="tooltip"]:not([data-placement]) .tooltip-text,
[data-toggle="tooltip"][data-placement="top"] .tooltip-text {
  top: -20px;
  left: 50%;
  transform: translate(-50%, -100%);
}
[data-toggle="tooltip"]:not([data-placement]) .tooltip-text i,
[data-toggle="tooltip"][data-placement="top"] .tooltip-text i {
  margin-left: -12px;
}
[data-toggle="tooltip"][data-placement="bottom"] .tooltip-text {
  top: 100%;
  left: 25%;
  transform: translate(-50%, 0);
  margin-top: 10px;
}
[data-toggle="tooltip"][data-placement="bottom"] .tooltip-text i {
  top: -12px;
  transform: rotate(180deg);
}
[data-toggle="tooltip"][data-placement="left"] .tooltip-text {
  top: 50%;
  left: -10px;
  transform: translate(-100%, -50%);
}
[data-toggle="tooltip"][data-placement="left"] .tooltip-text i {
  top: 50%;
  left: 100%;
  transform: translateY(-50%) rotate(-90deg);
}
[data-toggle="tooltip"][data-placement="right"] .tooltip-text {
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  margin-left: 10px;
}
[data-toggle="tooltip"][data-placement="right"] .tooltip-text i {
  top: 50%;
  left: -12px;
  transform: translateY(-50%) rotate(90deg);
}
/* Vars */
/* Buttons */
/* Input fields */
/* Tabs */
/* Tables */
/* Alert boxes */
/* --- Colors --- */
.pp-gray,
.pp-gray a,
.pp-gray a:link,
.pp-gray a:visited {
  color: #888;
}
.pp-blue,
.pp-blue a,
.pp-blue a:link,
.pp-blue a:visited {
  color: blue;
}
.pp-green,
.pp-green a,
.pp-green a:link,
.pp-green a:visited {
  color: #0a0;
}
.pp-red,
.pp-red a,
.pp-red a:link,
.pp-red a:visited {
  color: #d00;
}
.pp-bg-gray {
  background-color: #ededed;
}
.pp-subtext {
  color: #777;
  font-style: italic;
  margin-top: 3px;
}
.pp-settings-caption {
  margin-top: 10px;
}
/* --- Misc Admin --- */
.pp-hint {
  margin-top: 0.2em;
}
.pp-notes {
  margin-top: 0.2em;
  list-style-type: circle;
}
.pp-notes li {
  margin-bottom: 1em;
  margin-left: 1.5em;
}
.pp-admin-notice {
  padding: 10px;
  line-height: 18px;
  position: relative;
}
.pp-admin-notice-plugin {
  margin-top: 30px;
}
#pp_dashboard_message,
.pp-admin-notice,
.pp-admin-notice-plugin {
  padding: 10px;
}
.pp-ext-promo {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-top: 1em;
  color: #777;
}
.pp-ext-promo div {
  margin-top: 0.3em;
}
#the-list a span.pp_nolink {
  color: black;
  text-decoration: none;
}
#change_log.pp-update {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 540px;
}
#change_log.pp-update li {
  margin-bottom: 10px;
}
.agp-vspaced_input {
  margin-top: 5px;
  margin-bottom: 10px;
}
.agp-opt-checkbox {
  margin-bottom: 10px;
}
.agp-vtight_input {
  margin-top: 2px;
  margin-bottom: 4px;
  display: flex;
  gap: 4px;
}
span.pp-key-expired {
  font-weight: bold;
  color: #c00;
  vertical-align: bottom;
  margin-right: 0.5em;
}
/* Contextual Help */
#tab-panel-pp div {
  margin-left: 20px;
}
div.pp-custom-privacy-promo,
div.pp-file-filtering-promo {
  margin-left: 5px;
}
/* --- edit-tags.php (PP Exception metaboxes) --- */
#edittag div.meta-box-sortables {
  min-width: fit-content;
  max-width: 800px;
}
/* --- Users, Groups Listing --- */
th.column-pp_no_groups,
td.column-pp_no_groups,
th.column-pp_no_groups a {
  width: 30px;
  text-align: right;
  padding-right: 2px;
}
th.column-pp_groups,
td.column-pp_groups,
th.column-pp_groups a {
  padding-left: 2px;
  text-align: left;
}
div.pp-bulk-user-perm,
p.pp-bulk-user-perm {
  margin-top: 50px;
}
/* --- User Profile --- */
#userprofile_groupsdiv_pp fieldset {
  width: 90%;
}
#userprofile_groupsdiv_pp fieldset input {
  width: auto;
}
/* --- User Profile and Permissions Edit --- */
.pp-group-box {
  margin: 0 0 20px !important;
  padding: 20px !important;
  border: 1px solid #ccc;
}
.pp-group-box h3 {
  margin: 0 0 20px 0;
  padding: 0;
}
#poststuff .pp-group-box h3 {
  font-family: sans-serif;
  font-weight: bold;
  font-size: 14px;
  margin: 0.5em 0 0.5em 0;
}
.pp-group_members {
  background-color: #fff;
  margin-right: 20px;
}
.pp-user-roles {
  background-color: #EAF7F7;
}
.pp-current-roles-note {
  color: #777;
  margin-top: 0.4em;
}
option.pp-new-selection {
  color: #00c;
}
.pp-bulk-groups {
  margin-left: 14px;
}
.pp-usermeta-field-more {
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.pp-user-meta-search {
  white-space: nowrap;
  margin-top: 2px;
  margin-bottom: 2px;
}
.pp-user-meta-search input {
  vertical-align: middle !important;
}
div.pp_dashboard_message {
  margin-top: 20px !important;
}
.pp-notice a,
.pp-notice a:visited {
  font-weight: bold;
  color: #655997;
}
.pp-notice a:hover {
  text-decoration: underline !important;
}
/* Admin icon customized per admin theme, excluding the default and light */
.admin-color-blue #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-coffee #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-ectoplasm #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-midnight #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-ocean #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-sunrise #toplevel_page_presspermit-groups .dashicons-before::before,
.admin-color-blue #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-coffee #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-ectoplasm #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-midnight #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-ocean #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-sunrise #toplevel_page_presspermit-groups .wp-has-current-submenu .dashicons-before::before,
.admin-color-blue #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-coffee #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-ectoplasm #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-midnight #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-ocean #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-sunrise #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-blue #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before,
.admin-color-coffee #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before,
.admin-color-ectoplasm #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before,
.admin-color-midnight #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before,
.admin-color-ocean #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before,
.admin-color-sunrise #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before {
  background-position: 0 -60px;
}
#toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
#toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before {
  background-position: 0 -26px;
}
/* Customize the icon for "Light" admin theme's hover and active states */
.admin-color-light #toplevel_page_presspermit-groups:active .wp-not-current-submenu .dashicons-before::before,
.admin-color-light #toplevel_page_presspermit-groups:hover .wp-not-current-submenu .dashicons-before::before {
  background-position: 0 8px;
}
#toplevel_page_presspermit-groups .wp-menu-open .dashicons-before::before,
body.admin_page_presspermit-edit-permissions #toplevel_page_presspermit-groups .dashicons-before::before,
body.admin_page_presspermit-edit-permissions #toplevel_page_presspermit-groups:hover .dashicons-before::before {
  background-position: 0 -60px;
}
body.admin_page_presspermit-edit-permissions #toplevel_page_presspermit-groups > a > div,
body.admin_page_presspermit-edit-permissions #toplevel_page_presspermit-groups > li:hover,
body.admin_page_presspermit-edit-permissions #toplevel_page_presspermit-groups > li a:focus {
  color: #fff;
}
.pressshack-admin-wrapper p.submit {
  padding-bottom: 0;
}
.pressshack-admin-wrapper .button-primary {
  text-shadow: none !important;
}
.pressshack-admin-wrapper footer {
  margin-top: 25px;
}
.pressshack-admin-wrapper .activating a,
.pressshack-admin-wrapper .activating a:link,
.pressshack-admin-wrapper .activating a:visited {
  color: #0073aa;
  text-decoration: underline;
}
.pressshack-admin-wrapper .activating a:active,
.pressshack-admin-wrapper .activating a:hover {
  color: #00a0d2;
  text-decoration: underline;
}
#wpbody-content .pressshack-admin-wrapper > footer > div.pp-rating {
  margin-top: 5px;
}
.pp-select-exception-agents select[id*="agent_results_"],
.pp-agents-selection select[id*="agent_results_"] {
  width: 240px;
}
@media (max-width: 782px) {
  .pp-select-exception-agents select[id*="agent_results_"],
  .pp-agents-selection select[id*="agent_results_"] {
    width: 240px;
  }
}
.pp-select-exception-agents .pp-search-box-with-icon-wrapper,
.pp-agents-selection .pp-search-box-with-icon-wrapper {
  position: relative;
}
.pp-select-exception-agents .pp-search-box-with-icon-wrapper i,
.pp-agents-selection .pp-search-box-with-icon-wrapper i {
  position: absolute;
  right: 5px;
  top: 5px;
  color: #999;
}
.pp-select-exception-agents input[id*="agent_search_text_"],
.pp-agents-selection input[id*="agent_search_text_"],
.pp-select-exception-agents #agent_search_text_member,
.pp-agents-selection #agent_search_text_member {
  width: 100%;
}
.pp-select-exception-agents td select,
.pp-agents-selection td select {
  width: 170px;
}
.wp-core-ui .pp-default-button {
  border-color: #655997;
  color: #655997;
  border-width: 1px;
}
.wp-core-ui .pp-default-button:focus {
  color: #483f6b;
  border-color: #483f6b;
  box-shadow: 0 0 0 1px #483f6b;
  -moz-box-shadow: 0 0 0 1px #483f6b;
  -webkit-box-shadow: 0 0 0 1px #483f6b;
}
.wp-core-ui .pp-default-button:hover,
.wp-core-ui .pp-default-button:active {
  color: #483f6b;
  border-color: #483f6b;
}
.wp-core-ui .pp-primary-button {
  background: #655997;
  color: #fff;
  border-color: #655997;
  border-width: 1px;
}
.wp-core-ui .pp-primary-button:focus {
  background: #483f6b;
  color: #fff;
  border-color: #483f6b;
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #483f6b;
}
.wp-core-ui .pp-primary-button:hover,
.wp-core-ui .pp-primary-button:active {
  background: #483f6b;
  color: #fff;
  border-color: #483f6b;
}
.wp-core-ui .pp-pro-button {
  background: #feb123;
  color: #222;
  border-color: #feb123;
  border-width: 1px;
}
.wp-core-ui .pp-pro-button:focus {
  background: #febe47;
  color: #222;
  border-color: #febe47;
  box-shadow: 0 0 0 1px #fff, 0 0 0 3px #febe47;
  -moz-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #febe47;
  -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px #febe47;
}
.wp-core-ui .pp-pro-button:hover,
.wp-core-ui .pp-pro-button:active {
  background: #febe47;
  color: #222;
  border-color: #febe47;
}
.wp-core-ui input[type=radio]:checked::before {
  background-color: #655997;
}
.wp-core-ui input[type=checkbox]:checked::before {
  content: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23655997%27%2F%3E%3C%2Fsvg%3E);
}
.wp-core-ui input[type=checkbox]:focus {
  outline: 2px solid transparent;
}
.wp-core-ui input[type=radio]:focus,
.wp-core-ui input[type=checkbox]:focus,
.wp-core-ui input[type=text]:focus,
.wp-core-ui select:focus,
.wp-core-ui textarea:focus {
  border-color: #483f6b;
  box-shadow: 0 0 0 1px #483f6b;
  -moz-box-shadow: 0 0 0 1px #483f6b;
  -webkit-box-shadow: 0 0 0 1px #483f6b;
}
.wp-core-ui ul.pp-list_horiz {
  width: 100%;
  clear: both;
  float: left;
  margin: 0 0 -1px 0;
  padding: 0;
}
.wp-core-ui ul.pp-list_horiz li {
  list-style: none;
  float: left;
  margin: 0;
}
.wp-core-ui ul.pp-list_horiz li:hover,
.wp-core-ui ul.pp-list_horiz li:focus,
.wp-core-ui ul.pp-list_horiz li:active {
  outline: none;
}
.wp-core-ui ul.pp-list_horiz li.agp-agent {
  margin: 0 -1px 0 0;
}
.wp-core-ui ul.pp-list_horiz li.agp-agent a {
  text-decoration: none;
  color: #666;
  padding: 10px 14px 10px;
  display: block;
}
.wp-core-ui ul.pp-list_horiz li.agp-agent a:hover,
.wp-core-ui ul.pp-list_horiz li.agp-agent a:focus,
.wp-core-ui ul.pp-list_horiz li.agp-agent a:active {
  text-decoration: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  color: #222;
}
.wp-core-ui ul.pp-list_horiz li.agp-selected_agent {
  border: 1px solid #ccc;
  background-color: #fff;
  border-bottom: 1px solid #fff;
}
.wp-core-ui ul.pp-list_horiz li.agp-selected_agent a {
  color: #222;
}
.wp-core-ui ul.pp-list_horiz li.agp-unselected_agent {
  border: 1px solid #ccc;
  background: #f1f1f1;
}
.wp-core-ui ul.pp-list_horiz li.agp-unselected_agent a {
  color: #666;
}
.wp-core-ui .pp-agents {
  background-color: #fff;
  padding: 0 0 0.2em 0.3em;
  border: 1px solid #ccc;
  margin: 0;
  padding: 20px;
}
.wp-core-ui .pp-agents a {
  color: #655997;
  text-decoration: none;
}
.wp-core-ui .pp-agents a:hover .wp-core-ui .pp-agents a:focus,
.wp-core-ui .pp-agents a:focus {
  color: #483f6b;
  text-decoration: none;
}
.wp-core-ui .pp-agents input {
  vertical-align: text-bottom;
}
/* Edit User screen */
div#profile-page.wrap div.pp-group-box h3:first-of-type,
#pp_current_user_exceptions_ui {
  margin-top: 5px !important;
}
/* Custom CSS for Select2 */
/* Target only Select2 instances with your custom class */
.pp-select2-dropdown {
  width: fit-content !important;
}
.pp-select2-container {
  position: relative;
  padding-right: 30px;
  /* Make space for the icon */
}
/* Add the Dashicon */
.pp-select2-container:after {
  content: "\f179";
  font-family: dashicons;
  font-size: 18px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #888;
}
/* Search field width adjustment */
.pp-select2-container .select2-search--inline {
  width: auto !important;
  flex-grow: 1;
}
.pp-select2-container .select2-search__field {
  min-width: 150px !important;
  /* Prevent field from collapsing */
}
/* Hide default dropdown arrow if present */
.pp-select2-container .select2-selection__arrow {
  display: none;
}
/* Better mobile responsiveness */
@media (max-width: 768px) {
  .pp-select2-container .select2-search__field {
    min-width: 100px !important;
  }
}
/* --- Busy Button Animation --- */
@keyframes pp-button__busy-animation {
  0% {
    background-position: 160px 0;
  }
}
.pp-button.is-busy {
  background-image: linear-gradient(-45deg, #007cba 33%, #005a87 33%, #005a87 70%, #007cba 70%) !important;
  background-size: 80px 100% !important;
}
@media not (prefers-reduced-motion) {
  .pp-button.is-busy {
    animation: pp-button__busy-animation 2.5s linear infinite;
  }
}
