
/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor child theme with custom glassic auth and global page title hiding.
Version: 3.5.3
*/

/* ── Hide Page Titles Across All Pages Globally ── */
.page .entry-title,
.page h1.entry-title,
.page .page-header,
.page .entry-header,
.page header.entry-header,
.page-title,
.entry-title,
.elementor-page-title,
h1.entry-title,
header.entry-header,
.post-title,
h1.page-title,
.tutor-course-header-h1,
.tutor-course-details-title,
.tutor-course-title,
.tutor-single-course-title,
.tutor-course-header-title {
  display: none !important;
}

/* ============================================================
   GLASSIC STUDENT AUTH & CUTE 3D MASCOT DESIGN SYSTEM
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@500;600;700;800;900&display=swap');

/* Prevent WordPress wpautop empty p/br from disrupting layout */
.kl-auth-backdrop p:empty,
.kl-auth-backdrop br {
  display: none !important;
}

.kl-auth-backdrop p {
  margin: 0 !important;
  padding: 0 !important;
}

.kl-auth-backdrop * {
  box-sizing: border-box !important;
}

.kl-auth-backdrop {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  min-height: 100vh !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: 
    radial-gradient(circle at 18% 22%, rgba(201, 101, 59, 0.28) 0%, transparent 40%),
    radial-gradient(circle at 82% 78%, rgba(63, 98, 18, 0.32) 0%, transparent 46%),
    radial-gradient(circle at 50% 10%, rgba(229, 169, 60, 0.16) 0%, transparent 35%),
    linear-gradient(140deg, #0C1A0F 0%, #152E19 45%, #1F4225 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 50px 18px 40px !important;
}

/* Ambient Floating Glow Orbs */
.kl-glow-orb {
  position: absolute !important;
  border-radius: 50% !important;
  filter: blur(85px) !important;
  pointer-events: none !important;
  opacity: 0.6 !important;
}
.kl-orb-terracotta {
  width: 460px !important;
  height: 460px !important;
  background: #C9653B !important;
  top: -120px !important;
  left: -120px !important;
}
.kl-orb-forest {
  width: 500px !important;
  height: 500px !important;
  background: #3F6212 !important;
  bottom: -140px !important;
  right: -120px !important;
}
.kl-orb-gold {
  width: 300px !important;
  height: 300px !important;
  background: #FAF8F5 !important;
  top: 30% !important;
  right: 15% !important;
  opacity: 0.14 !important;
}

/* Outer Wrapper for Mascot & Card */
.kl-card-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 450px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  z-index: 10 !important;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
  margin: 0 auto !important;
}

.kl-card-wrapper.register-mode {
  max-width: 580px !important;
}

/* ── 3D Cute Peeking Mascot Header ── */
.kl-welcome-header {
  text-align: center !important;
  margin-bottom: -32px !important;
  z-index: 25 !important;
  position: relative !important;
  width: 100% !important;
}

.kl-welcome-title {
  font-size: 26px !important;
  font-weight: 900 !important;
  color: #FFFFFF !important;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45) !important;
  letter-spacing: -0.2px !important;
  margin-bottom: 2px !important;
}

.kl-welcome-sub {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: #E2EAF4 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  margin-bottom: 12px !important;
  opacity: 0.92 !important;
}

.kl-mascot-box {
  position: relative !important;
  display: inline-block !important;
  margin: 0 auto !important;
}

.kl-mascot-avatar {
  width: 122px !important;
  height: 122px !important;
  max-width: 122px !important;
  max-height: 122px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 4px #FFFFFF,
    0 0 25px rgba(201, 101, 59, 0.3) !important;
  background: #FAF8F5 !important;
  animation: klMascotFloat 4s ease-in-out infinite !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 26 !important;
}

.kl-mascot-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  display: block !important;
  border-radius: 50% !important;
  border: none !important;
}

.kl-float-badge {
  position: absolute !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px) !important;
  border: 2px solid #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 17px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
  z-index: 30 !important;
}

.kl-badge-left {
  top: 32px !important;
  left: -18px !important;
  animation: klBadgeFloat 3.2s ease-in-out infinite alternate !important;
}

.kl-badge-right {
  top: 42px !important;
  right: -18px !important;
  animation: klBadgeFloat 3.8s ease-in-out infinite alternate-reverse !important;
}

@keyframes klMascotFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes klBadgeFloat {
  0% { transform: translateY(0px) scale(1) rotate(-8deg); }
  100% { transform: translateY(-10px) scale(1.08) rotate(10deg); }
}

