:root {
  --primary: #3861c9;
  --secondary: #141515;
  --text: #000;
  --navbar-menu: #b3b3b3;
  --white: #fff;
  --navbar-menu-hover: #9b8b12;
  --footer: #000;
  --border-color: #737373;
  --shadow-color: #c6c6c6;
  --owner-link: #003cb1;
}

.court-booked-image-container {
  clip-path: polygon(0% 0%, 100% 0, 76% 49%, 100% 100%, 0% 100%);
}

.view-booking-page {
  padding: 110px 120px;
  background-image: url("../images/Sports.png");
}

.star-rating {
  width: 25px;
  height: 25px;
}

.court-booked-details-container {
  display: flex;
  flex-direction: column;
  margin: 0 10px;
}

.help-btn {
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  padding: 3px 3px;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}

.help-btn-content {
  border-radius: 50%;
  padding: 0px 7px;
  background-color: var(--text);
  border: 3px solid var(--white);
  color: var(--white);
  font-size: 12px;
}

.booked-items-container {
  position: relative;
}

.owner-name-link {
  color: var(--owner-link);
  font-weight: 600;
}

.court-booked-card {
  display: flex;
  flex: 1;
}

.court-booked-details-container {
  flex: 0.6;
}

.amount-paid-container {
  color: #28a000;
  font-size: 20px;
  font-weight: bold;
}

.amount-paid-container span {
  color: var(--text);
  font-size: 20px;
}

.submit-btn-date-filter {
  border-radius: 5px;
  border: 1px solid #3861c9 !important;
  background-color: #3861c9;
  padding: 5px 30px;
  font-size: 16px;
  color: #fff;
}

.submit-btn-date-filter-view-booking {
  border-radius: 5px;
  border: 1px solid #3861c9 !important;
  background-color: #3861c9;
  padding: 7px 13px;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.submit-btn-date-filter:hover {
  transition: 300ms;
  box-shadow: 0px 4px 6px -1px #737373;
}

.booked-card {
  box-shadow: 0px 0px 5px #c6c6c6;
  padding: 10px;
  background-color: #fff;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px !important;
}

.rating-container {
  display: flex;
  width: 100% !important;
  justify-content: start;
  border: none !important;
}

.caption {
  display: none !important;
}

.payment-method-ratings-review-container {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  margin-right: 20px;
  justify-content: space-between;
  flex: 0.5;
}

.booked-court-image {
  height: auto;
  width: 450px;
}

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

#w0 {
  width: 100%;
}

.rate-review-button-container {
  background-color: var(--text);
  color: var(--white);
  padding: 6px;
  border-radius: 5px;
}

.rating-container {
  font-size: 28px;
  border-radius: 10px;
  border: 5px solid var(--primary);
  margin: 5px 0;
}
.booked-card {
  margin-bottom: 20px;
}

.view-booked-items-btn {
  cursor: pointer;
}

@media screen and (max-width: 1150px) {
  .court-booked-image-container {
    clip-path: none;
  }
}

@media screen and (max-width: 1024px) {
  .court-booked-card {
    flex-direction: column;
  }
}

@media screen and (max-width: 1024px) {
  .court-booked-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .booked-court-image {
    width: 100%;
  }
  .payment-method-ratings-review-container {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .amount-paid-container {
    margin-top: 20px !important;
  }
  .court-booking-details-section {
    justify-content: space-between !important;
  }
  .court-booking-details-section div {
    margin-right: 15px;
  }
}

.from-date {
  border: 1px solid #c6c6c6 !important;
  border-radius: 5px;
  outline: none;
  font-size: 12px;
  width: 100%;
  padding: 0 0;
  /* padding-left: 10px; */
  margin: 5px 0 !important;
}

#date1 {
  margin-left: 10px;
}
#date2 {
  margin-left: 10px;
}

.date-container {
  font-size: 16px;
}

@media screen and (max-width: 575px) {
  .date-container {
    padding: 0 !important;
    margin: 5px 10px !important;
  }
  .submit-btn-date-filter {
    width: 100%;
  }
  .submit-fiter-btn-container {
    margin: 10px 10px !important;
  }
  #date1 {
    margin-left: 10px;
  }
  #date2 {
    margin-left: 10px;
  }
}

@media screen and (max-width: 400px) {
  .date-container {
    padding: 0 !important;
    margin: 5px 0px !important;
  }
  .submit-btn-date-filter {
    width: 100%;
  }
  .submit-fiter-btn-container {
    margin: 10px 0px !important;
  }
  #date1 {
    margin-left: 10px;
  }
  #date2 {
    margin-left: 10px;
  }
}

/* ::-webkit-inner-spin-button,
::-webkit-calendar-picker-indicator {
    display: block;
    background-image: url('../images/calendar.png');
    background-position-x: 0px;
    width: 20%;
} */

.no-view-booking-found-container {
  height: 50vh !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.to-date {
  border-radius: 5px;
  border: 1px solid #c6c6c6 !important;
  padding: 0 0;
  /* padding-left: 20px; */
  outline: none;
  width: 100%;
  font-size: 12px;
  margin: 5px 0 !important;
}

.court-search-input {
  border-radius: 5px;
  font-size: 16px;
  border: 1px solid var(--shadow-color);
}

.date-filters {
  display: flex;
  justify-content: start;
  align-items: center;
  font-size: 16px;
}
.title-courts-page {
  display: flex;
  align-items: end;
}

.star {
  color: #ffc107 !important;
  -webkit-text-stroke: 0px #fff !important;
}

.print-invoice-btn,
.print-invoice-btn a {
  background-color: #3861c9;
  color: #fff;
  padding: 7px;
  border: none;
  text-decoration: none;
  border-radius: 5px;
  font-size: 15px;
  font-weight: bold;
}

.print-invoice-btn:hover {
  box-shadow: 0 2px 4px #c6c6c6;
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .court-booked-card {
    flex-direction: column;
  }
  .court-booked-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .booked-court-image {
    width: 100%;
  }
  .payment-method-ratings-review-container {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .amount-paid-container {
    margin-top: 20px !important;
  }
  .court-booking-details-section {
    justify-content: space-between !important;
  }
  .court-booking-details-section div {
    margin-right: 0;
  }
  .title-filter-search-container {
    flex-direction: column;
  }
  .title-courts-page {
    margin: 0 10px;
  }
  .view-booking-search-container {
    padding: 0px;
  }
  .search-view-booking-container {
    justify-content: flex-start !important;
  }
}

@media screen and (max-width: 990px) {
  .search-view-booking-container {
    justify-content: flex-start !important;
  }
}

@media screen and (max-width: 768px) {
  .view-booking-page {
    padding: 100px 20px;
  }
}

@media screen and (max-width: 640px) {
  .view-booking-page {
    padding: 110px 20px;
  }
}

@media screen and (max-width: 590) {
  .payment-method-ratings-review-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .court-booking-details-section div {
    margin-right: 0 !important;
  }
}

@media screen and (max-width: 510px) {
  .view-booking-page {
    padding: 110px 20px;
  }
  .payment-method-ratings-review-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
