
/* Override μόνο για το widget */
.gofleet-booking .form-control,
.gofleet-react-root .form-control {
   
   height: 20px!important;

}
.gofleet-booking input,
.gofleet-booking textarea,
.gofleet-react-root input,
.gofleet-react-root textarea {
    padding: 0px 0px !important; /* !important μόνο αν είναι απολύτως απαραίτητο */
 
    line-height: 1.2em;
    background-color: #fff;
    color: #000;
    outline: none;
   
}

.gofleet-date-input, .gofleet-time-input {
    border: 0px!important;
}
.gofleet-date-wrap,
/* --- GoFleet Widget CSS Reset & Base Styles --- */
.gofleet-booking, .gofleet-booking * {
  box-sizing: border-box;
  font-family: inherit;  
font-size: 16px!important;
  /*color: #222;*/
  line-height: 1.4;
}
.gofleet-booking input, .gofleet-booking select, .gofleet-booking button, .gofleet-booking textarea {
  font-family: inherit !important;
  font-size: 1em!important;
  color: inherit;
}
.gofleet-booking h1, .gofleet-booking h2, .gofleet-booking h3, .gofleet-booking h4, .gofleet-booking h5, .gofleet-booking h6 {
  font-family: inherit;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.5em 0;
}
/* --- GoFleet Custom Date/Time Input Styles (no conflicts) --- */
.gofleet-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  min-width: 160px;
  cursor: pointer;
  transition: all 0.2s;
}
.gofleet-date-wrap:focus-within, .gofleet-date-wrap.active {
  border: 2px solid var(--gofleet-theme-color, #0047ff);
  padding: 9px 13px;
}
.gofleet-date-wrap .icon-svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: var(--gofleet-theme-color, #0047ff);
  flex-shrink: 0;
}
.gofleet-date-wrap input {
  border: none;
  outline: none;
  font-size: 0.95em!important;
  font-weight: 500;
  color: #334155!important;
  width: 140px;
  background: transparent;
  cursor: pointer;
}

.gofleet-time-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  padding: 10px 14px;
  background: #fff;
  min-width: 120px;
  cursor: pointer;
  transition: all 0.2s;
}
.gofleet-time-wrap:focus-within, .gofleet-time-wrap.active {
  border: 2px solid var(--gofleet-theme-color, #0047ff);
  padding: 9px 13px;
}
.gofleet-time-wrap .icon-svg {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: var(--gofleet-theme-color, #0047ff);
  flex-shrink: 0;
}
.gofleet-time-wrap input {
  border: none;
  outline: none;
  font-size: 0.95em!important;
  font-weight: 500;
  color: #334155;
  width: 100%;
  background: transparent;
  cursor: pointer;
}
/* === Custom Time Dropdown Two-Column Layout === */
.time-selector-container {
  display: none;
  position: absolute;
  z-index: 1000;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
  padding: 8px 0;
  min-width: 180px;
  max-width: 320px;
  width: max-content;
  left: 0;
  top: 110%;
}
.time-selector-container.active {
  display: block;
}
.time-selector-container .time-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  max-height: 260px;
  overflow-y: auto;
  padding: 0 8px;
}
.time-selector-container .time-option {
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 1em!important;
  color: #222;
  text-align: left;
  transition: background 0.15s;
  margin-bottom: 2px;
}
.time-selector-container .time-option.selected,
.time-selector-container .time-option:hover {
  background: #e0e7ff;
  color: #1d4ed8;
}
.time-selector-container .time-option:last-child {
  margin-bottom: 0;
}
/* Responsive: stack to one column on mobile */
@media (max-width: 480px) {
  .time-selector-container .time-options {
    grid-template-columns: 1fr;
  }
}
.gofleet-booking.gofleet-mode-simple {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
   display: flex !important;
    justify-content: center; /* Οριζόντιο κεντράρισμα */
}
/* Στο CSS αρχείο σου */
.gofleet-booking.gofleet-mode-simple {
    /* Solid color background */
   /* background-color: #093e73;*/
    
    /* Ή gradient background */
   /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    
    /* Ή image background */
   /* background-image: url('path/to/your/image.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    
    /* Ή pattern background
    background-image: 
        radial-gradient(circle at 25px 25px, rgba(255,255,255,0.2) 2px, transparent 2px),
        radial-gradient(circle at 75px 75px, rgba(255,255,255,0.2) 2px, transparent 2px); */
    background-size: 100px 100px;
   /* background-color: var(--gofleet-theme-color, #0047ff);*/
}
.gofleet-react-root {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block; /* Βεβαιωθείτε ότι είναι block για να δουλέψει το margin auto */
}
/* GoFleet Booking Widget Styles */
.gofleet-booking {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    margin: 0 auto;
}

.gofleet-booking .gofleet-react-root {
    min-height: 200px;
    max-width: 1100px;
    width: 90%;
}

/* === HERO SECTION === */
.hero {
  position: relative;
  padding: 4rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.heroBackground {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:#fff;
}

.content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  gap: 2.5rem;
  z-index: 1;
}

/* === LEFT === */
.left {
  flex: 1;
  min-width: 300px;
  /*max-width: 520px;*/
}

.title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--theme-color, #0047ff);
}

