@charset "UTF-8";
.navbar-custom {
  background: var(--white);
  padding: 0.4rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar-custom {
    padding: 1rem;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .navbar-custom {
    padding: 1rem;
  }
}
@media (min-width: 1280px) {
  .navbar-custom {
    padding: 1rem;
  }
}
@media (min-width: 992px) {
  .navbar-custom .container {
    position: relative;
    justify-content: center;
  }
}
.navbar-custom__brand {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: wrap;
  -moz-column-gap: 0.35em;
       column-gap: 0.35em;
  align-items: flex-start;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.15;
  color: var(--orange);
  text-decoration: none;
  margin: 0.5rem 0.75rem;
}
@media (min-width: 992px) {
  .navbar-custom__brand {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    flex-direction: column;
    flex-wrap: nowrap;
    -moz-column-gap: 0;
         column-gap: 0;
    font-size: 0.78rem;
    line-height: 1.12;
    letter-spacing: 0.04em;
    margin: 0;
  }
}
.navbar-custom__brand:hover {
  text-decoration: none;
  opacity: 0.85;
}
.navbar-custom__menu {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.navbar-custom__menu li a {
  text-decoration: none;
  color: var(--violet);
  font-weight: 600;
}
.navbar-custom__menu li a:hover {
  text-decoration: underline;
  color: var(--blue);
}
@media (min-width: 992px) {
  .navbar-custom__menu {
    gap: 0;
    margin: 0;
    flex-wrap: nowrap;
    align-items: center;
  }
  .navbar-custom__menu > li {
    display: flex;
    align-items: center;
  }
  .navbar-custom__menu > li:not(:last-child)::after {
    content: "/";
    margin: 0 0.7rem;
    color: var(--violet);
    font-weight: 300;
    opacity: 0.4;
    font-size: 0.95em;
    line-height: 1;
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
}
.navbar-custom__logout {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.navbar-custom__logout button {
  background: transparent;
  border: 1px solid rgb(145, 44, 44);
  color: rgb(145, 44, 44);
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-weight: bold;
}
.navbar-custom__logout button:hover {
  background: red;
  color: white;
}
.navbar-custom .navbar-toggler {
  border: none;
}
.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
}
.navbar-custom .collapse {
  justify-content: space-between;
  flex-grow: 1;
}
@media (min-width: 992px) {
  .navbar-custom #navbarContent {
    flex-grow: 0;
    justify-content: center;
  }
  .navbar-custom #navbarContent > form {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
}

/* 1. Naprawa braku interakcji kliknięć */
.fc {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  -webkit-touch-callout: none;
}

.fc-event {
  -webkit-tap-highlight-color: transparent;
  -moz-user-select: none;
       user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  cursor: pointer !important;
}

.fc-daygrid-day,
.fc-timegrid-slot {
  cursor: pointer;
}

.fc .fc-toolbar-title {
  font-size: 1.3rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fc .fc-toolbar-title {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .fc .fc-toolbar-title {
    font-size: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .fc .fc-toolbar-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 599px) {
  .fc .fc-toolbar.fc-header-toolbar {
    flex-direction: column;
  }
  .fc-toolbar-chunk {
    padding: 0.5rem;
  }
}

.fc .fc-button .fc-icon {
  font-size: 0.8rem;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .fc .fc-button .fc-icon {
    font-size: 1.5rem;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .fc .fc-button .fc-icon {
    font-size: 1.5rem;
  }
}
@media (min-width: 1280px) {
  .fc .fc-button .fc-icon {
    font-size: 1.5rem;
  }
}

.fc-lesson,
.fc-block {
  overflow: hidden;
  /* ukrywa nadmiar treści */
  white-space: nowrap;
  /* nie zawija tekstu */
  text-overflow: ellipsis;
  /* dodaje "..." gdy tekst za długi */
  max-width: 100%;
  /* nie wychodzi poza kafelek */
}

/* 2. Czasem Safari nie łapie scrolla */
body,
html {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* 3. Upewnij się, że kalendarz nie jest przysłonięty */
#calendar {
  position: relative;
  z-index: 1;
}

.modal-backdrop {
  z-index: 1040 !important;
}

.modal {
  z-index: 1050 !important;
}

#lessonModal .modal-content.border-success {
  border: 3px solid green;
}

#lessonModal .modal-content.border-danger {
  border: 3px solid red;
}

.fc-timegrid-slot:nth-of-type(4n),
.fc-timegrid-slot:nth-of-type(4n-1) {
  background-color: #2f6194 !important;
  /* jasnoszary */
}

/* Styl dla modalu szczegółów lekcji */
#lessonDetailsModal .modal-dialog {
  max-width: 500px;
}

#lessonDetailsModal .badge {
  font-size: 0.9em;
  padding: 0.5em 0.8em;
}

#lessonDetailsModal #customerPhoneLink:hover {
  text-decoration: none;
  background-color: #0d6efd;
  color: white;
}

#lessonDetailsModal .card-body {
  min-height: 80px;
  background-color: #f8f9fa;
}
