@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@400;700;900&display=swap');




html{
  background: #121212 center center / cover;
  scroll-behavior: smooth;
  font-family: "Mukta";
  
}



body {
      margin: 0rem;
      padding: 0.3rem;
      padding-top: 0rem;
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      place-items: center;

}

body.client{
  background: repeating-linear-gradient(-30deg, #222 0px 3px, #2c2c2c 3px 6px);
}


h2 {
      text-align: center;
}

.day-slot-container{
    background: rgba(18, 18, 18, 0.78); /* csak háttér áttetsző */
    /*background: linear-gradient(to bottom, #080808, #212121);*/
    padding: 0 0.5rem 2rem 0.5rem;
    border-radius: 1rem;
    border: 1px solid #2a2a2a;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); /* subtle but effective */

  }
   
/* Responsive Service Container */
.service-container {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
   gap: 1rem;
   width: 100%;
   max-width: 900px;
   margin: 0 auto;
   margin-top: 1rem;
   text-align: center;
   justify-items: center;
 }
 
 /* Individual Service Card */
 .service-card {
   background: #f4f4f4;
   width: 100%;   
   min-width: 300px;
   box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);  
   text-align: center;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
 }
 
.service-card.deactivated{
  opacity: 0.8;
}


 .service-card:hover {
   transform: translateY(-5px); 
   transition: transform 0.3s ease;


 }
 /* Service Image */
 .service-card .image-container img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  object-fit: cover;

}
 
/* Alapértelmezett (webes) nézet – nincs lekerekített bal felső sarok */
.service-card,
.service-card img {
  border-radius: 0.8rem;
}

.service-card img {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

}



@media (max-width: 900px) {
  .service-card {
    border-radius: 0.8rem;
    border-top-left-radius: 0.8rem;
  }

  .service-card img {
    border-top-left-radius: 0.8rem;
    border-top-right-radius: 0.8rem;

  }
}

.button-icon img{
  border-radius: 0;
}

.service-card .image-container{
  padding: 0;
}



