@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root{
  --main-color:#8e44ad;
  --black:#222;
  --white:#fff;
  --light-black:#777;
  --light-white:#fff9;
  --dark-bg:rgba(0,0,0,.7);
  --light-bg:#eee;
  --border:.1rem solid var(--black);
  --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
  --text-shadow:0 1.5rem 3rem rgba(0,0,0,.3);
  --first_font:'Satisfy', cursive;
  --second_font:font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif !important;

    --third_font: "Amatic SC", sans-serif;
   



}



/* Base reset and font */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  min-height: 100%;
  width: 100%;
  display: block;
  position: relative;
  background: #f9f9f9; /* Light background color */
}






/* Adjust body::after styles */
body::after {
  content: none;
  display: none;
}

/* Ensure form is on top of background */
.container_form {
  position: relative;
  z-index: 2; /* Place form above overlay */
}

/* Ensure form spans the entire screen */
.contact-form {
  width: 100%;
  max-width: 350px;
  margin: 0 auto; /* Center the form horizontally */
}




.header {
  position: sticky !important;
  top: 0;
}



section {
  position: relative;
  z-index: 3;
  padding-top: 50px;
  padding-bottom: 50px;
}

.container5 {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}


































/* ===== Contact Container Matching Language Selector Theme ===== */
.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Contact info section */
.contact-info {
  text-align: center;
  background: #2d3748; /* Matching language-selector background */
  color: #f7fafc; /* Matching text color */
  border-radius: 10px; /* Matching border radius */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Matching shadow */
  padding: 20px;
  position: relative;
  border: 1px solid #3c4658; /* Matching border */
}

/* Toggle button - matching language-btn style */
.toggle-contact {
  background: #4a5568; /* Matching language-btn background */
  color: #f7fafc; /* Matching text color */
  border: 1px solid #4a5568; /* Matching border */
  padding: 10px 20px;
  border-radius: 6px; /* Matching border radius */
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.25s ease; /* Matching transition */
  font-weight: 600; /* Matching font weight */
}

/* Button hover effect - matching language-btn hover */
.toggle-contact:hover {
  background: #5a677d; /* Matching hover color */
  transform: translateY(-1px); /* Matching transform */
}

/* Hidden contact details */
.contact-details {
  max-width: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  display: flex;
  flex-direction: column;
  transition: max-width 0.5s ease, max-height 0.5s ease, opacity 0.5s ease; /* Preserved original animation */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1a202c; /* Matching select background */
  border-radius: 8px;
  border: 1px solid #4a5568; /* Matching border */
  width: 100%;
  padding: 20px;
  z-index: 1;
}

/* Open contact details */
.contact-details.open {
  max-width: 100%;
  max-height: 400px;
  opacity: 1;
}





















/* Brick animation for contact items */
.contact_form a {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-details.open .contact_form a:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.contact-details.open .contact_form a:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.contact-details.open .contact_form a:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.contact-details.open .contact_form a:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

.contact-details.open .contact_form a:nth-child(5) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.5s;
}











/*--------lista uplne dole FB...---------*/

.footer2 {
    background-size: cover;
    background-position: center;
}

.footer2 .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 3rem;
}

.footer2 .box-container .box h3 {
    color: var(--white);
    font-size: 2.5rem;
    padding-bottom: 2rem;
}
/*--------movement pri prejeti a odkud kam se ma text posunout padding right (rem)...---------*/

.footer2 .box-container .box a {
    color: var(--light-white);
    font-size: 1.5rem;
    padding-bottom: 1.5rem;
    display: block;
}

.footer2 .box-container .box a i {
    color: var(--main-color);
    padding-right: 0.5rem;
    transition: 0.2s linear;
}

.footer2 .box-container .box a:hover i {
    padding-right: 2rem;
}

.footer2 .credit {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 0.1rem solid var(--light-white);
  font-size: 3rem;
  color: var(--white);
  font-family: var(--third_font);

  font-weight: 700;

}

.footer2 .credit span {
    color: var(--main-color);
    font-family: var(--third_font);
font-weight: 700;
    font-size: 3rem;
  }






















/* CSS */

