/**
 * Woo Rent Flow - Theme Compatibility CSS
 * Ensures consistent styling across all WordPress themes
 * Version: 1.0.0
 */

/* ==========================================================================
   CSS RESET & NORMALIZE
   ========================================================================== */

/* Reset box-sizing for all elements */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Reset margins and padding for plugin elements */
.woo-rent-flow-container,
.woo-rent-flow-container *,
.barb-form-wrapper,
.barb-form-wrapper *,
.backhoe_duration_and_price,
.backhoe_duration_and_price *,
.backhoe_add_tocart,
.backhoe_add_tocart *,
.flatpickr-calendar,
.flatpickr-calendar * {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* ==========================================================================
   TYPOGRAPHY RESET
   ========================================================================== */

.woo-rent-flow-container,
.barb-form-wrapper,
.backhoe_duration_and_price,
.backhoe_add_tocart {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* ==========================================================================
   LAYOUT FOUNDATION
   ========================================================================== */

/* Flexbox utilities */
.woo-rent-flow-flex {
  display: flex;
}

.woo-rent-flow-flex-column {
  flex-direction: column;
}

.woo-rent-flow-flex-wrap {
  flex-wrap: wrap;
}

.woo-rent-flow-justify-center {
  justify-content: center;
}

.woo-rent-flow-justify-between {
  justify-content: space-between;
}

.woo-rent-flow-align-center {
  align-items: center;
}

.woo-rent-flow-flex-1 {
  flex: 1;
}

/* Grid utilities */
.woo-rent-flow-grid {
  display: grid;
}

.woo-rent-flow-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.woo-rent-flow-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.woo-rent-flow-gap-10 {
  gap: 10px;
}

.woo-rent-flow-gap-15 {
  gap: 15px;
}

.woo-rent-flow-gap-20 {
  gap: 20px;
}

/* ==========================================================================
   SPACING UTILITIES
   ========================================================================== */

.woo-rent-flow-m-0 { margin: 0; }
.woo-rent-flow-m-5 { margin: 5px; }
.woo-rent-flow-m-10 { margin: 10px; }
.woo-rent-flow-m-15 { margin: 15px; }
.woo-rent-flow-m-20 { margin: 20px; }

.woo-rent-flow-mt-0 { margin-top: 0; }
.woo-rent-flow-mt-5 { margin-top: 5px; }
.woo-rent-flow-mt-10 { margin-top: 10px; }
.woo-rent-flow-mt-15 { margin-top: 15px; }
.woo-rent-flow-mt-20 { margin-top: 20px; }
.woo-rent-flow-mt-30 { margin-top: 30px; }

.woo-rent-flow-mb-0 { margin-bottom: 0; }
.woo-rent-flow-mb-5 { margin-bottom: 5px; }
.woo-rent-flow-mb-10 { margin-bottom: 10px; }
.woo-rent-flow-mb-15 { margin-bottom: 15px; }
.woo-rent-flow-mb-20 { margin-bottom: 20px; }

.woo-rent-flow-ml-0 { margin-left: 0; }
.woo-rent-flow-ml-5 { margin-left: 5px; }
.woo-rent-flow-ml-10 { margin-left: 10px; }
.woo-rent-flow-ml-15 { margin-left: 15px; }

.woo-rent-flow-mr-0 { margin-right: 0; }
.woo-rent-flow-mr-5 { margin-right: 5px; }
.woo-rent-flow-mr-10 { margin-right: 10px; }
.woo-rent-flow-mr-15 { margin-right: 15px; }

.woo-rent-flow-p-0 { padding: 0; }
.woo-rent-flow-p-5 { padding: 5px; }
.woo-rent-flow-p-10 { padding: 10px; }
.woo-rent-flow-p-15 { padding: 15px; }
.woo-rent-flow-p-20 { padding: 20px; }

.woo-rent-flow-pt-0 { padding-top: 0; }
.woo-rent-flow-pt-5 { padding-top: 5px; }
.woo-rent-flow-pt-10 { padding-top: 10px; }
.woo-rent-flow-pt-15 { padding-top: 15px; }
.woo-rent-flow-pt-20 { padding-top: 20px; }

.woo-rent-flow-pb-0 { padding-bottom: 0; }
.woo-rent-flow-pb-5 { padding-bottom: 5px; }
.woo-rent-flow-pb-10 { padding-bottom: 10px; }
.woo-rent-flow-pb-15 { padding-bottom: 15px; }
.woo-rent-flow-pb-20 { padding-bottom: 20px; }

.woo-rent-flow-pl-0 { padding-left: 0; }
.woo-rent-flow-pl-5 { padding-left: 5px; }
.woo-rent-flow-pl-10 { padding-left: 10px; }
.woo-rent-flow-pl-15 { padding-left: 15px; }
.woo-rent-flow-pl-20 { padding-left: 20px; }

.woo-rent-flow-pr-0 { padding-right: 0; }
.woo-rent-flow-pr-5 { padding-right: 5px; }
.woo-rent-flow-pr-10 { padding-right: 10px; }
.woo-rent-flow-pr-15 { padding-right: 15px; }
.woo-rent-flow-pr-20 { padding-right: 20px; }

/* ==========================================================================
   BUTTON FOUNDATION
   ========================================================================== */

.woo-rent-flow-btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: none;
  font-family: inherit;
}

.woo-rent-flow-btn:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.woo-rent-flow-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.woo-rent-flow-btn-primary {
  color: #fff;
  background-color: #007cba;
  border-color: #007cba;
}

.woo-rent-flow-btn-primary:hover:not(:disabled) {
  background-color: #005a87;
  border-color: #005a87;
}

.woo-rent-flow-btn-secondary {
  color: #333;
  background-color: #f1f1f1;
  border-color: #ddd;
}

.woo-rent-flow-btn-secondary:hover:not(:disabled) {
  background-color: #e1e1e1;
  border-color: #ccc;
}

.woo-rent-flow-btn-success {
  color: #fff;
  background-color: #00a32a;
  border-color: #00a32a;
}

.woo-rent-flow-btn-success:hover:not(:disabled) {
  background-color: #008a20;
  border-color: #008a20;
}

.woo-rent-flow-btn-danger {
  color: #fff;
  background-color: #d63638;
  border-color: #d63638;
}

.woo-rent-flow-btn-danger:hover:not(:disabled) {
  background-color: #b32d2e;
  border-color: #b32d2e;
}

.woo-rent-flow-btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.woo-rent-flow-btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}

