html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: HelveticaNeue, sans-serif !important;
}

/* Sidebar Styles */
.tools-sidebar-area {
  display: flex;
  width: 100%;
  position: relative;
  z-index: 21;
}
.tools-sidebar {
  height: 100%;
  z-index: 1000;
  border-right: 1px solid #cccccc;
}

.tools-sidebar.close {
  display: none;
}

.tools-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  background: #fafafa;
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.tools-sidebar-content {
  padding: 45px 0 30px 0px;
  position: relative;
}

.tools-section {
  margin-bottom: 10px;
}

.tools-section .tools-title {
  color: #54545c;
  padding: 14px 60px 14px 14px;
  font-weight: 500;
  font-size: 16px;
}
.tools-section .menu-item-title {
  color: #54545c;
  padding: 14px 60px 14px 14px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  border-left: 3px solid transparent;
}
.tools-section .menu-item-title:hover {
  background-color: #eaeff7;
}
.tools-section .menu-item-title.active {
  background: #f7f7f7;
  border-left-color: #e71316;
  font-weight: 700;
}

.tools-section .menu-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  color: #54545c;
  text-decoration: none;
  font-size: 14px;
  margin-left: 14px;
  border-left: 3px solid transparent;
}

.tools-section .menu-item:hover {
  background-color: #eaeff7;
}
.tools-section .menu-item.active {
  background: #f7f7f7;
  border-left-color: #e71316;
  font-weight: 700;
}

/* Toggle Icon Button */
.tools-sidebar-area .chevron-toggle-icon {
  display: none;
  position: relative;
}
.tools-sidebar-area .chevron-icon {
  border-radius: 4px 0 0 4px;
  width: 19px;
  height: 32px;
  position: relative;
  background: transparent;
  border: 1px solid #cccccc;
  border-right: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tools-sidebar-area .chevron-toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: #cccccc;
}
.tools-sidebar-area .tools-sidebar-content .chevron-icon {
  position: absolute;
  top: 0;
  right: 0;
  transform: rotate(180deg);
  border-radius: 0px 4px 4px 0px;
  border-right: 1px solid #cccccc;
  border-left: none;
}
.tools-sidebar-area .chevron-toggle-icon.close {
  display: block;
}

/* Main Content */
.main-content {
  margin-top: 30px;
  display: flex;
  width: 100%;
}

.main-content h1 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}

/* Header & BreadcrumbStyles */

ul.header-breadcrumb {
  list-style: none;
  display: flex;
  gap: 8px;
}
ul.header-breadcrumb li {
  font-size: 12px;
}
ul.header-breadcrumb li::after {
  content: "/";
  margin-left: 8px;
  color: #ffffff;
}
ul.header-breadcrumb li:last-child {
  font-weight: 700;
}
ul.header-breadcrumb li:last-child::after {
  content: "";
}
ul.header-breadcrumb li a {
  color: #ffffff;
  text-decoration: none;
}
ul.header-breadcrumb li a.active {
  font-weight: 700;
}

.title-breadcrumb-header {
  background: #0e074b;
  background-image: url(../images/tool-sidebar/header-background.jpg);
  background-size: cover;
  display: flex;
  padding-bottom: 16px;
  padding-top: 16px;
  max-width: 100%;
}

.title-breadcrumb-header .header-title {
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  margin-top: 4px;
  margin-bottom: 0;
  letter-spacing: normal;
}
.title-breadcrumb-header .header-title sup {
  top: -0.35rem;
}

/********* Popup style ***********/
body.modal-open {
  overflow: hidden;
}

/* Backdrop */
.wp-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1040;
}
.wp-backdrop.show {
  display: flex;
}

/* Dialog */
.wp-dialog {
  background: #fff;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.18);
  width: 100%;
  max-width: 517px;
  max-height: calc(100vh - 4rem);
  overflow: hidden;
  transform: scale(0.98);
  opacity: 0;
  transition:
    transform 0.16s ease,
    opacity 0.16s ease;
}
.wp-dialog.show {
  transform: scale(1);
  opacity: 1;
}

.wp-header {
  padding: 32px 32px 4px 32px;
  position: relative;
}
h2.wp-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 500;
  color: #1b1b1d;
}

.wp-close {
  position: absolute;
  top: 28px;
  right: 28px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}
.wp-close:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.wp-close svg {
  display: block;
  margin: auto;
}

.wp-body {
  padding: 8px 32px 8px 32px;
}
.warning-text {
  color: #54545c;
  font-size: 14px;
  line-height: 22px;
}
.wp-footer {
  padding: 22px 32px 32px 32px;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 56px;
}

/* Buttons */
.wp-btn {
  appearance: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition:
    background-color 0.12s ease,
    color 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}
.wp-btn:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.wp-btn-secondary {
  background: #fff;
  color: #111827;
  border: 1px solid transparent;
  border-color: #cccccc;
}
.wp-btn-secondary:hover {
  background: #f9fafb;
}
.wp-btn-danger {
  border: none;
  background: #e71316;
  color: #fff;
}
.wp-btn-danger:hover {
  background: #c40003;
}

/* Overlay for small devices */
.overlay-small-device {
  display: none;
}
.overlay-small-device.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 50;
  background-color: rgb(255, 255, 255);
}
.overlay-small-device__message {
  padding: 40px 36px;
  max-width: 410px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: #ffffff;
  background-color: #4b4b4b;
  margin-top: 160px;
}
.overlay-small-device + .metatron .search-header {
  position: relative;
  z-index: 1001;
}

body.overflow-hidden {
  overflow: hidden;
}

@media (max-width: 1199px) {
  .title-breadcrumb-header {
    padding-bottom: 14px;
    padding-top: 14px;
    position: relative;
    z-index: 51;
  }
  .title-breadcrumb-header .header-title {
    font-size: 26px;
    line-height: 32px;
    margin-top: 2px;
  }

  .tools-section .menu-item-title {
    padding: 8px 24px 8px 10px;
    font-size: 13px;
    border-left-width: 2px;
    line-height: 1.7;
  }
  .tools-section .tools-title {
    padding: 8px 13px 8px 10px;
    font-size: 13px;
    line-height: 2;
  }
  .tools-section .menu-item {
    padding: 8px 10px;
    font-size: 11px;
    margin-left: 2px;
    border-left-width: 2px;
    line-height: 2;
  }
}