.button-86b {
    all: unset;
    width: 6rem;
    max-width: 130px;
    height: 30px;
    font-size: 16px;
    margin: 1rem;
    background: transparent;
    border: none;
    position: relative;
    color: #f0f0f0;
    cursor: pointer;
    z-index: 1;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  
    display: inline-block;
  
  }
  
  
  .button-86b::after,
  .button-86b::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -99999;
    transition: all .4s;
  }
  
  .button-86b::before {
    transform: translate(0%, 0%);
    width: 100%;
    height: 100%;
    background: #28282d;
    border-radius: 10px;
  }
  
  .button-86b::after {
    transform: translate(10px, 10px);
    width: 35px;
    height: 35px;
    background: #ffffff15;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50px;
  }
  
  .button-86b:hover::before {
    transform: translate(5%, 20%);
    width: 110%;
    height: 110%;
  }
  
  .button-86b:hover::after {
    border-radius: 10px;
    transform: translate(0, 0);
    width: 100%;
    height: 100%;
  }
  
  .button-86b:active::after {
    transition: 0s;
    transform: translate(0, 5%);
  }
  
  .table_container {
    background-image: url(../images/form_back.jpg);
    position: relative;
    height: auto;
    min-height: 0;
    top: 0;
    margin: 1rem;
    padding: 5rem;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    overflow-x: visible;
    border-collapse: collapse;
    background-size: cover;
    background-repeat: no-repeat;

}

@media (max-width: 768px) {
  .table_container {
    margin: 0.75rem;
    padding: 1.25rem;
  }
}


  .section_1 {
    z-index: 3;

      box-sizing: border-box;
      position: relative;
      width: 100%;
      background-size: cover;
      margin-bottom: 1rem;
      gap: 4rem;
      
      display: flex;
      flex-wrap: wrap;
      align-content: center;
      flex-direction: row;
      justify-content: center;
      align-items: center;
  }





  .grid_1 {
    gap: 1.5rem;
    padding: 1.5rem;
position: relative;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
  }












/*--------movement pri prejeti a odkud kam se ma text posunout padding right (rem)...---------*/
.contact_form a {
  color: var(--light-white);
  font-size: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  text-decoration: none;

  max-width: 450px;
}



.contact_form a i {
  padding-right: 0.5rem;
  transition: 0.2s linear;

}

.contact_form a:hover i {
  padding-right: 2rem;
  color: #8e44ad;
}



.section__title_1 {
  text-align: center;
  font-size: var(--h1-font-size);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 1px 1px #f1f2f598;
  margin-bottom: 50px;
  text-align: center;

  backdrop-filter: blur(10px); /* Adjust the blur intensity as needed */
  padding: 20px;
  border-radius: 10px;
}

.section__title_1 h2 {
color: #212726;
  font-weight: bold;
  font-size: 3em;
  margin-bottom: 20px;
}

.section__title_1 p {
  color: #212726;
    font-size: medium;

  
  }
  
  .section__title_2 {
    color: #FFF;
    text-align: left;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 1px 1px #f1f2f598;
}



.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-header h2 {
  color: #FFF;
  font-weight: bold;
  font-size: 3em;
  margin-bottom: 20px;
}

.section-header p {
  color: #FFF;
}

