/* 
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 */
button:disabled,
input[type="submit"]:disabled {
  background-color: #ccc;        /* Серый фон */
  color: #666;                   /* Блеклый текст */
  cursor: not-allowed;           /* Курсор с крестом */
  opacity: 0.7;                  /* Полупрозрачность */
}
.url_after_complete_curses{
    font-family: "Gilroy", Sans-serif;
    font-size: 16px;
    background-color: #54DB34;
    color: #FFFFFF;
    border: 1px solid #54DB34;
    border-radius: 50px;
    padding: 12px;	 transition: 0.3s;
}
.url_after_complete_curses:hover{
	color: #54DB34; transition: 0.3s;
    background-color: #FFF;
}

/* Fix overlapping social icons in Elementor header/footer on mobile */
.elementor-1888 .elementor-element.elementor-element-ccbf60b,
.elementor-1888 .elementor-element.elementor-element-b4bad4b,
.elementor-71 .elementor-element.elementor-element-294d4a3 {
  --grid-column-gap: 8px !important;
  --icon-size: 16px !important;
}

.elementor-1888 .elementor-element.elementor-element-ccbf60b .elementor-social-icon,
.elementor-1888 .elementor-element.elementor-element-b4bad4b .elementor-social-icon,
.elementor-71 .elementor-element.elementor-element-294d4a3 .elementor-social-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  padding: 0;
  --icon-padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .elementor-1888 .elementor-element.elementor-element-ccbf60b,
  .elementor-1888 .elementor-element.elementor-element-b4bad4b {
    width: auto !important;
    max-width: none !important;
  }
}

/* Tutor toast: рівний круг іконки та кнопки закриття */
.tutor-toast-parent .tutor-notification {
  align-items: center;
  gap: 12px;
  padding: 16px 44px 16px 16px;
}

.tutor-toast-parent .tutor-notification-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  margin-right: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  box-sizing: border-box;
}

.tutor-toast-parent .tutor-notification-icon i {
  display: block;
  width: 1em;
  height: 1em;
  line-height: 1;
  font-size: 18px;
}

.tutor-toast-parent .tutor-is-success .tutor-notification-icon {
  background-color: rgba(33, 184, 98, 0.12);
  color: var(--tutor-color-success, #21b862);
}

.tutor-toast-parent .tutor-is-warning .tutor-notification-icon {
  background-color: rgba(245, 158, 11, 0.12);
  color: var(--tutor-color-warning, #f59e0b);
}

.tutor-toast-parent .tutor-is-danger .tutor-notification-icon {
  background-color: rgba(239, 68, 68, 0.12);
  color: var(--tutor-color-danger, #ef4444);
}

.tutor-toast-parent .tutor-is-primary .tutor-notification-icon {
  background-color: rgba(62, 100, 222, 0.12);
  color: var(--tutor-color-primary, #3e64de);
}

.tutor-toast-parent .tutor-notification-content {
  flex: 1 1 auto;
  min-width: 0;
}

.tutor-toast-parent .tutor-notification-content h5 {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.3;
}

.tutor-toast-parent .tutor-notification-content p {
  margin: 0;
}

.tutor-toast-parent .tutor-notification-close {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.tutor-toast-parent .tutor-notification-close i {
  font-size: 14px;
  line-height: 1;
}

/* Tutor: компактний мобільний футер кабінету */
@media (max-width: 767px) {
  #tutor-dashboard-footer-mobile {
    padding: 4px 6px calc(4px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e8e8e8;
    box-shadow: 0 -2px 12px rgba(17, 24, 39, 0.06);
  }

  #tutor-dashboard-footer-mobile .tutor-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  #tutor-dashboard-footer-mobile .tutor-row {
    --tutor-gutter-x: 0;
    margin: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
  }

  #tutor-dashboard-footer-mobile .tutor-row > a {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    min-height: 52px;
    margin: 0 2px;
    padding: 6px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border: none !important;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.15;
    color: #6b7280;
    text-decoration: none;
    box-shadow: none;
    overflow: hidden;
  }

  #tutor-dashboard-footer-mobile .tutor-row > a i {
    font-size: 19px;
    line-height: 1;
  }

  #tutor-dashboard-footer-mobile .tutor-row > a span {
    display: block;
    padding: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #tutor-dashboard-footer-mobile .tutor-row > a.active,
  #tutor-dashboard-footer-mobile .tutor-row > a:hover {
    color: var(--e-global-color-accent, #f91f2b);
    background: rgba(249, 31, 43, 0.08);
    border: none !important;
  }

  .tutor-dashboard.tutor-pb-80,
  .tutor-screen-frontend-dashboard {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