.service-card .details-container{
    padding: 1.5rem;
    display: flex;
    flex-direction: column; 
    justify-content: space-between; 
    height: 100%; 
  
}

 /* Service Name */
 .service-card .details-container h3 {
   font-size: 1.5rem;
   margin: 0.7rem 0;
 }
 
 /* Service Description */
 .service-card .description {
   font-size: 1.1rem;
   color:#222831;
   text-align: start;
 }
 
 /* Service Price */
 .service-card .price {
   margin-top: auto; /* Pushes the price to the bottom */
   padding: 1rem 0.5rem;
   font-weight: bold;
   font-size: 1.2rem;
   color: #222831;
   text-transform: uppercase;
 }
 
 /* Ensures the button stays at the bottom */
 .service-button {
   margin-top: auto; /* Pushes the button to the bottom */
   padding: 0.8rem 1rem 0.7rem 0.5rem;
   background-color: #07aaa4;
   color: #f4f4f4;
   border: none;
   cursor: pointer;
   font-size: 1.2rem;
   width: 100%;
   border-radius: 0.8rem;
   border-top-left-radius: 0;
   text-transform: uppercase;
   font-weight: 800;
   text-align: center;
   align-items: center; 
   justify-content: space-between; 
  

 }
 .service-button:hover {
  background-color: #55c2da;
  transition: all 0.3s ease-in-out;

}


 .button-content {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.button-text {
  display: inline-flex;
  align-items: center;
  margin: auto;
}
 

 
 .service-button-container{
  padding: 0 0 0 2rem;
  background-color: #55c2da; 
  border-radius: 0.8rem;
  border-top-left-radius: 0.3rem;

 }
 
     /* Slot Selection */
     .slot-container {
       padding-top: 0;
       width: 100%;
       max-width: 600px;
       display: flex;
       flex-direction: column;
       align-items: center;
       text-align: center;
     }
 
     .slot-container h3 {
       text-align: center;
       font-size: 1.4rem;

     }
 
     .slot-container h2 {
       top: 0em;
       margin-top: -0.3rem;
       padding: 0.5em 0 0.8rem 0;
       text-align: center;
       font-size: 1.5rem;
       /*background: linear-gradient(#00b2ca 0%, #007ea7 100%); #55c2da; #ee1be #ff5500*/
       color:#D0F0C0; /*#5adbb5*/
   
     }

   .slot-instruction{
    margin-top: 3rem; 
    padding: 0 1.5rem 0 1.5rem;
   }

   span.button-icon{
    margin-top: 0.2rem;
   }
 
     .selected-service-header-booking-form {
      background: #121212;
      opacity: 0.78;
      margin-top: -1rem;
      padding: 2.5rem 1rem 1rem 1rem;
      border-bottom-left-radius: 0.8rem;
      border-bottom-right-radius: 0.8rem;
      color: #f4f4f4;
      font-size: 1.5rem;
      font-weight: bold;
      border: 2px solid #209cb4;


     }

   

     .slot-grid {
       display: grid;
       grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
       gap: 0.8rem;
       width: 100%;
     }
 
     h3.slotDateHeader{
       margin-top: 1rem;
       margin-bottom: 0.7rem;
       padding-top: 1rem;
       color: #f4f4f4;;
     }
 
 
 /* #75dddd; #aaf66e; */
     .slot-button {
       width: 100%;
       max-width: 400px;
       padding: 0.2rem;
       margin: 0.2rem auto;
       background-color: #D0F0C0;  
       color: #222831;
       border: none;
       cursor: pointer;
       font-size: 1.7rem;
       font-weight: bold;
       text-align: center;
       border-radius: 0.7rem;
       font-family: Mukta;
       transform: translateY(8px);
       transition: opacity 0.5s ease-out, transform 0.5s ease-out;
     
 
     }

     .slot-button:hover{
      background-color: #5adbb5;
     }

     .slot-button.small{
      width:28%;
      margin: 0.4rem;
     }

     @media (prefers-color-scheme: light) {
      .slot-button.small {
        background-color: #D0F0C0;
        color: #222831;
      }
    
      .slot-button.small:hover {
        background-color: #5adbb5;
      }
    }


    @media (prefers-color-scheme: dark) {
      .slot-button.small {
        background-color: #D0F0C0;
        color: #222831;
      }
    
      .slot-button.small:hover {
        background-color: #5adbb5;
      }
    }

     .slot-button.selected{
      width:60%;
      margin: 0.2rem;
      background-color: #00C896;
      cursor: not-allowed;

     }
 
     .slot-button:hover {
       color: #222831;
       transform: scale(0.95);
 
     }

     .slot-button.partner{
      background-color: #eff6bb;     
      color: #888888;
      }
 
     .partnerProviderData {
        position: absolute;
        right: 0.7rem;
        top: 80%;
        transform: translateY(-50%);
        font-style: oblique;
        font-size: 0.35rem;
        background-color: transparent;
        border-radius: 0.9rem;
        color: #222831;
        font-weight: bold;
        padding: 0.2rem 0.3rem;
        white-space: nowrap;
        font-family: Mukta;
      }


     /* Booking Form */
     .booking-form, .cancel-form{
       display: none;
       width: 100%;
       max-width: 400px;
       background: #FFD700;
       /*background: linear-gradient(to bottom, #fff200, #d8f407d9);*/
       padding: 2rem 0;
       border-radius: 0.8rem;
       box-shadow: 0 4px 12px rgba(0,0,0,0.1);
     }

     .cancel-form{
      margin-top: 2rem;
      display: block;
      /*border-bottom-right-radius: 2rem;
      border-bottom-left-radius: 2rem;*/
     }
 
     .booking-form input, .booking-form button, .cancel-form button {
       padding: 0.8rem;
       margin: 0.3rem auto;
       border: 2px solid #07aaa4;
       border-radius: 0.5rem;
       font-size: 1.1rem;
       display: block;
       width: 60%;
       font-family: Mukta;

 
     }

     .booking-form input:focus, .booking-form button:focus, .cancel-form button:focus {
      outline: none; 
  }
 
     .booking-form button, .cancel-form button{
       background-color: #080808;
       color: #f4f4f4;
       cursor: pointer;
       font-weight: bold;
       width: 40%;
       margin: 1.5em auto;
       display: block;
       text-transform: uppercase;
       border: 0;
       border: 1px solid #080808;
       box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
       transition: background-color 0.3s ease, color 0.3s ease;

     }
 


    .booking-form button:disabled, .cancel-form button:disabled {
       background-color: #f4f4f4;
       color: #080808;
       cursor: not-allowed;
    }


    
 
     ::-webkit-input-placeholder {
   /* Chrome/Opera/Safari */
   color: #888888;
   font-family: Mukta;
   font-size: 1rem;
 }


 .confirmation-data{
   padding: 0 2rem 2rem 2rem;
   text-align: center;
 }
 
 /* Success Message Animation */
 .success-message,.unsuccess-message {
   display: flex;
   justify-content: center;
   align-items: center;
   background-color: transparent;
   text-align:center;
   margin: 0 auto;
   padding: 2rem;
   border-radius: 0.5rem;
   font-size: 1.2rem;
   font-family: Mukta;
   animation: fadeIn 2s ease-in-out;
 }
 


 .success-tick, .unsuccess-x  {
   animation: tickAnimation 2s ease-in-out;
 }

 .confirmation-text{
  text-align: center;
 }

 .confirmation-text a,
 .confirmation-data a {
   text-align: center;
   background-color: transparent;
   color:#222831;
   padding: 0.3rem 0.7rem;
   border-radius: 0.5rem;
   margin: 0.5rem auto;
   display: inline-block;
   font-weight: bold;
 }
 
 a {
  text-decoration: none;
  color: #f4f4f4;
 }

@keyframes tickAnimation {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .service-button, .slot-button {
        width: 100%;
      }
    }

    footer {
      clear: both;
      position: fixed;
      padding-top: 1rem;
      left: 0;
      bottom: 0;
      width: 100%;
      text-align: center;
      background: linear-gradient(to bottom, #1a1a1a, #080808);
      font-size: 1.4rem;
      border-top: #222 solid;

    }

    footer p{
      margin: 0;
    }

    .copyright{
      font-size:0.9rem;
      color:#f4f4f4;
      line-height: 1.2;
      margin-bottom: 0.5rem;
    }

  footer .copyright a {
    font-size: 0.95rem;
  }

   .nosetup{
    text-align:center;
    font-size: 1.3rem;
    color:#f4f4f4;
  }

  a.lightBgLink{
    color:#222831;
    text-decoration: none;
  }

  .terms-container{
    text-align: left;
    margin: 0.5rem 2rem;
    padding: 1rem 1rem 1rem 1.8rem;
    width: 60%;
  }

  .terms-container a{
    font-weight: 800;
  }



  .checkbox.style-b {
    display: inline-block;
    position: relative;
    padding-left: 44px; /* nagyobb hely a nagyobb négyzetnek */
    cursor: pointer;
    user-select: none;
  }
  
  .checkbox.style-b input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  .checkbox.style-b input:checked ~ .checkbox__checkmark {
    background-color: #f4f4f4;
  }
  
  .checkbox.style-b input:checked ~ .checkbox__checkmark:after {
    opacity: 1;
  }
  
  .checkbox.style-b:hover input ~ .checkbox__checkmark {
    background-color: #eee;
  }
  
  .checkbox.style-b:hover input:checked ~ .checkbox__checkmark {
    background-color: #f4f4f4;
  }
  
  .checkbox.style-b .checkbox__checkmark {
    position: absolute;
    left: 0;
    height: 28px; /* nagyobb négyzet */
    width: 28px;
    background-color: #f4f4f4;
    border: 2px solid #333;
    transition: background-color 0.25s ease;
    border-radius: 4px;
  }
  
  .checkbox.style-b .checkbox__checkmark:after {
    content: "";
    position: absolute;
    left: 9px; /* kb. középen kezdjen */
    top: 3px;
    width: 8px;
    height: 16px;
    border: solid #333;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.25s ease;
  }
  
  .checkbox.style-b .checkbox__body {
    color:            #262626;  
    line-height:      1.4;
    font-size:        1rem;
    font-weight:      normal;
  }
  
  @media (prefers-color-scheme: dark) {
    .checkbox.style-b .checkbox__body {
      color:            #262626;
    }
  }
  
  input.submitButton:disabled{
    background-color: #ddd;
    border-color: #aaa;
    cursor: not-allowed;

  }

.brandTitle {
margin-bottom: -0.3rem;  
  }

  .brandTitle span {
    transition: color 0.7s ease-in-out;
  }

  #privacy-policy-content, #terms-of-use-content  {
    display: none;
    margin-top: 2rem;
    background-color: #f4f4f4;
    padding: 3rem;
    border-radius: 5px;
    max-height: 60dvh; 
    box-sizing: border-box;
    text-align: left;
    font-size: 0.9rem;
  }



  @media screen and (max-width: 900px) {
    #privacy-policy-content, #terms-of-use-content {
      display:none;
      margin-top: 1rem;
      padding: 0.5rem;
      font-size: 0.7rem;
      max-height: 80dvh;
    }
    h4 {
      margin-top: 1rem;
    }
  }