/* ── Master Glassic Card ── */
.kl-glass-card {
  position: relative !important;
  z-index: 10 !important;
  width: 100% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(28px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 28px !important;
  padding: 46px 34px 34px !important;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.35),
    0 10px 25px rgba(27, 56, 32, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset !important;
}

/* Card Header Brand Chip */
.kl-card-head {
  text-align: center !important;
  margin-bottom: 18px !important;
}

.kl-brand-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(27, 56, 32, 0.07) !important;
  border: 1px solid rgba(27, 56, 32, 0.12) !important;
  padding: 5px 14px !important;
  border-radius: 50px !important;
  margin-bottom: 2px !important;
  backdrop-filter: blur(8px) !important;
}
.kl-chip-icon {
  font-size: 15px !important;
}
.kl-chip-text {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #1B3820 !important;
  letter-spacing: 0.2px !important;
}

/* Glass Tabs Switcher */
.kl-glass-tabs {
  display: flex !important;
  background: rgba(27, 56, 32, 0.08) !important;
  border-radius: 14px !important;
  padding: 4px !important;
  margin-bottom: 22px !important;
  border: 1px solid rgba(27, 56, 32, 0.06) !important;
}

.kl-glass-tab {
  flex: 1 !important;
  padding: 10px 14px !important;
  text-align: center !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #526054 !important;
  border-radius: 11px !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.kl-glass-tab.active {
  background: #1B3820 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(27, 56, 32, 0.28) !important;
}

.kl-glass-tab:not(.active):hover {
  color: #1B3820 !important;
  background: rgba(255, 255, 255, 0.45) !important;
}

/* Tab Panels */
.kl-panel {
  display: none !important;
}
.kl-panel.active {
  display: block !important;
  animation: klPanelFade 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}
@keyframes klPanelFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Inputs on Login Tab */
.kl-input-row {
  margin-bottom: 16px !important;
}

.kl-input-row label {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #1B3820 !important;
  margin-bottom: 6px !important;
  text-align: left !important;
}

.kl-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
}

.kl-input-icon {
  position: absolute !important;
  left: 14px !important;
  font-size: 16px !important;
  color: #7E9283 !important;
  pointer-events: none !important;
  transition: color 0.2s ease !important;
  z-index: 2 !important;
}

.kl-input-field {
  width: 100% !important;
  height: 44px !important;
  padding: 10px 14px 10px 42px !important;
  border: 1.5px solid rgba(27, 56, 32, 0.14) !important;
  background: #FFFFFF !important;
  border-radius: 12px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #142817 !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.kl-input-field:focus {
  border-color: #C9653B !important;
  box-shadow: 0 0 0 3px rgba(201, 101, 59, 0.16) !important;
}

.kl-row-meta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 8px 0 18px !important;
  font-size: 12.5px !important;
}

.kl-remember-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
  color: #526054 !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}
.kl-remember-wrap input[type="checkbox"] {
  accent-color: #1B3820 !important;
  width: 15px !important;
  height: 15px !important;
  cursor: pointer !important;
}

.kl-forgot-link {
  color: #C9653B !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.kl-forgot-link:hover {
  text-decoration: underline !important;
}

/* Submit Buttons */
.kl-primary-btn {
  width: 100% !important;
  height: 46px !important;
  background: linear-gradient(135deg, #C9653B 0%, #B0532B 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 13px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 8px 20px rgba(201, 101, 59, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-decoration: none !important;
}

.kl-primary-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 26px rgba(201, 101, 59, 0.45) !important;
  background: linear-gradient(135deg, #D46E44 0%, #B85931 100%) !important;
}

.kl-card-foot {
  text-align: center !important;
  margin-top: 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #526054 !important;
}

.kl-card-foot a {
  color: #1B3820 !important;
  font-weight: 900 !important;
  margin-left: 4px !important;
  cursor: pointer !important;
  text-decoration: none !important;
}
.kl-card-foot a:hover {
  text-decoration: underline !important;
  color: #C9653B !important;
}

/* ── TUTOR LMS REGISTRATION OVERRIDES ── */
#kl-panel-register #tutor-registration-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 14px !important;
  row-gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#kl-panel-register #tutor-registration-form > div.tutor-form-group {
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

#kl-panel-register #tutor-registration-form label,
#kl-panel-register .tutor-form-group label,
#kl-panel-register form label {
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #1B3820 !important;
  margin-bottom: 5px !important;
  float: left !important;
}

#kl-panel-register #tutor-registration-form input.tutor-form-control,
#kl-panel-register #tutor-registration-form select.tutor-form-control {
  width: 100% !important;
  height: 42px !important;
  padding: 8px 12px !important;
  border: 1.5px solid rgba(27, 56, 32, 0.14) !important;
  background: #FFFFFF !important;
  border-radius: 11px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #142817 !important;
  outline: none !important;
  box-sizing: border-box !important;
}

