/* ===== SCHEDULE CALL SECTION STYLES ===== */

/* Import Mona Sans font */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@300;400;500;600;700&display=swap');

/* ===== GUTENBERG OVERRIDE STYLES FOR SCHEDULE CALL SECTION ===== */

/* Page-specific override for schedule call page (ID: 641) */
body.page-id-641 .mf-schedule-call-section {
  margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
  margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
  min-height: 800px!important; 
  max-height: 800px!important;
  width: 100vw !important;
  overflow-x: hidden !important;
}

body.page-id-641 .mf-schedule-call-section .mf-section-container {
  width: 100vw !important;
  max-width: none !important;
  overflow-x: hidden !important;
}

body.page-id-641 {
  overflow-x: hidden !important;
}

/* Override Gutenberg constrained layout for schedule call sections */
body.page-id-641 .is-layout-constrained > .mf-schedule-call-section,
body.page-id-641 .is-layout-constrained > .mf-details-section {
  max-width: 100vw !important;
  margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
  margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
  width: 100vw !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ===== SECTION STYLES (SHARED WITH MEMBERSHIP) ===== */

/* Membership Section Container */
.mf-schedule-call-section {
  font-family: 'Mona Sans', sans-serif;
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

.mf-section-container {
  display: flex;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  height: 800px;
}

/* Left side with light background */
.mf-section-left {
  flex: 1;
  background-color: #EAEEFF;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 800px;
  max-height: 800px;
  width: 50%;
}

/* Content container with padding inside left section */
.mf-section-content {
  padding: 40px 70px 40px 120px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 530px;
}

/* Right side with image and calendar */
.mf-section-right {
  flex: 1;
  background-image: url('/wp-content/uploads/2025/06/become-a-member-3_2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  height: 800px;
  max-height: 800px;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-section-right::before {
  /* content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 50%);
  z-index: 1;
  pointer-events: none; */
}

.mf-section-right img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Section Header (Logo + Breadcrumbs) */
.mf-section-header {
  margin-bottom: 40px;
}

.mf-logo img {
  height: 50px;
  width: 145px;
  margin-bottom: 40px;
}

/* Desktop: show black logo, hide white logo */
.mf-logo-desktop {
  display: block;
}

.mf-logo-mobile {
  display: none;
}

/* Mobile calendar container - hidden on desktop */
.mf-mobile-calendar-container {
  display: none;
}

/* Mobile time section - hidden on desktop, will be shown as separate section */
.mf-mobile-time-section {
  display: none;
}

/* Breadcrumbs */
.mf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-family: 'Mona Sans', sans-serif;
  font-size: 14px;
}

.mf-breadcrumb a {
  color: #000;
  text-decoration: none;
}

.mf-breadcrumb svg {
  color: #000;
}

.current-page,
.breadcrumb-item {
  color: #000;
  font-size: 14px;
  font-weight: 300;
}

/* Section Text */
.mf-section-text {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.mf-section-text h1 {
  font-family: 'Mona Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 36px !important;
  line-height: 120% !important;
  color: #000 !important;
  margin: 20px 0 15px 0 !important;
}

.mf-section-subtitle {
  font-family: 'Mona Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 24px !important;
  color: #000 !important;
  margin: 0 0 30px 0 !important;
}

/* ===== TIME SELECTION STYLES (LEFT SIDE) ===== */

.mf-time-selection {
  margin-top: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mf-selected-date {
  font-family: 'Mona Sans', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  margin: 0 0 20px 0;
}

.mf-time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mf-time-slot {
  position: relative;
  background: #fff;
  border: 1px solid #2D52FF;
  border-radius: 0;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #2D52FF;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 66px;
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-time-slot:hover {
  background: #2D52FF1A;
}

/* POPRAWIONE: Ujednolicone style dla selected time slot jak w book-meeting-office */
.mf-time-slot.selected {
  background: #2D52FF;
  color: #fff !important;
  justify-content: center;
  gap: 12px;
}

/* Dodaj strukture flex dla wycentrowania całości */
.mf-time-slot.selected {
  background: #2D52FF;
  color: #fff;
  justify-content: center;
  gap: 12px; /* Odstęp między tekstem a ikoną */
}

/* Dodaj pseudo-element jako inline element */
.mf-time-slot.selected::after {
  content: '';
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/uploads/2025/07/bmo_tick.png');
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Loading, Error, and No Slots States */
.mf-time-slots .loading,
.mf-time-slots .error,
.mf-time-slots .no-slots {
  grid-column: 1 / -1;
  padding: 16px;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #686873;
  background: #f8f9fa;
  border-radius: 0;
  border: 1px solid #e9ecef;
}

.mf-time-slots .error {
  color: #2D52FF;
  border-color: #2D52FF;
  background: #fff5f4;
}

/* ===== MOBILE TIME SELECTION SECTION ===== */

.mf-mobile-time-section {
  display: none;
  background: #ffffff;
  width: 100%;
  padding: 80px 0;
}

.mf-mobile-time-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mf-mobile-time-header {
  text-align: left;
  margin-bottom: 40px;
}

.mf-mobile-time-header h2 {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 120%;
  color: #000;
  margin: 0 0 20px 0;
}

.mf-mobile-time-subtitle {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  color: #000;
  margin: 0;
}

.mf-mobile-time-content {
  margin-top: 40px;
}

.mf-mobile-time-content .mf-selected-date {
  font-family: 'Mona Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin: 0 0 24px 0;
}

.mf-mobile-time-content .mf-time-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 600px;
}

.mf-mobile-time-content .mf-time-slot {
  position: relative;
  background: #fff;
  border: 1px solid #2D52FF;
  border-radius: 0;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #2D52FF;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-mobile-time-content .mf-time-slot:hover {
  background: #2D52FF1A;
}

/* POPRAWIONE: Mobile time slot selected z pseudo-elementem jak w book-meeting-office */
.mf-mobile-time-content .mf-time-slot.selected {
  background: #2D52FF;
  color: #fff !important;
  justify-content: center;
  gap: 12px;
}

.mf-mobile-time-content .mf-time-slot.selected::after {
  content: '';
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/uploads/2025/07/bmo_tick.png');
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Loading, Error, and No Slots States dla mobile time section */
.mf-mobile-time-content .mf-time-slots .loading,
.mf-mobile-time-content .mf-time-slots .error,
.mf-mobile-time-content .mf-time-slots .no-slots {
  grid-column: 1 / -1;
  padding: 16px;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #686873;
  background: #f8f9fa;
  border-radius: 0;
  border: 1px solid #e9ecef;
}

.mf-mobile-time-content .mf-time-slots .error {
  color: #2D52FF;
  border-color: #2D52FF;
  background: #fff5f4;
}

/* ===== CALENDAR STYLES (SHARED) ===== */

.mf-calendar-section {
  flex: 1;
}

.mf-calendar-mock {
  background: #fff;
  border-radius: 0;
  border: 1px solid #D9D9D9;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); */
}

.mf-calendar-header {
  font-family: 'Mona Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 32px;
  border-bottom: 1px solid #e9ecef;
}

.mf-calendar-nav {
  display: flex;
  gap: 30px;
}

.mf-calendar-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border:none;
  background:#fff;
}


.mf-calendar-day.today {
    border: 1px solid #2D52FF;
    color: #2D52FF;
    background: transparent;
}


.mf-calendar-day.today:hover {
    border: 1px solid #2D52FF;
    color: #2D52FF;
    background: #2D52FF1A;
}

.calendar-arrow{
  width:24px;
  height:20px;
}

.mf-calendar-nav-btn:hover {
  background: #f8f9fa;
  border-color: #2D52FF;
}

.mf-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 8px;
  padding: 0 32px;
}

.mf-calendar-weekday {
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #686873;
  padding: 8px 0;
}

.mf-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
  padding: 0 32px 32px 32px;
}

.mf-calendar-day {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: 'Mona Sans', sans-serif;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #000;
  margin: 0 auto;
}

.mf-calendar-day:hover:not(.disabled) {
  background: #2D52FF33; 
  color: #2D52FF;
}

.mf-calendar-day.active {
  background: #2D52FF!important;
  color: #fff!important;
}

.mf-calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.mf-calendar-day.other-month {
  /* color: #ccc; */
  visibility: hidden;
}

/* ===== DETAILS SECTION STYLES ===== */

.mf-details-section {
  background: #ffffff;
  width: 100%;
  padding: 80px 0;
}

.mf-details-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mf-details-header {
  text-align: left;
  margin-bottom: 60px;
}

.mf-details-header h2 {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 120%;
  color: #000;
  margin: 0 0 20px 0;
}

.mf-details-subtitle {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  color: #000;
  margin: 0;
}

.mf-details-content {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.mf-details-left {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mf-details-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mf-details-right .mf-form-row {
  flex: 1;
  margin-bottom: 0;
}

.mf-details-right .mf-form-col {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mf-details-right textarea {
  flex: 1;
  min-height: 200px;
  height: auto;
  resize: vertical;
}

.mf-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.mf-form-row .mf-form-col {
  flex: 1;
}

.mf-form-row:last-child {
  margin-bottom: 0;
}

.mf-details-form input,
.mf-details-form select,
.mf-details-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 0;
  border: 1px solid #E0E0E0;
  font-family: 'Mona Sans', sans-serif;
  font-size: 16px;
  color: #999;
  background: #fff;
  box-sizing: border-box;
  height: 54px;
}

.mf-details-form input::placeholder,
.mf-details-form textarea::placeholder {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #999;
}

.mf-details-form textarea {
  resize: vertical;
  min-height: 120px;
  height: auto;
}

.mf-details-form select {
  appearance: none;
  background: #fff url("/wp-content/uploads/2025/05/chevron-down.png") no-repeat right 20px center;
  background-size: 20px auto;
  padding-right: 50px;
}

/* Phone input styling for details form */
.mf-details-form .phone-input-group {
  position: relative;
  display: block;
  width: 100%;
}

.mf-details-form .phone-input-group select {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 120px;
  border: 1px solid #E0E0E0;
  background: #fff url("/wp-content/uploads/2025/05/chevron-down.png") no-repeat right 10px center;
  background-size: 20px auto;
  font-family: 'Mona Sans', sans-serif;
  font-size: 16px;
  color: #999;
  padding: 0 30px 0 16px;
  height: 54px;
  appearance: none;
  cursor: pointer;
  margin: 0;
  border-radius: 0;
}

.mf-details-form .phone-input-group input[type="tel"] {
  width: 100%;
  border: 1px solid #E0E0E0;
  background: #fff;
  padding: 0 16px 0 90px;
  font-family: 'Mona Sans', sans-serif;
  font-size: 16px;
  color: #999;
  margin: 0;
  height: 54px;
  box-sizing: border-box;
  border-radius: 0;
}

.mf-form-submit {
  text-align: center;
}

.mf-form-submit button {
  background-color: #2D52FF;
  color: #fff;
  width: 332px;
  height: 66px;
  border-radius: 0;
  border: none;
  cursor: pointer;
  font-family: 'Mona Sans', sans-serif;
  font-weight: 400;
  font-size: 20px;
  transition: background-color 0.3s ease;
}

.mf-form-submit button:hover {
  background-color: #000;
}

/* ===== SUCCESS POPUP STYLES ===== */

#mf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1.0);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mf-popup {
  background: #fff;
  width: 90%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 0;
  text-align: center;
  position: relative;
  margin:0 20px;
}

#mf-popup h2 {
  color: #000; 
  margin: 0 0 1rem;
  font-size: 28px;
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
}

#mf-popup p {
  margin: 0 0 1rem;
  color:#000;
  font-size: 18px;
  font-family: 'Mona Sans', sans-serif;
}

.mf-popup-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mf-popup-button {
  display: inline-block;
  margin-top: 1rem;
  width: 380px;
  height: 66px;
  background: #2D52FF;
  color: #fff;
  border-radius: 0;
  text-decoration: none;
  font-family: 'Mona Sans', sans-serif;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: auto;
}

/* Hide mobile form on desktop */
.mf-mobile-form {
  display: none;
}

/* ===== SCHEDULE SECTION STYLES (DESKTOP) ===== */

/* Schedule Section - widoczna zawsze na desktop */
.mf-schedule-section {
  background: #fff;
  width: 100%;
  padding: 80px 0;
  margin-top: 0;
}

.mf-schedule-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.mf-schedule-header {
  text-align: left;
  margin-bottom: 60px;
}

.mf-schedule-header h2 {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 36px;
  line-height: 120%;
  color: #000;
  margin: 0 0 20px 0;
}

.mf-schedule-subtitle {
  font-family: 'Mona Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 140%;
  text-align: left;
  color: #000;
  margin: 0;
}

.mf-schedule-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.mf-calendar-section {
  flex: 1;
}

/* Time Selection - po prawej stronie */
.mf-schedule-section .mf-time-selection {
  flex: 1;
}

.mf-schedule-section .mf-selected-date {
  font-family: 'Mona Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #000;
  margin: 0 0 24px 0;
}

/* Time slots - 3 w rzędzie na desktop */
.mf-schedule-section .mf-time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 530px;
}

.mf-schedule-section .mf-time-slot {
  position: relative;
  background: #fff;
  border: 1px solid #2D52FF;
  border-radius: 0;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #2D52FF;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 66px;
  width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-schedule-section .mf-time-slot:hover {
  background: #2D52FF1A;
}

/* POPRAWIONE: Desktop schedule section time slot selected z pseudo-elementem jak w book-meeting-office */
.mf-schedule-section .mf-time-slot.selected {
  background: #2D52FF;
  color: #fff !important;
  justify-content: center;
  gap: 12px;
}

.mf-schedule-section .mf-time-slot.selected::after {
  content: '';
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/uploads/2025/07/bmo_tick.png');
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Loading, Error, and No Slots States dla desktop schedule section */
.mf-schedule-section .mf-time-slots .loading,
.mf-schedule-section .mf-time-slots .error,
.mf-schedule-section .mf-time-slots .no-slots {
  grid-column: 1 / -1;
  padding: 16px;
  text-align: center;
  font-family: 'Mona Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #686873;
  background: #f8f9fa;
  border-radius: 0;
  border: 1px solid #e9ecef;
}

.mf-schedule-section .mf-time-slots .error {
  color: #2D52FF;
  border-color: #2D52FF;
  background: #fff5f4;
}

/* ===== MOBILE RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
  /* Hide desktop schedule section on mobile */
  .mf-schedule-section {
    display: none !important;
  }

  .mf-logo img {
    width: 131px;
    margin-bottom: 20px;
  }

  /* POPRAWIONE: Mobile tick icon - use check-icon.svg jak w book-meeting-office */
  .mf-time-slot.selected::after,
  .mf-mobile-time-content .mf-time-slot.selected::after {
    background-image: url('/wp-content/uploads/2025/07/bmo_tick.png') !important;
    background-size: 32px 32px;
  }
  
  /* Show mobile calendar */
  .mf-mobile-calendar-container {
    display: block !important;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    margin: 30px 0 20px 0;
    padding: 0;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
  }
  
  /* Mobile time section will be shown via JavaScript */
  .mf-mobile-time-section[style*="block"] {
    display: block !important;
  }

  /* Section mobile styles - single column layout with background image */
  .mf-schedule-call-section {
    flex-direction: column;
    background-image: url('/wp-content/uploads/2025/06/become-a-member-3_2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh; /* Dodaj min-height tutaj */
  }

  .mf-form-submit button {
    width: 100%;
  }
  
  .mf-section-container {
    flex-direction: column;
    width: 100%;
    min-height: 100vh; /* Zmiana z min-height na auto */
  }
  
  /* Left side - overlay on background image */
  .mf-section-left {
    flex: none;
    min-height: auto; /* ZMIANA: z 100vh na auto */
    height: auto; /* ZMIANA: z 800px na auto */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 40px; /* Dodaj padding na dole */
  }

  /* Right side - hide on mobile */
  .mf-section-right {
    display: none !important;
  }

  /* Mobile content container */
 .mf-section-content {
    padding: 20px 20px 20px 20px; /* ZMIANA: zmniejsz padding */
    display: flex;
    flex-direction: column;
    min-height: auto;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
  }
  
  .mf-schedule-call-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
  }
  
  .mf-section-left > * {
    position: relative;
    z-index: 2;
  }
  
  .mf-mobile-calendar-container {
    display: block !important;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0;
    margin: 20px 0 20px 0; /* ZMIANA: zmniejsz marginesy */
    padding: 0;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
  }

  /* Poprawka kalendarza mobile */
  .mf-mobile-calendar-container .mf-calendar-mock {
    background: #fff;
    border-radius: 0;
    padding: 15px; /* ZMIANA: zmniejsz padding */
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    box-sizing: border-box;
  }

  /* Dostosowanie rozmiaru kalendarza na mobile */
  .mf-mobile-calendar-container .mf-calendar-header {
    font-size: 22px; /* ZMIANA: zmniejsz font */
    margin-bottom: 10px; /* ZMIANA: zmniejsz margin */
    padding: 10px 0; /* ZMIANA: zmniejsz padding */
    border-bottom: 1px solid #e9ecef;
  }

  .mf-mobile-calendar-container .mf-calendar-nav {
    gap: 15px; /* ZMIANA: zmniejsz gap */
  }

  .mf-mobile-calendar-container .mf-calendar-nav-btn {
    width: 24px; /* ZMIANA: zmniejsz rozmiar */
    height: 24px;
  }

  .mf-mobile-calendar-container .calendar-arrow {
    width: 18px; /* ZMIANA: zmniejsz strzałki */
    height: 16px;
  }

  .mf-mobile-calendar-container .mf-calendar-weekdays {
    padding: 0;
    gap: 2px;
    margin-bottom: 8px;
  }

  .mf-mobile-calendar-container .mf-calendar-weekday {
    font-size: 10px; /* ZMIANA: zmniejsz font */
    padding: 4px 0; /* ZMIANA: zmniejsz padding */
  }

  .mf-mobile-calendar-container .mf-calendar-grid {
    padding: 0;
    gap: 2px;
  }

  .mf-mobile-calendar-container .mf-calendar-day {
    width: 28px; /* ZMIANA: zmniejsz rozmiar */
    height: 28px;
    font-size: 18px; /* ZMIANA: zmniejsz font */
  }

  /* POPRAWKA MOBILE TIME SECTION */
  .mf-mobile-time-section {
    padding: 30px 0; /* ZMIANA: zmniejsz padding */
  }

  .mf-mobile-time-container {
    padding: 0 20px;
  }

  .mf-mobile-time-header {
    margin-bottom: 30px; /* ZMIANA: zmniejsz margin */
  }

  .mf-mobile-time-header h2 {
    font-size: 28px; /* ZMIANA: zmniejsz font */
    margin: 0 0 15px 0; /* ZMIANA: zmniejsz margin */
  }

  .mf-mobile-time-subtitle {
    font-size: 18px; /* ZMIANA: zmniejsz font */
  }

  .mf-mobile-time-content {
    margin-top: 30px; /* ZMIANA: zmniejsz margin */
  }

  .mf-mobile-time-content .mf-selected-date {
    font-size: 22px; /* ZMIANA: zmniejsz font */
    margin: 0 0 20px 0; /* ZMIANA: zmniejsz margin */
  }

  
  /* Header adjustments for mobile */
  .mf-section-header {
    text-align: center;
    margin-bottom: 30px;
  }
  
  /* Mobile: hide black logo, show white logo */
  .mf-section-header .mf-logo-desktop {
    display: none;
  }
  
  .mf-section-header .mf-logo-mobile {
    display: block;
    text-align: left;
    margin-bottom: 20px;
  }
   .mf-breadcrumb .home-icon img {
    content: url('/wp-content/uploads/2025/06/breadcrumbs-home-icon.png');
    width: 16px;
    height: 16px;
  }
  
  .mf-breadcrumb .breadcrumb-separator img {
    content: url('/wp-content/uploads/2025/06/breadcrumbs-chevron-icon.png');
    width: 16px;
    height: 16px;
  }

  .mf-breadcrumb {
    color: #fff;
    justify-content: flex-start;
    text-align: left;
  }
  
  .mf-breadcrumb a {
    color: #fff;
  }
  
  .mf-breadcrumb svg {
    color: #fff;
  }
  
  .current-page,
  .breadcrumb-item {
    color: #fff;
    font-size:12px;
  }
  
  /* Adjust section text */
  .mf-section-text {
    flex: none;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  
  .mf-section-text h1 {
    font-size: 36px !important;
    margin: 20px 0 15px 0 !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  .mf-section-subtitle {
    font-size: 24px !important;
    margin: 0 0 20px 0 !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  
  /* Mobile details section */
  .mf-details-section {
    padding: 40px 0;
  }
  
  .mf-details-container {
    padding: 0 20px;
  }
  
  .mf-details-header {
    margin-bottom: 40px;
  }
  
  .mf-details-header h2 {
    font-size: 28px;
  }
  
  .mf-details-subtitle {
    font-size: 18px;
  }
  
  .mf-details-content {
    flex-direction: column;
    gap: 10px;
  }
  
  .mf-form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .mf-details-form .phone-input-group select {
    max-width: 80px;
  }
}

/* Very small mobile adjustments */
@media (max-width: 480px) {
  .mf-section-content {
    padding: 30px 30px;
  }
  
  .mf-section-text h1 {
    font-size: 32px !important;
    margin: 15px 0 10px 0 !important;
  }
  
  .mf-section-subtitle {
    font-size: 24px !important;
    margin: 0 0 15px 0 !important;
  }
  
  /* Mobile time section small screens */
  .mf-mobile-time-section {
    padding: 40px 0;
  }
  
  .mf-mobile-time-container {
    padding: 0 15px;
  }
  
  .mf-mobile-time-header h2 {
    font-size: 28px;
  }
  
  .mf-mobile-time-subtitle {
    font-size: 18px;
  }
  
  .mf-mobile-time-content .mf-selected-date {
    font-size: 24px;
  }
  
  /* Kalendarz na bardzo małych ekranach */
  .mf-mobile-calendar-container {
    margin: 0px 0px 15px 0px;
    padding: 0;
  }
  
  .mf-mobile-calendar-container .mf-calendar-mock {
    padding: 15px;
  }
  
  .mf-mobile-calendar-container .mf-calendar-day {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
}