.subtitle {
  font-size: 1.2em!important;
  font-weight: 600;
  margin-top: 0.5rem;
  color: #333;
}

.description {
  font-size: 1em!important;
  color: #555;
  margin: 1rem 0 2rem;
  line-height: 1.6;
}

/* === RIGHT === */
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.imageContainer {
  position: relative;
  width: 100%;
  min-height: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carImage {
  position: absolute;
  width: 90%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.carImage.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* === Smoother price alignment === */
.price {
  z-index: 1;
  margin-top: 0.5rem;
  font-size: 1.1em!important;
  color: #333;
  font-weight: 500;
  text-align: center;
}

.price strong {
  font-size: 2.1em!important;
  color: var(--theme-color, #0047ff);
}

.navBtns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.arrowBtn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--theme-color, #0047ff);
  color: var(--theme-color, #0047ff);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em!important;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.arrowBtn:hover {
  background: var(--theme-color, #0047ff);
  color: #fff;
  transform: translateY(-2px);
}

/* === RESERVATION BAR === */
.gofleet-reservationBar {
  background: #fff;
  border-radius: 20px;
  padding: 1.6rem;
  margin-top: 2.5rem;
  max-width: 1200px;
  width: 100%;
  position: relative;
  box-shadow: 
        0 20px 30px rgba(0, 0, 0, 0.6), 
        0 30px 100px rgba(0, 0, 0, 0.2);

    /* Το μυστικό: Ένα λευκό border που "λάμπει" πάνω από τη σκιά */
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.gofleet-reserveLabel {
  position: absolute;
  top: -18px;
  left: 18px;
  background: linear-gradient(to right, #00c9a7, var(--theme-color, #0047ff));
  color: #fff;
  padding: 0.4rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1em!important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gofleet-formWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 25px;
}

.gofleet-formLeft {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  flex: 1;
  min-width: 260px;
}

 .gofleet-formGroup {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.gofleet-formGroup select {
  flex: 1 1 100px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #d3d3d3;
  font-size: 0.95em!important;
  background: #fff;
      color: #334155;
  transition: border 0.25s, box-shadow 0.25s;
}

.gofleet-formGroup select:focus,
.gofleet-formGroup input:focus {
  border-color: var(--gofleet-theme-color, #0047ff);
  
  outline: none;
}


.gofleet-fleetDateTimePicker {
  display: block;
  width: 100%;
  gap: 0;
}


.fleetDateTimePicker input {
  width: 100%;
  box-sizing: border-box;
}

/* === TIME PICKER === */
.timePickerWrapper {
  position: relative;
  flex: 1 1 120px;
}

.timeInput {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.timePickerPopup {
  position: absolute;
  top: 110%;
  left: 0;
  z-index: 250;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.timePickerGrid {
  display: grid;
  grid-template-columns: repeat(3, 70px);
  justify-content: center;
  gap: 6px;
}

.timeSlot {
  width: 70px;
  height: 34px;
  border-radius: 6px;
  background: #f6f6f6;
  font-size: 13.5px!important;
  border: none;
  cursor: pointer;
  
}

.timeSlot:hover {
  background: #eaeaea;
}

.timeSlot.active {
  background: var(--theme-color, #0047ff);
  color: #fff;
}

/* === SUBMIT BUTTON === */
.gofleet-formRight {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 3rem;
}

.gofleet-formRight button {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: var(--theme-color, #0047ff);
  color: #fff;
  font-weight: 600;
  font-size: 0.95em!important;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 3px 12px rgba(0, 71, 255, 0.25);
      margin-left: 2rem;
}

.gofleet-formRight button:hover {
  background: #0036cc;
  transform: translateY(-1px);
}

/* ========================================= */
/* === MOBILE & TABLET (FIXED & MERGED) === */
/* ========================================= */
@media (max-width: 900px) {
  /* Layout Adjustments */
  .hero {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .content {
    flex-direction: column; /* Stack Text and Image */
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  /* Text Section */
  .left {
    min-width: 100%;
    max-width: 100%;
    order: 1; /* Keep Text on top (or swap to 2 if you want image first) */
  }

  .title {
    font-size: 2rem!important;
  }

  .subtitle, 
  .description {
    text-align: center;
    padding: 0 10px;
  }

  /* Image Section */
  .right {
    min-width: 100%;
    order: 2;
  }

  .imageContainer {
    width: 100%;
    min-height: 200px; /* Reduced slightly for mobile fit */
  }

  /* Fix for the huge image overflow */
  .carImage {
    width: 100%; /* Changed from 240% to prevent horizontal scroll */
    max-width: 400px; /* Ensures it doesn't get too crazy */
    height: auto;
    position: relative; /* Changing from absolute can help on mobile stack, but keeping absolute for transitions */
  }
  
  .carImage.active {
    position: relative; /* On mobile, static positioning often works better for flow */
  }

  /* Form / Reservation Bar */
  .reservationBar {
    margin-top: 2rem;
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .formWrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .formLeft {
    width: 100%;
    min-width: 0;
  }

  .gofleet-formGroup {
    flex-direction: column; /* Stack inputs vertically */
    gap: 0.8rem;
    width: 100%;
  }

  /* Make inputs full width on mobile */
  .gofleet-formGroup select,
  .gofleet-formGroup input,
  .timePickerWrapper {
    width: 100%;
    flex: 1 1 100%;
  }

  /* Submit Button Area */
  .formRight {
    width: 100%;
    flex: 0 0 auto;
    margin-top: 0.5rem;
  }

  .formRight button {
    width: 100%;
    padding: 1rem;
  }
}

/* === AGE VERIFICATION SECTION === */
.gofleet-ageSection {
  margin-top: 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* 1. Muted / Neutral Age Warning */
.ageWarning {
  display: flex;
  align-items: center;
  gap: 8px;
  
  /* Text Styles - Gray */
  color: #6b7280; /* Neutral gray text */
  line-height: 1.4;
  
  /* Box Styles - Light Gray */
  background-color: #f9fafb; /* Very light gray background */
  border: 1px solid #e5e7eb; /* Subtle gray border */
  border-radius: 6px;
  
  /* Spacing */
  padding: 8px 12px;
  width: fit-content;
  margin-top: 10px;
  max-width: 100%;
}
.ageWarningText, .ageWarning strong {
font-size: 0.875rem!important;
}

/* 2. Strong Text - Dark Gray */
.ageWarning strong {
  color: #111827; /* Almost black for contrast */
  font-weight: 600;
}

/* 3. Icon - Light Gray */
.ageWarning svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: #9ca3af; /* Muted icon color */
}

/* 2. The Row Container */
.checkboxRow {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* Space between checkbox and age input */
  height: 42px; /* Fixed height to prevent jumping when input appears */
}

/* 3. Custom Checkbox Styling */
.customLabel {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  gap: 0.6rem;
}

/* Hide the default ugly checkbox */
.hiddenCheckbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom box */
.checkmark {
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 6px;
  position: relative;
  transition: all 0.2s ease;
}



/* Checkmark Icon (Pure CSS) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hiddenCheckbox:checked ~ .checkmark:after {
  display: block;
}

.labelText {
  font-size: 0.95em!important;
  color: #333;
}
.labelText strong {
  font-size: inherit;
  font-weight: 700; /* ή ό,τι θες */
}
/* 4. Age Input Field */
.inputContainer {
  display: flex;
  align-items: center;
  position: relative;
  animation: slideIn 0.3s ease-out forwards;
}

.ageInput {
  width: 80px; /* Small width */
  padding: 0.5rem 0.8rem;
  border: 1px solid #d3d3d3;
  border-radius: 8px;
  font-size: 0.95rem!important;
  outline: none;
  transition: border-color 0.2s;
  text-align: center;
}

.ageInput:focus {
  border-color: var(--theme-color, #0047ff);
  box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

/* "years" text next to input */
.inputSuffix {
  margin-left: 8px;
  font-size: 0.9rem!important;
  color: #555;
  font-weight: 500;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mobile Tweak */
@media (max-width: 600px) {
  .checkboxRow {
    flex-wrap: wrap;
    height: auto;
  }
}
/* --- Prettier Fee Card Styling --- */

/* 1. The Card Container */
.gofleet-feeCard {
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* Subtle gray border */
  border-left: none; /* Remove old side border */
  border-top: 3px solid #f59e0b; /* Nice top accent color (Amber) */
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. Header (Icon + Title) */
.feeHeader {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: #b45309; /* Darker amber text */
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f3f4f6; /* Separator line */
  margin-bottom: 0.75rem;
}

/* 3. Individual Fee Rows */
.feeDetails {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* Space between fees */
}

.feeRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.95em!important;
  line-height: 1.4;
}

/* Fee Name & Description */
.feeName {
  font-weight: 600;
  color: #1f2937; /* Dark Gray */
  display: block;
}

.feeDesc {
  font-size: 0.85em!important;
  color: #9ca3af; /* Light Gray - less distracting */
  margin-top: 2px;
  font-weight: 400;
}

/* 4. Price Pills (The "+€25.00" part) */
.feeAmount {
  font-family: inherit; /* Use main font, not code font */
  font-weight: 600;
  font-size: 0.9em!important;
  white-space: nowrap;
  
  /* Pill Style */
  background-color: #fffbeb; /* Very light amber background */
  color: #d97706; /* Amber text */
  padding: 4px 10px;
  border-radius: 20px;
  margin-left: 12px;
}

/* 5. Total Row at the bottom */
.totalRow {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #d1d5db; /* Dashed separator */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.totalRow span:first-child {
    font-size: 1em!important;
    font-weight: 600;
    color: #4b5563;
}

.totalAmount {
  font-size: 1.25em!important; /* Larger total */
  font-weight: 800;
  color: var(--gofleet-theme-color, #0047ff); /* Use your brand color */
  letter-spacing: -0.02em;
}

/* === AGE SECTION === */
.ageSection {
  margin-top: 1rem;
  padding: 0 1.5rem;
}

.checkboxRow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.customLabel {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.hiddenCheckbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 0;
  height: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #fff;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  margin-right: 0.75rem;
  transition: all 0.2s ease;
}


.hiddenCheckbox:checked ~ .checkmark {
  background-color: var(--gofleet-theme-color, #0047ff);
  border-color: var(--gofleet-theme-color, #0047ff);
}
.hiddenCheckbox:checked ~ .checkmark::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.labelText {
  font-size: 0.95em!important;
  color: #374151;
  font-weight: 500;
}

.inputContainer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ageInput {
  width: 60px;
  padding: 0.5rem;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9em!important;
  text-align: center;
  transition: border-color 0.2s ease;
}

.ageInput:focus {
  outline: none;
  border-color: #0047ff;
  box-shadow: 0 0 0 3px rgba(0, 71, 255, 0.1);
}

.inputSuffix {
  font-size: 0.9em!important;
  color: #6b7280;
  font-weight: 500;
}


/* === FEEDBACK CONTAINER === */
.feedbackContainer {
  margin-top: 1rem;

}

.errorCard {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.errorCard svg {
  color: #dc2626;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.errorMessages {
  flex: 1;
  color: #991b1b;
  font-size: 0.9em!important;
}

.errorMessage {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.errorMessage:last-child {
  margin-bottom: 0;
}

.feeCard {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.feeHeader {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 0.75rem;
  font-size: 0.9em!important;
}

.feeDetails {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feeRow {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.feeName {
  font-weight: 600;
  color: #1f2937;
  font-size: 0.9em!important;
}

.feeDesc {
  font-size: 0.8em!important;
  color: #6b7280;
  margin-top: 0.125rem;
}



/* Powered by footer styling */
.powered-by-footer {
  pointer-events: auto;
}

.powered-by-footer a:hover {
  opacity: 1 !important;
}

.powered-by-footer img {
  filter: brightness(1.2);
  transition: filter 0.2s ease;
}

.powered-by-footer a:hover img {
  filter: brightness(1.4);
}

@media (max-width: 768px) {
  .powered-by-footer {
    margin-top: 15px !important;
    padding: 8px 0 !important;
    font-size: 11px !important;
  }
  
  .powered-by-footer img {
    height: 18px !important;
  }

 
}


/* Custom Time Dropdown */
.time-grid-dropdown {
    position: absolute;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-height: 260px;
    overflow-y: auto;
    font-size: 12px!important;
    cursor: pointer;
    width: 100%; /* ή ό,τι θες */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    left: 0;
    top: 100%;
    overflow-x: hidden;
   padding: 2px;
}


.time-grid-dropdown .time-item {
    padding: 5px 9px;
    border-bottom: 1px solid #eee;
    text-align: center;
    user-select: none;
    transition: background 0.15s, color 0.15s;
    background: #fff;
    color: #222;
    border-radius: 0;
    font-size: 16px;
}

.time-grid-dropdown .time-item.selected,
.time-grid-dropdown .time-item:hover {
    background: #0047ff;
    color: #fff;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .gofleet-time-input {
        min-width: 0 !important; /* Καταργεί το περιοριστικό min-width */
        width: 100%;             /* Αναγκάζει το input να πάρει όλο τον διαθέσιμο χώρο */
        flex: 1;                 /* Αν χρησιμοποιείς flexbox, μοιράζει τον χώρο σωστά */
    }
    

    .gofleet-time-wrap { /* Corrected class name */
        min-width: 0 !important; /* Καταργεί το περιοριστικό min-width */
        width: 100%;             /* Αναγκάζει το input να πάρει όλο τον διαθέσιμο χώρο */
        flex: 1;
    }
     .gofleet-date-wrap { /* Corrected class name */
        min-width: 0 !important; /* Καταργεί το περιοριστικό min-width */
        width: 100%;             /* Αναγκάζει το input να πάρει όλο τον διαθέσιμο χώρο */
        flex: 1;
     }
    .gofleet-input-group, 
    .gofleet-fleetDateTimePicker { 
        flex-direction: column !important;
    }

    .gofleet-time-wrap, 
    .gofleet-date-wrap {
        width: 100% !important;
        min-width: 0 !important;
        margin-bottom: 10px; /* Απόσταση μεταξύ τους */
    }

    .gofleet-formWrapper {
        flex-direction: column !important;
        gap:0.3rem;
       
    }

    .gofleet-formRight {
           flex: 0 0 30px;
          width: 100%;
           margin-left: 0rem;
    }
    .gofleet-formRight button {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .gofleet-ageSection {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

:root {
    --gofleet-gap-mobile: 10px;
  }
  .gofleet-formWrapper,
  .gofleet-formGroup,
  .checkboxRow,
  .inputContainer,
  .feedbackContainer {
    gap: var(--gofleet-gap-mobile) !important;
    margin-bottom: 0 !important;
  }
  .gofleet-formGroup > * {
    margin-bottom: var(--gofleet-gap-mobile) !important;
  }
  .gofleet-formLeft{
    gap:var(--gofleet-gap-mobile) !important;
            width: 100%;
  }
  .ageSection {
    padding: 0 1rem;
  }
  
  .checkboxRow {
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .inputContainer {
    margin-left: 1.5rem;
  }
 
  .gofleet-formGroup select , .gofleet-date-wrap input , .gofleet-time-wrap input,.gofleet-reserveLabel, .gofleet-formRight button 
 {
    font-size: 1.2em !important;
  }


}



/* --- Error Handling Improvements --- */

/* 1. Red Border for invalid fields */
.gofleet-input-error {
    border-color: #dc2626 !important; /* Red border */
    background-color: #fef2f2 !important; /* Light red background */
    box-shadow: 0 0 0 1px #dc2626 !important;
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

/* 2. Shake Animation */
@keyframes shake {
  10%, 90% { transform: translate3d(-1px, 0, 0); }
  20%, 80% { transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
  40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* 3. Make Error Card clearer on mobile */
.gofleet-errorCard {
    /* Existing styles... plus: */
    border-left: 5px solid #dc2626;
    scroll-margin-top: 20px; /* Space when scrolling to it */
}