/* === Additional CSS (Customizer) === */
.logo-wrapper a {
  font-weight: bold;
}

/* === Hide ratings, reviews, and unwanted elements === */
.instructor-avatar .ratings,
.instructor-single-review,
.instructor-single-asset,
.tutor-single-course-rating,
.review-meta,
.woocommerce-notices-wrapper,
.subtitle-cover {
  display: none !important;
}

/* === Hide notification bell and adjust chat widget === */
#onesignal-bell-container {
  display: none;
}
#lcx {
  z-index: 2147483000;
}
.lcx-widget.lcx {
  bottom: 70px !important;
}
.lcx .lcx-row {
  margin-top: 70px;
}

/* === Info alert blinking animation === */
#info-alert {
  animation-name: flash;
  animation-duration: 0.3s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: running;
}
@keyframes flash {
  from { color: white; }
  to { color: #dc3545; }
}

/* === Tutor LMS specific tweaks === */
.tutor-view-certificate {
  display: none !important;
}

/* === Elementor shortcode alignment === */
.elementor-shortcode {
  text-align: center;
}

/* === Demo form box styling === */
.form-demo {
  margin: 20px auto;
  padding: 40px;
  width: 70%;
  box-shadow: 0px 3px 15px rgb(0 0 0 / 20%);
  background-color: #F0F0F0;
}
@media screen and (max-width: 768px) {
  .form-demo {
    padding: 40px;
    width: 100%;
    box-shadow: 0px 3px 15px rgb(0 0 0 / 20%);
    background-color: #F0F0F0;
  }
}

/* === Dropdown styling === */
.nice-select {
  width: -webkit-fill-available !important;
  height: 52px !important;
  max-width: 50%;
  color: #fd7e14;
  font-weight: 800;
}
.nice-select .option {
  color: #fd7e14;
  font-weight: 800;
}
.nice-select .list {
  height: 400px;
  overflow-y: auto;
  height: auto;
}

/* === Input placeholder color === */
::-webkit-input-placeholder { color: #555; }
:-moz-placeholder { color: #555; opacity: 1; }
::-moz-placeholder { color: #555; opacity: 1; }
:-ms-input-placeholder { color: #555; }
::-ms-input-placeholder { color: #555; }
::placeholder { color: #555 !important; }

/* === Popup & overlay styling === */
.box {
  width: 40%;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}
.button-demo {
  font-size: 1em;
  padding: 10px;
  color: #fff;
  background: #ff5248;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.button-demo:hover {
  background: #06D85F;
}
.overlay1 {
  position: fixed;
  top: 0; bottom: 0; left: 0; right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay1:target {
  visibility: visible;
  opacity: 1;
}
.popup {
  margin: 70px auto;
  padding: 20px;
  background: #F4E2c6;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}
.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 18px;
}
.popup .close {
  position: absolute;
  top: 20px; right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover { color: #06D85F; }
.popup .content {
  max-height: 30%;
  overflow: auto;
}
@media screen and (max-width: 700px) {
  .box { width: 70%; }
  .popup { width: 70%; }
}

/* === Specific page tweak === */
.page-id-9421 .arve-inner {
  height: 200px !important;
}
.page-id-9421 .arve-inner body {
  margin-top: -150px !important;
}

/* === Gravity Forms color tweak === */
.gform_wrapper {
  color: white;
}

/* === Hide Tutor LMS profile item === */
.header_profile_menu > ul li:nth-child(7) {
  display: none !important;
}

/* === Custom batch student form === */
.batchstudentform {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: 0 auto;
}
.custom-label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
  text-align: left;
}
.custom-select {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
}
.custom-button {
  padding: 12px 20px;
  background-color: #0073e6;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  max-width: 200px;
  margin-top: 10px;
}
.custom-button:hover {
  background-color: #005bb5;
}

/* === Homepage header styling === */
.home .site-header {
  display: block;
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 10px 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  border-bottom: 1px solid #333333;
}

/* === Header menu improvements === */
.header_profile_menu ul li:first-child {
  text-align: left;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  padding-left: 20px;
}
.header_profile_menu ul li {
  padding-left: 20px;
}
.header_profile_menu ul li:first-child div {
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
}
.header_profile_menu ul li:first-child div:last-child {
  font-size: 0.9em;
  text-align: left;
  color: #666;
}
header.site-header ul:not(#menu-main-menu):not(.header_profile_menu > ul) {
  display: none !important;
}

/* === Layout fixes for Math Kangaroo etc === */
@media (min-width: 992px) {
  .border-wrap .col-lg-2 {
    width: 33% !important;
    flex: 0 0 33% !important;
    max-width: 33% !important;
  }
}
@media (max-width: 991px) {
  .border-wrap .col-lg-2 {
    width: 33.33% !important;
    flex: 0 0 33.33% !important;
    max-width: 33.33% !important;
  }
}

@media (max-width: 768px) {
  .border-wrap .col-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  #math-kangaroo-banner {
    position: relative;
    margin-top: 60px;
  }
  #math-award-banner {
    margin-top: 60px;
  }
}

/* === Miscellaneous === */
.tutor-course-instructors-wrap {
  display: none !important;
}

/* === Hide Elementor edit button on post 376 === */
body.post-376 .edit-with-elementor-button {
  display: none !important;
}