#kl-panel-register #tutor-registration-form input.tutor-form-control:focus {
  border-color: #C9653B !important;
  box-shadow: 0 0 0 3px rgba(201, 101, 59, 0.16) !important;
}

#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(1) { grid-column: 1 !important; }
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(2) { grid-column: 2 !important; }
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(3) { grid-column: 1 !important; }
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(4) { grid-column: 2 !important; }
#kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker { grid-column: 1 / -1 !important; }
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(5) { grid-column: 1 / -1 !important; }

#kl-panel-register #tutor-registration-form button[type="submit"],
#kl-panel-register #tutor-registration-form .tutor-btn-primary {
  width: 100% !important;
  height: 46px !important;
  background: linear-gradient(135deg, #1B3820 0%, #112414 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 12px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(27, 56, 32, 0.3) !important;
  transition: all 0.2s ease !important;
  margin-top: 6px !important;
}

#kl-panel-register #tutor-registration-form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #244A2B 0%, #17311C 100%) !important;
  box-shadow: 0 10px 22px rgba(27, 56, 32, 0.4) !important;
}

@media (max-width: 600px) {
  .kl-auth-backdrop {
    padding: 20px 14px 20px !important;
  }
  .kl-glass-card {
    padding: 40px 18px 26px !important;
    border-radius: 22px !important;
  }
  .kl-welcome-title {
    font-size: 22px !important;
  }
  .kl-mascot-avatar {
    width: 105px !important;
    height: 105px !important;
  }
  .kl-badge-left { left: -10px !important; }
  .kl-badge-right { right: -10px !important; }
  #kl-panel-register #tutor-registration-form {
    grid-template-columns: 1fr !important;
    row-gap: 10px !important;
  }
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(1),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(2),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(3),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(4),
  #kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker,
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(5) {
    grid-column: 1 !important;
  }
}
/* Explicit Register Button Full-Width & Grid Span */
#kl-panel-register #tutor-registration-form > div:last-of-type,
#kl-panel-register #tutor-registration-form > div:has(button),
#kl-panel-register #tutor-registration-form div.tutor-mt-8,
#kl-panel-register #tutor-registration-form button[type="submit"],
#kl-panel-register #tutor-registration-form button[name="tutor_register_student_btn"] {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  display: block !important;
}

#kl-panel-register #tutor-registration-form button[type="submit"] {
  height: 48px !important;
  background: linear-gradient(135deg, #1B3820 0%, #112414 100%) !important;
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  margin-top: 10px !important;
  box-shadow: 0 8px 20px rgba(27, 56, 32, 0.3) !important;
  transition: all 0.25s ease !important;
}

#kl-panel-register #tutor-registration-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #244A2B 0%, #17311C 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 24px rgba(27, 56, 32, 0.4) !important;
}
/* ── New Student Group Illustration Styling ── */
.kl-mascot-box {
  text-align: center !important;
  margin: 0 auto -25px auto !important;
  position: relative !important;
  z-index: 25 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.kl-students-illustration {
  width: 100% !important;
  max-width: 260px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 20px 20px 0 0 !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18) !important;
  animation: klMascotFloat 4.5s ease-in-out infinite !important;
  transition: transform 0.3s ease !important;
}

.kl-students-illustration:hover {
  transform: scale(1.05) translateY(-4px) !important;
}


/* ============================================================
   REGISTRATION FORM 2-COLUMN & LOGIN-STYLE BOXES
   ============================================================ */

/* Remove any white background box from Tutor LMS wrapper & form */
#kl-panel-register,
#kl-panel-register #tutor-registration-wrap,
#kl-panel-register form#tutor-registration-form,
#kl-panel-register .tutor-card,
#kl-panel-register .tutor-segment,
#kl-panel-register .tutor-p-8,
#kl-panel-register .tutor-p-32,
#kl-panel-register .tutor-wrap,
#kl-panel-register div[class*="tutor-card"],
#kl-panel-register div[class*="tutor-p-"] {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 2-Column Grid Layout */
#kl-panel-register #tutor-registration-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  column-gap: 14px !important;
  row-gap: 12px !important;
  width: 100% !important;
  background: transparent !important;
}

/* Row 1: First Name (Col 1) & Last Name (Col 2) */
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(1) {
  grid-column: 1 !important;
  margin-bottom: 0 !important;
}
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(2) {
  grid-column: 2 !important;
  margin-bottom: 0 !important;
}

/* Row 2: Username (Col 1) & Email (Col 2) */
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(3) {
  grid-column: 1 !important;
  margin-bottom: 0 !important;
}
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(4) {
  grid-column: 2 !important;
  margin-bottom: 0 !important;
}