.row  {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  width: 50%;
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-info-icon {
  height: 70px;
  width: 70px;
  background-color: #fff;
  text-align: center;
  border-radius: 50%;
}

.contact-info-icon i {
  font-size: 30px;
  line-height: 70px;
}

.contact-info-content {
  margin-left: 20px;
}

.contact-info-content h4 {
  color: #1da9c0;
  font-size: 1.4em;
  margin-bottom: 5px;
}

.contact-info-content a {
    color: #1da9c0;
    font-size: 1.4em;
    margin-bottom: 5px;
    text-decoration: none;
  }

.contact-info-content p {
  color: #FFF;
  font-size: 1em;
}

.header_1{
  padding-top: 10rem;

}

.contact-form {
  background-color: #fff;
  padding: 40px;
  width: 100%;
  padding-bottom: 20px;
  padding-top: 20px;

  max-width: 350px;
}

.contact_form p {
  color: var(--light-white);
  font-size: 1.5rem;
  padding-bottom: 1.5rem;
  
}

/* Headings inside the form */
.contact-form h2 {
  font-weight: bold;
  font-size: 2em;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

/* Each input-box will take full width */
.contact-form .input-box {
  width: 100%;
  margin-bottom: 15px;
  position: relative;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  width: 100%;
  padding: 10px 5px;
  font-size: 1.6rem;
  border: none;
  border-bottom: 2px solid #333;
  outline: none;
  resize: none;
  color: #333;
}


.contact-form .input-box span {
  position: absolute;
  left: 0;
  padding: 10px 0;
  font-size: 1.4rem;
  pointer-events: none;
  transition: 0.3s ease;
  color: #666;
}




.contact-form .input-box input ~ span,
.contact-form .input-box textarea ~ span{
  transform: translateY(-25px);
}


.contact-form .input-box input:focus ~ span,
.contact-form .input-box textarea:focus ~ span {
  color: #8e44ad;
  font-size: 1.2rem;
  transform: translateY(-20px);
}




.contact-form .input-box input::after ~ span,
.contact-form .input-box textarea::after ~ span{
  display: none;
}


.contact-form .input-box input[type="submit"]
{
  width: 100%;
  background: #00bcd4;
  color: #FFF;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 18px;
  border: 1px solid #00bcd4;
  transition: 0.5s;
}

.contact-form .input-box input[type="submit"]:hover
{
  background: #FFF;
  color: #00bcd4;
}

@media (max-width: 991px) {
  section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  
  .row {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 40px;
    width: 100%;
  }
  
  .contact-form {
    width: 100%;
  }
}





@media (max-width: 750px) {
.grid_1 {
  padding: 1.5rem;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

}







/* Wrapper that centers and limits the form width */
.form-wrapper {
  width: 100%;
  max-width: 400px; /* Adjust as needed for compactness */
  margin: 20px auto;
  padding: 20px;
  background: #fff; /* White background for form */
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
}











/* kalendar CSS */

/* Calendar styling (if needed more compact) */
#calendar {
  width: 100%;
  height: auto;
  border: 2px solid #4a90e2;
  border-radius: 5px;
  background-color: #f0f8ff;
  font-size: 1.6rem;
  font-family: Arial, sans-serif;
  color: #333;
  padding: 12px 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  transition: background-color 0.3s ease, color 0.3s ease;
}


#calendar:hover {
  background-color: #e0f0ff;
  border-color: #3a7bc8;
}

#calendar:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}




/* ===== CALENDAR CONTAINER STYLES ===== */
.flatpickr-calendar {
  background: #ffffff;
  border: 2px solid #4a90e2;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  z-index: 99999 !important; /* Critical - must be higher than everything */
  animation: fadeIn 0.3s ease-out;

  max-height: 90vh;
  overflow-y: auto;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== DAY CELL STYLES ===== */
.flatpickr-day {
  color: #333;
  font-weight: normal;
  height: 36px;
  line-height: 36px;
  max-width: 36px;
  margin: 2px;
  border-radius: 4px !important;
  border: none;
}


.flatpickr-day:hover {
  background: #4a90e2 !important;
  color: white !important;
}

.flatpickr-day.today {
  border: 1px solid #4a90e2 !important;
}



.flatpickr-day.selected {
  background: #4a90e2 !important;
  color: white !important;
  border: none !important;
}






/* ===== RANGE SELECTION STYLES ===== */
.flatpickr-day.selected.startRange {
  border-radius: 50% 0 0 50% !important;
}

.flatpickr-day.selected.endRange {
  border-radius: 0 50% 50% 0 !important;
}

.flatpickr-day.inRange {
  background: rgba(74, 144, 226, 0.1) !important;
  box-shadow: -5px 0 0 rgba(74, 144, 226, 0.1), 5px 0 0 rgba(74, 144, 226, 0.1);
}









/* ✅ Poloviční začátek (check-in) */
.flatpickr-day.half-start {
  background: linear-gradient(to top left, #c96e6e 50%, transparent 50%) !important;
  opacity: 1 !important;
  color: #000 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ✅ Poloviční konec (check-out) */
.flatpickr-day.half-end {
  background: linear-gradient(to bottom right, #c96e6e 50%, transparent 50%) !important;
  opacity: 1 !important;
  color: #000 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ✅ Plně blokované dny (mezi check-in a check-out) */
.flatpickr-day.full-blocked {
  background-color: #c96e6e !important;
  color: #fff !important;
  opacity: 1 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* ❌ Výchozí Flatpickr styl pro disabled dny – přepsán */
.flatpickr-day.flatpickr-disabled {
  background-color: #c96e6e !important;
  color: #fff !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
}












.flatpickr-current-month input.cur-year {
  font-weight: bold;
}

/* ===== WEEKDAY LABELS ===== */
.flatpickr-weekday {
  color: #4a90e2;
  font-weight: bold;
}



.flatpickr-month {
  color: #4a90e2; /* Barva názvu měsíce */
}


.flatpickr-calendar {
  width: auto; /* Šířka kalendáře */
}












/* Price display */
#price {
  font-size: 2.2rem;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid #4a90e2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  margin-top: 20px;
  background-color: #e0f7fa;
  color: #415771;
}

#price {
  margin-top: 30px;
  background-color: #e0f7fa;
  color: #415771;
}

.date_price {
  color: #FFF;
  text-align: left;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  text-shadow: 1px 1px #f1f2f598;
}





















.thank-you-message {
  text-align: center;
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards ease-in-out;
}

.thank-you-message h1 {
  margin-top: 0;
  color: #2c3e50;
}

.thank-you-message p {
  margin: 20px 0;
  font-size: 1rem;
  line-height: 1.5;
}

.thank-you-message a {
  display: inline-block;
  margin-top: 20px;
  background: #3498db;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
}

.thank-you-message a:hover {
  background: #2980b9;
}

.extra-message {
  display: none;
  margin-top: 30px;
  font-size: 1.1rem;
  color: #16a085;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}







/* Styles for the previous month button */
.flatpickr-months .flatpickr-prev-month {
  background: #4a90e2; /* Background color for the prev button */
  border-radius: 25%; /* Square corners */
  padding: 3px 8px; /* Adjust padding as needed */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 5px; /* Space to the right of the prev button */
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  font-size: 8px;
  border: none;
}

.flatpickr-months .flatpickr-prev-month:hover {
  background: #346fab; /* Darker shade on hover for prev button */
}

/* Styles for the next month button */
.flatpickr-months .flatpickr-next-month {
  background: #4a90e2; /* Different background color for the next button */
  border-radius: 25%; /* Square corners */
  padding: 3px 8px; /* Adjust padding as desired */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: 5px; /* Space to the left of the next button */
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  color: #fff;
  font-weight: bold;
  font-size: 8px;
  border: none;
}

.flatpickr-months .flatpickr-next-month:hover {
  background: #346fab; /* Darker shade on hover for next button */
}

/* Hide original SVG arrows */
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  display: none;
}

/* Add text for prev and next */
.flatpickr-months .flatpickr-prev-month::before {
  content: "Prev";
  color: #fff;
}

.flatpickr-months .flatpickr-next-month::before {
  content: "Next";
  color: #fff;
}



/* CSS CHANGES */

/* Hide the price list by default */
#price-list {
  display: none;
  margin-top: 10px;
}

/* Styles for the toggle button */
#toggle-price-list-btn {
  background: #4a90e2;
  color: #fff;
  border: none;
  padding: 10px;
  font-size: 1.4rem;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  text-align: center;
}

#toggle-price-list-btn:hover {
  background: #346fab;
}








/* New styles for Previous and Next buttons */
.button-prev, .button-next {
  background-color: var(--main-color);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

.button-prev:hover {
  background-color: #6c3483;
}

.button-next:hover {
  background-color: #f39c12; /* Different hover color for Next button */
}

/* Differentiating Previous and Next button styles */
.button-prev {
  background-color: #9b59b6; /* Darker color for Previous */
}

.button-next {
  background-color: #e67e22; /* Orange color for Next */
}

/* Calendar container */
.calendar-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Calendar header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#month-year {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--black);
}

/* Calendar grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 5px;
  margin-bottom: 1rem;
}

.calendar-day {
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.calendar-day:hover {
  background-color: var(--light-black);
}

.selected {
  background-color: var(--main-color);
  color: var(--white);
}

/* Total price section */
.total-price {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Proceed to payment button */
#proceed-payment {
  background-color: var(--main-color);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#proceed-payment:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

#proceed-payment:hover:enabled {
  background-color: #6c3483;
}




/* Existing code ... */

/* Ensure the calendar container adjusts on smaller screens */
@media (max-width: 600px) {
  .contact-form .input-box input,
  .contact-form .input-box textarea {
    font-size: 1.4rem;
  }

  #price {
    font-size: 2rem;
    padding: 10px;
  }

  .button-86b {
    font-size: 1.6rem;
  }

  /* Adjust calendar sizing on mobile */
  .flatpickr-calendar {
    max-width: 90vw; /* Limit calendar width to 90% of viewport width */
    font-size: 1.4rem; /* Slightly smaller text for better fit */
    overflow: hidden; /* Prevent any overflowing content */
    right: auto !important;

  }




  /* Adjust day cells if needed */
  .flatpickr-day {
    padding: 5px; /* Smaller padding for days */
  }

  /* Ensure month navigation fits well on small screens */
  .flatpickr-months .flatpickr-prev-month,
  .flatpickr-months .flatpickr-next-month {
    padding: 2px 5px;
    font-size: 0.8rem;
  }

  .flatpickr-month {
    font-size: 1.4rem;
  }
}

/* If you have a calendar-container class as well */
.calendar-container {
  width: 100%;
  max-width: 400px; /* On desktop, limit width to 400px */
  margin: 0 auto;
  padding: 20px;
  background: var(--light-bg);
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  text-align: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 600px) {
  .calendar-container {
    max-width: 90vw; /* On mobile, allow the container to shrink */
    padding: 10px; /* Less padding on mobile */
  }
}
















/* Form Container */
.secure-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Modern Submit Button */
.modern-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #4f6bff, #3a56e8);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 107, 255, 0.2);
}

