/* screen - popup-services */

.popup-services {
  background-color: var(--white);
  position: relative;
  border-radius: 16px !important;
  -webkit-border-radius: 16px !important;
  -moz-border-radius: 16px !important;
  -ms-border-radius: 16px !important;
  -o-border-radius: 16px !important;
}
#modalService .modal-content{
  /*padding: 2rem 1rem;*/
}

#modalService .modal-header {
  width: 100%;
  justify-content: center;
  align-items: center;
  position: relative;
  border-bottom: 0 !important;
  padding: 0 !important;
  background-color: #bdbdbd;
  border-radius: 0px;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

#modalService .modal-header h1.title {
  color: var(--azure-radiance);
  font-family: var(--font-family-sf_pro-semibold);
  font-size: 24px;
  font-weight: 590;
  letter-spacing: 0;
  line-height: 36px;
  /*margin-left: -12257px;*/
  position: relative;
  white-space: nowrap;
  width: fit-content;
  margin-bottom: 0;
}

#modalService .modal-header a.close-popup {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}

#modalService .modal-body {
  width: 100%;
  padding: 0px !important;
  display: flex;
  /*gap: 24px;*/
  gap: 0px;
  flex-direction: column;
  /*box-shadow: 0 1px 0px rgba(0, 0, 0, 0.5);*/
}

#modalService .modal-body .input-large {
  align-items: center;
  align-self: stretch;
  background-color: var(--white);
  border: 1px solid;
  border-color: var(--gray-4);
  border-radius: 8px;
  display: flex;
  height: 48px;
  justify-content: space-between;
  padding: 20px 16px;
  position: relative;
}

#modalService .modal-body .input-group input {
  color: var(--gray-3);
  font-family: var(--font-family-sf_pro-medium);
  font-size: var(--font-size-m);
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
  width: 90%;
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

#modalService .modal-body .input-group-append {
  width: 10%;
  display: flex;
  margin: 0;
}

#modalService .modal-body .input-group-append button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 !important;
  width: 100%;
  border-radius:  0 8px 8px 0;
  -webkit-border-radius:  0 8px 8px 0;
  -moz-border-radius:  0 8px 8px 0;
  -ms-border-radius:  0 8px 8px 0;
  -o-border-radius:  0 8px 8px 0;
}

#modalService .modal-body .input-group-append button .icon-search {
  height: 16px;
  margin-bottom: 0;
  margin-top: 0;
  min-width: 16px;
  position: relative;
}
.wrap-services-list{
  display: flex;
  flex-direction: column;
  display: flex;
  /*overflow-y: auto;*/
  /*height: calc(100% - 60px);*/
  height: 100%;
  /*position: absolute;*/
  width: 100%;
  /*left: 0;*/
  /*top: 60px;*/
  /*padding-right: 20px;*/
}
.services-list__item{
  width: 50%;
}
.services-cate{
  margin-bottom: 12px;
}
.services-cate p{
  color: rgba(47, 128, 237, 1);
  font-family: SF Pro;
  font-size: 15px;
  font-style: normal;
  font-weight: bold;
  line-height: 150%; /* 18px */
  letter-spacing: 0.288px;
  text-transform: uppercase;
}
.services-name {
  display: flex;
  flex-direction: column;
}

.services-name .label-services {
  display: block;
  position: relative;
  padding-left: 24px;
  margin-bottom: 0 !important;
  cursor: pointer;
  font-size: 14px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-weight: 400 !important;
}

/* Hide the browser's default checkbox */
.services-name .label-services input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.services-name .checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  height: 16px;
  width: 16px;
  background-color: #fff;
  transform: translateY(-50%);
  border: 1px solid #000;
  border-radius: 4px;
}

/* On mouse-over, add a grey background color */
.services-name .label-services:hover input~.checkmark {
  background-color: #007AFF;
  border: 1px solid #007AFF;
}

/* When the checkbox is checked, add a blue background */
.services-name .label-services input:checked~.checkmark {
  background-color: #007AFF;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.services-name .label-services input:checked~.checkmark:after {
  display: block;
}

.services-name .label-services input:checked~.checkmark {
  border-color: #007AFF;
}

/* Style the checkmark/indicator */
.services-name .label-services .checkmark:after {
  left: 5px;
  top: 1px;
  width: 5px;
  height: 11px;
  border: solid #ffffff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  border-width: 0 2px 2px 0;
}

#modalService .modal-dialog {
  min-width: 95%;
}

.popup-services .frame {
  display: flex;
  position: relative;
  width: 100%;
  overflow-y: auto;
}

.popup-services .frame-2608552{
  align-items: center;
  align-self: stretch;
  border: 1px solid;
  border-color: var(--gray-5);
  border-radius: 8px;
  gap: 4px;
  padding: 12px;
}