/* Row 3: Password (Col 1) & Password Confirmation (Col 2) on 1 Line! */
#kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker {
  grid-column: 1 !important;
  margin-bottom: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}
#kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker .tutor-password-field {
  width: 100% !important;
  margin-bottom: 0 !important;
}
#kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker .tutor-input-field {
  margin-bottom: 0 !important;
}
#kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(5) {
  grid-column: 2 !important;
  margin-bottom: 0 !important;
}

/* Row 4: Terms & Conditions Checkbox (Full Width) */
#kl-panel-register #tutor-registration-form > div:nth-last-of-type(2),
#kl-panel-register #tutor-registration-form div.tutor-form-check {
  grid-column: 1 / -1 !important;
  margin: 4px 0 !important;
}

/* Row 5: Register Button (Full Width) */
#kl-panel-register #tutor-registration-form > div:last-of-type,
#kl-panel-register #tutor-registration-form > div:has(button[type="submit"]) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-top: 6px !important;
}

/* Remove default Tutor margin bottoms */
#kl-panel-register .tutor-mb-8,
#kl-panel-register .tutor-mb-3 {
  margin-bottom: 5px !important;
}

/* ── STYLISH INPUT BOXES (Matching Login Form) ── */
#kl-panel-register #tutor-registration-form input.tutor-form-control,
#kl-panel-register #tutor-registration-form input.tutor-input,
#kl-panel-register #tutor-registration-form input[type="text"],
#kl-panel-register #tutor-registration-form input[type="password"],
#kl-panel-register #tutor-registration-form input[type="email"] {
  background: #EEF3FA !important;
  border: 1.5px solid rgba(27, 56, 32, 0.14) !important;
  border-radius: 12px !important;
  height: 44px !important;
  padding: 10px 14px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #142817 !important;
  box-sizing: border-box !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#kl-panel-register #tutor-registration-form input.tutor-form-control:focus,
#kl-panel-register #tutor-registration-form input.tutor-input:focus,
#kl-panel-register #tutor-registration-form input[type="text"]:focus,
#kl-panel-register #tutor-registration-form input[type="password"]:focus,
#kl-panel-register #tutor-registration-form input[type="email"]:focus {
  border-color: #C9653B !important;
  box-shadow: 0 0 0 3px rgba(201, 101, 59, 0.16) !important;
  background: #FFFFFF !important;
}

/* Labels left aligned */
#kl-panel-register #tutor-registration-form label {
  text-align: left !important;
  display: block !important;
  width: 100% !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  color: #1B3820 !important;
  margin-bottom: 5px !important;
}

/* Register Button Styling */
#kl-panel-register #tutor-registration-form button[type="submit"],
#kl-panel-register #tutor-registration-form button[name="tutor_register_student_btn"],
#kl-panel-register #tutor-registration-form .tutor-btn-primary {
  width: 100% !important;
  height: 48px !important;
  background: linear-gradient(135deg, #1B3820 0%, #112414 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  border-radius: 13px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.3px !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(27, 56, 32, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 6px !important;
}

#kl-panel-register #tutor-registration-form button[type="submit"]:hover {
  transform: translateY(-2px) !important;
  background: linear-gradient(135deg, #244A2B 0%, #17311C 100%) !important;
  box-shadow: 0 12px 26px rgba(27, 56, 32, 0.4) !important;
}

/* Password strength bar adjustments */
#kl-panel-register .tutor-password-strength-checker .tutor-password-strength-meter {
  margin-top: 4px !important;
}

@media (max-width: 600px) {
  #kl-panel-register #tutor-registration-form {
    grid-template-columns: 1fr !important;
  }
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(1),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(2),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(3),
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(4),
  #kl-panel-register #tutor-registration-form > div.tutor-password-strength-checker,
  #kl-panel-register #tutor-registration-form > div.tutor-form-group:nth-of-type(5) {
    grid-column: 1 !important;
  }
}


/* ── Circle Mascot Badge & Floating Orbs ── */
.kl-mascot-box {
  position: relative !important;
  display: inline-block !important;
  margin: 0 auto -34px auto !important;
  z-index: 26 !important;
}

.kl-mascot-avatar {
  width: 124px !important;
  height: 124px !important;
  max-width: 124px !important;
  max-height: 124px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  box-shadow: 
    0 12px 28px rgba(0, 0, 0, 0.35),
    0 0 0 4px #FFFFFF,
    0 0 25px rgba(201, 101, 59, 0.3) !important;
  background: #FFFFFF !important;
  animation: klMascotFloat 4s ease-in-out infinite !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 26 !important;
}

.kl-mascot-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  display: block !important;
  border-radius: 50% !important;
  border: none !important;
}