.modern-submit-btn:hover {
  background: linear-gradient(135deg, #3a56e8, #2a45d2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 107, 255, 0.3);
}

.modern-submit-btn:active {
  transform: translateY(0);
}

.btn-icon {
  transition: transform 0.3s ease;
}

.modern-submit-btn:hover .btn-icon {
  transform: translateX(3px);
}

/* Error Message Styling */
.form-error-message {
  margin-top: 1.5rem;
  padding: 12px 16px;
  background: #fff0f0;
  border-left: 4px solid #ff4d4f;
  border-radius: 4px;
  color: #ff4d4f;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.3s ease-out;
}

.error-icon {
  flex-shrink: 0;
  color: #ff4d4f;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.input-box .error {
  color: #ff4444;
  font-size: 0.8rem;
  margin-top: 5px;
}

.input-box input:invalid, 
.input-box textarea:invalid {
  border-color: #ff4444;
}






















/* ===== Dark Theme Language & Currency Selector ===== */
.language-selector, .input-box {
  margin-bottom: 1.5rem;
  font-family: 'Arial', sans-serif;
}

/* Container */
.language-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  background: #2d3748;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid #3c4658;
}

/* Labels */
.language-selector label, 
.input-box label {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a90e2;
  margin-bottom: 0.5rem;
}


