body {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}

.indexHeader {
  background-color: black;
  padding: 10px;
}

.userName {
  color: white;
  margin-bottom: 10px;
}

.searchBar {
  background-color: rgb(49, 49, 49);
  color: white;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  margin-top: 25px;
}

.searchBar input {
  background-color: transparent;
  border: none;
  outline: none;
  color: white;
  flex: 1;
}

.searchBar input::placeholder {
  font-size: 10px;
}

.box1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.discount {
  background: orange;
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.Percentage2 {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  /* centralizar verticalmente o 30%*/
  font-size: 56px;
  font-weight: bold;
}


.dots {
  display: flex;
  gap: 6px;
  margin-top: 16px;
  justify-content: center;
}

.dot {
  width: 6px;
  height: 6px;
  background-color: rgba(0, 0, 0, 0.285);
  border-radius: 50%;
}

.dotActive {
  background-color: black;
  width: 20px;
  border-radius: 3px;
}

.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 15px;
}

.categoryItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.categoryIcon {
  width: 60px;
  height: 60px;
  background-color: rgb(255, 245, 230);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.categoryIcon i {
  font-size: 24px;
  color: orange;
}

.categoryItem:hover .categoryIcon {
  background-color: orange;
}

.categoryItem:hover .categoryIcon i {
  color: white;
}

.appointments {
  margin-top: 10px;
  padding: 12px;
}

.appointmentsContent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.see {
  color: #FFA726;
  text-decoration: none;
  font-weight: bold;
}

.appointmentsInfo {
  background-color: white;
  border: 1px solid rgb(234, 234, 234);
  border-radius: 12px;
  padding: 12px;
}

.appointmentDetails {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: black;
  text-decoration: none;
}

.reminder {
  display: flex;
  align-items: center;
  gap: 8px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(196, 196, 196);
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked+.slider {
  background-color: #FFA726;
}

input:checked+.slider:before {
  transform: translateX(20px);
  /*mover o circulo para a direita*/
}

hr {
  border-top: 1px solid rgb(238, 238, 238);
}

.barberInfo {
  display: flex;
  gap: 12px;
  align-items: top;
}

.barberImage {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
  /*manter a proporcao da imagem/nao esticar a imagem*/
  margin-top: 18px;
}

.nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: #999;
  flex: 1;
}

.navActiveItem {
  color: orange;
}

.navMainItem {
  background-color: black;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-top: 0px;
}

.appointmentHeader {
  background-color: white;
  padding: 20px 16px 0;
}

.navHeader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
}

.backButton {
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  /*desfocar o fundo que esta atras do botao*/
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: fixed;
}

.backButton:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.appointmentSlider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.appointmentSlider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.appointmentDots {
  position: absolute;
  bottom: 115px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.appointmentDot {
  width: 8px;
  height: 8px;
  background-color: #6b7280;
  border-radius: 50%;
}

.appointmentDot.active {
  background-color: white;
  width: 30px;
  border-radius: 3px;
}

.appointmentInfo {
  background-color: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-top: -80px;
  /*subir a div para ficar sobre a imagem*/
  position: relative;
  /*deixar a div visivel sobre a imagem*/
  z-index: 5;
}

.appointmentHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -20px;
}

.barberShopStatus {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 20px;
}

.barberShopStatus.open {
  background-color: rgb(234, 255, 249);
  color: rgb(2, 194, 137);
  font-weight: bold;
}

.infoButtons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.infoBtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.infoIcon {
  width: 60px;
  height: 60px;
  background-color: rgb(255, 245, 230);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.infoIcon i {
  font-size: 22px;
  color: orange;
}

.infoBtn:hover .infoIcon {
  background-color: orange;
}

.infoBtn:hover .infoIcon i {
  color: white;
}

.specialist {
  margin-bottom: 24px;
  padding: 37px;
}

.specialistHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.specialistBarber {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.specialistImage {
  aspect-ratio: 1;
  border-radius: 10%;
  overflow: hidden;
  border: 2px solid rgb(234, 234, 234);
  padding: 25px;
}

.specialistImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bookNow {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0 90px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 100%;
  height: 7%;
}

.bookNowButton {
  width: 82%;
  padding: 16px;
  background: orange;
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: -70px;
  height: 70px;
}

.bookingHeader {
  background-color: white;
  padding: 20px 16px 0;
}

.bookingTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bookingIcons {
  display: flex;
  gap: 5px;
}

.iconButton {
  width: 40px;
  height: 60px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.iconButton:hover {
  background-color: rgb(245, 245, 245);
}

.bookingNav {
  display: flex;
  gap: 8px;
  padding-bottom: 16px;
}

.bookingBtn {
  flex: 1;
  padding: 10px 16px;
  background: none;
  border: none;

  color: rgb(179, 179, 179);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.bookingBtn.active {
  color: orange;
  border-bottom: 4px solid orange;
  font-weight: bold;
}

.bookingBtn:hover {
  background-color: rgb(245, 245, 245);
}

.booking {
  padding: 20px 16px;
}

.completedBooking {
  background-color: white;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid rgb(234, 234, 234);
}

.bookingDetails {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.bookingStatus {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.bookingStatus.completed {
  background-color: rgb(31, 195, 165);
  color: white;
}

.bookingStatus.upcoming {
  background-color: rgb(33, 150, 243);
  color: white;
}

.bookingStatus.canceled {
  background-color: rgb(244, 67, 54);
  color: white;
}

.bookingInfo {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 8px;
  flex: 1;
}

.bookingInfo p {
  color: rgba(111, 111, 111)
}

.bookingImage {
  width: 90px;
  height: 125px;
  border-radius: 8px;
  object-fit: cover;
}

.receiptBtn {
  width: 100%;
  padding: 14px;
  background-color: transparent;
  border: 2px solid orange;
  border-radius: 12px;
  color: orange;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.receiptBtn:hover {
  background-color: orange;
  color: white;
}