.popup-services .frame-2608565 {
  align-items: flex-start;
  align-self: stretch;
  flex-direction: column;
  gap: 16px;
}
.popup-services .avatar-2
{
  background-image: url(../images/modal_tech/rectangle-349-1@2x.png);
  height: 32px;
  min-width: 32px;
  margin-left: 0px;
}
.popup-services .avatar-13
{
  background-position: 50% 50%;
  background-size: cover;
/* border: 3px solid; */
  border-color: var(--white);
  border-radius: 100px;
  position: relative;
}
.popup-services .pedicure
{
  color: var(--azure-radiance);
  font-family: var(--font-family-sf_pro-medium);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.34px;
  line-height: 21px;
  position: relative;
  white-space: nowrap;
  width: fit-content;
}

.popup-services .content-1
{
  color: var(--gray-3);
  font-family: var(--font-family-sf_pro-regular);
  font-size: var(--font-size-m);
  font-weight: 400;
  letter-spacing: 0.29px;
  line-height: 18px;
  margin-top: -1.00px;
  position: relative;
  white-space: nowrap;
  width: fit-content;
}
.popup-services .close-default
{
  height: 16px;
  min-width: 16px;
  position: relative;
}
.popup-services .avatar-1
{
  background-image: url(../images/modal_tech/rectangle-349@2x.png);
  height: 32px;
  min-width: 32px;
  margin-left: 0px;
}

.popup-services {
  align-items: center;
  background-color: var(--white);
  border: 1px none;
  display: flex;
  flex-direction: column;
  gap: 0px !important;
  /*gap: 24px;*/
  /* min-width: 616px; */
  /* padding: 32px 48px 48px; */
  position: relative;
}


.popup-services .pedicure-3 {
  color: var(--white);
  font-family: var(--font-family-sf_pro-medium);
  font-size: var(--font-size-m);
  font-weight: 500;
}


.popup-services {
  align-items: center;
  background-color: var(--white);
  border: 1px none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  /*min-width: 542px;*/
  /*padding: 32px 48px 48px;*/
  position: relative;
}


.popup-services .frame-2608576 {
  align-items: center;
  align-self: stretch;
  height: 56px;
  justify-content: space-between;
}
.popup-services .service {
  align-items: flex-start;
  border-radius: 60px;
  display: flex;
  position: relative;
  width: fit-content;
  background-color: var(--azure-radiance-2);
}

.popup-services .quotation-status-1 {
  align-items: center;
  background-color: var(--orange);
  border-radius: 60px;
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 4px 8px;
  position: relative;
  width: fit-content;
}
.input-service {
  border: 1px solid;
  border-color: var(--gray-4);
  border-radius: 8px;
  height: 32px;
  padding: 0 16px;
  text-align: center;
  border-radius: 50px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  -ms-border-radius: 50px;
  -o-border-radius: 50px;
  width: 100px;
  font-size: 18px;
  color: #007aff !important;
  font-weight: bold;
}
.input-service.no-item {
  color: #d7dbdb !important;
  font-weight: normal;
}

.input-service::-webkit-outer-spin-button,
.input-service::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.input-service[type=number] {
  -moz-appearance: textfield;
}

.input-service ~ .minus {
  position: absolute;
  left: 10px;
  top: 0;
  cursor: pointer;
  display: inline-block;
  height: 32px;
  line-height: 30px;
}

.input-service ~ .plus {
  position: absolute;
  right: 10px;
  top: 0;
  cursor: pointer;
  display: inline-block;
  height: 32px;
  line-height: 30px;
} 

#box-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 25px; /* khoảng cách giữa các box */
}

.service-box {
    flex: 1 1 calc(33.333% - 20px); /* Đảm bảo mỗi box chiếm 1/3 chiều rộng trừ khoảng cách */
    box-sizing: border-box; /* Đảm bảo padding và border không làm tăng kích thước box */
    padding: 10px; /* Padding bên trong mỗi box */
    /*border: 7px solid #BDBDBD;*/
    text-align: center; /* Canh giữa nội dung bên trong mỗi box */
    border-radius: 3px;
    height: 160px;
    max-width: calc(33.333% - 20px);
    align-items: center;
    display: flex;
    justify-content: center;
    box-shadow: rgba(0, 122, 255, 0.3) 0px 6px 15px;
}

.service-box p {
    font-weight: bold;
    color: #333333;
    font-size: 22px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* Giới hạn 2 dòng */
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 52px; /* Đảm bảo chiều cao tối đa để căn giữa */
    min-height: 52px; /* Đảm bảo chiều cao tối thiểu để căn giữa */
    line-height: 26px; /* Chiều cao dòng để tính tổng chiều cao 2 dòng */
    margin: 0; /* Xóa bỏ khoảng cách mặc định của margin */
}


.service-box span {
    font-size: 16px;
    position: relative;
    color: #333333;
}

.service-box span span {
    font-size: 10px;
    top: 0px;
    position: absolute;
    margin-left: -7px;
    margin-top: 3px;
}