.input-box label[for="currency"] {
  color: #607D8B; /* Green color for the entire label */
}


/* Dropdowns */
.language-selector select, 
.input-box select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.2rem;
  border: 1px solid #4a5568;
  border-radius: 8px;
  background-color: #1a202c;
  color: #f7fafc;
  transition: all 0.25s ease;
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.language-selector select:focus, 
.input-box select:focus {
  outline: none;
  border-color: #48bb78;
  box-shadow: 0 0 0 3px rgba(72, 187, 120, 0.2);
}

/* Language Buttons */
.language-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.language-btn {
  padding: 0.625rem 1.25rem;
  background: #4a5568;
  border: 1px solid #4a5568;
  border-radius: 6px;
  font-weight: 600;
  color: #f7fafc;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1rem;
  text-transform: uppercase;
}

.language-btn:hover {
  background: #5a677d;
  transform: translateY(-1px);
}

.language-btn.active {
  background: #48bb78;
  color: white;
  border-color: #48bb78;
  box-shadow: 0 2px 10px rgba(72, 187, 120, 0.3);
}




/* Responsive */
@media (max-width: 480px) {
  .language-selector {
    flex-direction: column;
  }
  
  .language-buttons {
    justify-content: space-between;
  }
  
  .language-btn {
    flex: 1;
    text-align: center;
  }
}

/* Currency Selector Specific */
.input-box {
  margin-top: 1rem;
}

.input-box select {
  margin: 0;
}

.no-js-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  background-color: #fff3cd;
  color: #856404;
  border-bottom: 3px solid #ffeeba;
  font-family: sans-serif;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.no-js-warning a {
  color: #0056b3;
  font-weight: bold;
  text-decoration: underline;
}

.no-js-warning a:hover {
  color: #004085;
}



.rate-success { 
  color: green;
  font-size: 1.1em

}

.rate-error { 
  color: #d32f2f; 
  font-size: 1.1em

}
.rate-date { 
  display: block; 
  font-size: 1.1em; 
  color: #666; 
}
.rate-value { 
  display: block; 
  font-weight: bold;
  font-size: 1.1em

}
.rate-fallback { 
  display: block; 
  font-size: 1.1em; 
}













/* ========================================================================
   ✅ NEW UX (Step 1 / form.php) — Modern minimalist form + Airbnb-ish selects
   Replaced on 2026-01-27
   Scope: ONLY #checkout-step-1 (keeps step-2 buttons + calendar/flatpickr intact)
   Notes about dropdown “open animation”:
   - Native <select> dropdown list is rendered by OS/browser UI → cannot be
     smoothly animated with pure CSS. We *can* animate the wrapper, icon,
     and focus states to create the same “alive” feel (best possible CSS-only).
   ======================================================================== */