/* ==========================================================================
   FORM ELEMENTS FOUNDATION
   ========================================================================== */

.woo-rent-flow-form-group {
  margin-bottom: 15px;
}

.woo-rent-flow-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: #333;
}

.woo-rent-flow-input,
.woo-rent-flow-select,
.woo-rent-flow-textarea {
  display: block;
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.woo-rent-flow-input:focus,
.woo-rent-flow-select:focus,
.woo-rent-flow-textarea:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.woo-rent-flow-input:disabled,
.woo-rent-flow-select:disabled,
.woo-rent-flow-textarea:disabled {
  background-color: #f1f1f1;
  color: #666;
  cursor: not-allowed;
}

/* ==========================================================================
   CARD & PANEL FOUNDATION
   ========================================================================== */

.woo-rent-flow-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.woo-rent-flow-card-header {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.woo-rent-flow-card-body {
  padding: 20px;
}

.woo-rent-flow-card-footer {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #ddd;
}

/* ==========================================================================
   ALERT FOUNDATION
   ========================================================================== */

.woo-rent-flow-alert {
  padding: 12px 16px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
}

.woo-rent-flow-alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.woo-rent-flow-alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.woo-rent-flow-alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.woo-rent-flow-alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* ==========================================================================
   RESPONSIVE UTILITIES
   ========================================================================== */

@media (max-width: 768px) {
  .woo-rent-flow-responsive-hide {
    display: none !important;
  }
  
  .woo-rent-flow-responsive-stack {
    flex-direction: column !important;
  }
  
  .woo-rent-flow-responsive-full {
    width: 100% !important;
  }
  
  .woo-rent-flow-responsive-p-10 {
    padding: 10px !important;
  }
  
  .woo-rent-flow-responsive-m-10 {
    margin: 10px !important;
  }
}

@media (min-width: 769px) {
  .woo-rent-flow-desktop-hide {
    display: none !important;
  }
}

/* ==========================================================================
   PLUGIN-SPECIFIC OVERRIDES
   ========================================================================== */

/* Ensure plugin elements have consistent styling */
.barb-form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
}

.barb-form-wrapper > div {
  flex: 1;
  min-width: 200px;
}

.barb-form-wrapper label {
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

.barb-form-wrapper input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  border: 2px solid #fab900;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.barb-form-wrapper input[type="text"]:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.backhoe_duration_and_price {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backhoe_duration_and_price .callout.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 10px 0;
}

.backhoe_duration_and_price .callout__alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  padding: 12px 16px;
  margin: 10px 0;
}