.kl-float-badge {
  position: absolute !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px) !important;
  border: 2px solid #FFFFFF !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  box-shadow: 0 6px 16px rgba(0,0,0,0.25) !important;
  z-index: 30 !important;
}

.kl-badge-left {
  top: 32px !important;
  left: -18px !important;
  animation: klBadgeFloat 3.2s ease-in-out infinite alternate !important;
}

.kl-badge-right {
  top: 42px !important;
  right: -18px !important;
  animation: klBadgeFloat 3.8s ease-in-out infinite alternate-reverse !important;
}

/* ── Remove Duplicate Tutor LMS Login Link in Registration Panel ── */
#kl-panel-register #tutor-registration-form div.tutor-flex:has(a[href*="student-registration"]),
#kl-panel-register #tutor-registration-form div.tutor-flex.tutor-items-center.tutor-justify-center,
#kl-panel-register #tutor-registration-form .tutor-mt-8:has(a) {
  display: none !important;
}





/* ══════════════════════════════════════════════════════════════════════════
   KL: MODERN WEB APP DASHBOARD REDESIGN (LEARNER & STUDENT PORTAL)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Page Background & Font Family ── */
body.page-id-27394,
body.tutor-dashboard,
body.tutor-lms {
  background-color: #f6f8fb !important;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
  color: #1e293b !important;
}

/* Overall Dashboard Container */
.tutor-dashboard-layout {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 24px 28px !important;
  gap: 32px !important;
  background: transparent !important;
}

/* ── 2. Modern App Sidebar ── */
.tutor-dashboard-sidebar {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 28px 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.04) !important;
  min-width: 250px !important;
  display: flex !important;
  flex-direction: column !important;
}

.tutor-dashboard-sidebar-logo {
  display: block !important;
  text-align: center !important;
  margin-bottom: 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

.tutor-dashboard-sidebar-logo img {
  max-height: 48px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Sidebar Nav Menu Items */
.tutor-dashboard-sidebar-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.tutor-dashboard-sidebar-nav li a {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 13px 18px !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-decoration: none !important;
  border: none !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  background: transparent !important;
}

.tutor-dashboard-sidebar-nav li a svg {
  color: #64748b !important;
  transition: color 0.2s ease !important;
  flex-shrink: 0 !important;
}

.tutor-dashboard-sidebar-nav li a:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  transform: translateX(3px) !important;
}

.tutor-dashboard-sidebar-nav li a:hover svg {
  color: #059669 !important;
}

/* Active Nav Item (Brand Emerald Pill) */
.tutor-dashboard-sidebar-nav li a.active {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px -4px rgba(5, 150, 105, 0.38) !important;
}

.tutor-dashboard-sidebar-nav li a.active svg {
  color: #ffffff !important;
}

/* Explore Modules Bottom Link in Sidebar */
.tutor-see-all-courses {
  margin-top: auto !important;
  padding-top: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #059669 !important;
  text-decoration: none !important;
  background: #f0fdf4 !important;
  padding: 12px 18px !important;
  border-radius: 12px !important;
  border: 1px solid #bbf7d0 !important;
  transition: all 0.2s ease !important;
}

.tutor-see-all-courses:hover {
  background: #dcfce7 !important;
  color: #047857 !important;
  transform: translateY(-1px) !important;
}

/* ── 3. Main Dashboard Body & Top Header ── */
.tutor-dashboard-main {
  flex: 1 !important;
  background: transparent !important;
}

.tutor-dashboard-header {
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 18px 28px !important;
  border: 1px solid rgba(226, 232, 240, 0.8) !important;
  box-shadow: 0 6px 24px -6px rgba(0, 0, 0, 0.03) !important;
  margin-bottom: 24px !important;
}

.tutor-dashboard-header-left {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.02em !important;
}

/* User Avatar Button */
.tutor-dashboard-header-user-avatar {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  border-radius: 14px !important;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
  border: 2px solid #ffffff !important;
  transition: all 0.2s ease !important;
}

.tutor-dashboard-header-user-avatar:hover {
  transform: scale(1.05) !important;
}

/* Popover Menu Dropdown */
.tutor-dashboard-header-user-popover {
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.12) !important;
  padding: 14px !important;
  background: #ffffff !important;
}

/* ── 4. Profile Completion Card ── */
.tutor-profile-completion {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 55%, #ffffff 100%) !important;
  background-image: url('https://www.klucekzivotu.org/wp-content/uploads/2026/09/d22a000a-86fb-470a-8dbc-636d6b9aa336.png') !important;
  background-repeat: no-repeat !important;
  background-position: right 20px center !important;
  background-size: contain !important;
  border-radius: 20px !important;
  border: 1px solid #d1fae5 !important;
  box-shadow: 0 6px 20px -6px rgba(6, 78, 59, 0.05) !important;
  padding: 22px 28px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  overflow: hidden !important;
}

