/* PIXELOR theme bridge — keep template look, support app forms & flash */
.alert {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.th-pixlora-contact-form input,
.th-pixlora-contact-form textarea,
.th-pixlora-contact-form select {
  width: 100%;
}

.th-pixlora-contact-form .form-control,
.th-pixlora-contact-form .form-select {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: inherit;
  padding: 14px 18px;
  border-radius: 0;
}

.th-pixlora-contact-form .form-control:focus,
.th-pixlora-contact-form .form-select:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.th-theme-pagination .pagination .page-link {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: inherit;
}

.th-theme-pagination .pagination .page-item.active .page-link {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.th-main-menu a.active {
  opacity: 1;
  color: var(--primary-color, #deff00) !important;
}

.th-static-content,
.th-static-content p,
.th-static-content li {
  color: inherit;
}

.th-theme-accordion .accordion-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
}

.th-theme-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  box-shadow: none;
}

.th-theme-accordion .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.th-theme-accordion .accordion-body {
  color: inherit;
  opacity: 0.85;
}

.th-service-widget-area .title,
.th-service-widget-area h2,
.th-service-widget-area h3 {
  color: inherit;
}

/* ---------- Header layout fix ---------- */
.th-header-area {
  position: relative;
  z-index: 99;
}

.th-header-area .th-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  min-height: 72px;
}

.th-header-area .th-header-wrapper .th-logo-menu-area {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
  flex: 1 1 auto;
}

.th-header-area .th-logo {
  width: auto;
  max-width: 140px;
  flex: 0 0 auto;
}

.th-header-area .th-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 36px;
  object-fit: contain;
}

.th-header-area .th-main-menu {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0 18px;
  white-space: nowrap;
}

.th-header-area .th-main-menu nav,
.th-header-area .th-main-menu ul {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0;
}

.th-header-area .th-main-menu ul > li {
  display: block;
  margin-right: 0;
  flex: 0 0 auto;
}

.th-header-area .th-main-menu ul > li > a {
  padding: 14px 10px;
  font-size: 13px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.2;
}

.th-header-area .th-header-top-btn-flex {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.th-header-area .th-header-btn .th-primary-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.th-header-area .th-header-btn .th-primary-btn .th-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  line-height: 48px;
}

.th-header-area .th-header-btn .th-primary-btn .th-icon img {
  width: 16px;
  height: auto;
}

.th-header-area .th-header-btn .th-primary-btn .th-text {
  margin-left: -6px;
  padding: 12px 22px;
  font-size: 13px;
  line-height: 24px;
  white-space: nowrap;
}

.th-header-area .th-menu-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  padding: 12px 22px !important;
  line-height: 1 !important;
  font-size: 13px !important;
}

.th-header-area .th-menu-btn span {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.th-header-area .th-menu-btn img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 1600px) {
  .th-header-area .th-header-wrapper .th-logo-menu-area {
    gap: 20px;
  }

  .th-header-area .th-main-menu ul > li > a {
    padding: 14px 8px;
    font-size: 12px;
  }
}

@media (max-width: 1400px) {
  .th-header-area .th-header-wrapper {
    padding: 0 16px;
  }

  .th-header-area .th-logo {
    max-width: 120px;
  }

  .th-header-area .th-main-menu {
    padding: 0 12px;
  }

  .th-header-area .th-main-menu ul > li > a {
    padding: 12px 6px;
  }

  .th-header-area .th-header-btn .th-primary-btn .th-text {
    padding: 12px 16px;
    font-size: 12px;
  }
}

@media (max-width: 1200px) {
  .th-header-area .th-header-wrapper .th-logo-menu-area .th-main-menu {
    display: none;
  }
}
