/* Page-level styles extracted from the get-visa-greece page (head <style> blocks + Webflow embeds), original order. */

.loader {
	display: none; /* Hide by default */
}

/* Only show loader if html has 'show-loader' class */
html.show-loader .loader {
	display: flex;
}

/* Keep loader hidden inside Webflow Editor too */
html.w-editor .loader {
	display: none;
}

/* IntlTelInput container */
.iti {
  width: 100%;
}

/* Flag container */
.iti__flag-container {
  right: auto;
  left: 0;
}

/* Input field */
.iti--allow-dropdown input,
.iti--allow-dropdown input[type=tel],
.iti--allow-dropdown input[type=text],
.iti--separate-dial-code input,
.iti--separate-dial-code input[type=tel],
.iti--separate-dial-code input[type=text] {
  padding-right: 6px;
  padding-left: 52px; /* Reduced padding to match the design */
  margin-left: 0;
  background-color: #ffffff; /* Light background */
  color: #606368; /* Light text */
}

/* Country list */
.iti__country-list {
  max-width: 400px;
}

/* Flag sprite */
.iti__flag {
  background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdn.jsdelivr.net/npm/intl-tel-input@18.2.1/build/img/flags@2x.png");
  }
}

/* Additional flag adjustments if needed */
.iti__flag {
  box-shadow: 0 0 1px 0 #888;
}

/* Custom dropdown icon */
.iti__arrow {
  border: none;
  width: 20px;
  height: 21px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8L10 13L15 8' stroke='%23667085' stroke-width='1.66667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transform: none;
}

.iti__arrow--up {
  transform: rotate(180deg);
}

/* Adjust the position of the new icon */
.iti__flag-container {
  right: auto;
  left: 0;
}

.iti__selected-flag {
  padding-right: 8px; /* Reduced padding */
  margin-right: 0; /* Removed margin */
}

.iti--separate-dial-code .iti__selected-dial-code {
  margin-right: 0; /* Removed margin to match the design */
  color: #606368; /* Light text for the dial code */
}

/* Remove spinner for number input */
.phone-input::-webkit-outer-spin-button,
.phone-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.phone-input[type=number] {
  -moz-appearance: textfield;
}

/* Remove blue highlight on tap for touch devices */
* {
  -webkit-tap-highlight-color: transparent; /* Chrome, Safari */
  -webkit-touch-callout: none; /* Prevent default touch callout behavior on iOS */
}

/* Optionally, disable focus outline globally */
*:focus {
  outline: none;
}

.error-msg {
    color: red;
    font-size: 12px;
    font-family: 'Instrument Sans', sans-serif;
    margin-top: 4px;
    display: none;
  }

  #lf-submit-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
  }

  #form-wrap {
    transition: width 0.3s ease;
  }

  #form-img,
  #form-header {
    transition: opacity 0.3s ease;
  }

/* Calendar Container */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500&display=swap');

.daterangepicker {
  font-family: 'Instrument Sans';
  border: 1px dashed #ccc !important;
  border-radius: 8px;
  padding: 16px;
  width: 320px;
  background: white;
  box-shadow: none !important;
  position: absolute !important;
  z-index: 1000;
}

/* Hide unnecessary elements */
.daterangepicker .ranges,
.daterangepicker .drp-buttons,
.daterangepicker .calendar.right {
  display: none !important;
}

/* Month title */
.daterangepicker .month {
  font-size: 18px;
  color: #006D77;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}

/* Days of week header */
.daterangepicker thead tr:first-child th {
  font-weight: 500;
  color: #006D77;
  padding: 2px;
  font-size: 14px;
}

/* Calendar table */
.daterangepicker .calendar-table {
  border: none;
  background: transparent;
}

.daterangepicker .calendar-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

/* Calendar cells */
.daterangepicker td {
  width: 36px;
  height: 32px;
  border-radius: 6px !important;
  font-size: 14px;
  color: #333;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  text-align: center;
  line-height: 32px;
  font-weight: 400;
  cursor: default !important;
  pointer-events: none !important;
}

/* Current date (today) */
.daterangepicker td.today {
  background-color: #99E1DD !important;
  color: #022624 !important;
  border: 0.4px solid #18A69E !important;
}

/* Guarantee date */
.daterangepicker td.active.guarantee {
  background-color: #006D77 !important;
  color: white !important;
}

/* Weekends and Holidays */
.daterangepicker td.holiday-weekend {
  background-color: #FFDDD2 !important;
}

/* Highlight dates (working days) */
.daterangepicker td.highlight {
  background-color: #4FDADA !important;
}

/* Start date */
.daterangepicker td.start-date {
  border: 2px solid #006D77 !important;
}

/* Off month dates */
.daterangepicker td.off {
  color: #999 !important;
  opacity: 0.5;
}

/* Remove default hover states */
.daterangepicker td:hover {
  background-color: transparent !important;
}

/* Calendar table wrapper */
.daterangepicker .calendar.left {
  margin: 0;
  padding: 0;
  float: none;
}

/* Remove navigation arrows */
.daterangepicker .prev,
.daterangepicker .next {
  display: none !important;
}

/* Ensure proper spacing */
.daterangepicker tbody tr {
  height: 32px;
}

/* Remove table borders */
.daterangepicker .calendar-table {
  border: 0;
  background-color: transparent;
}

/* Adjust the overall calendar position */
.daterangepicker:before, 
.daterangepicker:after {
  display: none;
}

/* Ensure proper font weights */
.daterangepicker .calendar-table thead tr:first-child th,
.daterangepicker td {
  font-weight: 400;
}

/* Ensure the calendar container doesn't collapse */
.calendar-container {
  min-height: 300px;
}

/* Chevron styles */
#visa-chevron {
  transition: transform 0.3s ease;
}

.visa-available-tl {
  cursor: pointer;
}

/* Rotate chevron when calendar is open */
.calendar-open #visa-chevron {
  transform: rotate(180deg);
}

/* Calendar Legend */
.calendar-legend {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #ccc;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Instrument Sans';
  font-size: 14px;
  color: #2A454B;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-dot.visa-arrival {
  background-color: #006D77;
}

.legend-dot.in-process {
  background-color: #4FDADA;
}

.legend-dot.holiday {
  background-color: #FFDDD2;
}

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-email a,
  #obfuscated-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

#obfuscated-support-email a,
  #obfuscated-support-email a:visited {
    color: white !important;
    opacity: 80%;
    text-decoration: none;
  }

.wa-float {
  position: fixed;
  bottom: 12%;
  right: 8px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 9999;
  text-decoration: none;
}