.tutor-profile-completion button.tutor-btn-ghost,
.tutor-profile-completion button {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.tutor-profile-completion-header {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}

.tutor-profile-completion a {
  color: #059669 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.tutor-profile-completion a:hover {
  text-decoration: underline !important;
}

/* ── 5. Modern App-Like KPI Stat Cards ── */
.tutor-student-dashboard-stats {
  display: block !important;
  width: 100% !important;
  margin-bottom: 28px !important;
}

/* Individual Stat Card */
.tutor-student-dashboard-stats .tutor-stat-card {
  background: #ffffff !important;
  border-radius: 20px !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.04) !important;
  padding: 22px 24px !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.tutor-student-dashboard-stats .tutor-stat-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.08) !important;
  border-color: #cbd5e1 !important;
}

/* Card Header & Title */
.tutor-stat-card-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-bottom: 12px !important;
}

.tutor-stat-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: capitalize !important;
  letter-spacing: 0.01em !important;
  margin: 0 !important;
  text-decoration: none !important;
  border: none !important;
}

/* Card Icon Badges */
.tutor-stat-card-icon {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  border-radius: 14px !important;
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: none !important;
  border: none !important;
}
.tutor-stat-card-icon svg {
  display: none !important;
}

/* Specific Card 3D Icons & Schemes */
/* Card 1: Enrolled Modules -> Books */
.tutor-stat-card-enrolled .tutor-stat-card-icon,
.tutor-stat-card-courses .tutor-stat-card-icon {
  background-image: url('https://www.klucekzivotu.org/wp-content/uploads/2026/09/card_books_nobg-1.png') !important;
}
.tutor-stat-card-enrolled .tutor-stat-card-value {
  color: #059669 !important;
}

/* Card 2: Active Modules -> Play */
.tutor-stat-card-active .tutor-stat-card-icon {
  background-image: url('https://www.klucekzivotu.org/wp-content/uploads/2026/09/card_play_nobg-1.png') !important;
}
.tutor-stat-card-active .tutor-stat-card-value {
  color: #2563eb !important;
}

/* Card 3: Completed -> Trophy */
.tutor-stat-card-completed .tutor-stat-card-icon {
  background-image: url('https://www.klucekzivotu.org/wp-content/uploads/2026/09/card_trophy_nobg-1.png') !important;
}
.tutor-stat-card-completed .tutor-stat-card-value {
  color: #16a34a !important;
}

/* Card 4: Time Spent -> Clock */
.tutor-stat-card-time-spent .tutor-stat-card-icon,
.tutor-stat-card-time .tutor-stat-card-icon {
  background-image: url('https://www.klucekzivotu.org/wp-content/uploads/2026/09/card_clock_nobg-1.png') !important;
}
.tutor-stat-card-time-spent .tutor-stat-card-value {
  color: #d97706 !important;
}

/* Card Number / Value */
.tutor-stat-card-value {
  font-size: 34px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  margin: 0 !important;
  text-decoration: none !important;
  border: none !important;
}

/* Remove all ugly theme link underlines on stat cards */
.tutor-stat-card * {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ── 6. "Continue Learning" Section Redesign ── */
.tutor-student-dashboard-courses {
  background: #ffffff !important;
  border-radius: 24px !important;
  padding: 28px !important;
  border: 1px solid rgba(226, 232, 240, 0.85) !important;
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.03) !important;
}

.tutor-student-dashboard-courses > div:first-child .tutor-small {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
}

/* "See All" Link */
.tutor-student-dashboard-courses .tutor-btn-link {
  color: #059669 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  padding: 6px 12px !important;
  background: #f0fdf4 !important;
  border-radius: 10px !important;
  transition: all 0.2s ease !important;
}

.tutor-student-dashboard-courses .tutor-btn-link:hover {
  background: #dcfce7 !important;
}

/* Learning Course Card (.tutor-progress-card) */
.tutor-progress-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  padding: 16px 20px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.tutor-progress-card:hover {
  background: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.07) !important;
  border-color: #a7f3d0 !important;
}

/* Thumbnail */
.tutor-progress-card-thumbnail {
  width: 96px !important;
  height: 68px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
  flex-shrink: 0 !important;
}

.tutor-progress-card-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Title */
.tutor-progress-card-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 6px !important;
}

/* Details */
.tutor-progress-card-details {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  margin-bottom: 8px !important;
}

/* Progress Track & Fill */
.tutor-progress-card-bar .tutor-progress-bar {
  height: 8px !important;
  border-radius: 9999px !important;
  background: #e2e8f0 !important;
  overflow: hidden !important;
}

