body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff0f5;
  margin: 0;
  padding: 0;
  font-weight:800;
  font-size:20px ;
}

.nav-button{
  display:none;
}

.container {
  max-width: 85vw;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  border-radius: 12px;
}

h1, h2 {
  text-align: center;
  color: #a64ca6;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #e8c0d5;
}

th, td {
  padding: 12px;
  text-align: center;
  border: 1px solid #f3cce1;
}

th {
  background-color: #fcdff2;
  color: #8e3c99;
}

td {
  background-color: #fef7fb;
  transition: background 0.3s;
}

.slot.available {
  background-color: #f9d9ec;
  color: #a13883;
  cursor: pointer;
}

.slot.available:hover {
  background-color: #f2b6da;
}

.slot.unavailable {
  background-color: #dab6f7;
  color: #6d3c8f;
  cursor: not-allowed;
}


/* Responsive view */
@media (max-width: 768px) {
  .table-scroll-container {
    overflow: hidden; /* отключаем горизонтальный скролл */
  }

  .nav-button {
    display:block;
    width: 32px;
    height: 32px;
    font-size: 20px;
    line-height: 28px;
    opacity: 0.7;
  }

  th, td {
    font-size: 22px;
    padding: 6px;
  }
}

.slot.selected {
 
  background-color: #fce0f5 !important;
}
.procedure-container {
  margin-top: 40px;
  text-align: center;
}

.procedure-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.procedure-btn {
  background-color: #f8d0e5;
  border: none;
  color: #a13883;
  padding: 10px 20px;
  font-size: 1.2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.procedure-btn:hover {
  background-color: #f2a6cd;
}

.procedure-btn.selected {
  background-color: #d083b4;
  color: #fff;
  font-weight: bold;
}

.booking-form {
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  background-color: #fff0f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.booking-form h2 {
  text-align: center;
  color: #a13883;
}

.booking-form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #6d3c8f;
}

.booking-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2b8d0;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 1rem;
}

.booking-form button {
  margin-top: 20px;
  width: 100%;
  background-color: #c05aa7;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1.2rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.booking-form button:hover {
  background-color: #a44b94;
}

.confirmation-msg {
  text-align: center;
  margin-top: 20px;
  color: #5e246c;
  font-weight: bold;
}
.booking-form {
  margin: 40px auto;
  padding: 20px;
  border-radius: 12px;
  background-color: #fff0f7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  box-sizing: border-box;
  width: 100%;
}

.booking-form input {
  width: 100%;
  padding: 10px;
  border: 1px solid #e2b8d0;
  border-radius: 8px;
  margin-top: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .procedure-buttons {
    flex-direction: column;
    align-items: center;
  }

  .procedure-btn {
     background-color: #fff0f8;
     width: 90%;
     box-shadow: rgba(100, 100, 111, 0.2) 0px 1px 0px 0px;
  }
}
.table-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.table-scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
}

.table-container {
  min-width: 600px;
  width: 100%;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fffafd;
  box-shadow: 0 4px 12px rgba(190, 132, 190, 0.2);
}

th, td {
  text-align: center;
  padding: 10px;
  border: 1px solid #f2c8e4;
  font-size: 0.9rem;
}

th {
  background-color: #f4e6fc;
  color: #80397d;
}

td {
  background-color: #fce9f5;
}

.slot.available {
  background-color: #fbeeff;
  color: #8b2c79;
  cursor: pointer;
  transition: 0.2s;
}

.slot.available:hover {
  background-color: #f8bde3;
}

.slot.unavailable {
  background-color: #e0cde1;
  color: bisque;
}

.slot.selected {
  background-color: #d083b4 !important;
  color: #fff;
}

.nav-button {
  position: absolute;
  top: 0.8vh;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(200, 100, 180, 0.6);
  border: none;
  font-size: 1.8rem;
  color: red;
  font-weight: 800;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.nav-button:hover {
  background-color: rgba(200, 100, 180, 0.9);
}

.prev-day {
  
  left: 20vw;
}

.next-day {
  
  right: 10vw;
}

/* Responsive */
@media (max-width: 768px) {
  
  .table-container table {
  
  max-width:30vw;
  }

  th, td {
    width:auto;
    font-size: 1.1rem;
    padding: 8px;
  }
}

/*contact icons*/

.contact-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-icons .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d64fa2, #8a2be2);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-icons .icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(214, 79, 162, 0.6);
}

.contact-icons .icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* белые иконки на фоне */
}
.contact-icons .icon.whatsapp {
  background: #25D366; /* фирменный зелёный */
}

.contact-icons .icon.whatsapp:hover {
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6);
}

.contact-icons .icon.home {
  background: #FADADD; /*  */
}

.contact-icons .icon.home:hover {
  box-shadow: 0 4px 12px rgba(250,218,221, 0.6);
}
.contact-icons .icon.write {
  background: #7A3734; /*  */
}

.contact-icons .icon.home:hover {
  box-shadow: 0 4px 12px rgba(122, 55, 52, 0.6);
}
input[type="surname"]{
display:none;
}
input[type="text"],
input[type="name"],
input[type="tel"],
input[type="email"] {
  border: 2px solid #eac6e9; /* мягкий розовый по умолчанию */
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 20px;
  outline: none;
  transition: all 0.3s ease;
  background-color: #fffafc;
  box-shadow: none;
}


input[type="text"]:hover,
input[type="name"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover {
  border-color: #d58bd5; 
  background-color: #fff5fc;
}


input[type="text"]:focus,
input[type="name"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
  border-color: #a13883; 
  box-shadow: 0 0 0 4px rgba(161, 56, 131, 0.15); 
  background-color: #fff0fa;
}
.whatsapp-box{
  box-shadow: rgba(100, 100, 111, 0.2) 0px 2px 2px 2px;
  background-color: #fafefa; padding-bottom:20px;
  text-align:center;border:2px solid #a13883; border-radius: 10px;
}