a.toggle-description{
  color:#222831;
}


.coolingElement {
  position: relative;
  display: inline-block;
  overflow: hidden;
  cursor: pointer;
  transition: background-color 2s ease-in-out;
}


.coolingElement::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: all 0.3s ease-in-out;
  
}


.coolingElement:hover::before {
  left: 0;
}


.clicked {
  position: relative;
  background-color: rgba(255, 255, 255, 0.2);
  border: 0px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.75em;
  overflow: hidden;
  pointer-events: none;
}

/* The moving dot */
.clicked::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  background: #f4f4f4;
  border-radius: 50%;
  animation: run-border 3s ease-in-out infinite;
}

/* The animation path: top → right → bottom → left → top */
@keyframes run-border {
  0% {
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
  25% {
    top: 0;
    left: 100%;
    transform: translate(-100%, 0);
  }
  50% {
    top: 100%;
    left: 100%;
    transform: translate(-100%, -100%);
  }
  75% {
    top: 100%;
    left: 0;
    transform: translate(0, -100%);
  }
  100% {
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}

/*Calendar styling*/

.month-name-in-button {
  font-size: 0.9rem;
  font-weight: normal;
  text-align: center;
  flex-grow: 1; 
}

.day-number {
  font-size: 1.55rem;
  font-weight: bold;
  text-align: center;
  flex-grow: 1; 
}


#calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-family: Mukta;
  margin: auto;
  margin-bottom: 10dvh;
  width: 90%;
  place-content: center;
}

#calendar .day-name {
  font-weight: bold;
  text-align: center;
  color: #262626;
  background-color:  #55c2da
;
  padding: 0.3rem 0;
  border-radius: 0.2rem;
  font-family: Mukta;

}

#calendar button {
  padding: 0.6rem;
  border: none;
  border-radius: 0.4rem;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
}



.active-day {
  background: #5adbb5;
  color:#222831;
  font-family: Mukta;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.active-day:hover {
  background: #f4f4f4;
  transform: scale(1.03);
}


.inactive-day {
  background: #3d3c3c;
  color: #aaa;
  cursor: none;
  font-family: Mukta;
}

.today{
  color: #121212;
  background-color: #D0F0C0; /*  oklch(65% 0.13 210); #07aaa4;*/
  font-weight: 800;
}