.tutor-progress-card-bar .tutor-progress-bar-fill {
  background: linear-gradient(90deg, #10b981 0%, #059669 100%) !important;
  border-radius: 9999px !important;
}

/* Play/Start Action Button */
.tutor-progress-card-actions .tutor-btn {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
  border: none !important;
  transition: all 0.2s ease !important;
}

.tutor-progress-card-actions .tutor-btn:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.4) !important;
}

/* ── 7. Hide stray settings icon & unwanted elements ── */
.tutor-dashboard-settings-toggle,
.tutor-dashboard-header-settings-toggle {
  display: none !important;
}


/* ============================================================
   KL: ISSUE 5 — HIGH CONTRAST TABLET SELECTOR & COURSE FILTER
   ============================================================ */
@media (max-width: 991px) {
  /* TOP TIER: Sticky Header & User Profile Popover float above everything */
  .tutor-dashboard-header {
    position: sticky !important;
    z-index: 1000 !important;
  }
  .tutor-dashboard-header .tutor-dashboard-header-user-popover {
    z-index: 100000 !important;
    /* kl 2026-11-08: cap popover height so it opens fully above the fixed mobile bottom nav (Saba: popup full open ho, no scrollbar) */
    max-height: calc(100vh - 130px) !important;
    max-height: calc(100dvh - 130px) !important;
    overflow-y: auto !important;
    padding: 10px !important;
  }

  /* MIDDLE TIER: Outer Tab Container floats above course cards but below header */
  .tutor-dashboard-courses-tab {
    position: relative !important;
    z-index: 20 !important;
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 18px !important;
    padding: 8px 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
  }
  .tutor-dashboard-courses-tab .tutor-nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
  }
  .tutor-dashboard-courses-tab .tutor-nav-item.active,
  .tutor-dashboard-courses-tab button.tutor-nav-item.active,
  .tutor-dashboard-courses-tab button[x-ref="trigger"] {
    background: #10b981 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    padding: 9px 16px !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
  }
  .tutor-dashboard-courses-tab .tutor-nav-item.active svg,
  .tutor-dashboard-courses-tab button.tutor-nav-item.active svg,
  .tutor-dashboard-courses-tab button[x-ref="trigger"] svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }
  .tutor-dashboard-courses-tab a.tutor-nav-item:not(.active) {
    background: rgba(241, 245, 249, 0.95) !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 12px !important;
    padding: 9px 16px !important;
    border: 1px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
  }
  .tutor-dashboard-courses-tab a.tutor-nav-item:not(.active):hover {
    background: #ffffff !important;
    color: #0f172a !important;
  }
  .tutor-dashboard-courses-tab a.tutor-nav-item:not(.active) svg {
    color: #64748b !important;
    stroke: #64748b !important;
  }
  .tutor-dashboard-courses-tab .tutor-popover,
  .tutor-dashboard-courses-tab .tutor-nav-dropdown {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16) !important;
    padding: 6px !important;
    z-index: 99999 !important;
  }
  .tutor-dashboard-courses-tab .tutor-nav-dropdown-item {
    border-radius: 10px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
  }
  .tutor-dashboard-courses-tab .tutor-nav-dropdown-item.active {
    background: #ecfdf5 !important;
    color: #065f46 !important;
    font-weight: 700 !important;
  }
  h4.tutor-h4,
  .tutor-dashboard-courses-card h4.tutor-h4,
  .tutor-dashboard-courses-wrap h4.tutor-h4,
  .tutor-dashboard-courses-card h3,
  .tutor-dashboard-title {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
    font-weight: 800 !important;
  }
}

/* Ensure mobile settings form content is properly displayed */
@media (max-width: 768px) {
  .tutor-profile-settings-tab-content {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
  }
  .tutor-profile-settings-tab {
    display: none !important;
  }
}

/* Header Top Action Buttons Spacing (Desktop & Mobile) */
.tutor-profile-header-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Ensure only ONE close button is displayed - strictly hide any secondary close button */
.tutor-profile-header-right .tutor-profile-header-close:nth-of-type(n+2),
.tutor-profile-header-right .tutor-profile-header-close ~ .tutor-profile-header-close,
.tutor-profile-header-right .tutor-hidden,
.tutor-profile-header-right .tutor-profile-header-close.tutor-hidden {
  display: none !important;
}

@media (min-width: 768px) {
  .tutor-profile-header-right .tutor-profile-header-close.tutor-md-hidden,
  .tutor-profile-header-right .tutor-md-hidden {
    display: none !important;
  }
}


