/* ===== BOOK MEETING OFFICE 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 BOOK MEETING SECTION ===== */

/* Page-specific override for book meeting page (ID: 630) */
body.page-id-630 .mf-book-meeting-section {
  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;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

body.page-id-630 .mf-book-meeting-section .mf-section-container {
  width: 100vw !important;
  max-width: none !important;
  overflow-x: hidden !important;
}

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

/* Override Gutenberg constrained layout for book meeting sections */
body.page-id-630 .is-layout-constrained > .mf-book-meeting-section,
body.page-id-630 .is-layout-constrained > .mf-schedule-section,
body.page-id-630 .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-membership-section {
  font-family: 'Mona Sans', sans-serif;
  display: flex;
  width: 100%;
  max-width: none;
  overflow-x: hidden;
}

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

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

/* 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;
}

.mf-city-selection-view{
  /* min-height:650px; */
}

/* Right side with image */
.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;
  width: 50%;
}

.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 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 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;
}

/* Breadcrumbs */
.mf-breadcrumb {
  display: flex;
  align-items: center;
  gap: 15px;
  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: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.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:0 0 20px 0;
}

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

/* Selected City Header */
.mf-selected-city-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.mf-selected-city-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-selected-city-name {
  font-family: 'Mona Sans', sans-serif !important;
  font-weight: 300 !important;
  font-size: 36px !important;
  line-height: 120% !important;
  color: #000 !important;
  margin: 0 !important;
}

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

/* ===== OFFICE CITIES GRID ===== */

.mf-office-cities-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
}

.mf-office-city-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  /* background: #fff; */
  border: 1px solid #2D52FF;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 66px;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.mf-office-city-item:hover {
  background: #2D52FF1A;
  /* transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 82, 255, 0.2); */
}

.mf-office-city-item.selected {
  /* background: #f8f9fa; */
  box-shadow: 0 4px 12px rgba(45, 82, 255, 0.3);
}

.mf-office-city-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mf-office-city-name {
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #2D52FF;
  line-height: 150%;
  display: flex;
  align-items: center;
}

/* ===== SERVICE SELECTION STYLES ===== */

.mf-services-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  margin-top: 40px;
}

.mf-service-selection-view{
  /* height: 650px; */
}

.mf-service-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 20px;
  /* background: #fff; */
  border: 1px solid #2D52FF;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  height:66px;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  color: #2D52FF;
}

.mf-service-item:hover {
  background: #2D52FF1A;
  /* transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(226, 38, 24, 0.1); */
}

.mf-service-item.selected {
  background: #2D52FF;
  color: #fff!important;
}

.mf-service-content {
  flex-grow: 1;
}

.mf-service-name {
  font-family: 'Mona Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 4px;
}

.mf-service-duration {
  font-family: 'Mona Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #686873;
  line-height: 150%;
}

/* Service Selection Checkbox Fix */
.mf-service-checkbox {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: none; /* Remove border */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent; /* Keep transparent background */
}

.mf-service-item:hover .mf-service-checkbox {
  border: none; /* Remove border on hover */
}

.mf-service-item.selected .mf-service-checkbox {
  background: transparent; /* Keep transparent background when selected */
  border: none; /* Remove border when selected */
}

/* Remove the old ::after pseudo-element and replace with background image */
.mf-service-item.selected .mf-service-checkbox::after {
  content: none; /* Remove old content */
}

/* Add tick image only when selected */
.mf-service-item.selected .mf-service-checkbox {
  background-image: url('/wp-content/uploads/2025/07/bmo_tick.png');
  background-size: 32px 32px;
  background-repeat: no-repeat;
  background-position: center;
}

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

.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;
}

.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;
}

.mf-time-selection {
  flex: 1;
}

.mf-selected-date {
  font-family: 'Mona Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: #000;
  margin: 0;
  padding: 35px 0;
  display: none;
}

.mf-calendar-empty {
    pointer-events: none !important;
    cursor: default !important;
    visibility: hidden !important;
}

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

