
.dressup {
  width: 100%;
  min-height: 100%;
  padding: 10px;

  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #533632;
}
.dressup__content {
  width: 100%;
  min-height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dressup__content__logo {
  width: 300px;
}
.dressup__content__logo img {
  width: 100%;
}
.product_sections__select {
  height: 30px;
}
.dates_range {
  color: #fff;
}
.heading_h1, .search_fields, .dates_range, .product_sections, #products_table {
  margin: 5px 0;
}
.heading_h1 {
  font-size: 30px;
  color: #fff;
  text-transform: uppercase;
}
.heading_h2 {
  font-size: 25px;
  color: #fff;
}
.label_span {
  color: #fff;
  display: inline-block;
  font-size: 20px;
  margin-right: 5px;
  width: 260px;
}
.filters {
  display: flex;
  flex-direction: column;
}
table {
  border-collapse: collapse;
}
table, th, td {
  border: 1px solid black;
  background-color: #fff;
}
th, td {
  padding: 8px;
  text-align: center;
  color: #000;
}
.table_heading th {
  text-align: center;
}
.product_name_btn {
  color: #000;
}
.product_details__content__info__logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
}
.product_details__content__info__logo img {
  width: 50%;
  border-radius: 25px;
}
.orange_btn {
  background-color: rgb(255, 157, 0);
}
.clear_filters_btn {
  background-color: rgb(242, 62, 62);
  width: 200px;
  align-self: center;
}
button {
  background: none;
  padding: 5px;
  border: 1px solid black;
  border-radius: 10px;
  margin: 5px 0;
  transition: .3s;
  color: #000;
}
button:hover {
  background-color: #8e8e8e;
}

input {
  font-size: 16px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  padding: 5px;
}
input:focus {
  border: 2px solid rgba(0, 0, 0, 1);
}

.buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.create_deal_form_block {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product_details {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: rgba(0, 0, 0, 0.8);

  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
.product_details__content__calendar_day {
  background-color: #fff;
  color: #000;
}
.product_details__content {
  width: 80%;
  height: 80%;

  padding: 15px;

  position: relative;

  display: flex;
  flex-direction: row;
  justify-content: center;

  background-color: #533632;

  border-radius: 25px;
  color: #fff;
}

.product_details__content__info {
  max-width: 40%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin: 0 15px 0 0;
}
.product_details__content__product_name {
  font-size: 25px;
  display: flex;
  flex-direction: column;
}
.product_details__content__product_description {
  font-size: 15px;

  margin: 5px 0;
}
.product_details__content__product_image {
  width: 100%;
  max-height: 60%;

  display: flex;
  align-items: center;
  justify-content: start;
}
.product_details__content__product_image img {
  max-height: 100%;
  border-radius: 15px;
  width: 100%;
}

.product_details__content__calendar {
  display: flex;
  flex-direction: column;
}
.product_details__content__calendar_monthes {
  margin-bottom: 10px;

  display: flex;
  flex-direction: row;
  align-items: center;
}
.product_details__content__calendar_monthes__month_picker {
  border: 1px solid black;

  height: 50px;

  padding: 5px;

  font-size: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;

  transition: .3s;
  flex-grow: 1;
}
.product_details__content__calendar_monthes__year_picker {
  border: 1px solid black;
  
  height: 50px;

  font-size: 20px;
  border-radius: 20px;
}
.product_details__content__calendar_month:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
}

.product_details__content__calendar_days {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.product_details__content__calendar_days__week {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;

  margin: 5px 0;
}
.product_details__content__calendar_day {
  margin: 0 5px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  border-radius: 15px;
  cursor: pointer;
  transition: .3s;
  position: relative;
  font-size: 20px;
}
.tooltip {
  position: absolute;
  bottom: -100%; /* Position the tooltip above the day element */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px;
  background-color: aqua;
  color: #000;

  border-radius: 5px;

  white-space: nowrap;

  display: flex;
  align-items: center;
  justify-content: center;
  
  z-index: 10; /* Ensure the tooltip appears above other elements */
}
.product_details__content__calendar_day:hover {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.booked {
  background-color: rgb(255, 157, 0);
}
.wedding {
  background: none;
  border: none;
  position: relative;
  width: 40px;
  height: 40px;
  margin-top: 10px;
}

.wedding::before, .wedding::after {
  content: "";
  position: absolute;
  top: -5px;
  width: 25px;
  height: 40px;
  border-radius: 50px 50px 0 0;
  background: rgb(242, 62, 62);
  transition: .3s;
}

.wedding::before {
  left: 25px;
  transform: rotate(-45deg);
  transform-origin: 0 100%;
}

.wedding::after {
  left: 2px;
  transform: rotate(45deg);
  transform-origin: 100% 100%;
}
.selected {
  background-color: rgba(0, 0, 0, 0.5);
}
.wedding>.selected {
  background: none;
  border: none;
}
.wedding:hover {
  background: none;
}
.wedding:hover::before {
  animation: pulse 1.5s infinite;
}
.wedding:hover::after {
  animation: pulse-after 1.5s infinite;
}
.wedding:hover span {
  animation: move-text 1.5s infinite;
}

.wedding span {
  z-index: 1;
  color: #fff;
  position: absolute;
  top: -5px;
  left: 20px;
}
.selected_section {
  background-color: rgba(8, 156, 55, 0.5);
}
.section_btn {
  margin: 0 5px;
}

.close_btn {
  position: absolute;
  right: 20px;
  top: 20px;

  background-color: rgba(255, 255, 255);
  color: #000;
  transition: .3s;
  font-size: 25px;

  border-radius: 25px;
  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}
.close_btn:hover {
  background-color: #000;
  color: #fff;
}
.hidden {
  display: none;
}

.possible_contacts {
  width: 100%;
  max-height: 100px;
  overflow-y: scroll;
}
.possible_contact {
  width: 100%;
}
.possible_contact:hover {
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.3);
}

.w-auto {
  width: auto;
}
.small {
  width: 200px;
}
.medium {
  width: 400px;
}



.add_product_btn, #create_deal {
  background-color: rgb(255, 157, 0);
  padding: 15px;
  font-size: 20px;
  cursor: pointer;
  transition: .3s;
}
.add_product_btn:hover, #create_deal:hover {
  background-color: rgb(16, 144, 16);
}

.selected {
  background-color: rgb(4, 176, 73);
}
.hidden {
  display: none;
}

@keyframes pulse {
  0% {
    transform: scale(1) rotate(-45deg); /* Учитываем начальное вращение для ::before */
  }
  50% {
    transform: scale(1.5) rotate(-45deg); /* Учитываем начальное вращение для ::before */
  }
  100% {
    transform: scale(1) rotate(-45deg); /* Учитываем начальное вращение для ::before */
  }
}
@keyframes pulse-after {
  0% {
    transform: scale(1) rotate(45deg); /* Учитываем начальное вращение для ::after */
  }
  50% {
    transform: scale(1.5) rotate(45deg); /* Учитываем начальное вращение для ::after */
  }
  100% {
    transform: scale(1) rotate(45deg); /* Учитываем начальное вращение для ::after */
  }
}
@keyframes move-text {
  0% {
    top: -5px;
    left: 21px;
    font-size: 20px;
  }
  50% {
    top: -20px;
    left: 17px;
    font-size: 25px;
  }
  100% {
    top: -5px;
    left: 21px;
    font-size: 20px;
  }
}