/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* כפתורי ניווט תמיד גלויים במצב Focus Mode */
.learndash-wrapper .ld-content-actions {
  position: fixed !important;
  bottom: 0 !important;
  width: auto !important;
  left: 0px;
  /* רוחב הסיידבר */
  right: 350px !important;
  z-index: 9999;
  background: #fff !important;
  border-top: 2px solid #e2e7ed;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center;
  padding: 10px 30px !important;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

/* כאשר הסיידבר מכווץ - תופס רוחב מלא */
.ld-focus-sidebar-collapsed .ld-content-actions {
  left: 0 !important;
}

/* הוספת מרווח בתחתית התוכן כדי למנוע חפיפה */
.ld-content {
  padding-bottom: 50px !important;
}

/* Media Query למסכים קטנים - 992px ומטה */
@media (max-width: 992px) {
  .learndash-wrapper .ld-content-actions {
    right: 50px !important;
  }
}

@media (max-width: 992px) {

  .learndash-wrapper .ld-content-actions .sfwd-mark-incomplete.sfwd-mark-complete,
  .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-course-step-back,
  .sfwd-mark-complete,
  .sfwd-mark-incomplete {
    display: none !important;
  }
}

@media (max-width: 720px) {
  .learndash-wrapper .ld-content-actions {
    right: 0px !important;
  }
}

@media (max-width: 640px) {
  .learndash-wrapper .ld-content-actions {
    padding: 5px 10px !important;
  }

  .learndash-wrapper .ld-focus-content .ld-content-actions {
    justify-content: flex-start;
    /* או center */
    gap: 2px !important;
    /* המרווח בין הכפתורים */
  }

  .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action {
    padding: 0 5px !important;
  }
}