.tutor-profile-header-right .tutor-profile-header-close {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.tutor-profile-header-right .tutor-profile-header-close button {
  cursor: pointer !important;
  pointer-events: auto !important;
}

.tutor-profile-header-right > div:not(.tutor-hidden) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}


.tutor-profile-header-right button {
  border-radius: 8px !important;
}

/* Fix mobile mini-header: prevent Unsaved changes badge from wrapping or colliding with buttons */
@media (max-width: 767px) {
  .tutor-profile-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    flex-shrink: 1 !important;
  }

  .tutor-profile-header-left span.tutor-badge {
    white-space: nowrap !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    line-height: 1.3 !important;
    border-radius: 6px !important;
  }

  .tutor-profile-header-right {
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  .tutor-profile-header-right > div:not(.tutor-hidden) {
    gap: 6px !important;
  }
/* ============================================================
   KL FIX 2026-11-05 - Two-tick fix + prev/next arrow icons (Saba)
   CSS only. No button text, colour, layout or behaviour changed.
   - Completed button: when the JS fix marks the button
     .kl-single-tick (its text already holds one tick), hide any
     extra check icon / pseudo-element tick, so only one tick shows.
     The reload state (no tick in the text) is untouched.
   - Prev / Next: hide the old plain chevron pseudo-elements; the
     JS inserts a real SVG arrow icon instead (not "<" / ">").
   ============================================================ */
.tutor-course-topic-single-footer .tutor-course-topic-single-prev a::before,
.tutor-course-topic-single-footer .tutor-course-topic-single-next a::after {
  content: "" !important;
  display: none !important;
}
.tutor-course-topic-single-footer .tutor-course-topic-single-prev a,
.tutor-course-topic-single-footer .tutor-course-topic-single-next a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.tutor-course-topic-single-footer a .kl-nav-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.tutor-course-topic-single-footer .tutor-course-topic-single-prev a .kl-nav-icon {
  margin-right: 8px !important;
}
.tutor-course-topic-single-footer .tutor-course-topic-single-next a .kl-nav-icon {
  margin-left: 8px !important;
}
.tutor-lesson-complete-btn.kl-single-tick::before,
.tutor-lesson-complete-btn.kl-single-tick::after,
.tutor-topbar-complete-btn.kl-single-tick::before,
.tutor-topbar-complete-btn.kl-single-tick::after {
  content: none !important;
  display: none !important;
}
.tutor-lesson-complete-btn.kl-single-tick i[class*="check"],
.tutor-lesson-complete-btn.kl-single-tick svg,
.tutor-topbar-complete-btn.kl-single-tick i[class*="check"],
.tutor-topbar-complete-btn.kl-single-tick svg {
  display: none !important;
}


  .tutor-profile-header-right button {
    padding: 6px 10px !important;
    font-size: 12px !important;
    height: 32px !important;
    min-height: 32px !important;
    margin-right: 0 !important;
  }

  .tutor-profile-header-right .tutor-profile-header-close {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}








/* ============================================================
   KL FIX 2026-11-05 - correction (Tutor 4.2 real selectors)
   Tutor 4.2 renders the lesson footer as
   .tutor-learning-area-footer with a.tutor-btn links, and the
   complete button as .tutor-mark-as-complete-button
   (see tutor/templates/learning-area/lesson/footer.php).
   The earlier block used older Tutor class names that match
   nothing on this page; this block uses the real ones.
   ============================================================ */
.tutor-learning-area-footer > a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.tutor-learning-area-footer a .kl-nav-icon {
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 auto !important;
  display: inline-block !important;
  vertical-align: middle !important;
}
.tutor-learning-area-footer > a:first-child .kl-nav-icon {
  margin-right: 8px !important;
}
.tutor-learning-area-footer > a:last-child .kl-nav-icon {
  margin-left: 8px !important;
}
.tutor-mark-as-complete-button.kl-single-tick::before,
.tutor-mark-as-complete-button.kl-single-tick::after {
  content: none !important;
  display: none !important;
}
.tutor-mark-as-complete-button.kl-single-tick svg,
.tutor-mark-as-complete-button.kl-single-tick i[class*="check"] {
  display: none !important;
}



/* kl 2026-11-08: silence Tutor 576px popover full-height rule - Saba order, top 46px untouched */
@media (max-width: 576px) {
  body:has(#wpadminbar) .tutor-dashboard-header-user-popover {
    height: auto !important;
  }
}

/* kl 2026-11-10: Saba order - this rule silenced, wrapper back to Tutor core calc(100vh - 32px) for full height */
/* body:has(#wpadminbar) .tutor-account-page-wrapper { min-height: 0 !important; } */

/* kl 2026-11-08: hide header bell icon - Saba order */
.tutor-dashboard-header-right .kl-header-bell-btn {
  display: none !important;
}