:root{
  /* Calm “Airbnb-ish” palette (warm white + soft celadon) */
  --ux1-bg: #f6f7f6;
  --ux1-surface: rgba(255,255,255,0.94);
  --ux1-surface-solid: #ffffff;

  --ux1-text: #162116;
  --ux1-muted: #506050;
  --ux1-muted2:#6f7f6f;

  --ux1-border: rgba(18, 28, 18, 0.12);
  --ux1-border-2: rgba(18, 28, 18, 0.18);

  --ux1-accent: #AFE1AF;      /* celadon */
  --ux1-accent-2:#6fc26f;     /* deeper */
  --ux1-accent-3:#3a7a3a;     /* strong */

  --ux1-warn: #d97706;
  --ux1-danger:#b42324;

  --ux1-shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --ux1-shadow-sm: 0 6px 18px rgba(0,0,0,0.08);
  --ux1-shadow-md: 0 14px 38px rgba(0,0,0,0.12);

  --ux1-radius-sm: 10px;
  --ux1-radius-md: 14px;
  --ux1-radius-lg: 18px;
  --ux1-radius-xl: 22px;

  --ux1-ring: 0 0 0 4px rgba(175,225,175,0.32);
  --ux1-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------------------
   Step 1 card
   ------------------------------------------------------------------------ */
#checkout-step-1 .contact-form{
  max-width: 500px;
  margin: 0 auto;
  background: var(--ux1-surface);
  border: 1px solid rgba(175,225,175,0.38);
  border-radius: var(--ux1-radius-xl);
  box-shadow: var(--ux1-shadow-md);
  backdrop-filter: blur(12px);
  padding: clamp(18px, 2.4vw, 34px);
  position: relative;
  overflow: hidden;
}

/* Top accent line */
#checkout-step-1 .contact-form::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height: 5px;
  background: linear-gradient(90deg, var(--ux1-accent), var(--ux1-accent-3));
  opacity: 0.92;
}

/* Decorative glow */
#checkout-step-1 .contact-form::after{
  content:"";
  position:absolute;
  top:-130px;
  right:-140px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(175,225,175,0.42), transparent 62%);
  filter: blur(2px);
  pointer-events:none;
}

#checkout-step-1 .contact-form h2{
  color: var(--ux1-text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin: 6px 0 18px;
  font-size: clamp(2.0rem, 1.2vw + 1.6rem, 2.8rem);
}

/* ------------------------------------------------------------------------
   Grid layout (for your new HTML wrappers)
   ------------------------------------------------------------------------ */
#checkout-step-1 .form-grid{
  display:flex;
  flex-direction:column;
  gap: 14px;
}

#checkout-step-1 .form-row{
  width:100%;
  display:grid;
  gap: 14px;
}

#checkout-step-1 .form-row--2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#checkout-step-1 .form-row--1{
  grid-template-columns: 1fr;
}

#checkout-step-1 .form-col{
  min-width:0;
}

/* ------------------------------------------------------------------------
   Inputs: keep floating <span> labels intact
   (IMPORTANT: do NOT style #calendar here)
   ------------------------------------------------------------------------ */
#checkout-step-1 .input-box{
  position: relative;
  width: 100%;
}

#checkout-step-1 .input-box label{
  display:block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ux1-muted);
  margin-bottom: 8px;
}

/* Non-calendar text inputs/textarea */
#checkout-step-1 .input-box input:not(#calendar),
#checkout-step-1 .input-box textarea{
  width: 100%;
  padding: 14px 14px;
  font-size: 1.6rem;
  border-radius: var(--ux1-radius-md);
  border: 1px solid var(--ux1-border-2);
  background: var(--ux1-surface-solid);
  color: var(--ux1-text);
  outline: none;
  box-shadow: var(--ux1-shadow-xs);
  transition: border-color 180ms var(--ux1-ease),
              box-shadow 180ms var(--ux1-ease),
              transform 180ms var(--ux1-ease),
              background 180ms var(--ux1-ease);
}

#checkout-step-1 .input-box textarea{
  min-height: 128px;
  line-height: 1.5;
  padding-top: 16px;
  resize: vertical;
}