.backhoe_duration_and_price .fas {
  padding: 10px 15px 5px 0;
  font-size: 1.5em;
}

.backhoe_duration_and_price .callout.success .fas {
  color: #00a32a;
}

.backhoe_duration_and_price .callout__success__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.backhoe_add_tocart {
  margin-top: 20px;
}

.backhoe_add_tocart .quantity {
  margin-right: 10px;
  display: inline-block;
}

.backhoe_add_tocart .quantity input {
  width: 80px;
  height: 45px;
  border: 1px solid #fab900;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0 10px;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
}

.backhoe_add_tocart .quantity input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.backhoe_add_tocart button.button {
  padding: 16px 35px;
  font-size: 13px;
  border-radius: 4px;
  border: none;
  color: #000;
  background-color: #fab900;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.backhoe_add_tocart button.button:hover:not(:disabled) {
  background-color: #313131;
  color: #fff;
}

.backhoe_add_tocart button.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ==========================================================================
   FLATPICKR THEME COMPATIBILITY
   ========================================================================== */

.flatpickr-calendar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.flatpickr-calendar .flatpickr-months {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 15px 10px !important;
}

.flatpickr-calendar .flatpickr-month {
  color: #333 !important;
}

.flatpickr-calendar .flatpickr-current-month {
  color: #333 !important;
}

.flatpickr-calendar .flatpickr-current-month .numInputWrapper input {
  background: transparent !important;
  color: #333 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-align: center !important;
  border: none !important;
}

.flatpickr-calendar .flatpickr-day {
  color: #333 !important;
  border: 1px solid transparent !important;
  border-radius: 4px !important;
  margin: 1px !important;
  transition: all 0.2s ease !important;
}

.flatpickr-calendar .flatpickr-day:hover {
  background: #e9ecef !important;
  border-color: #007cba !important;
}

.flatpickr-calendar .flatpickr-day.selected {
  background: #007cba !important;
  border-color: #007cba !important;
  color: #fff !important;
}

.flatpickr-calendar .flatpickr-day.inRange {
  background: #e6f3ff !important;
  color: #333 !important;
}

.flatpickr-calendar .flatpickr-day.disabled {
  background: #f8f9fa !important;
  color: #999 !important;
  cursor: not-allowed !important;
}

/* ==========================================================================
   RENTAL DATES BLOCK FLATPICKR STYLING
   ========================================================================== */

/* Ensure Flatpickr calendar within rental dates block is consistent - ULTRA HIGH SPECIFICITY */
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 9999 !important;
}

/* Year input field spacing for arrows */
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-months .flatpickr-month .flatpickr-current-month .numInputWrapper input {
  padding-right: 10px !important;
  margin-right: 3px !important;
  width: 60px !important;
  min-width: 60px !important;
}