.mf-time-slot {
  position: relative;
  /* reszta właściwości pozostaje bez zmian */
  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 {
  /* transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(226, 38, 24, 0.15); */
  background:#2D52FF1A;
}

/* Dodaj strukturę 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;
}

/* ===== 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: #000000;
  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;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

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

.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 5px 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 130px;
  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;
}

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

@media (max-width: 768px) {
  /* Section mobile styles - single column layout with background image */
  .mf-membership-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;
  }
  
  .mf-section-container {
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
  }

  .mf-calendar-section {
  flex: 1;
  width: 100%;
  }

  .mf-form-submit button{
    width: 100%;
  }
  .mf-service-item.selected .mf-service-checkbox {
    background-image: url('/wp-content/plugins/membership-form/img/check-icon.svg');
    width:32px;
    height:32px;
  }

  /* Left side - overlay on background image */
  .mf-section-left {
    flex: none;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: transparent;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  
  /* Mobile content container */
  .mf-section-content {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    min-height: auto;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 100%;
  }
  
  .mf-membership-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;
  }
  
  /* Hide right side on mobile */
  .mf-section-right {
    display: none !important;
  }
  
  /* 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 {
    color: #fff;
    justify-content: flex-start;
    text-align: left;
    gap: 4px;
  }
  
  .mf-breadcrumb a {
    color: #fff;
  }
  
  .mf-breadcrumb svg {
    color: #fff;
  }

  .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;
  }
  
  /* Mobile selected city icon - white location icon */
  .mf-selected-city-icon img {
    content: url('/wp-content/uploads/2025/07/bmo_location_white.png');
    height: 30px;
  }
  
  /* Mobile office city icons - white location icon */
  .mf-office-city-icon img {
    content: url('/wp-content/uploads/2025/07/bmo_location_white.png');
    height: 30px;
  }
  
  .current-page,
  .breadcrumb-item {
    color: #fff;
    font-size: 12px;
  }
  
  /* Show mobile form */
  .mf-mobile-form {
    /* display: block !important; */
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 0;
    position: relative;
    z-index: 2;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  /* Adjust section text */
  .mf-section-text {
    flex: none;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  
  .mf-section-text h1 {
    font-size: 36px !important;
    margin: 20px 0 20px 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);
  }
  
  .mf-service-selection-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);
  }
  
  /* Selected city header mobile */
  .mf-selected-city-header {
    display: flex;
    align-items: center;
    gap: 12px;
    /* margin-top:20px; */
  }
  
  .mf-selected-city-name {
    font-size: 28px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  
  /* Mobile office cities grid */
  .mf-office-cities-grid {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }
  
  .mf-office-city-item {
    height: 66px;
    gap: 10px;
    border: 1px solid #fff;
    color: #fff;
    /* backdrop-filter: blur(10px); */
  }
  
  .mf-office-city-item:hover {
    background: rgba(255, 255, 255, 0.98);
  }
  
  .mf-office-city-item.selected {
    background: rgba(255, 255, 255, 0.98);
  }

  .mf-office-city-name{
    color:#fff;
  }
  
  /* Mobile services grid */
  .mf-services-grid {
    flex-direction: column;
    gap: 16px;
    margin-top: 30px;
  }
  
  .mf-service-item {
    padding: 20px;
    min-height: 66px;
    border: 1px solid #fff !important;
    color: #fff !important;
  }
  
  .mf-service-item:hover {
    background: #fff;
    border: 1px solid #fff !important;
    color: #2D52FF!important;
  }

  .mf-service-item:active {
    background: #fff;
    border: 1px solid #fff !important;
    color: #2D52FF!important;
  }

  .mf-service-item:focus {
    background: #fff;
    border: 1px solid #fff !important;
    color: #2D52FF!important;
    outline: none;
  }
  
  .mf-service-item.selected {
    background: #fff;
    color: #2D52FF!important;
    border: 1px solid #fff !important;
  }
  
  /* Mobile schedule section */
  .mf-schedule-section {
    padding: 40px 0;
  }

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

  .mf-schedule-header {
    margin-bottom: 40px;
  }

  .mf-schedule-header h2 {
    font-size: 36px;
  }

  .mf-schedule-subtitle {
    font-size: 22px;
  }

  .mf-schedule-content {
    flex-direction: column;
    gap: 40px;
  }

  /* POPRAWIONE STYLE KALENDARZA MOBILE */
  .mf-calendar-section {
    flex: 1;
    width: 100%;
  }

  /* Kalendarz mobile - popraw padding i alignment */
  .mf-calendar-mock {
    width: 100%;
    overflow: hidden;
  }

  .mf-calendar-header {
    padding: 20px;
    font-size: 24px;
  }

  .mf-calendar-weekdays {
    padding: 0 20px;
    gap: 2px; /* Zmniejszony gap */
  }

  .mf-calendar-grid {
    padding: 0 20px 20px 20px;
    gap: 2px; /* Zmniejszony gap żeby się zgadzało z weekdays */
  }

  /* Popraw alignment dni w kalendarzu mobile */
  .mf-calendar-day {
    width: 32px; /* Zmniejszona szerokość dla mobile */
    height: 32px; /* Zmniejszona wysokość dla mobile */
    font-size: 16px; /* Zmniejszona czcionka */
  }

  /* POPRAWIONE STYLE GODZIN MOBILE */
  .mf-time-selection {
    width: 100%;
  }

  .mf-time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny */
    gap: 10px;
    width: 100%; /* Pełna szerokość */
    padding: 0; /* Usuń dodatkowy padding */
  }

  .mf-time-slot {
    padding: 12px 8px; /* Zmniejszony padding */
    font-size: 20px; /* Zmniejszona czcionka */
    height: 66px; /* Zachowana wysokość */
    width: auto; /* Automatyczna szerokość - dostosuje się do kontenera */
    min-width: 0; /* Pozwoli na zmniejszenie poniżej domyślnej szerokości */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; /* Ważne dla prawidłowego liczenia szerokości */
  }

  /* Poprawka dla wybranych slotów czasowych na mobile */
  .mf-time-slot.selected {
    gap: 8px; /* Zmniejszony gap między tekstem a ikoną */
  }

  .mf-time-slot.selected::after {
    width: 24px; /* Zmniejszona ikona */
    height: 24px;
    background-size: 24px 24px;
  }
  
  /* 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: 36px;
  }
  
  .mf-details-subtitle {
    font-size: 22px;
  }
  
.mf-details-content {
    flex-direction: column;
    gap: 0;
    align-items: normal;
  }
  
  .mf-details-right {
    flex: none;
  }
  
  .mf-details-right .mf-form-row {
    flex: none;
    margin-bottom: 10px;
  }
  
  .mf-details-right .mf-form-col {
    height: auto;
  }
  
  .mf-details-right textarea {
    flex: none;
    min-height: 120px;
    height: 120px;
  }
  
  .mf-form-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }
  
  .mf-details-form .phone-input-group input[type="tel"] {
    padding: 0 16px 0 90px;
  }
  
  .mf-details-content{
    gap: 10px;
  }
  .mf-details-form .phone-input-group select {
    max-width: 80px;
  }
}

/* Very small mobile adjustments */
@media (max-width: 480px) {

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

  .mf-section-content {
    padding: 30px 30px;
  }

  .mf-time-selection{
    width: 100%;
  }
  
  .mf-section-text h1 {
    font-size: 36px !important;
    margin: 15px 0 15px 0 !important;
  }
  
  .mf-section-subtitle {
    font-size: 24px !important;
    margin: 0 0 0 0 !important;
  }
  
  .mf-service-selection-subtitle {
    font-size: 24px !important;
    margin: 0 0 15px 0 !important;
  }
  
  .mf-mobile-form {
    padding: 20px 15px !important;
    margin-top: 25px !important;
  }
  
  .mf-selected-city-name {
    font-size: 24px !important;
  }

  .mf-details-form .phone-input-group select {
    max-width: 70px;
    width: 70px;
    padding: 0 25px 0 12px;
  }
  
  .mf-details-form .phone-input-group input[type="tel"] {
    padding: 0 16px 0 80px;
  }
}