/* Hover micro-lift */
#checkout-step-1 .input-box input:not(#calendar):hover,
#checkout-step-1 .input-box textarea:hover{
  border-color: rgba(58,122,58,0.35);
  transform: translateY(-1px);
  box-shadow: var(--ux1-shadow-sm);
}

/* Focus ring */
#checkout-step-1 .input-box input:not(#calendar):focus,
#checkout-step-1 .input-box textarea:focus{
  border-color: rgba(58,122,58,0.55);
  box-shadow: var(--ux1-ring);
  transform: translateY(0);
}

/* Floating span label */
#checkout-step-1 .input-box span{
  position:absolute;
  left:14px;
  top:14px;
  font-size: 1.35rem;
  color: var(--ux1-muted2);
  pointer-events:none;
  transition: transform 160ms var(--ux1-ease),
              color 160ms var(--ux1-ease),
              background 160ms var(--ux1-ease),
              padding 160ms var(--ux1-ease);
}

/* Your existing “always-float” behavior */
#checkout-step-1 .input-box input ~ span,
#checkout-step-1 .input-box textarea ~ span{
  transform: translateY(-26px);
  background: rgba(255,255,255,0.92);
  padding: 0 8px;
  border-radius: 999px;
  color: var(--ux1-muted);
}

/* Focus state for label */
#checkout-step-1 .input-box input:not(#calendar):focus ~ span,
#checkout-step-1 .input-box textarea:focus ~ span{
  color: var(--ux1-accent-3);
  background: rgba(175,225,175,0.16);
}

/* ------------------------------------------------------------------------
   Airbnb-ish dropdown (native select in wrapper)
   - Smooth hover, focus ring, icon rotate, “sheen” animation
   ------------------------------------------------------------------------ */
#checkout-step-1 .airbnb-field{
  width: 100%;
}

#checkout-step-1 .airbnb-field label{
  display:block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ux1-muted);
  margin-bottom: 8px;
}

#checkout-step-1 .airbnb-select{
  position: relative;
  width: 100%;
  border-radius: var(--ux1-radius-md);
  border: 1px solid var(--ux1-border-2);
  background: var(--ux1-surface-solid);
  box-shadow: var(--ux1-shadow-xs);
  overflow: hidden;
  transition: border-color 180ms var(--ux1-ease),
              box-shadow 180ms var(--ux1-ease),
              transform 180ms var(--ux1-ease),
              background 180ms var(--ux1-ease);
}

/* sheen pass on hover */
#checkout-step-1 .airbnb-select::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg, transparent 0%, rgba(175,225,175,0.14) 50%, transparent 100%);
  transform: translateX(-70%);
  transition: transform 520ms var(--ux1-ease);
  pointer-events:none;
}

#checkout-step-1 .airbnb-select:hover{
  border-color: rgba(58,122,58,0.35);
  transform: translateY(-1px);
  box-shadow: var(--ux1-shadow-sm);
}

#checkout-step-1 .airbnb-select:hover::before{
  transform: translateX(70%);
}

/* “Open vibe” animation on focus (wrapper pop + icon rotate) */
@keyframes uxSelectPop{
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-1px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

#checkout-step-1 .airbnb-select:focus-within{
  border-color: rgba(58,122,58,0.55);
  box-shadow: var(--ux1-ring);
  animation: uxSelectPop 260ms var(--ux1-ease);
}

#checkout-step-1 .airbnb-select select{
  width: 100%;
  padding: 14px 44px 14px 14px;
  font-size: 1.55rem;
  border: none;
  outline: none;
  background: transparent;
  color: var(--ux1-text);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  line-height: 1.2;
}

/* Icon */
#checkout-step-1 .airbnb-select__icon{
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(22,33,22,0.62);
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  transition: transform 240ms var(--ux1-ease), color 240ms var(--ux1-ease);
}

#checkout-step-1 .airbnb-select:focus-within .airbnb-select__icon{
  transform: translateY(-50%) rotate(180deg);
  color: rgba(58,122,58,0.88);
}

/* Best-effort option styling (works inconsistently across OS/browsers) */
#checkout-step-1 .airbnb-select select option{
  color: var(--ux1-text);
}

/* ------------------------------------------------------------------------
   Price & details (safe: not touching step buttons)
   ------------------------------------------------------------------------ */
#checkout-step-1 #price{
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  padding: 14px;
  border-radius: var(--ux1-radius-lg);
  border: 1px solid rgba(175,225,175,0.45);
  background: linear-gradient(135deg, rgba(175,225,175,0.18), rgba(255,255,255,0.96));
  box-shadow: var(--ux1-shadow-xs);
  color: var(--ux1-accent-3);
}