/* Alternative approach - target the wrapper */
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-months .flatpickr-month .flatpickr-current-month .numInputWrapper {
  width: 70px !important;
  min-width: 70px !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-months .flatpickr-month .flatpickr-current-month .numInputWrapper input {
  width: 100% !important;
  padding-right: 10px !important;
  box-sizing: border-box !important;
}

.wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-months {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-radius: 8px 8px 0 0 !important;
  padding: 15px 10px !important;
}

.wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-month {
  color: #333 !important;
}

.wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-current-month {
  color: #333 !important;
}

.wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-current-month .numInputWrapper input {
  background: transparent !important;
  color: #333 !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-align: center !important;
  border: none !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day {
  color: #333 !important;
  border: 1px solid transparent !important;
  border-radius: 150px !important;
  margin: 0 !important;
  transition: all 0.2s ease !important;
  width: 39px !important;
  height: 39px !important;
  line-height: 39px !important;
  display: inline-block !important;
  position: relative !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day:hover {
  background: #e6e6e6 !important;
  border-color: #e6e6e6 !important;
  cursor: pointer !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day:hover,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today {
  background: #000000 !important;
  border-color: #000000 !important;
  color: #fff !important;
  border-radius: 150px !important;
  box-shadow: none !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.startRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.startRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.startRange {
  border-radius: 50px 0 0 50px !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.endRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.endRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.endRange {
  border-radius: 0 50px 50px 0 !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.startRange.endRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.startRange.endRange,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.startRange.endRange {
  border-radius: 50px !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n+1)),
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n+1)) {
  box-shadow: -10px 0 0 #000000 !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.inRange {
  background: #e6e6e6 !important;
  color: #000000 !important;
  border-radius: 0 !important;
  box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6 !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.disabled {
  background: transparent !important;
  color: rgba(57, 57, 57, 0.3) !important;
  border-color: transparent !important;
  cursor: default !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today {
  border-color: #000000 !important;
  font-weight: 600 !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today:hover,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today:focus {
  border-color: #000000 !important;
  background: #000000 !important;
  color: #fff !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today.selected {
  background: #000000 !important;
  color: #fff !important;
  border-color: #000000 !important;
}

/* Disabled date styling */
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled-date {
  background: #f8f9fa !important;
  color: #6c757d !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover,
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled-date:hover {
  background: #f8f9fa !important;
  color: #6c757d !important;
}

/* Unavailable indicator styling */
html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day .unavailable-indicator {
  position: absolute !important;
  top: 2px !important;
  right: 2px !important;
  color: #dc3545 !important;
  font-size: 10px !important;
  font-weight: bold !important;
  z-index: 10 !important;
  pointer-events: none !important;
}

html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day {
  position: relative !important;
}

/* Time picker fields styling */
html body .wp-block-woorentflow-rental-dates__list__time-picker {
  display: flex !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  width: 100% !important;
}

html body .wp-block-woorentflow-rental-dates__list__time-picker__field {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

html body .wp-block-woorentflow-rental-dates__list__time-picker__field label {
  display: block !important;
  font-weight: 500 !important;
  color: #374151 !important;
  margin-bottom: 0.25rem !important;
  font-size: 14px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html body .wp-block-woorentflow-rental-dates__list__time-picker__field select {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  background: #ffffff !important;
  color: #374151 !important;
  transition: all 0.2s ease !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  height: auto !important;
  min-height: 44px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

html body .wp-block-woorentflow-rental-dates__list__time-picker__field select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

html body .wp-block-woorentflow-rental-dates__list__time-picker__field select:hover {
  border-color: #9ca3af !important;
}

/* Legacy time picker styling for backward compatibility */
html body .wp-block-woorentflow-rental-dates .wd-time-picker {
  display: flex !important;
  gap: 1rem !important;
  margin-top: 1rem !important;
  width: 100% !important;
}

html body .wp-block-woorentflow-rental-dates .wd-time-picker label {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
  margin-bottom: 0.5rem !important;
  font-size: 14px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html body .wp-block-woorentflow-rental-dates .wd-time-picker label select {
  width: 100% !important;
  padding: 12px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  background: #ffffff !important;
  color: #374151 !important;
  transition: all 0.2s ease !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  height: auto !important;
  min-height: 44px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 16px !important;
  padding-right: 40px !important;
}

html body .wp-block-woorentflow-rental-dates .wd-time-picker label select:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

html body .wp-block-woorentflow-rental-dates .wd-time-picker label select:hover {
  border-color: #9ca3af !important;
}

/* Time picker separator/divider (the "black thing") - only show when time picker is present */
html body .wp-block-woorentflow-rental-dates__list__time-picker::before {
  content: "" !important;
  position: absolute !important;
  left: 1.5rem !important;
  right: 1.5rem !important;
  top: -0.5rem !important;
  height: 1px !important;
  background: #e5e7eb !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

html body .wp-block-woorentflow-rental-dates .wd-time-picker::before {
  content: "" !important;
  position: absolute !important;
  left: 1.5rem !important;
  right: 1.5rem !important;
  top: -0.5rem !important;
  height: 1px !important;
  background: #e5e7eb !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

/* Enhanced message box styling */
html body .wp-block-woorentflow-rental-dates__message-box {
  margin-top: 1rem !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.5 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  display: none !important; /* Hidden by default */
}

html body .wp-block-woorentflow-rental-dates__message-box .message {
  padding: 1rem 1.25rem !important;
  border-radius: 8px !important;
  border: 1px solid !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message::before {
  content: "" !important;
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.error {
  background-color: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #dc2626 !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.error::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cline x1='15' y1='9' x2='9' y2='15'%3e%3c/line%3e%3cline x1='9' y1='9' x2='15' y2='15'%3e%3c/line%3e%3c/svg%3e") !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.success {
  background-color: #f0fdf4 !important;
  border-color: #bbf7d0 !important;
  color: #16a34a !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.success::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'%3e%3c/path%3e%3cpolyline points='22,4 12,14.01 9,11.01'%3e%3c/polyline%3e%3c/svg%3e") !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.warning {
  background-color: #fffbeb !important;
  border-color: #fed7aa !important;
  color: #d97706 !important;
}

html body .wp-block-woorentflow-rental-dates__message-box .message.warning::before {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z'%3e%3c/path%3e%3cline x1='12' y1='9' x2='12' y2='13'%3e%3c/line%3e%3cline x1='12' y1='17' x2='12.01' y2='17'%3e%3c/line%3e%3c/svg%3e") !important;
}

/* Mobile-specific styling for rental dates block - Hello Theme Style */
@media (max-width: 768px) {
  html body .wp-block-woorentflow-rental-dates {
    margin: 1rem 0 !important;
    padding: 1rem !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__input {
    padding: 0.75rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__date-picker {
    display: flex !important;
    align-items: stretch !important;
    width: 100% !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"] {
    flex: 1 !important;
    padding: 12px 16px !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px 0 0 8px !important;
    border-right: 1px solid #d1d5db !important;
    background: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    overflow: visible !important;
    margin: 0 !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"]:focus {
    border-color: #3b82f6 !important;
    border-right-color: #3b82f6 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"]:focus + .clear-date {
    border-color: #3b82f6 !important;
    border-left: 0.5px solid #3b82f6 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .clear-date {
    width: auto !important;
    min-width: 44px !important;
    height: auto !important;
    min-height: 44px !important;
    box-sizing: border-box !important;
    border: 1px solid #d1d5db !important;
    border-left: 0.5px solid #d1d5db !important;
    border-radius: 0 8px 8px 0 !important;
    background: #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 12px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    text-underline-position: unset !important;
    text-shadow: none !important;
    box-shadow: none !important;
    overflow: visible !important;
    margin: 0 !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .clear-date:hover {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .clear-date .dashicons {
    font-size: 16px !important;
    width: 16px !important;
    height: 16px !important;
    text-decoration: none !important;
    font-style: normal !important;
    color: #6b7280 !important;
    margin-right: 4px !important;
    border-bottom: none !important;
    text-shadow: none !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .clear-date:hover .dashicons {
    color: #ffffff !important;
  }
  
  /* Mobile clear button text styling */
  html body .wp-block-woorentflow-rental-dates .clear-date::after {
    content: "Clear" !important;
    color: #6b7280 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    text-decoration-thickness: 0 !important;
    text-underline-offset: 0 !important;
    text-underline-position: unset !important;
    font-style: normal !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    border-bottom: none !important;
    border-bottom-width: 0 !important;
    border-bottom-style: none !important;
    border-bottom-color: transparent !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .clear-date:hover::after {
    color: #ffffff !important;
  }
  
  /* Mobile calendar day styling */
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day {
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    border-radius: 150px !important;
    font-size: 14px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day:hover,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.today {
    background: #000000 !important;
    color: #fff !important;
    border-radius: 150px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.startRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.startRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.startRange {
    border-radius: 36px 0 0 36px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.endRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.endRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.endRange {
    border-radius: 0 36px 36px 0 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.selected.startRange.endRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.startRange.startRange.endRange,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.endRange.startRange.endRange {
    border-radius: 36px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.inRange {
    background: #e6e6e6 !important;
    color: #000000 !important;
    border-radius: 0 !important;
    box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6 !important;
  }
}

/* ==========================================================================
   RENTAL ADD TO CARD BLOCK THEME COMPATIBILITY
   ========================================================================== */

/* Duration and Subtotal Sections - ULTRA HIGH SPECIFICITY */
html body .wp-block-woorentflow-rental-add-to-card .callout__success__line {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
  font-size: 1rem !important;
  padding: 0.875rem 1rem !important;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  gap: 1rem !important;
  width: 100% !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  line-height: 1.5 !important;
  color: #333 !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
}

html body .wp-block-woorentflow-rental-add-to-card .callout__success__line > span:first-child {
  font-weight: 500 !important;
  color: #374151 !important;
  flex-shrink: 0 !important;
  text-align: left !important;
}

html body .wp-block-woorentflow-rental-add-to-card .callout__success__line > span:last-child {
  font-weight: 600 !important;
  color: #1f2937 !important;
  font-size: 1.1rem !important;
  text-align: right !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   BLOCK-SPECIFIC THEME COMPATIBILITY
   ========================================================================== */

/* Rental Dates Block Theme Compatibility - ULTRA HIGH SPECIFICITY */
html body .wp-block-woorentflow-rental-dates {
  margin: 1.5rem 0 !important;
  padding: 1.5rem !important;
  border: 1px solid #e1e5e9 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #333 !important;
}

html body .wp-block-woorentflow-rental-dates:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

html body .wp-block-woorentflow-rental-dates__list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html body .wp-block-woorentflow-rental-dates__list__input {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
  transition: all 0.2s ease !important;
}

html body .wp-block-woorentflow-rental-dates__list__input label {
  display: block !important;
  font-weight: 500 !important;
  color: #374151 !important;
  margin-bottom: 0.5rem !important;
  font-size: 14px !important;
  font-family: inherit !important;
}

html body .wp-block-woorentflow-rental-dates__list__input:hover {
  border-color: #cbd5e1 !important;
  background: #f1f5f9 !important;
}

html body .wp-block-woorentflow-rental-dates__list__input:focus-within {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

html body .wp-block-woorentflow-rental-dates__list__date-picker {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  position: relative !important;
}

html body .wp-block-woorentflow-rental-dates__list__date-picker {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"] {
  flex: 1 !important;
  padding: 12px 16px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px 0 0 8px !important;
  border-right: 1px solid #d1d5db !important;
  font-size: 1rem !important;
  background: #ffffff !important;
  transition: all 0.2s ease !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  height: auto !important;
  min-height: 44px !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"] {
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }
  
  /* Mobile disabled date styling */
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day.flatpickr-disabled-date {
    background: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .flatpickr-calendar .flatpickr-day .unavailable-indicator {
    position: absolute !important;
    top: 1px !important;
    right: 1px !important;
    color: #dc3545 !important;
    font-size: 8px !important;
    font-weight: bold !important;
    z-index: 15 !important;
    pointer-events: none !important;
  }
  
  /* Mobile time picker fields styling */
  html body .wp-block-woorentflow-rental-dates__list__time-picker {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__time-picker__field {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__time-picker__field label {
    display: block !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0.25rem !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__time-picker__field select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
    background: #ffffff !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__time-picker__field select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__list__time-picker__field select:hover {
    border-color: #9ca3af !important;
  }
  
  /* Mobile legacy time picker styling */
  html body .wp-block-woorentflow-rental-dates .wd-time-picker {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 1rem !important;
    width: 100% !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .wd-time-picker label {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
    font-size: 14px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .wd-time-picker label select {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 16px !important; /* Prevent zoom on iOS */
    background: #ffffff !important;
    color: #374151 !important;
    transition: all 0.2s ease !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    height: auto !important;
    min-height: 44px !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .wd-time-picker label select:focus {
    outline: none !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  }
  
  html body .wp-block-woorentflow-rental-dates .wd-time-picker label select:hover {
    border-color: #9ca3af !important;
  }
  
  /* Mobile message box styling */
  html body .wp-block-woorentflow-rental-dates__message-box .message {
    padding: 0.875rem 1rem !important;
    font-size: 14px !important;
    gap: 0.5rem !important;
  }
  
  html body .wp-block-woorentflow-rental-dates__message-box .message::before {
    width: 18px !important;
    height: 18px !important;
  }
}

html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"]:focus {
  outline: none !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"]:focus + .clear-date {
  border-color: #3b82f6 !important;
  border-left: 0.5px solid #3b82f6 !important;
}

html body .wp-block-woorentflow-rental-dates__list__date-picker input[type="text"]::placeholder {
  color: #9ca3af !important;
}

html body .wp-block-woorentflow-rental-dates .clear-date {
  cursor: pointer !important;
  width: auto !important;
  min-width: 44px !important;
  height: auto !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #f3f4f6 !important;
  border: 1px solid #d1d5db !important;
  border-left: 0.5px solid #d1d5db !important;
  border-radius: 0 8px 8px 0 !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  padding: 0 12px !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  text-underline-position: unset !important;
  text-shadow: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

@media (max-width: 768px) {
  html body .wp-block-woorentflow-rental-dates .clear-date {
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
  }
}

html body .wp-block-woorentflow-rental-dates .clear-date:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
}

html body .wp-block-woorentflow-rental-dates .clear-date:hover .dashicons {
  color: #ffffff !important;
  transform: scale(1.1) !important;
}

html body .wp-block-woorentflow-rental-dates .clear-date .dashicons {
  color: #6b7280 !important;
  font-size: 16px !important;
  transition: all 0.2s ease !important;
  line-height: 1 !important;
  width: 16px !important;
  height: 16px !important;
  text-decoration: none !important;
  font-style: normal !important;
  margin-right: 4px !important;
  border-bottom: none !important;
  text-shadow: none !important;
}

html body .wp-block-woorentflow-rental-dates .clear-date:hover .dashicons {
  color: #ffffff !important;
}

/* Desktop clear button text styling */
html body .wp-block-woorentflow-rental-dates .clear-date::after {
  content: "Clear" !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  text-underline-position: unset !important;
  font-style: normal !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  border-bottom: none !important;
  border-bottom-width: 0 !important;
  border-bottom-style: none !important;
  border-bottom-color: transparent !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

html body .wp-block-woorentflow-rental-dates .clear-date:hover::after {
  color: #ffffff !important;
}

.wp-block-woorentflow-rental-dates__message-box {
  margin: 1rem 0 !important;
}

.wp-block-woorentflow-rental-dates__message-box .message {
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  border-left: 4px solid !important;
  font-family: inherit !important;
}

.wp-block-woorentflow-rental-dates__message-box .message.error {
  background-color: #fef2f2 !important;
  color: #dc2626 !important;
  border-left-color: #dc2626 !important;
}

.wp-block-woorentflow-rental-dates__message-box .message.success {
  background-color: #f0fdf4 !important;
  color: #16a34a !important;
  border-left-color: #16a34a !important;
}

/* ==========================================================================
   HIGH SPECIFICITY OVERRIDES
   ========================================================================== */

/* Override theme styles with high specificity */
body .woo-rent-flow-container,
body .barb-form-wrapper,
body .backhoe_duration_and_price,
body .backhoe_add_tocart,
body .wp-block-woorentflow-rental-dates,
body .wp-block-woorentflow-rental-add-to-card {
  /* Reset any theme-specific styles */
  all: initial;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #333 !important;
  display: block !important;
}

body .woo-rent-flow-container *,
body .barb-form-wrapper *,
body .backhoe_duration_and_price *,
body .backhoe_add_tocart *,
body .wp-block-woorentflow-rental-dates *,
body .wp-block-woorentflow-rental-add-to-card * {
  box-sizing: border-box !important;
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .woo-rent-flow-container,
  .barb-form-wrapper,
  .backhoe_duration_and_price,
  .backhoe_add_tocart {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    border: 1px solid #000 !important;
  }
  
  .woo-rent-flow-btn {
    border: 1px solid #000 !important;
    background: white !important;
    color: black !important;
  }
}