#checkout-step-1 #toggle-price-list-btn{
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--ux1-radius-md);
  border: 1px solid var(--ux1-border-2);
  background: #fff;
  color: var(--ux1-text);
  font-weight: 800;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--ux1-shadow-xs);
  transition: transform 180ms var(--ux1-ease),
              box-shadow 180ms var(--ux1-ease),
              border-color 180ms var(--ux1-ease),
              background 180ms var(--ux1-ease);
}

#checkout-step-1 #toggle-price-list-btn:hover{
  background: rgba(175,225,175,0.12);
  border-color: rgba(58,122,58,0.35);
  transform: translateY(-1px);
  box-shadow: var(--ux1-shadow-sm);
}

#checkout-step-1 #toggle-price-list-btn:active{
  transform: translateY(0);
}

#checkout-step-1 #price-list{
  margin-top: 10px;
  list-style: none;
  padding: 10px;
  border-radius: var(--ux1-radius-md);
  border: 1px solid rgba(175,225,175,0.35);
  background: rgba(255,255,255,0.96);
  box-shadow: var(--ux1-shadow-xs);
}

#checkout-step-1 #price-list li{
  font-size: 1.45rem;
  color: var(--ux1-muted);
  padding: 8px 10px;
  border-bottom: 1px dashed rgba(175,225,175,0.35);
}

#checkout-step-1 #price-list li:last-child{
  border-bottom: none;
}

/* Currency box */
#checkout-step-1 .currency-toggle-container{
  padding: 12px 14px;
  border-radius: var(--ux1-radius-md);
  border: 1px solid rgba(175,225,175,0.35);
  background: rgba(255,255,255,0.90);
  box-shadow: var(--ux1-shadow-xs);
}

#checkout-step-1 #currency-message{
  display:block;
  font-size: 1.35rem;
  color: var(--ux1-muted);
  line-height: 1.35;
}

/* Errors */
#checkout-step-1 .form-error-message{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: var(--ux1-radius-md);
  border: 1px solid rgba(180,35,36,0.25);
  background: rgba(255,240,240,0.92);
  color: var(--ux1-danger);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--ux1-shadow-xs);
}

#checkout-step-1 .form-error-message .error-icon{
  color: #ff4d4f;
  flex-shrink: 0;
}

/* Honeypot */
#checkout-step-1 .hp-field{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* ------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */
@media (max-width: 900px){
  #checkout-step-1 .contact-form{ max-width: 680px; }
}

@media (max-width: 700px){
  #checkout-step-1 .form-row--2{ grid-template-columns: 1fr; }
  #checkout-step-1 .contact-form{
    padding: 16px;
    border-radius: var(--ux1-radius-lg);
  }
}

/* ========================================================================
   END OF NEW UX (Step 1)
   ======================================================================== */









   /* =========================================================
   FORCE SINGLE SCROLL (form.php) — override style.css
   Paste at the VERY END of form.css
========================================================= */

/* =========================================================
   FORM.PHP — FIX SCROLL (single scroll container) + scrollbar skin
   Paste at the VERY END of form.css
========================================================= */

/* 1) Single source of scroll: SCROLL ON HTML */
html{
  overflow-y: auto !important;     /* tady se bude scrollovat */
  overflow-x: hidden !important;
  height: 100% !important;

  /* zachovej tvoje nastavení font-size */
  font-size: 62.5% !important;

  /* Firefox scrollbar */
  scrollbar-color: var(--main-color) var(--white) !important;
  scrollbar-width: thin !important;
}

/* body nesmí vytvářet druhý scroll */
body{
  overflow: visible !important;    /* body ne-scrolluje, jen obsah */
  height: auto !important;
  min-height: 100% !important;
}

/* 2) WebKit/Blink scrollbar — dáme na HTML (to je scroll container) */
html::-webkit-scrollbar{
  width: 1rem !important;
}

html::-webkit-scrollbar-track{
  background-color: var(--white) !important;
}

html::-webkit-scrollbar-thumb{
  background-color: var(--main-color) !important;
  border-radius: 999px !important;
  border: 2px solid var(--white) !important;
}

html::-webkit-scrollbar-thumb:hover{
  background-color: var(--nl-accent) !important;
}

/* 3) (pojistka) aby žádný wrapper neudělal vlastní scroll bar */
.contact-form,
.form-wrapper,
.container_form,
.table_container,
section{
  overflow: visible !important;
  max-height: none !important;
}
