/*
	Theme Name: قالب ويدي اصدار 1.0
	Theme URI: https://www.elnooronline.com/
	Author: تم تصميم وتطوير بواسطة شركة النور أون لاين
	Author URI: https://www.elnooronline.com/
*/
@import "assets/css/bootstrap-rtl-4.5.3.min.css";
@import "assets/css/fontawesome-6.4.2.min.css";
@import "assets/css/helper-rtl-4.0.0.min.css";
@import "assets/css/magnific-popup.css";

:root {
  color-scheme: light only;
  color: #d4ada5;
  color: #5d5e73;
  --prime: #d4ada5;
  --second: #5d5e73;
--p:rgba(128, 128, 128, 1);
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
p {
  font-weight: 500;
  font-size: 16px;
}
body {
  background: url(assets/img/body.png) no-repeat center top;
}
header {
  min-height: 110px;
  position: relative;
  z-index: 10;
}
header .email-box {
    border:none;
    background:transparent;
}
header .email-box svg{
    height:40px;
    width:40px;
}
header .email-box path{
    fill:var(--prime);
}
li {
  list-style: none;
}
.headerbg {
  z-index: 200;
  position: relative;
  transition: 0.8s;
  padding: 30px 0;
}
.headerbg > *:first-child {
  position: relative;
  z-index: 3;
}
.headerbg::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  right: 0;
  background-color: #5d5e73;
  transition: 0.9s;
  z-index: 2;
}
.headerbg::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 0;
  top: 0;
  right: 0;
  background-color: #d4ada5;
  transition: 1.2s;
  z-index: 1;
}
.headerbg .navbar-brand img {
  height: 40px;
  transition: 0.6s;
}
@media (min-width: 1000px) {
  .headerbg .navbar-nav > .nav-item + .nav-item {
    margin-right: 20px;
  }
}
@media (min-width: 1300px) {
  .headerbg .navbar-nav > .nav-item + .nav-item {
    margin-right: 40px;
  }
}
.headerbg .navbar .navbar-nav .nav-item .nav-link {
  font-size: 17px;
  padding: 8px 0;
  color: #151515;
  position: relative;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.headerbg .navbar .navbar-nav .nav-item a {
  font-weight: 500;
}
.headerbg .navbar .navbar-nav .nav-item {
  position: relative;
}
.headerbg .navbar .navbar-nav .nav-item::before {
  position: absolute;
  content: "";
  bottom: 0;
  right: 50%;
  width: 0;
  height: 0;
  transition: 0.5s;
}
.headerbg .navbar .navbar-nav .nav-item.active::before,
.headerbg .navbar .navbar-nav .nav-item:hover::before {
  background-color: #d4ada5;
  width: 100%;
  height: 1px;
  right: 0;
}
.headerbg .navbar .navbar-nav .nav-item .nav-link:hover,
.headerbg .navbar .navbar-nav .nav-item.active .nav-link,
.headerbg .navbar .navbar-nav .nav-item .nav-link.active {
  color: #d4ada5;
}
.headerbg .styledropdown.navbar .navbar-nav .dropdown-toggle {
  padding-left: 20px !important;
  margin-left: 0 !important;
}
.headerbg .styledropdown.navbar .navbar-nav .dropdown-toggle::after {
  left: 0;
}
.headerbg .styledropdown.navbar .navbar-nav .dropdown-menu {
  margin-top: 10px;
}
.headerbg.sticky {
  position: fixed;
  top: 0;
  right: 0;
  padding: 10px 0;
  color: #fff;
}
.headerbg.sticky .headerbg__colorwhite {
  filter: brightness(3000%);
}
.headerbg.sticky::before,
.headerbg.sticky::after {
  height: 100%;
}
.headerbg.sticky .navbar-brand img {
  height: 35px;
}
.headerbg.sticky .navbar .navbar-nav .nav-item a {
  font-size: 16px;
  color: #fff;
}
.headerbg.sticky .btn-lg {
  min-height: 40px;
  padding: 7px 14px !important;
}
.sidenav {
  z-index: 1001;
  transition: 0.3s;
  top: 0;
  left: -350px;
  width: 350px;
  overflow-y: scroll;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sidenav::-webkit-scrollbar {
  display: none;
}
.sidenav .navbar-nav > .nav-item .nav-link,
.sidenav a {
  color: #fff;
  font-weight: 500;
}
.sidenav .navbar-nav > .nav-item .nav-link:hover,
.sidenav a:hover {
  color: #5d5e73;
}
.sidenav .navbar-nav .nav-item .nav-link {
  font-size: 18px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidenav .navbar-nav .nav-item .nav-link.dropdown-toggle::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: 0;
}
.sidenav .navbar-nav .dropdown-menu {
  display: block;
  visibility: hidden;
  opacity: 0;
  height: 0;
  transition: 0.1s;
  transform: translateY(-10px) !important;
  position: relative !important;
  background-color: #5d5e73;
  margin: 0;
  padding: 0;
  border-radius: 0;
  width: 100%;
  border: 0;
}
.sidenav .navbar-nav .dropdown-menu.show {
  visibility: visible;
  opacity: 1;
  height: 100%;
  transform: translateY(0) !important;
}
.sidenav .navbar-nav .dropdown-menu .dropdown-item {
  padding: 10px 30px;
}
.sidenav .navbar-nav .dropdown-menu .dropdown-item:hover {
  background-color: #1da196;
  color: #fff;
}
.sidenav .navbar-nav .nav-item.active .nav-link {
  background-color: #5d5e73;
}
.sidenav .navbar-nav .nav-item.active .nav-link:hover {
  color: #d4ada5;
}
.sidenav .navbar-nav .nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.sidenav .border-bottom {
  border-color: #ffffff20 !important;
}
/* start new edit header  */
.profile-nav{
  justify-content: flex-start;
  background-color: var(--second);
  /* height: 250px; */
  display: flex;
  justify-content: center;
  flex-direction: column;
}
/* for nav before singin  */
.profile-nav-singin{
  height: 150px;
}
.profile-nav .closes{ 
margin-top: 0px !important;
    margin-bottom: 0px !important;
    display: flex !important
;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    top: 15px;
}
.profile-nav .nav-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.profile-nav > *{
  margin: 10px 0px;
}
.profile-nav button {
  margin: 0px 10px;
}
.profile-nav .img-pro {
height: 70px;
width: 70px;
object-fit: cover;
border-radius: 50%;
}
header .btn{
  min-height: 0px;
  font-size: 10px;
  text-wrap: nowrap;
}
.headerbg .navbar .navbar-nav .nav-item .nav-link ,.headerbg ul li{
  font-size: 15px;
  text-wrap: nowrap;
}
.headerbg ul {
  margin-left: 15px;
}

#sidebody {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  background-color: rgba(21, 21, 21, 0.8);
  transition: 0.45s;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
}
#sidebody.active {
  z-index: 1000;
  opacity: 1;
  visibility: visible;
}
.btn {
  font-weight: 500;
}
.boxshadow10 {
  box-shadow: 0 4px 10px 0 rgb(225 223 255 / 40%);
}
.boxshadow {
  box-shadow: 0 10px 30px 0 rgb(225 223 255 / 40%);
}
.boxshadow2 {
  box-shadow: 0px 0px 25px rgb(0 0 0 / 12%);
}
.boxshadow3 {
  box-shadow: 0px 10px 35px 0 rgb(0 0 0 / 12%);
}
.boxshadow4 {
  box-shadow: 0px 10px 25px rgb(0 0 0 / 8%);
}
.boxshadow5 {
  box-shadow: 5px 5px 20px rgb(0 0 0 / 6%);
}
.boxshadow2hover:hover {
  box-shadow: 0px 0px 45px rgb(0 0 0 / 42%);
}
body.stop {
  overflow: hidden !important;
}
li::marker {
  color: #d4ada5;
}
.text-white-70 {
  color: rgba(255, 255, 255, 0.7);
}
.singlecontentbg strong {
  color: #5d5e73;
}
.singlecontentbg h1,
.singlecontentbg h2,
.singlecontentbg h3,
.singlecontentbg h4,
.singlecontentbg h5,
.singlecontentbg h6 {
  color: #5d5e73;
  margin-bottom: 30px;
}
.singlecontentbg h1 {
  font-size: 30px;
}
.singlecontentbg h2 {
  font-size: 28px;
}
.singlecontentbg h3 {
  font-size: 26px;
}
.singlecontentbg h4 {
  font-size: 24px;
}
.singlecontentbg h5 {
  font-size: 22px;
}
.singlecontentbg h6 {
  font-size: 20px;
}
.singlecontentbg p,
.singlecontentbg ul,
.singlecontentbg ol {
  font-size: 20px;
  font-weight: 500;
}
.singlecontentbg.font-sm p,
.singlecontentbg.font-sm ul,
.singlecontentbg.font-sm ol {
  font-size: 18px;
}
.singlecontentbg p + h1,
.singlecontentbg p + h2,
.singlecontentbg p + h3,
.singlecontentbg p + h4,
.singlecontentbg p + h5,
.singlecontentbg p + h6 {
  margin-top: 30px;
}
.singlecontentbg h1,
.singlecontentbg h2,
.singlecontentbg h3,
.singlecontentbg h4,
.singlecontentbg h5,
.singlecontentbg h6 {
  margin-bottom: 15px;
}
.singlecontentbg li::marker {
  color: #d4ada5;
  font-size: 24px;
}
.singlecontentbg a {
  font-weight: bold;
  color: #5d5e73;
}
.singlecontentbg a:hover {
  color: #49459b;
}
.singlecontentbg img {
  margin-top: 30px;
  margin-bottom: 30px;
}
.singlecontentbg *:last-child {
  margin-bottom: 0;
}
.loaderlodging {
  height: 100vh;
  z-index: 10000;
  transition: 0.8s;
}
.loaderlodging__body {
  overflow: hidden;
}
.loaderlodging__body.afterloading {
  overflow: inherit;
}
.loaderlodging.remove {
  opacity: 0;
  visibility: hidden;
  z-index: -1;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #cecece;
  border-bottom-color: #5d5e73;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* start page signin */
.login form {
  width: 80%;
}
.login form label {
  font-weight: bold;
}
.login form span {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  margin: 10px 0px;
  width: 100%;
}
.login form span > input {
  width: 100%;
  border: solid 1px rgba(129, 129, 129, 0.349);
  border-radius: 30px;
  padding: 15px;
  margin: 10px 0;
}
.login form input::placeholder {
  text-align: left;
  font-weight: 500;
  color: rgba(110, 110, 110, 0.699);
}
.page-singup-user form input::placeholder,
.page-signup-provider form input::placeholder,
.page-signup-provider-2 form input::placeholder {
  text-align: right;
}
/* form .checkbox textarea{
border: solid 1px var(--prime);
color: var(--prime);
} */
.login form .signup {
  margin-top: 50px;
}
.login form .signup a {
  width: 35%;
  text-align: center;
}
.login form .signup button {
  width: 35%;
}
.login .file img {
  width: 40px;
  height: 30px;
}

.login .file p {
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
  font-size: 14px;
}
input[type="file"] {
  position: relative;
}
input[type="file"]::file-selector-button {
  display: none;
  background-color: var(--prime);
  color: white;
  border: none;
  border-radius: 30px;
}
input[type="file"]::before {
  content: "اختر ملفًا أو اسحبه وأفلته هنا";
  font-size: 20px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
input[type="file"]::after {
  content: "";
  position: absolute;
  top: 11px;
  left: 40px;
}
textarea {
  border-radius: 20px;
  width: 100%;
}
.login .file {
  border: solid 1px rgba(0, 0, 0, 0.479);
  padding: 20px;
  border-radius: 20px;
}
/* end page sign in  */
/* ////////////////////////////////////////////////// */
/* start landing  */
.landing {
  position: relative;
}
.landing h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.landing h1 a {
  color: white;
}

/* end landing  */
/* start page services  */
.services .title {
  margin: 30px 0px;
}
.services .title button {
  font-size: 20px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.services .title h3 {
  font-size: 25px;
}
.services .dropdown-menu,
.profile .dropdown-menu {
  background-color: var(--prime);
  border-radius: 20px;
  transform: translate3d(0px, 55px, 0px) !important;
}
.profile .dropdown-item:focus, .dropdown-item:hover{
background-color: var(--second) !important;
border-radius: 10px;
color:white;
}
.profile .edit-drop .dropdown-menu {
  background-color: white;
}
.services .dropdown-toggle::after,
.profile .dropdown-toggle::after {
  display: none !important;
}
.services .dropdown-menu a,
.profile .dropdown-menu a {
  color: white;
  margin: 10px 0px;
}

.services .nav-tabs {
 border: none;
display: flex !important;
justify-content: center !important; 
align-items: center;
}
 
.services .nav-tabs li {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.services .nav-tabs li svg {
  margin-bottom: 20px;
}
.services .nav-tabs li path {
  fill: gray;
}
.tab-home .nav-tabs {
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.tab-home .nav-tabs div {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  
}
.services .nav-tabs li:hover:nth-of-type(1) path {
  fill: rgba(255, 102, 158, 1);
  transition: 1s all;
}
.services .nav-tabs li:hover:nth-of-type(2) path {
  fill: black;
  transition: 1s all;
}
.services .nav-tabs li:hover:nth-of-type(3) path {
  fill: rgba(241, 112, 0, 1);
  transition: 1s all;
}
.services .nav-tabs li:hover:nth-of-type(4) path {
  fill: rgba(244, 186, 24, 1);
  transition: 1s all;
}

.services .nav-tabs .active path {
  fill: var(--prime);
}

.services .tab-content .col,
.tab-home .tab-content .col {
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.services .tab-content .col p,
.tab-home .tab-content .col p {
  text-align: center;
  margin-top: 25px;
  font-size: 25px;
  font-weight: 500;
}

.services .navigation .page-link {
  border-radius: 50%;
}
/* start services party  */
.page-services-party .card {
  height: 100%;
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 5px 5px #00000029;
  padding: 0;
  /* max-width: 31%; */
  margin: 20px 1%;
  z-index: 1;
}
.page-services-party .card:hover,
.page-services-party .card:hover button a {
  color: white;
  transition-delay: 0.5s;
  transition-duration: 1s;
  cursor: pointer;
}

.page-services-party .card::after {
  content: "";
  background-color: var(--second);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-radius: 20px;
  z-index: -1;
}
.page-services-party .card:hover:after {
  height: 100%;
  transition: 1.5s;
}
.page-services-party .card .card-img-top {
  position: relative;
}
.page-services-party .card .card-img-top p {
  position: absolute;
  background-color: var(--prime);
  padding: 5px 15px;
  border-radius: 30px;
  color: white;
  bottom: -15px;
  right: 30px;
}
.page-services-party .card .card-img-top .unlike
{

  position: absolute;
  right: 20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.562);
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.page-services-party .card .card-img-top .like
{
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.562);
  border-radius: 50%;
  color: red;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}




.page-services-party .card .card-img-top img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.page-services-party .card .card-body i {
  color: gold;
  font-size: 18px;
}
.page-services-party .card .card-body .profile {
  border: solid var(--prime) 1px;
  padding: 10px;
  border-radius: 10px;
}
.page-services-party .card .card-body .money {
  border-bottom: solid 1px rgb(126, 126, 126);
  padding-bottom: 20px;
}

/* end page services   */
/* ////////////////////////////////////////// */
/* start .profile page  */
.profile .title {
  margin: 37px 0px;
  display: flex;
  justify-content: start;
  align-items: start;
  flex-direction: column;
  width: 100%;
  padding: 0 30px;
}
.profile .title button {
  font-size: 20px;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
.profile .title h3 {
  font-size: 25px;
  font-weight: 500;
}
.profile .btn-modal {
  /* width: 25% !important; */
  border-radius: 30px;
  padding: 10px 30px;
}

.d-none2{
  display: none;
}

/* .modale-location{
  display: none ;
} */
.modale-location::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: -1;
  display: none;
}

.modal-title {
  margin-top: 5px;
  font-size:15px;
}
.modal .fix-btn button p {
  color: white;
  position: relative;
  top: 2px;
  font-weight: bold;
}
.modal .fix-btn:first-of-type button:hover p {
  color: white !important;
  transition: 0.5s;
}
.modal .modal-header {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.profile .title > * {
  margin: 15px 0px;
}
.profile .profile-list {
  box-shadow: 0 0 5px 5px #00000029;
  border-radius: 30px;
  background-color: white;
  padding: 20px;
}
.profile .image-profile {
 display: flex;
  justify-content: center;
  align-items: center; /* لإظهار الصورة في المنتصف رأسياً أيضاً */
  width: 100%; /* تأكد أن له عرض */
  height: 100%; /* أو حدد ارتفاعاً مناسباً، مثل: 300px */
  overflow: hidden; /* لإخفاء أي زوائد من الصورة */
}

.profile .chat .body-chat .message-left p {
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
}
.chat .body-chat .message-right .profile > p {
  font-weight: 500; /* Keep the font weight */
 color: rgba(128, 128, 128, 1);
}
.modal p {
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
}
.profile .image-profile img {
   width: 100%;
  height: 100%;
  object-fit: cover; 
  margin-bottom: 17px; 
}

.profile .list-profile-setting ul {
  padding: 0px;
}
.profile .list-profile-setting ul li {
  display: flex;
  justify-content: start;
  align-items: center;
  margin-bottom: 20px;
}
.profile .list-profile-setting ul li a {
  display: flex;
}
.profile .list-profile-setting ul li a p:hover {
  transition: 1s all;
  color: var(--prime);
}
.profile .list-profile-setting ul li p a {
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
}
.profile .list-profile-setting ul li p a:hover {
  color: var(--prime);
  transition: 1s all;
  cursor: pointer;
}
.profile .list-profile-setting ul li img {
  margin-left: 15px;
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.profile .signin-profile span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
span.form-check {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    flex-direction: row !important;
}
.profile form span .form-check-input{
    margin-left:5px;
    width:15px !important;
    position: relative;
    bottom:5px;
}
span.multiselect-group.dropdown-item-text {
    font-size: 20px;
    font-weight: bolder;
}
.profile .signin-profile .phone input {
  padding: 15px 85px;
}
.profile .signin-profile .phone-rt input {
  direction: ltr;
}
.profile .signin-profile .phone-rt input::placeholder {
  text-align: left;
}
.profile .signin-profile .phone-rt input::-webkit-outer-spin-button,
.profile .signin-profile .phone-rt input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.profile .num-location {
  position: absolute;
  top: 49%;
  right: 25px;
  transform: translateY(20%);
  border: none;
}
.profile .num-location-rt {
  position: absolute;
  top: 49%;
  left: 30px;
  right: auto;
  transform: translateY(20%);
  border: none;
}
.profile .signin-profile2 .row-cols-1 {
  max-width: 100%;
  flex: 0 0 100%;
  margin-right: 0px;
}
.page-signup-provider-2 .phone {
  position: relative;
}
.profile .num-location select {
  background-color: transparent;
  color: var(--prime);
  border: none;
}
.profile .num-location option {
  padding: 10px;
  margin-bottom: 20px;
}
.signin-profile {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.profile form {
  width: 90%;
  margin: auto;
}
.profile form label {
  font-weight: bold;
  flex-wrap:wrap;
 flex-direction: column;
}
.profile form .phone label  {
  font-weight: bold;
  flex-wrap:nowrap  !important;
 flex-direction: row  !important;
}
.profile form .btns-login{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    margin-top:20px;
}
.profile form .btns-login a{
width:100%;
margin:0px 1%;
}
.profile form span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px 0px;
  width: 100%;
}
.profile form span > input {
  width: 100%;
  border: solid 1px rgba(129, 129, 129, 0.349);
  border-radius: 30px;
  padding: 15px;
  margin: 10px 0;
}
.profile form input::placeholder {
  font-weight: 500;
  color: rgba(110, 110, 110, 0.699);
}
.profile form button {
  margin: 0 0px;
}
.profile .nosubscripe {
  box-shadow: 0 0 5px 5px #88888829;
  border-radius: 20px;
  background-color: white;
}
.profile .card {
  height: 100%;
  border-radius: 20px;
  border: none;
  box-shadow: 0 0 5px 5px #00000029;
  padding: 0;
  /* max-width: 31%; */
  margin: 20px 1%;
  z-index: 1;
  overflow: hidden;
}
.profile .card:hover,
.profile .card:hover button a {
  color: white;
  transition-delay: 0.5s;
  transition-duration: 1s;
}

.profile .card::after {
  content: "";
  background-color: var(--second);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  border-radius: 20px;
  z-index: -1;
  transition: 1s;
}
.profile .card:hover:after {
  height: 100%;
}
.profile .card .card-img-top {
  position: relative;
}
.profile .card .card-img-top p {
  position: absolute;
  background-color: var(--prime);
  padding: 5px 15px;
  border-radius: 30px;
  color: white;
  bottom: -15px;
  right: 30px;
}
.profile .card .card-img-top .unlike
{
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.562);
  border-radius: 50%;
  color: white;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile .card .card-img-top .like {
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: rgba(0, 0, 0, 0.562);
  border-radius: 50%;
  color: red;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile .card .card-img-top .unlike:hover i 
,.profile .card .card-img-top .like:hover i {
  cursor: pointer;
  transition: 0.5s;
}

.profile .card .card-img-top img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.fa-star,
.fa-star-half-alt {
  color: gold;
  font-size: 18px;
}
.stars i {
  color: gold;
}
.profile .card .card-body .profile {
  border: solid var(--prime) 1px;
  padding: 10px;
  border-radius: 10px;
}
.profile .card .card-body .money {
  border-bottom: solid 1px rgb(126, 126, 126);
  padding-bottom: 20px;
  transition-duration: 1s;
  transition-delay: .5s;
}
.profile .card .card-body h4 {
  transition: 1s;}
  .profile .card:hover .card-body h4 {
    color: white;
  }
.profile .card .card-body p {
  transition-duration: 1s;
  transition-delay: .1s;
}
.profile .card:hover .card-body p {
  color: white;
}
.profile .card:hover .card-body .money {
  border-bottom: solid 1px white !important;

}
.profile .card .card-body:hover .money span > *  {
  transition-duration: 1s;
  transition-delay: 0.1s;
}
.profile .card .card-body:hover .money span > *  {
  color: white !important;
}
.profile .card .card-body button {
  transition: 1s;
}
.profile .card:hover .card-body button {
  border: 1px solid white;
  color: white;
}
/* start reviews  */
.drop-center {
  display: flex;
  justify-content: center;
}
.drop-center {
  display: flex;
  justify-content: center;
}
.drop-center .dropdown-menu {
  width: 25%;
  transform: translate3d(-150%, 30px, 0px) !important;
}
.profile .reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
.profile .reviews .review {
  width: 75%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
  left: 20px;
}
.profile .reviews .num {
  width: 10px;
}
.profile .reviews .subscr {
  width: 10px;
}
.profile .reviews .line {
  background-color: rgba(179, 179, 179, 0.692);
  width: 100%;
  margin: 0 10px;
  height: 10px;
  border-radius: 5px;
  position: relative;
}
.profile .reviews .review .line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background-color: var(--prime);
}
.profile .reviews .review:nth-of-type(1) .line::after {
  width: 80%;
}
.profile .reviews .review:nth-of-type(2) .line::after {
  width: 40%;
}
.profile .reviews .review:nth-of-type(3) .line::after {
  width: 30%;
}
.profile .reviews .review:nth-of-type(4) .line::after {
  width: 10%;
}
.profile .reviews .review:nth-of-type(5) .line::after {
  width: 20%;
}
.profile .btn-services {
  position: relative;
}


.profile .btn-services::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 2px;
  background-color: var(--prime);
  z-index: -1;
}
.profile .review-content .col {
  position: relative;
  background-color: rgba(247, 248, 248, 1);
  margin-bottom: 20px;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0px 0px 25px rgb(0 0 0 / 8%);
  position: relative;
  z-index: 1;
}
.profile .review-content .col:hover {
  cursor: pointer;
  transition-duration: 0.5s;
  color: white;
}
.profile .review-content .col:hover p {
  color: white;
  transition-duration: 0.5s;
}
.profile .review-content .col::after {
  content: "";
  position: absolute;
  right: 0%;
  top: 0%;
  background-color: var(--prime);
  width: 0%;
  height: 100%;
  z-index: -1;
  border-radius: 20px;
}
.profile .review-content .col:hover:after {
  width: 100%;
  transition: 1s all;
}
.profile .review-content .col .dot {
  position: absolute;
  left: 20px;
  top: 20px;
}
.profile .images-pop {
  box-shadow: 0 0 5px 5px #a7a7a729;
  border-radius: 20px;
}
.profile .images-pop .col {
  margin-bottom: 0;
}
.profile .images-pop .col img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  filter: grayscale(0.4) brightness(0.8);
  cursor: pointer;
}
.profile .images-pop .col img:hover {
  filter: grayscale(0);
  transition: 1s;
}
.profile .images-pop .col-12 img {
  height: 185px;
  margin-bottom: 30px;
}
/*.profile .note-money {*/
/*  box-shadow: 0 0 5px 5px #64646429;*/
/*  background-color: white;*/
/*  border-radius: 20px;*/
/*  margin-top: 20px;*/
/*  height: 100%;*/
/*}*/
.profile .note-money > div {
  margin: 15px 0px;
}
.profile .note-money .chose {
  display: flex;
  align-items: center;
}
.profile .note-money .textarea {
  display: none;
}
.profile .note-money .chose > div {
  width: 100%;
  border: solid 1px rgba(179, 179, 179, 0.445);
  text-align: center;
  padding: 10px;
}
.profile .note-money .chose > div:first-of-type {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
.profile .note-money .chose > div:last-of-type {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
.profile .note-money textarea {
  padding: 15px;
}
.profile .note-money .copun {
  position: relative;
}
.profile .note-money .copun input {
  width: 100%;
  border-radius: 20px;
  padding: 15px;
  border: solid 1px rgba(179, 179, 179, 0.445);
  font-weight: bold;
}

.profile .note-money .copun a {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 15px !important;
}
.profile .detail-money {
  box-shadow: 0 0 5px 5px #a7a7a729;
  margin: 0 20px;
  border-radius: 20px;
  margin-bottom: 35px;
  padding: 15px;
}
.profile .note-money .detail-money li {
  margin: 5px 0;
}
.profile .note-money .detail-money li:last-of-type {
  padding: 10px 0px;
  border-top: 1px solid rgba(119, 119, 119, 0.596);
}
.profile .boxs > div {
  box-shadow: 0 0 5px 5px #a7a7a729;
  border-radius: 20px;
  margin: 20px 0px;
  padding: 20px 40px;
  background-color: white;
}
.profile .boxs div:first-of-type > * {
  margin: 15px 0px;
}
.profile .boxs div h5 {
  position: relative;
}
.profile .boxs div:nth-of-type(1) h5::after {
  display: none;
}
.profile .boxs div h5::after {
  content: "";
  position: absolute;
  right: -10px;
  top: -3px;
  height: 100%;
  width: 5px;
  background-color: var(--prime);
}
.profile .boxs div:last-of-type h5::after {
  background-color: red;
}
.profile .boxs div ul {
  padding: 0;
}
.profile .boxs div ul li {
  margin: 10px 0px;
  list-style-type: disc;
  color: rgba(0, 0, 0, 0.74);
  font-weight: 500;
}
/* end profle pages   */

/* nav bootstrap  */
.pagination .page-item .page-link {
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.pagination .page-item .page-link {
  width: 35px;
  height: 35px;
  background-color: white;
  color: var(--prime);
}
.pagination .page-item .active {
  background-color: var(--prime) !important;
  color: white;
  width: 30px;
  height: 30px;
  transition: 1s all;
}

/* start page-admin-service */
.profile .profile-list {
  height: 100%;
}
.profile .services {
  margin-bottom: 30px;
}
.profile .service {
  width: 95%;
  box-shadow: 0 0 5px 5px #00000029;
  padding: 10px 20px;
  border-radius: 20px;
  background-color: white;
  position: relative;
  z-index: 1;
}
.profile .service:hover p {
  color: white !important;
  transition-duration: 1s;
}
.profile .service:hover .btn-primary,
.profile .service:hover .btn-outline-primary {
  color: var(--prime);
  background-color: white;
  transition: 1s all;
}
.profile .service::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: var(--prime);
  border-radius: 20px;
  z-index: -1;
}
.profile .btn-width:hover {
  width: 100% !important;
  transition: 1s;
}
.profile .service:hover:after {
  width: 100%;
  transition: 1.3s all;
}
.profile .services .info-service .img-service img {
  width: 85% !important;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
}
.profile .services .info-service span {
  /*margin: 0 5px 0px 65px !important;*/
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
   margin: 15px auto !important ;
}
.profile .services-user .info-service {
  display: flex;
  justify-content: center;
}
.profile .service-user {
  margin: 15px 0px;
}
.profile .services .info-service .col {
  margin: 10px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}
.profile .services .info-service .col > p {
  color: black;
  text-align: center;
}
.profile .services .info-service .col div > p {
  font-size: 13px;
  text-align: center;
}
.profile .services .info-service .col div img {
  width: 18px;
  height: 18px;
}
.profile .services-user .info-service .img-service img {
  width: 80px;
  height: 100px;
  border-radius: 10px;
}
.profile .services-user .info-service span {
  display: flex;
  flex-direction: column;
}
.profile .services-user .info-service > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 25px;
}
.profile .services-user .fa-star {
  font-size: 15px;
}
.profile .services-user .fa-star-half-alt {
  font-size: 15px;
  margin-left: 5px;
}

.profile .form-serv {
  width: 95%;
  box-shadow: 0 0 5px 5px #cacaca29;
  margin-bottom: 20px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  padding: 10px 0px;
}
.profile .form-serv form {
  width: 95%;
}
.profile .form-serv form input {
  width: 100%;
}
.profile .form-serv .col {
  position: relative;
}
.profile .form-serv .add input,
.profile .form-serv .add2 input {
  width: 95%;
}
.profile .form-serv .row {
  position: relative;
}
.profile .form-serv .add-icon,
.profile .form-serv .add-icon2 {
  position: absolute;
  left: 20px;
  top: 75px;
  transform: translateY(-25%);
  color: var(--prime);
  transition: 1s all;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: solid 1px var(--prime) !important;
  border-radius: 50%;
}
.profile .form-serv .add-icon:hover,
.profile .form-serv .add-icon2:hover {
  color: white;
  background-color: var(--prime);
}

.profile .form-serv .add-icon:hover:after,
.profile .form-serv .add-icon2:hover:after {
  /* background-color: rgb(185, 230, 231); */
  background-color: var(--second);
}
.profile .form-serv .add-icon,
.add-icon2 {
  background-color: transparent;
  border: none;

  cursor: pointer;
}
.form-serv .remove i,
.form-serv .remove2 i {
  font-size: 15px;
}
.form-serv .remove,
.form-serv .remove2 {
  min-height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50% !important;
  position: absolute;
  left: 20px;
  top: 60px;
  background-color: rgb(216, 71, 71);
  border: none;
}
.form-serv .add:first-of-type .remove,
.form-serv .add2:first-of-type .remove2 {
  display: none;
}

.profile .upload {
  padding: 20px 0px;
  cursor: pointer;
}
.profile .upload form {
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: dotted 2px gray;
  border-radius: 20px;
}
.profile .upload form label > * {
  margin-bottom: 10px;
  cursor: pointer;
}
.profile .upload-files {
  display: flex !important;
  align-items: center !important;
  flex-direction: row  !important;
  justify-content: flex-start !important;
}
.profile .upload-files .upload-content   {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  width: 15% !important;
}
input[type="file"]{
  width: 50%;
}
.profile .upload-files .upload-content label img {
  width: 100px !important;
}
.profile .border-serv {
  border: 1px dotted rgb(196, 196, 196);
  padding: 20px;
  border-radius: 10px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: row !important;
  margin-bottom: 35px;
}
.profile .price .nav {
  border: none;
}
.profile .price .nav .nav-item{
  margin: 10px 5px;
}
 .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link{
  background-color: var(--second);
  color: white;
  border-radius: 10px;
  font-weight: bold;
  width: 150px;
  padding: 10px 0px;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
  background-color: var(--prime) !important;
  color: white;
}
.profile .price .tab-content{
  width: 100%;
}
/* .profile .price .tab-content .tab-pane .tab-pane {
} */
.profile .to-do-list {
  padding: 20px 10px;
  margin: 20px auto;
  box-shadow: 0 0 5px 5px #cacaca29;
  background-color: white;
  border-radius: 20px;
  width: 95%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.profile .to-do-list span {
  display: flex;
  align-items: center;
  justify-content: baseline;
  flex-direction: row;
  text-align: center;
  padding: 0 20px;
  font-size: 20px;
}
.profile .to-do-list span input {
  width: 100px;
  border-radius: 10px;
  border: 1px solid gray;
  color: var(--prime);
}
.profile .to-do-list .dropdown-toggle::after {
  display: none;
}
.profile .to-do-list .dropdown-menu {
  right: -150px;
  padding: 0;
}
.profile .to-do-list .dropdown-menu a:first-of-type {
  border-bottom: solid rgba(145, 145, 145, 0.438) 1px;
}
.profile .to-do-list span img {
  margin-left: 5px;
}
.profile .to-do-list span p {
  margin-top: 5px;
}
.profile .to-do-list span:nth-of-type(2) {
  text-align: center;
  margin: auto;
}
.profile .wallet-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  width: 90%;
  padding: 20px 30px;
  margin: 15px 0;
  box-shadow: 0 0 5px 5px #cacaca29;
  border-radius: 20px;
  background-color: white;
  text-align: center;
}
.d-flex.justify-content-center.align-items-center.my-3.btn-width {
    width: 100%;
}
.profile .wallet-box .scroll {
    width: 100%;
    max-height: 500px;
    overflow-y: scroll;
}
.profile .wallet-box .scroll div {
  margin: 20px 0;
}
.profile .wallet-box div:last-of-type {
  margin: 5px auto;
}
.profile .wallet-box div button {
  width: 350px;
}
textarea:hover {
  border: solid 1px var(--prime);
  transition: 1s;
}

/* .profile .wallet-box .top-wallet{
  align-items: flex-start !important;
} */
.profile .wallet-box p {
  font-size: 13px;
  text-align: center;
  margin: 5px 0px !important;
  margin: auto;
}
.profile .wallet-box button {
  width: 50%;
  padding: 15px;
}

.profile .box-shoping {
  border-radius: 20px;
  box-shadow: 0 0 5px 5px #cacaca29;
  padding: 15px 10px;
  margin:10px 0px;
}
.profile .box-shoping .switch {
  height: 35px;
}
.profile .box-shoping div {
  margin: auto;
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.profile .box-shoping div button{
    margin-top:10px;
}
.profile .box-shoping div p {
  margin: 15px 0px;
  text-align: center;
}
.profile .landing-support {
  background-color: rgba(190, 92, 35, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40vh;
  width: 100%;
}
.profile .landing-support > * {
  margin: 10px 0;
}

.profile .landing-support h2 {
  text-align:center;
}
.profile .landing-support input {
  border-radius: 30px;
  border: solid 1px;
  width: 350px;
  padding: 10px 40px;
}

.profile .landing-support span {
  position: relative;
}
.profile .landing-support span::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(assets/img/search.png);
  z-index: 4;
  width: 25px;
  height: 25px;
}

.profile .support-content > div {
  margin: 10px 1%;
  box-shadow: 0 0 5px 5px #66666629;
  border-radius: 20px;
  padding: 20px;
  background-color: white;
  height: 100%;
  cursor: pointer;
}
.profile .support-content > div .collapse {
  margin-top: 10px;
  padding-top: 10px;
  transition: 0.5s;
}
.profile .landing-support-end {
  width: 80%;
  background-color: rgba(190, 92, 35, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-radius: 10px;
}
/* start chat style  */























/* الحاوي الرئيسي للشات - ارتفاع ثابت */
.chat-container {
  display: flex;
  height: 600px; /* ارتفاع ثابت للحاوي الكامل */
  max-height: 600px;
  gap: 20px;
  padding: 20px;
  box-sizing: border-box;
  
}

/* القائمة الجانبية - عرض ثابت */
.chat .nav-tabs-container {
  width: 300px; /* عرض ثابت للقائمة الجانبية */
  min-width: 300px;
  height: 100%;
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
  
}

/* الرسائل غير المقروءة - تصميم محدث */
.chat .nav-tabs .nav-item.unread .nav-link::before {
  content: "";
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ff4757, #ff3742);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
}

.chat .nav-tabs .nav-item.unread .nav-link::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(255, 71, 87, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
  }
}

/* القائمة الجانبية - تصميم عصري */
.chat .nav-tabs {
  border: none;
  background: transparent;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  
}

.chat .nav-tabs .nav-link {
  width: 100%;
  padding: 16px 20px;
  border: none;
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 12px;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
 
}

.chat .nav-tabs .nav-link:hover {
  background: linear-gradient(135deg, var(--second), var(--prime));
  color: #fff;
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.chat .nav-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--prime), var(--second));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  
}

.chat .nav-tabs .nav-link:hover .row span h6,
.chat .nav-tabs .nav-link:hover .row span p,
.chat .nav-tabs .nav-link.active .row span h6,
.chat .nav-tabs .nav-link.active .row span p {
  color: #fff;
}

/* تأثير الخلفية المتحركة */
.chat .nav-tabs .nav-link::before {
    

  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
  z-index: 1;
}

.chat .nav-tabs .nav-link:hover::before {
  left: 100%;
}

/* النصوص داخل القائمة */
.chat .nav-tabs .row span h6 {
  font-size: 16px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0 0 4px 0;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
}

.chat .nav-tabs .row span p {
  font-size: 13px;
  color: #7f8c8d;
  margin: 0;
  transition: color 0.3s ease;
  position: relative;
  z-index: 2;
  opacity: 0.8;
}
.head-chat{
     top:-30px ;
    left: 0;
    right: 0;
    background: #ffffff; /* Background color */
    z-index: 10; /* Ensures it stays above other content */
    padding: 10px; /* Optional: Add padding */
    border-bottom: 2px solid #f1f3f4; /* Optional: Add a bottom border */
 }
/* صورة المستخدم - تحسينات */
.chat .chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}
.chat .body-chat .message-left span img{
  display: none;
}
.chat .nav-tabs .nav-link:hover .chat-avatar {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.8);
}

/* محتوى الرسائل - عرض أكبر وارتفاع ثابت */
.chat .box-chat-content {
  display: flex;
  flex-direction: column;
  flex: 1; /* يأخذ باقي المساحة المتاحة */
  height: 100%; /* نفس ارتفاع الحاوي الرئيسي */
  padding: 30px;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-width: 0; /* يسمح بالتقليص عند الحاجة */
   
}

/* رأس المحادثة */
.chat .chat-header {
  padding: 0 0 20px 0;
  border-bottom: 2px solid #f1f3f4;
  margin-bottom: 10px;
  flex-shrink: 0; /* لا يتقلص */
}

.chat .chat-header h4 {
  color: #2c3e50;
  font-weight: 700;
  margin: 0;
  font-size: 20px;
}

/* الرسائل داخل المحادثة - ارتفاع مرن */
.chat .body-chat {
 flex: 1;
    overflow-y: auto; /* Enable vertical scrolling */
    padding-top: 10px; /* Adjusted padding to account for header height */
    scroll-behavior: smooth;
    border-radius: 16px;
    background: linear-gradient(145deg, #fafbfc, #ffffff);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-height: 100%;
    

}

/* تخصيص شريط التمرير */
.chat .body-chat::-webkit-scrollbar {
  width: 8px;
}

.chat .body-chat::-webkit-scrollbar-track {
  background: #f8f9fa;
  border-radius: 10px;
}

.chat .body-chat {
  background: transparent !important;
}

.chat .body-chat::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--second), var(--prime));
  border-radius: 10px;
  transition: background 0.3s ease;
}

.chat .body-chat::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--prime), var(--second));
}

/* رسالة فردية - عرض أكبر */
.chat .body-chat .message {
  width: 50%;
  max-width: 85%; /* زيادة العرض الأقصى من 75% إلى 85% */
  margin-bottom: 16px;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  word-break: break-word;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
 
}

.chat .body-chat .message:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.chat .body-chat .message-left {
  background: linear-gradient(135deg, #5d5e73, #3b3c4f);
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  color: #2c3e50;
  border: 1px solid rgba(0, 0, 0, 0.08);
  
}

.chat .body-chat .message-right {
  background: linear-gradient(135deg, var(--second), var(--prime));
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  color: white;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* وقت الرسالة */
.chat .body-chat .message-time {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 6px;
  align-self: flex-end;
}

.chat .body-chat .text-message {
  margin: 0;
  font-weight: 500;
}

/* الرسائل بالصور */
.chat .body-chat .image {
  margin-top: 8px;
}

.chat .body-chat .image img {
  width: 100%;
  max-width: 400px; /* زيادة العرض الأقصى للصور */
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.chat .body-chat .image img:hover {
  transform: scale(1.02);
}

/* الإدخال السفلي - تصميم عصري */
.chat .footer-chat {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-direction: row;
  padding: 20px 0 0 0;
  box-sizing: border-box;
  gap: 12px;
  flex-shrink: 0; 
}

.chat .footer-chat input {
  flex-grow: 1;
  border: 2px solid #e9ecef;
  background: #ffffff;
  border-radius: 25px;
  padding: 14px 20px;
  font-size: 15px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  
  transition: all 0.3s ease;
  font-weight: 500;
}

.chat .footer-chat input:focus {
  outline: none;
  border-color: var(--second);
  box-shadow: 0 0 0 3px rgba(var(--second-rgb), 0.1);
  transform: translateY(-1px);
}

.chat .footer-chat input::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

/* أزرار الإجراءات */
.chat .action-buttons {
  display: flex;
  gap: 8px;
}

.chat .action-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--second), var(--prime));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.chat .action-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.chat .action-btn:active {
  transform: translateY(0) scale(0.95);
}

/* الأيقونات */
.chat .fa-plus,
.chat .fa-info-circle,
.chat .fa-paper-plane {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.chat .action-btn:hover .fa-plus,
.chat .action-btn:hover .fa-info-circle,
.chat .action-btn:hover .fa-paper-plane {
  transform: scale(1.1);
}

/* حالة الاتصال */
.chat .connection-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 20px;
  font-size: 12px;
  color: #28a745;
  margin-bottom: 16px;
}

.chat .connection-status.offline {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.chat .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #28a745;
  animation: pulse 2s infinite;
}

.chat .connection-status.offline .status-dot {
  background: #dc3545;
  animation: none;
}

 
.chat .typing-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: #f8f9fa;
  border-radius: 20px;
  margin-bottom: 16px;
  align-self: flex-start;
  max-width: 85%;  
}

.chat .typing-dots {
  display: flex;
  gap: 4px;
}

.chat .typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #adb5bd;
  animation: typing 1.4s infinite ease-in-out;
}

.chat .typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}
.chat .typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

 
@media (max-width: 1024px) {
  .chat-container {
    height: 500px;
    gap: 15px;
    padding: 15px;
  }

  .chat .nav-tabs-container {
    width: 280px;
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .chat-container {
    flex-direction: column;
    height: auto;
    max-height: none;
    gap: 20px;
  }

  .chat .nav-tabs-container {
    width: 100%;
    height: 200px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 0;
  }

  .chat .nav-tabs {
    flex-direction: row;
    gap: 10px;
    padding-bottom: 10px;
  }

  .chat .nav-tabs .nav-link {
    min-width: 250px;
    margin-bottom: 0;
    margin-left: 10px;
  }

  .chat .box-chat-content {
    height: 400px;
    padding: 20px;
    border-radius: 16px;
  }

  .chat .body-chat {
    padding: 15px;
  }

  .chat .body-chat .message {
    max-width: 90%; /* عرض أكبر في الموبايل */
    padding: 12px 16px;
  }

  .chat .footer-chat input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .chat .action-btn {
    width: 44px;
    height: 44px;
  }

  .chat .chat-avatar {
    width: 42px;
    height: 42px;
  }
}

/* تأثيرات إضافية للتفاعل */
.chat .message-enter {
  animation: messageSlideIn 0.3s ease-out;
}

@keyframes messageSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* تحسينات إضافية للألوان الداكنة */
@media (prefers-color-scheme: dark) {
  .chat .box-chat-content {
    background: linear-gradient(145deg, #2c3e50, #34495e);
    color: #ecf0f1;
  }

  .chat .body-chat {
    background: linear-gradient(145deg, #34495e, #2c3e50);
  }

  /*.chat .body-chat .message-left {
    background: linear-gradient(135deg, #3a4a5c, #2c3e50);
    color: #ecf0f1;
    border-color: rgba(255, 255, 255, 0.1);
  }*/

  .chat .footer-chat input {
    background: transparent;
    border-color: #4a5f7a;
    color: #5d5e73;
  }

  .chat .nav-tabs .nav-link {
    background: #34495e;
    color: #ecf0f1;
  }
}

/* إضافة للتأكد من التوزيع الصحيح */
.chat .nav-tabs-container::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.chat .nav-tabs-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.chat .nav-tabs-container::-webkit-scrollbar-thumb {
  background-color: var(--second);
  border-radius: 10px;
}

.chat .nav-tabs-container::-webkit-scrollbar-thumb:hover {
  background-color: var(--prime);
}
.chat .nav-tabs-container,
.chat .box-chat-content {
  height: 100%;
  max-height:442px; /* ارتفاع ثابت متساوي */
  overflow-y: auto;
}

@media (min-width: 992px) {
    .col-lg-6 {
        -ms-flex: 0 0 50%;
        flex: 2 19 92;
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 73.333333%;
        max-width: 73.333333%;
    }
}
.chating{
  max-height: 66%;
}
















/* start modal popup  */
/* start page  */
.profile .btns-empty > * {
  border: 1px solid rgba(100, 100, 100, 0.63);
  border-radius: 5px;
  margin: 0 5px;
  text-align: right;
  padding: 8px 15px;
}
.profile .check div {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin: 0 5px; */
}
.ico {
  width: 25px;
  height: 25px;
}
.ico2 {
  width: 30px;
  height: 30px;
  margin-left: 5px;
}
.total-money {
  border-top: solid 1px rgba(117, 117, 117, 0.644);
  padding: 30px 0px;
}
.profile .detail-money li {
  margin: 10px 0px;
}
.profile .check div input {
  margin: 0 10px;
  width: 15px;
}
.profile .detail-money h3 {
  color: var(--prime);
  margin-bottom: 20px;
}
.profile .detail-money li {
    width: 100%;
    font-weight: 500;
    margin: 16px 0px;
    border-bottom: 1px solid #d2d2d2;
    padding: 15px 0px;
}
.profile .detail-money li img {
  margin-left: 10px;
}
.detail-money li {
  display: flex;
  justify-content: space-between;
}
.detail-money ul {
  padding: 0;
}
.detail-money .col:first-of-type li:last-of-type {
  padding: 10px 0px;
  border-top: 1px solid rgba(119, 119, 119, 0.596);
  margin: 10px 0px;
}
.detail-money .col:last-of-type li:first-of-type span:last-of-type {
  color: rgb(19, 187, 4);
}
.share {
  box-shadow: 0 0 5px 5px #66666618;
  border-radius: 20px;
  padding: 5px;
  background-color: white;
  margin: 0 20px;
}
.modal .modal-star {
  display: flex;
  justify-content: center !important;
  align-items: center;
}
.modal .modal-star li {
  filter: grayscale(2);
  width: 50px !important;
}
/* chat  */
.box-3 {
opacity: 0;
  background-color: white;
  box-shadow: 0 0 5px 5px #66666618;
  border-radius: 20px;
  transition: 1s;

}
.box-3 div  div {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(172, 172, 172, 0.63);
}
.box-3  div:last-of-type {
  border-bottom: none !important;
}
.total-head {
  padding: 10px 0px;
  border-bottom: 1px solid rgba(172, 172, 172, 0.63);
  margin: 20px 0px;
}
.totla-cash {
  width: 100%;
}

.totla-cash ul {
  width: 100%;
  padding: 0px;
}
.totla-cash ul li {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-right: 10px;
  position: relative;
  font-weight: 500;
  color: var(--p);
}
.totla-cash ul li::after {
  content: ".";
  position: absolute;
  right: 0px;
  top: 50%;
  transform: translateY(-60%);
}
.totla-cash2 ul li::after {
  display: none;
}
.totla-cash2 ul li span:last-of-type {
  color: black;
}
.profile .visa {
  width: 100%;
}
.profile .visa .col {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  margin: 15px 0;
}
.profile .visa .col label {
  display: flex;
  justify-content: flex-start;
  margin-right: 15px;
}
/* .profile .visa .col input{
  accent-color: var(--prime);
} */
.profile .visa .col p {
  margin-top: 10px;
  margin-right: 10px;
}
.profile .visa .col img {
  margin: 0px;
  padding: 0px;
  width: 50px;
  height: 40px;
  object-fit: contain;
  width:100% !important;
}
.page-profile-services .bbottom{
    flex-direction:column;
}
.profile .boxs .text {
  margin: 30px 0px;
}
.profile .boxs .text:first-of-type {
  border-bottom: 1px solid rgba(143, 142, 142, 0.466);
  margin-bottom: 50px;
}
.bbottom {
  border-bottom: 1px solid rgba(143, 142, 142, 0.466);
}
.profile .boxs .text .btn {
  margin: 30px 0px;
}
.profile .nav-head {
  box-shadow: 0 0 5px 5px #66666618;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  flex-direction: row;
  justify-content: center !important;
}
.profile .nav-end {
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 20%; */
}
.profile .nav-end button {
  padding: 15px 80px;
  border-radius: 10px;
  background-color: white;
  color: var(--prime);
  border: var(--prime) solid 1px;
}
.profile .nav-end .active button {
  background-color: var(--prime);
  color: white;
}

.profile .package {
  width: 70%;
}
.profile .package .card-body {
  padding: 0 40px;
}
.profile .package .top-title {
  background-color: var(--second);
  /* padding: 30px; */
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  border-radius: 20px;
  overflow: hidden;
}
.profile .package .top-title {
  position: relative;
}
.profile .package .card-body {
  position: relative;
}
.profile .package .card-body .float {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--prime);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background-color: white;
  padding: 20px 10px;
  width: 80%;
  border-radius: 20px;
  z-index: 2;
}
.profile .package .float h3 {
  font-weight: 400;
  font-size: 20px;
}
.profile .package .top-title .float-2 {
  position: absolute;
  background-color: red;
  right: -89px;
  top: 17%;
  transform: translateY(-0%) rotate(32deg);
  padding: 5px 100px;
  z-index: 1;
}
.profile .package .top-title .float-2 p {
  color: white;
}
.profile .package .total-card {
  margin-top: 50px;
  margin-bottom: 30px;
}
.profile .package .total-card h2 {
  text-align: center;
  font-size: 35px;
  font-weight: bolder;
}
.profile .package .card:hover,
.profile .package .card:hover li p {
  color: white;
  transition-duration: 1s;
  transition-delay: 0.5s;
}
.profile-text .text div {
  margin: 20px 0px;
}
.profile-text .text div p {
  line-height: 30px;
}
.profile .package {
  margin-top: 50px;
}
.pack .fa-close {
  width: 25px;
  height: 25px;
}
.pack .fa-close,
.pack .fa-check {
  color: red;
  border: red solid 1px;
  border-radius: 50%;
  /* width: 30px;
  height: 25px; */
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}
.pack .fa-check {
  color: white;
  background-color: var(--prime);
  border: none;
  width: 25px;
  height: 25px;

}
.profile .package ul {
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.profile .package li {
  display: flex;
  align-items: center;
  justify-content: start;
  margin-bottom: 20px;
}
.profile .package li i {
  margin-left: 10px;
  padding: 7px;
}

.profile .package .btn:last-of-type {
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
}

.pack .box-info {
  padding: 15px;
  border: solid 1px rgba(158, 158, 158, 0.527);
  width: 99%;
}
.pack .box-info:first-of-type {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.pack .box-info > div {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pack .box-info .pack .fa-check {
width: 25px;
height: 25px;
}

.pack .box-info:last-of-type {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.modal .modal-star li:hover {
  filter: grayscale(0);
  transition: 0.8s;
  cursor: pointer;
}
.modal .modal-star .active {
  filter: grayscale(0);
}
.modal .modal-star .active {
  background-color: transparent !important;
  filter: grayscale(0) !important;
}
#filter-date {
  cursor: pointer;
}
/* start basic  */
.modal-dialog {
  height: 95% !important;
}
.modal .close-pop {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-weight: bolder;
  font-size: 25px;
  border: solid 1px white;
  background-color: transparent;
}
.modal .modal-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.modal .close-pop i {
  color: white;
}
/* end basic  */
.modal-dialog .modal-body > div {
  width: 90%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.modal-dialog .nav-tabs {
  border: none;
}
.modal-dialog .nav-tabs {
  width: 100%;
  margin-bottom: 30px;
}
.modal-dialog .tab-content div span {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
}
.modal-dialog .tab-content div span > * {
  margin: 5px 0px;
}
.modal-dialog .nav-tabs .nav-item {
  width: 24%;
  text-align: center;
  border-radius: 10px;
  margin: 0 0.5%;
}
.modal-dialog .nav-tabs .nav-item a {
  border-radius: 5px;
  padding: 10px 0px;
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
  background-color: transparent;
width: 100%;
}
.modal-dialog .nav-tabs .nav-item .active {
  color: white;
}
.modal-dialog .nav-tabs .active {
  background-color: var(--prime);
  color: white;
}
.modal-body form {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
}
.modal-body form span {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  margin: 10px 0;
  padding: 0 20px;
}
.modal-body form span label {
  font-weight: bold;
}
.modal-body form span label {
    font-weight: bold;
    display: flex
;
    align-items: center;
    width: 100%;
    text-wrap: nowrap;
    justify-content: flex-start;
}
.modal-body form input {
  border-radius: 30px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(116, 114, 114, 0.452);
}
.modal-body form .info-form {
  margin: 50px 0;
}

.modal-body form select {
  border-radius: 30px;
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(116, 114, 114, 0.452);
}
/* .modal-body input[type=text]:first-of-type{
  background-image: url(assets/img/city.png);
  padding: 10px;
  background-repeat: no-repeat;
  direction: rtl;
  margin-right: 0;
  display: flex;
  justify-content: flex-start;
} */
.modal-body .icon-form,
.modal-body .icon-form2 {
  position: relative;
}

.modal-body .icon-form2 .icon-form2-float {
  display: flex;
  justify-content: flex-end;
  margin: auto;
  align-items: center;
  flex-direction: row;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}
.modal-body .icon-form2:first-of-type .icon-form2-float {
  transform: translateY(10%);
}
.modal-body .icon-form2 .icon-form2-float img {
  width: 20px;
  height: 20px;
  margin-bottom: 3px;
  margin-right: 3px;
}
.modal-body .box-modal {
  margin: 30px 0px;
  width: 100%;
  padding: 20px 10px;
  background-color: rgba(235, 235, 235, 0.24);
  box-shadow: 0 0 5px 5px #66666618;
  border-radius: 20px;
}
.modal-body .box-modal span {
  display: flex;
  flex-direction: column;
  align-items: normal;
}
.modal-body .box-modal span p {
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
  font-size: 14px;
}

.modal-body .icon-form::after,
.modal-body .icon-form2::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  width: 25px;
  height: 25px;
}
.modal-body .icon-form::after {
  transform: translateY(0%);
}
.modal-body .icon-form:nth-of-type(1):after {
  background-image: url(assets/img/user.png);
}
.modal-body .icon-form:nth-of-type(2):after {
  background-image: url(assets/img/city.png);
}
.modal-body .icon-form:nth-of-type(3):after {
  background-image: url(assets/img/Info.png);
}
.modal-body .icon-form:nth-of-type(6):after {
  background-image: url(assets/img/ticket.png);
}
.modal-body .icon-form input {
  padding: 10px 40px;
}
.modal-body .icon-form2 input {
  padding: 10px 40px;
}
.modal-body .icon-form2:nth-of-type(1):after {
  background-image: url(assets/img/ticket.png);
  transform: translateY(25%);
}
.modal-body .icon-form2:nth-of-type(2):after {
  background-image: url(assets/img/review.png);
}
.modal-body .icon-form2:nth-of-type(3):after {
  background-image: url(assets/img/link.png);
}
.modal-copun .modal-dialog .nav-tabs li {
  width: 32%;
  margin: 0 0.5%;
}

 
.modal .modal-content {
  overflow-y: scroll;
  height: 80%;
}
/* .modal .modal-content::-webkit-scrollbar {
  display: none;
} */
.modal-content{
  overflow-x: hidden;
  }
  
.modal-copun .modal-dialog {
  margin: 0;
}
.modal-copun .modal-content .modal-body {
  margin-top: 0;
  position: relative;
  overflow-y: scroll !important; 
}
.modal-copun .modal-body div {
  width: 100%;
}
.modal-copun .modal-dialog .tab-content div span {
  /* margin: 5px; */
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 10px 0px;
}
.modal-copun form .row span {
  padding: 0;
  margin: 0;
  text-align: right;
}
.modal-copun form .row span:first-of-type {
  display: flex;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 0;
  padding: 10px 0px;
}
.modal-copun form .row span:last-of-type {
  justify-content: flex-end;
  align-items: flex-end !important;
}
/* .modal .dropdown button {
  margin-right: 6.5%;
}
.modal .dropdown .dropdown-menu {
  margin-right: 11%;
  margin-bottom: 20px;
  border-radius: 15px;
  padding: 0px;
  transform: translate3d(42px,70px, 0px) !important;
}
.modal .dropdown-toggle::after {
  display: none;
}
.modal .dropdown .dropdown-menu li {
  padding: 15px;
}
.modal .dropdown .dropdown-menu li {
  border-radius: 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 1s;
  border-bottom: solid var(--prime) 2px;
}
.modal .dropdown .dropdown-menu li:first-of-type {
  border-radius: 13px;
}
.modal .dropdown .dropdown-menu li:hover {
  background-color: var(--prime);
  cursor: pointer;
}
.modal .dropdown .dropdown-menu li a {
  transition: 1s;
}
.modal .dropdown .dropdown-menu li:hover a {
  color: white;
} */
 /*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;
  border: none;
  padding: 0px;
  width: 85%;
}

.custom-select select {
  display: none  !important; /*hide original SELECT element:*/
}

.select-selected {
  background-color: var(--prime);
  width: 100%;
  margin: auto;
  border-radius: 30px;

}

/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 30px;
  transform: translateY(10%);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #fff transparent transparent transparent;
}

/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #fff transparent;
  top: 7px;
}

/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: #ffffff;
  padding: 12px 30px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}

/*style items (options):*/
.select-items {
  position: absolute;
  background-color: var(--prime);
  bottom: 50px;
  height: 200px;
  overflow-y: scroll;
  left: 0;
  right: 0;
  z-index: 99;
  border-radius: 15px;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.select-items::-webkit-scrollbar {
  display: none;
}
.select-items div, .same-as-selected {
  transition: 1s;
}
.select-items div:hover, .same-as-selected {
  background-color:var(--second) !important;
  border-radius: 5px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}
.select-items div:hover:first-of-type, .same-as-selected {
  border-radius: 15px; 
   border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}
.content-thanks {
  height: 60vh;
}
.content-thanks > * {
  margin: 15px 0px;
}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 35px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: var(--prime);
}

input:focus + .slider {
  box-shadow: 0 0 1px var(--prime);
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/* end page-admin-service */
/* start edit 2 */
.profile .order-content {
  box-shadow: 0 0 5px 5px #a7a7a729;
  margin: 0 20px;
  border-radius: 20px;
  margin-bottom: 35px;
  padding: 25px;
  background-color: white;
}
.profile .order-content .order{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 50px;
  z-index: 2;
}
.profile .order-content .orders-image{
margin-right: 60px;
margin-top: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
}
.profile .order-content .orders-image img{
  margin-left: 15px;
  border-radius: 15px;
  width: 130px;
  height: 100%;
}
.profile .order-content .order .details-order{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width:100% !important;
}
.profile .order-content .order span{
  margin: 0px 50px;
  margin-right: 0px;
  text-wrap: nowrap;
  
}
.profile .order-content .order .image{
  position: relative;
}
.profile .order-content .order .image img{
  width: 50px;
  height: 50px;
}
.profile .order-content .order .image::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  background-image: url(assets/img/order-line.png);
  width: 2px;
  height: 85%;
  z-index: 1;
}
.profile .order-content .order .image2::after{
  height: 140px ;
}
.profile .order-content .order:last-of-type {
  margin-bottom: 0px;
}
.profile .order-content .order:last-of-type .image::after{
  display: none;
}
.profile .order-content .order span i{
  margin-left:10px;
}
.profile .add-service{
  width: 100%;
  padding: 20px;
  box-shadow: 0px 0px 5px 5px rgba(199, 199, 199, 0.363);
  background-color: white;
  border-radius: 20px;
}
.add-service div{
        display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.profile .add-service .name{
  width: 100% ;
  border: solid 1px rgba(129, 129, 129, 0.349) !important;
  border-radius: 30px !important;
  padding: 5px !important;
  margin: 10px 0 !important;
}
.profile .add-service label{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  margin: 10px;
}
.profile .add-service label img{
  width: 100px;
  height: 100px;
}
.profile .add-service input{
  width: 100% ;
  border-radius: 30px !important;
  padding: 5px !important;
  margin: 10px 0 !important;
}
.profile .add-service-2 .card  {
  padding: 20px;
}
.profile .add-service.add-service-2{
    box-shadow:none;
}
.profile .add-service-2 .card .card-img-top {
  position: relative;
}
.profile .add-service-2 .card .card-img-top img{
  height: 200px;
border-radius: 20px;
}
.profile .add-service-2 .card .card-body{
  margin: 0px;
  padding: 0px;
  padding-top:20px;
}
.profile .add-service-2 .card .remove-card {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: white;
  padding: 5px;
  border-radius: 50%;
}
.profile .add-service-2 .card .remove-card i{
color: white;
background-color: rgb(168, 21, 21);
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50px;
transition: 1s;
font-size: bold;
}
.profile .add-service-2 .card .remove-card:hover i {
  background-color: white ;
  color:rgb(168, 21, 21) ;
}

/* start statistics */
.statistics{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.statistics .tab-content .content-stat{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.statistics  .nav-link{
  border: solid 1px var(--prime);
  color: var(--prime) !important;
}
.statistics  .nav-tabs .active{
   color: white !important;
}
.statistics .modal-dialog .tab-content div span{
  width: 100%;
}
.statistics .modal-dialog .modal-body > div{
  width: 100%;
}
.profile .custom-uploader img{
    border-radius:10px;
}
.btns-services a{
margin:auto !important;    
}

/* start footer  */
.footerbg__links li + li {
  margin-top: 8px;
}
.footerbg a {
  color: #fff;
}
.footerbg a:hover {
  color: #5d5e73;
}
.footerbottom.border-top {
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.customaccordion .card {
  border-radius: 0;
  border: 0;
  margin-bottom: 25px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 25px rgb(0 0 0 / 8%);
}
.customaccordion .card .card-header {
  border-radius: 0;
  padding: 0;
  background-color: transparent;
  border: none;
}
.customaccordion .card .card-header a {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0fb8b6;
  background-color: transparent;
  padding: 20px 35px;
  padding-left: 85px;
  position: relative;
}
.customaccordion .card .card-header a.collapsed:hover {
  color: #0fb8b6;
}
.customaccordion .card .card-header a.collapsed {
  color: #000;
  background-color: transparent;
}
.customaccordion .card .card-header a:before {
  position: absolute;
  content: "\f077";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  top: 20px;
  left: 30px;
}
.customaccordion .card .card-header a.collapsed:before {
  content: "\f078";
}
.customaccordion .card .card-body {
  background-color: transparent;
  font-size: 18px;
  line-height: 1.7;
  border: none;
  padding: 0 35px 35px;
}
.customaccordion .card .card-body p:last-child {
  margin-bottom: 0;
}
.nav-tabs.customtabs {
  border-bottom: none;
  padding: 0;
}
.nav-tabs.customtabs .nav-item {
  margin-bottom: 15px;
  margin-left: 10px;
}
.nav-tabs.customtabs .nav-link {
  padding: 15px;
  border: 1px solid #d4ada5;
  color: #d4ada5;
  border-radius: 6px;
  min-width: 200px;
  text-align: center;
  font-size: 18px;
}
.nav-tabs.customtabs .nav-item.show .nav-link,
.nav-tabs.customtabs .nav-link.active,
.nav-tabs.customtabs .nav-link:hover {
  background-color: #d4ada5;
  border-color: #d4ada5;
  color: #fff;
}
.mfp-counter {
  direction: ltr;
}
.boxlist__box {
  color: #808080;
}
.boxlist__box:hover {
  color: #151515;
}
/* .boxlist .boxlist__box:first-of-type img {
  filter: grayscale(0);
}
.boxlist .active img {
  filter: grayscale(0);
} */
.boxlist__box img {
  filter: grayscale(2);
  transition: 0.5s;
}

.boxlist .active img {
  filter: grayscale(0);
}



.boxlist__box:hover img {
  filter: grayscale(0);
}
.titleshape .titleshape__title::before,
.titleshape .titleshape__title::after {
  position: relative;
  content: "";
  display: block;
  top: 0;
  right: 0;
  width: 90px;
  height: 72px;
}
.titleshape .titleshape__title::before {
  background: url(assets/img/titleshape_right.png) no-repeat right top;
  background-size: auto 72px;
}
.titleshape .titleshape__title::after {
  background: url(assets/img/titleshape_left.png) no-repeat right top;
  background-size: auto 72px;
}
.titleshape .titleshape__title h2 {
  min-height: 72px;
}
.font-12 {
  font-size: 12px;
}
.boxservices .colorstar {
  color: #ffcb45;
}
.boxservices__thu .label {
  bottom: 10px;
  left: 10px;
}

/* padding-bottom and top for image */
.mfp-no-margins img.mfp-img {
  padding: 0;
}
/* position of shadow behind the image */
.mfp-no-margins .mfp-figure:after {
  top: 0;
  bottom: 0;
}
/* padding for main container */
.mfp-no-margins .mfp-container {
  padding: 0;
}

.who-us .images img{
height: 100%;
  width: 100%;
}

.who-us .images div {
  margin: 0px 15px;
}
.who-us .images .image-center {
  margin-top: 0px 15px;
}
.page-code .content-code {
  width: 80%;
  margin: auto;
}
.page-code .content-code img {
  width: 50px;
}
.page-code .content-code > * {
  margin: 10px 0px;
}
.page-code .content-code .code input {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: solid 1px var(--prime);
  text-align: center;

  font-size: 25px;
}
img.mfp-img{
  height: 40vh;
}
/* edit larvel  */
.phone > div {
  padding: 0px;
}
.phone .vue-tel-input {
 width: 100% !important;
 border: solid 1px rgba(129, 129, 129, 0.349) !important;
 border-radius: 30px !important;
 padding: 5px !important;
 margin: 10px 0 !important;
}
/*--------- Responsive ----- */
@media (min-width: 992px) {
  .boxlist [class^="col"] + [class^="col"] .boxlist__box::before {
    position: absolute;
    content: "";
    width: 2px;
    height: 24px;
    background-color: #808080;
    right: -16px;
    top: 50%;
    transform: translateY(-12px);
  }
  .profile .reviews .review {
    width: 97%;
  }
  .profile .btn-modal {
    width: 25% !important;
  }

  .row-cols-lg-4 .col {
    max-width: 23%;
    flex: 0 0 23%;
    margin: 20px 1%;
  }
  .row-cols-lg-3 .col {
    max-width: 31%;
    flex: 0 0 31%;
    margin: 20px 1%;
  }
  .row-cols-lg-2 .col {
    max-width: 48%;
    flex: 0 0 48%;
    margin: 20px 1%;
  }
  .row-cols-lg-1 .col {
    max-width: 96%;
    flex: 0 0 96%;
    margin: 30px 2%;
  }
}
@media (max-width: 992px) {
  .boxlist__rounded {
    border-radius: 16px !important;
  }
  .profile .review-content .col {
    max-width: 98%;
  }
  .profile .form-serv .add input,
  .profile .form-serv .add2 input {
    width: 93%;
  }
  .profile .form-serv .add-icon,
  .profile .form-serv .add-icon2 {
    position: absolute;
    left: 5px;
  }
  .profile .reviews .review {
    width: 80%;
  }
  .profile .package {
    width: 100%;
  }
  .profile .images-pop .col {
    margin-bottom: 20px;
  }
  /* bootstrab */
  .modal-content {
    width: 90% !important;
  }
  .row-cols-md-4 .col {
    max-width: 23%;
    flex: 0 0 23%;
    margin: 20px 1%;
  }
  .row-cols-md-3 .col {
    max-width: 31%;
    flex: 0 0 31%;
    margin: 20px 1%;
  }
  .row-cols-md-2 .col {
    max-width: 48%;
    flex: 0 0 48%;
    margin: 20px 1%;
  }
  .row-cols-md-1 .col {
    max-width: 96%;
    flex: 0 0 96%;
    margin: 40px 2%;
  }
  .profile .order-content .order .image img{
    width: 25px;
    height: 25px;
  }
  .profile .order-content .order  {
    margin-bottom: 25px;
  }
  .profile .order-content .order span {
    margin: 0px 15px;
    margin-right: 0px;
  }
  .profile .order-content .order span h5{
    font-size: 15px;
  }
  .profile .order-content .orders-image{
    margin: 0px auto;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    }
    .profile .order-content .orders-image img{
      margin-left: 15px;
      border-radius: 15px;
      width: 100px;
      height: 100%;
      margin-bottom: 20px;
    }
    .profile .order-content .order .image2::after{
      height: 115px ;
    }
}
@media (max-width: 768px) {
  .customaccordion .card .card-header a {
    font-size: 18px;
  }
  .nav-tabs.customtabs .nav-link {
    min-width: inherit;
    padding: 10px 25px;
  }

  /* start page profile  */
  .profile .reviews .review {
    width: 75%;
  }
  .profile .profile-list {
    max-width: 95%;
    margin: auto;
    display:none;
  }
  .btn-width {
    width: 100% !important;
  }
  .profile .service {
    width: 100%;
    padding: 0px 20px;
  }
  .profile .service .info-service {
    flex-wrap: wrap;
  }
  .profile .service span {
    width: 41%;
    margin: auto !important ;
    margin-bottom: 15px !important;
  }
  .profile .service .img-service {
    width: 100%;
  }
  .profile .service .img-service img {
    width: 250px ;
  }
  .profile .services-user .img-service img {
    width: 100px !important;
  }
  .profile .services-user .img-service img {
      width:170px;
  }
  .profile .service span:last-of-type {
    width: 100%;
  }

  .profile .to-do-list {
    padding: 5px;
  }
  .link-font {
    overflow: hidden;
  }
  .profile .landing-support-end {
    display: flex;
    flex-direction: column;
  }
  .profile .landing-support-end > * {
    margin: 20px 0px;
  }
  .ico {
    width: 15px;
    height: 15px;
    margin-left: 5px;
  }
  .ico2 {
    width: 20px;
    height: 20px;
    margin-left: 5px;
  }
  .total-money h4 {
    font-size: 15px;
  }

  .profile .package {
    width: 95%;
  }

  .drop-center .dropdown-menu {
    width: 50%;
    transform: translate3d(-100px, 30px, 0px) !important;
  }
  /* edit bootstrap  */
  .row-cols-sm-4 .col {
    max-width: 23%;
    flex: 0 0 23%;
    margin: 20px 1%;
  }
  .row-cols-sm-3 .col {
    max-width: 31%;
    flex: 0 0 31%;
    margin: 20px 1%;
  }
  .row-cols-sm-2 .col {
    max-width: 48%;
    flex: 0 0 48%;
    margin: 20px 1%;
  }
  .row-cols-sm-1 .col {
    max-width: 96%;
    flex: 0 0 96%;
    margin: 30px 2%;
  }
  .profile .order-content .order .image img{
    width: 25px;
    height: 25px;
  }
  .profile .order-content .order  {
    margin-bottom: 25px;
  }
  .profile .order-content .order span {
    margin: 0px 10px;
    margin-right: 0px;
  }
  .profile .order-content .order span h5{
    font-size: 11px;
  }
  .profile .order-content .orders-image{
    margin: 0px auto;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    }
    .profile .order-content .orders-image img{
      margin-left: 15px;
      border-radius: 15px;
      width: 100px;
      height: 100%;
      margin-bottom: 20px;
    }
    .profile .order-content .order .image2::after{
      height: 110px ;
    }
    .profile .to-do-list span {
      padding: 0px 5px;
      margin: 10px 0px !important;
    }
    .phone{
      padding:0px !important;
    }
    .profile .upload-files {
      display: flex !important;
      align-items: center !important;
      flex-direction: column  !important;
      justify-content: center !important;
    }
    .profile .upload-files .upload-content   {
      width: 100% !important;
    }

    .who-us .images div{
      margin:0px 2px;
    }

    
    .profile .signin-profile span{
      padding: 0px;
    }
    .countdown div span  {
      font-size: 13px; 
      }
      .details-order .btn{
        font-size: 12px;
        padding: 5px !important;
        width: 80px;
        min-height: 20px;
      }
   .profile .btn-services .nav-tabs {
  display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}
.profile .btn-services .nav-tabs .nav-item{
    width: 120px;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link{
    width:120px;
}
.profile .services .info-service .img-service img {
  width: 100% ;
}
.profile .detail-money li span{
    font-size:11px;
}
.profile .detail-money li img {
    margin-left: 5px;
    width: 15px;
}
.profile .detail-money a li span {
    margin: 10px 0px;
    width: 100%;
}
.profile .detail-money a li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.login form .signup{
  flex-wrap: wrap;
}
.login form .signup a{
  text-wrap: nowrap;
  margin:5px 0px;
}
.login form .signup a:first-of-type{
  width: 100% !important;
}

    .share {
        flex-direction:column ;
    }
    .share > *{
            flex-direction: column;
    width: 100% !important;
    text-align: center;
    margin: 15px 0px !important;
    }
    .share h6{
    margin-top:15px;
    }
    .share img{
        width:80px;
    }
    .share button{
    padding:5px !important;
    }
/*<<<<<<< HEAD    */
/*=======*/
/*>>>>>>> 5ea2556 (sync server)*/
}
@media (max-width: 500px) {
}
@media (max-width: 380px) {
  .profile .order-content .order .image img{
    width: 20px;
    height: 20px;
  }
  .profile .order-content .order  {
    margin-bottom: 25px;
  }
  .profile .order-content .order span {
    margin: 0px 5px;
    margin-right: 0px;
  }
  .profile .order-content .order span h5{
    font-size: 9px;
  }
  .countdown div span  {
    font-size: 10px; 
    }

}
@media (min-width: 1190px) {
  .container {
    max-width: 1130px;
  }
}
@media (min-width: 1340px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

.btn-carv {
  border-radius: 30px;
}
.b-shadow {
  box-shadow: 0 0 5px 5px #cacaca29;
  background-color: white;
  border-radius: 20px;
}

.red {
  color: rgb(233, 70, 70);
  transition: 0.3s;
}
.pointer {
  cursor: pointer;
}

.d-block{
  display: block !important;
}
.opacity-1{
  opacity: 1;
}
.auoplay2 {
  height: 400px;
  padding: 0px;
}
.autoplay2 img{
width: 100%;
height: 100%;
border-radius: 15px;
/* margin: 0px 30px; */
object-fit: cover;
}
.autoplay2 .slick-arrow{
  display: none !important;
}
.autoplay2 .col{
  padding: 10px;
  margin: 0px;
  height: 100%;
  object-fit: cover;
}
.autoplay2  .block{
  height: 380px;
  padding: 0px 10px;
}
.autoplay2  .block2{
  padding: 0px 10px;
}
.autoplay2  .block img{
  margin-top: 10px;
}
.autoplay2  .block2 img{
  width: 100%;
  height: 180px !important;
  padding: 0px !important;
  margin: 0px !important;
}
.slick-dots {
  bottom: -50px;
}
.slick-dots li button{
  border-radius: 0%;
  width: 30px;
  height: 3px;
}
.autoplay2  .block2{
  /* height: 200px !important; */
  object-fit: contain;
}
.autoplay2  .block2 img{
  object-fit: contain;
}

.autoplay2 .col-6{
   margin: 0px;
}

.phone > div {
   padding: 0px;
}

.phone .vue-tel-input {
  width: 100% !important;
  border: solid 1px rgba(129, 129, 129, 0.349) !important;
  border-radius: 30px !important;
  padding: 5px !important;
  margin: 10px 0 !important;
}
.profile .note-money .chose input {
  min-width: 100%;
  text-align: center;
  padding: 20px;
}
.profile .note-money .chose > div {
    border: none;
}
/*.profile .note-money {*/
/*    padding: 15px 0px;*/
/*}*/

.chose-multi{
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px !important;
  margin: 0px;
}
.chose-multi .chosen-container-multi .chosen-choices li.search-field input[type=text]{
  padding: 25px 0px;
  border-radius: 20px !important;
}
.chose-multi .chosen-choices{
  border-radius: 5px;
}
.chose-multi select{
  padding: 30px;
}
.chose-multi input{
  margin: 0px 20px; 
  padding:  15px 15px;
}
.chose .ghlighted:hover{
background-color: var(--prime) !important;
}

.service-user img {
  margin-left: 7px;
  margin-top: 2px;
  }
  .service-user .info-service .col-lg-2:first-of-type img{
    margin-right: 100px;
  }
  
.rate {
  float: left;
  height: 46px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction:row-reverse;
}
.rate:not(:checked) > input {
  position:absolute;
  top:-9999px;
}
.rate:not(:checked) > label {
  border-radius: 5px;
  padding: 10px 0px;
  font-weight: 500;
  color: rgba(128, 128, 128, 1);
  background-color: transparent;
  width: 100%;
  margin: 0px 5px;
  filter: grayscale(1);
  transition: .5s;
  cursor: pointer;
}
.rate:not(:checked) > label:before {
/* content: '★ '; */
width: 100%;
height: 100%;
}
.rate:not(:checked) > label:nth-of-type(1):before {
content: url("assets/img/star-5.png") ;
}
.rate:not(:checked) > label:nth-of-type(2):before {
content: url("assets/img/star-4.png") ;
}
.rate:not(:checked) > label:nth-of-type(3):before {
content: url("assets/img/star-3.png") ;
}
.rate:not(:checked) > label:nth-of-type(4):before {
content: url("assets/img/star-2.png") ;
}
.rate:not(:checked) > label:nth-of-type(5):before {
content: url("assets/img/star-1.png") ;
}
.rate > input:checked ~ label {
  filter: grayscale(0); 
}
.rate:not(:checked) > label:hover,
.rate:not(:checked) > label:hover ~ label {
filter: grayscale(0); 
}
.rate > input:checked + label:hover,
.rate > input:checked + label:hover ~ label,
.rate > input:checked ~ label:hover,
.rate > input:checked ~ label:hover ~ label,
.rate > label:hover ~ input:checked ~ label {
  color: #c59b08;
}

/* Modified from: https://github.com/mukulkant/Star-rating-using-pure-css */
input[type="file"]::before{
  display: none;
}

label:hover,input:hover{
  cursor: pointer !important;
}
.countdown  {
display: flex;
align-items: center;
justify-content: center;
}
.countdown div  {
  color: red !important;
  margin: 0px 3px !important;
  font-weight: bold;
  
}
.countdown div span  {
  margin: 0px !important;

}
.end-part span > p{
width: 100% !important;
}
.end-part .col {
  margin: 15px 2%;
}
.text-light{
    color:white !important;
}

#delete8 .modal-content {
    overflow: hidden;
}

.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
  background-color: #d4ada5 !important;
  border-color: #d4ada5 !important;
  color: white !important;
}

/* عندما يتم اختيار يوم واحد فقط (البداية فقط) */
.flatpickr-day.startRange:not(.endRange) {
  background-color: #d4ada5 !important;
  color: white !important;
  border-radius: 50% 0 0 50% !important; /* نصف دائرة على اليسار */
}

/* عندما يتم تحديد البداية والنهاية */
.flatpickr-day.startRange.endRange {
  background-color: #d4ada5 !important;
  color: white !important;
  border-radius: 50% !important; /* دائرة كاملة */
}

/* النهاية فقط (يظهر عند انتهاء النطاق) */
.flatpickr-day.endRange:not(.startRange) {
  background-color: #d4ada5 !important;
  color: white !important;
  border-radius: 0 50% 50% 0 !important; /* نصف دائرة يمين */
}

 
/* إزالة الفراغات حول الأيام */
.flatpickr-day {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 2.2 !important; /* يمكن تعديل الرقم حسب الحجم المناسب */
  background-color: #ccc;
}

 .dayContainer span{
  border: none;
 }
 #preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
     
}
 
 .row {
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-wrap: wrap;
     /* margin-left: -15px;
    margin-right: -15px; */
    align-content: center;
    justify-content: center;
  
}
.chat-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-room-item {
  cursor: pointer;
  transition: background 0.2s ease;
}

.chat-room-item:hover,
.chat-room-item.active {
  background-color: #e9ecef;
}

.message {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 0.95rem;
  line-height: 1.4;
  word-wrap: break-word;
}

.message-left {
  background-color: #e9ecef;
  color: #000;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

.message-right {
  background-color: #0d6efd;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.body-chat {
  display: flex;
  flex-direction: column;
}
/* صندوق إرسال الرسائل */
.send-msg-container {
  width: 100%;
  padding: 10px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  box-sizing: border-box;
}

.send-msg-container .file-info {
  margin-bottom: 5px;
  color: #444;
  font-size: 13px;
}

/* حاوية الإدخال والأزرار */
.send-msg-container .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.send-msg-container .col-10,
.send-msg-container .col-1 {
  padding: 5px;
}

.send-msg-container input[type="text"],
.send-msg-container .form-control {
  width: 100%;
  border-radius: 25px;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 14px;
  box-sizing: border-box;
}

/* زر الإرسال */
.send-msg-container a {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 20px;
  transition: background 0.3s ease;
}

.send-msg-container a:hover {
  background-color: #0056b3;
  color: #fff;
}

/* أيقونة الإضافة */
.send-msg-container label {
  cursor: pointer;
  display: inline-block;
  padding: 8px;
  font-size: 18px;
  color: #007bff;
}

.send-msg-container label:hover {
  color: #0056b3;
}

/* حاوية قائمة الغرف */
.box-chat {
  background-color: #ffffff;
  border-left: 1px solid #dee2e6;
  padding: 15px;
  height: 100vh;
  overflow-y: auto;
  box-sizing: border-box;
}

.box-chat .title h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #343a40;
  text-align: center;
}

/* قائمة المحادثات */
.chat-list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.chat-list li {
  border-bottom: 1px solid #e9ecef;
  padding: 10px 5px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.chat-list li:hover {
  background-color: #f8f9fa;
}

.chat-list .row {
  display: flex;
  align-items: center;
}

.chat-list img.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-list h6 {
  margin: 0;
  font-size: 14px;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-list p {
  margin: 0;
  font-size: 12px;
  color: #6c757d;
}

.chat-list .col-1 p,
.chat-list .col-1 small {
  font-size: 11px;
  text-align: right;
  color: #adb5bd;
}

/* استجابة للشاشات الصغيرة */
@media (max-width: 768px) {
  .box-chat {
    height: auto;
    border-left: none;
    border-bottom: 1px solid #dee2e6;
  }

  .chat-list .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .chat-list img.chat-avatar {
    margin-bottom: 5px;
  }

  .chat-list .col-1 {
    align-self: flex-end;
  }
}
/* صندوق إرسال الرسائل */
.send-msg-container {
  width: 100%;
  padding: 10px;
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
  box-sizing: border-box;
}

.send-msg-container .file-info {
  margin-bottom: 5px;
  color: #444;
  font-size: 13px;
}

/* حاوية الإدخال والأزرار */
.send-msg-container .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.send-msg-container .col-10,
.send-msg-container .col-1 {
  padding: 5px;
}

.send-msg-container input[type="text"],
.send-msg-container .form-control {
  width: 100%;
  border-radius: 25px;
  border: 1px solid #ccc;
  padding: 10px 15px;
  font-size: 14px;
  box-sizing: border-box;
}

/* زر الإرسال */
.send-msg-container a {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 20px;
  transition: background 0.3s ease;
}

.send-msg-container a:hover {
  background-color: #0056b3;
  color: #fff;
}

/* أيقونة الإضافة */
.send-msg-container label {
  cursor: pointer;
  display: inline-block;
  padding: 8px;
  font-size: 18px;
  color: #007bff;
}

.send-msg-container label:hover {
  color: #0056b3;
}
.rooms-section {
  width: 30%;
  height: 100vh;
  border-left: 1px solid #ddd;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 15px;
  background: #fff;
}

.title h3 {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.chat-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.room-item {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.room-item:hover {
  background: #f9f9f9;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  object-fit: cover;
}

.room-details {
  flex: 1;
}

.room-details h6 {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.room-details p {
  margin: 0;
  font-size: 12px;
  color: #666;
}

.timestamp {
  font-size: 11px;
  color: #999;
}
.send-msg-container {
  width: 100%;
  border-top: 1px solid #ddd;
  padding: 10px;
  background: #f8f9fa;
  box-sizing: border-box;
}

.send-msg-container .row {
  display: flex;
  align-items: center;
}

.send-msg-container .form-control {
  border-radius: 25px;
  padding: 10px 15px;
  font-size: 14px;
  width: 100%;
}

.send-msg-container a,
.send-msg-container label {
  font-size: 18px;
  color: #007bff;
  cursor: pointer;
  transition: color 0.3s ease;
}

.send-msg-container a:hover,
.send-msg-container label:hover {
  color: #0056b3;
}

.file-info {
  margin-bottom: 5px;
  font-size: 13px;
  color: #555;
}


.chating img {
  display: block;
  width: 500px; /* Increased size */
  height: auto;
  margin-bottom: 16px;

}
.chatingBox{
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  text-align: center;
  padding: 90px 0 0 0;
  opacity: 0.6;
}


/* Main chat container */
.tab-content.box-chat-content.mx-auto {
  max-width: 800px;
  margin: 3px auto;
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 600px;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* No conversation selected */
.chating.chatingBox {
  text-align: center;
  padding: 50px 20px;
  color: #5d5e73;
}

.chating.chatingBox img {
  width: 150px;
  opacity: 0.7;
  margin-bottom: 15px;
}

.chating.chatingBox h5 {
  font-weight: 600;
  font-size: 1.2rem;
}

/* Chat header */
.chating .head-chat {
  background: #5d5e73;
  color: white;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 6px rgba(40, 75, 99, 0.5);
}

.chating .head-chat span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chating .head-chat span img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.chating .head-chat span p {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
}

/* Tooltip icon */
.chating .head-chat a i.fa-info-circle {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}
.chating .head-chat a:hover i.fa-info-circle {
  color: #d4ada5;
}

/* Messages body */
.body-chat {
  flex-grow: 1;
  padding: 10px 15px;
  overflow-y: auto;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Message */
.message {
  display: flex;
  align-items: flex-start;
}

.message-right {
  justify-content: flex-end;
}

.message-left {
  justify-content: flex-start;
}

.message-left span img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  object-fit: cover;
}

/* Text bubbles */
.text-message {
  width: 100%;
  color: #fff;
  word-wrap: break-word;
}

.message-right .text-message {
  background: transparent;
  color: #fff;
  border-bottom-right-radius: 4px;
}

/* Image messages */
.text-message.image img {
  max-width: 100%;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* File link */
.text-message a {
  color: #d4ada5;
  text-decoration: underline;
}

/* Footer input area */
.footer-chat {
  padding: 10px 15px;
  background: transparent;
  border-radius: 0 0 10px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-chat input.form-control {
  flex-grow: 1;
  font-size: 1rem;
  border-radius: 25px;
  border: 1px solid #ced4da;
  padding-left: 20px;
  height: 45px;
  transition: border-color 0.3s ease;
}

.footer-chat input.form-control:focus {
  border-color: #d4ada5;
  box-shadow: 0 0 6px rgba(72, 92, 153, 0.5);
  outline: none;
}

/* Send button */
.footer-chat a {
  color: #5d5e73;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 25px;
  border-radius: 25px;
  border: 1px solid #5d5e73;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-right: -45px;
  margin-left: 10px;
}

.footer-chat a:hover {
  background-color: #5d5e73;
  color: white;
}

/* Upload icon */
.footer-chat label i.fa-plus {
  font-size: 1.4rem;
  color: #d4ada5;
  cursor: pointer;
  margin-left: 44px;
   
}
label{
  margin-bottom:0
}

/* Scrollbar */
.body-chat::-webkit-scrollbar {
  width: 8px;
}
.body-chat::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.body-chat::-webkit-scrollbar-thumb {
  background: #ced4da;
}
.body-chat::-webkit-scrollbar-thumb:hover {
  background: #d4ada5;
}
.footer-chat-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 10px;
  background: #f1f3f5;
  border-radius: 0 0 10px 10px;
  direction: rtl;
}

.upload-icon {
  font-size: 1.4rem;
  color: #d4ada5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d4ada5;
  transition: background 0.2s ease;
}

.upload-icon:hover {
  background-color: #d4ada5;
  color: white;
}

.footer-chat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer-chat-row .form-control {
  flex-grow: 1;
  border-radius: 25px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ced4da;
}

.footer-chat-row .form-control:focus {
  border-color: #d4ada5;
  outline: none;
  box-shadow: 0 0 6px rgba(72, 92, 153, 0.5);
}

.send-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #5d5e73;
  border-radius: 25px;
  background: transparent;
  color: #5d5e73;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.send-button:hover {
  background-color: #5d5e73;
  color: white;
}

.file-name-info {
  align-self: flex-start;
  margin-top: -5px;
  font-size: 0.85rem;
  color: #666;
}

.footer-chat-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 15px;
  background: transparent;
  border-radius: 0 0 10px 10px;
  direction: rtl;
}

.upload-icon {
  font-size: 1.4rem;
  color: #d4ada5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #d4ada5;
  transition: background 0.2s ease;
}

.upload-icon:hover {
  background-color: #d4ada5;
  color: white;
}

.file-name-info {
  align-self: flex-start;
  margin-top: -5px;
  font-size: 0.85rem;
  color: #666;
}

.footer-chat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.footer-chat-row .form-control {
  flex-grow: 1;
  border-radius: 25px;
  padding: 10px 15px;
  font-size: 1rem;
  border: 1px solid #ced4da;
  background: white;
}

.footer-chat-row .form-control:focus {
  border-color: #d4ada5;
  outline: none;
  box-shadow: 0 0 6px rgba(35, 190, 176, 0.5);
}

.send-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid #5d5e73;
  border-radius: 25px;
  background: transparent;
  color: #5d5e73;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.send-button:hover {
  background-color: #5d5e73;
  color: white;
}


.footer-chat-container {
  background: transparent;
  padding: 12px;
  border-radius: 0 0 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.upload-icon {
  position: absolute;
  top: -18px;
  right: 20px;
  background: white;
  border: 2px solid #d4ada5;
  color: #d4ada5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.upload-icon:hover {
  background: #d4ada5;
  color: white;
}

.footer-chat-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-chat-row input.form-control {
  flex-grow: 1;
  border-radius: 25px;
  padding: 10px 15px;
  font-size: 1rem;
  background: white;
  border: 1px solid #ccc;
}

.footer-chat-row .send-button {
  padding: 8px 16px;
  border-radius: 25px;
  background: #5d5e73;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.body-chat {
  padding: 15px;
  height: 300px;
  overflow-y: auto;
  background: transparent;
  border-radius: 0 0 10px 10px;
}

.message-left, .message-right {
  margin-bottom: 15px;
  max-width: 80%;
}

.message-left {
  text-align: left;
}

.message-right {
  text-align: right;
  margin-right: auto;
}

 
 
  @media (max-width: 768px) {
  .chat-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  }

  .chat-box .row {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-box .col-6,
  .chat-box .col-md-2,
  .chat-box .col-md-8 {
    width: 100%;
    max-width: 100%;
  }

  .chat-box input,
  .chat-box button {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .rooms-section {
    position: relative;
    padding-bottom: 10px;
  }

  .chat-list ul {
    padding: 0;
    margin: 0;
  }

  .room-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .timestamp {
    margin-left: auto;
    font-size: 12px;
    color: #999;
  }
}
@media (max-width: 768px) {
  .rooms-section {
    position: relative;
    padding-bottom: 10px;
  }

  .chat-list ul {
    padding: 0;
    margin: 0;
  }

  .room-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .timestamp {
    margin-left: auto;
    font-size: 12px;
    color: #999;
  }
}
@media (max-width: 768px) {
  .rooms-section {
    position: relative;
    padding-bottom: 10px;
  }

  .chat-list ul {
    padding: 0;
    margin: 0;
  }

  .room-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .timestamp {
    margin-left: auto;
    font-size: 12px;
    color: #999;
  }
}
@media (max-width: 768px) {
  .chat-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  }

  .chat-box .row {
    flex-direction: column;
    align-items: stretch;
  }

  .chat-box .col-6,
  .chat-box .col-md-2,
  .chat-box .col-md-8 {
    width: 100%;
    max-width: 100%;
  }

  .chat-box input,
  .chat-box button {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .rooms-section {
    position: relative;
    padding-bottom: 10px;
  }

  .chat-list ul {
    padding: 0;
    margin: 0;
  }

  .room-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
  }

  .chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
  }

  .timestamp {
    margin-left: auto;
    font-size: 12px;
    color: #999;
  }
}

@media (max-width: 992px) {
  /* ========== send-message-component ========== */
  .chat-box {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 0;
    padding: 10px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.15);
  }

  .chat-box .row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .chat-box .col-6,
  .chat-box .col-md-2,
  .chat-box .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

  .chat-box input,
  .chat-box button,
  .chat-box a.btn {
    width: 100%;
  }

  /* ========== rooms-section ========== */
  .rooms-section .chat-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .room-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    gap: 10px;
  }

  .room-item img.chat-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
  }

  .room-details h6 {
    margin: 0;
    font-size: 14px;
  }

  .room-details p {
    margin: 0;
    font-size: 12px;
    color: #777;
  }

  .timestamp small {
    font-size: 11px;
    color: #aaa;
    margin-right: auto;
  }

  /* ========== msgcom ========== */
  .body-chat {
    max-height: 350px;
    overflow-y: auto;
    padding: 10px;
    background-color: #f9f9f9;
  }

  .head-chat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }

  .message {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 5px;
  }

  .message-left,
  .message-right {
    width: 100%;
  }

  .text-message {
    border-radius: 10px;
    padding: 3px 3px;
    word-break: break-word;
  }

  .text-message.image img {
    max-width: 100%;
    border-radius: 10px;
  }

  .footer-chat {
    position: relative;
    padding: 10px;
  }
}
@media (max-width: 992px) {
  .vue-tel-input {
    max-width: 100% !important;
    padding: 0 10px;
  }

  .vue-tel-input input[type="tel"] {
    font-size: 1rem;
    padding: 10px;
    width: 100% !important;
  }

  .input-group-append {
    margin-top: 8px;
    width: 100%;
  }

  .dropdown {
    position: relative;
  }

  .dropdown ul {
    max-height: 200px;
    overflow-y: auto;
    width: 100% !important;
  }

  /* زر لفتح/إغلاق القائمة فقط في الشاشات الصغيرة */
  .toggle-dropdown-btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
}

/*

*/
.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 10px;
    width: 100%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    flex: 0 0 auto;
    width: 200px;
    position: relative;
    scroll-snap-align: start;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: white;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 24px;
    color: #fff;
}

.scroll-btn {
    background: #fff;
    border: none;
    font-size: 22px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 10;
}

.scroll-btn:hover {
    background: #eee;
}

.scroll-btn.left {
    margin-right: 10px;
}

.scroll-btn.right {
    margin-left: 10px;
}.modal-image {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}
.modal-image img {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}
.modal-image {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    flex-direction: row;
    cursor: zoom-out;
}

.modal-image img {
    max-width: 50vw;
    max-height: 50vh;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
    z-index: 10001;
}

.modal-arrow {
    background-color: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10002;
}

.modal-arrow.left {
    left: 20px;
}

.modal-arrow.right {
    right: 20px;
}.gallery-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-scroll {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 15px;
    padding: 10px;
}

.gallery-item {
    min-width: 200px;
    flex-shrink: 0;
    position: relative;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;  
    cursor: pointer;
    transition: background 0.3s ease;
    padding: 0;  
}


.scroll-btn.left {
    left: 5px;
}

.scroll-btn.right {
    right: 5px;
}
.modal-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* .modal-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
} */

.modal-arrow {
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

#modalImage {
    max-width: 90vw;
    max-height: 90vh;
}

@media (max-width: 768px) {
  .box-chat {
    display: none; /* إخفاء قائمة المرسلين في الجوال */
  }

  .chat-dropdown {
    display: block !important; /* إظهار الدروب داون */
    margin-bottom: 1rem;
  }

  .chatingBox {
    padding-top: 20px !important;
  }

  .back-to-list {
    display: block !important;
    text-align: right;
    margin-bottom: 10px;
    cursor: pointer;
    color: #007bff;
  }
}

@media (min-width: 769px) {
  .chat-dropdown,
  .back-to-list {
    display: none !important;
  }
}
/*  */

/* حاوية الصندوق */
.box-chat {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 8px;
  height: 100%;
  max-height: 700px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* العنوان */
.title h3 {
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
  text-align: center;
}

/* قائمة الغرف - التبويبات */
.nav-tabs {
  border-bottom: none;
  max-height: 350px;
  padding-right: 5px;
}

.nav-tabs .nav-item {
  margin-bottom: 8px;
}

.nav-tabs .nav-link {
  border: none;
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  color: #444;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-link:hover {
  background-color: #007bff;
  color: #fff;
}

/* صورة الأفاتار داخل القائمة */
.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

/* نص الغرفة داخل القائمة */
.nav-link h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.nav-link p {
  margin: 2px 0 0;
  font-size: 13px;
  color: #666;
}

/* النص الصغير للوقت */
.nav-link span.col-1 p {
  font-size: 12px;
  color: #999;
}

/* الدروب داون */
.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  padding: 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.dropdown-item {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #333;
  transition: background-color 0.2s;
}

.dropdown-item:hover {
  background-color: #007bff;
  color: #fff;
}

.dropdown-item img.chat-avatar {
  width: 35px;
  height: 35px;
  margin-right: 10px;
  border: 2px solid #ddd;
}

/* محتوى الرسائل */
.messages-content {
  flex-grow: 1;
  background: #fff;
  border-radius: 8px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.05);
  padding: 15px;
  overflow-y: auto;
  max-height: 350px;
  display: flex;
  flex-direction: column;
}

/* عنوان محتوى الرسائل */
.messages-header h5 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

/* كل رسالة */
.message {
  margin-bottom: 12px;
  max-width: 80%;
  padding: 8px 12px;
  border-radius: 15px;
  position: relative;
  font-size: 14px;
  line-height: 1.3;
}

/* رسالة المستخدم (يمين) */
.message-user {
  background-color: #007bff;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

/* رسالة الطرف الآخر (يسار) */
.message-other {
  background-color: #e4e6eb;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 0;
}

/* وقت الرسالة */
.message-time {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
  text-align: right;
}

/* Scrollbar مخصص لقائمة الغرف ومحتوى الرسائل (اختياري) */
.nav-tabs::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.messages-content::-webkit-scrollbar {
  width: 6px;
}

.nav-tabs::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.messages-content::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.1);
  border-radius: 3px;
}
.chat-list {
  height: 300px; /* يمكنك التعديل حسب رغبتك */
  overflow-y: auto;
  padding-right: 5px; /* مساحة بجانب السكول بار */
}
/* Track */
.chat-list::-webkit-scrollbar-track {
  background: #f0f0f0; /* Light grey track */
  border-radius: 10px;
}

/* Handle */
.chat-list::-webkit-scrollbar-thumb {
  background: #007bff; /* Blue scrollbar */
  border-radius: 10px;
}

/* Handle on hover */
.chat-list::-webkit-scrollbar-thumb:hover {
  background: #0056b3; /* Darker blue on hover */
}

 
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 9999;
}
.chat .body-chat {
  background: transparent !important;
}

@media (max-width: 767.98px) {
  .box-chat {
    height: 50vh !important; /* أو القيمة التي تناسب التصميم */
    overflow-y: auto;
  }
}
/*   */

@media (max-width: 767.98px) {
  .box-chat {
    height: 60vh !important;
    overflow-y: auto;
  }
}

.col-1{
      margin-right: 19px;
    margin-left: 19px;
}

 
#menu1 .card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

 
#menu1 .card-img-top {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

#menu1 .card-img-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#menu1 .card:hover .card-img-top img {
  transform: scale(1.05);
}

 
#menu1 .hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  text-align: center;
  padding: 1rem;
  transition: opacity 0.3s ease-in-out;
}

#menu1 .card:hover .hover-overlay {
  opacity: 1;
}

 
#menu1 .hover-overlay h6 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

#menu1 .hover-overlay p.des {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

 
#menu1 .card-body {
  background-color: #fff;
  padding: 1rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#menu1 .card-body h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

 
#menu1 .row > .col {
  display: flex;
}

#menu1 .card {
  flex: 1 1 100%;
}
 .gallery-mode .card-img-top p.custom-description {
  position: static; 
  background: transparent;
  color: #eee;
  padding: 0;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  border-radius: 0;
}

@media (max-width: 991px) {
  .chat .footer-chat .col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 20.333333%;
  }

  .chat .footer-chat .col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 47.666667%;
  }
}

@media (max-width: 991px) {
  .chat .footer-chat .col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 20.333333%;
  }

  .chat .footer-chat .col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 47.666667%;
  }
}

.modal-dialog {
  display: flex !important;
  align-items: center !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
}
/* إزالة التمرير داخل المودال */
.modal-body {
  overflow: hidden !important;
  padding: 0 !important; /* لتجنب الحشو الزائد */
}


/* جعل الصورة تغطي مساحة المودال بالكامل */
#fullAlbum .modal-body img {
  width: 100%;
  height: 100vh; /* أو حسب الارتفاع المناسب */
  object-fit: cover;
  display: block;
}

.modal-body {
  overflow: hidden !important;
  padding: 0 !important;
}

.modal-content {
  overflow: hidden !important;
}
.modal-dialog .modal-body > div{
  width: 100%;
}

.weddy-text-logo {
    max-width: 350px; /* default for mobile */
    height: auto;
}

@media (min-width: 992px) { /* lg breakpoint and up */
    .weddy-text-logo {
        max-width: 500px; /* larger on desktop, adjust as needed */
    }
}

#coupon .modal-body {
  overflow-y: auto;
  justify-content: flex-start;
  max-height: 70vh; /* Adjust based on your design */
  padding-top: 30px; /* To make space for header */
  padding-bottom: 10px;
}

#coupon .modal-content {
  overflow-y: hidden;
}
#coupon .modal-dialog .modal-body > div{
  width: 100%;
}


.titleshape-heading {
    font-size: 32px; /* Desktop default */
}

@media (max-width: 767.98px) {
    .titleshape-heading {
        font-size: 20px; /* Smaller on Mobile */
        margin: -2px;
        margin-top: 0px;
        padding: 23px 10px !important;
    }
}

.flatpickr-calendar {
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

/* Top green header */
.flatpickr-months {
  background-color: #d4ada5;
  color: #fff;
  padding: 10px 0;
  font-weight: bold;
  text-align: center;
  border-bottom: none;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  color: white;
}

.flatpickr-current-month {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
 
}
 
/* Day name headers */
.flatpickr-weekdays {
  background-color: #d4ada5 !important;
  border-bottom: 1px solid #ddd;
}
.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
background-color: #d4ada5 !important;
}

.flatpickr-weekday {
  color: #5d5e73;
  font-weight: bold;
  font-size: 13px;
}

/* Day cells */
.flatpickr-day {
  color: #444;
  font-size: 14px;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect */
.flatpickr-day:hover {
  background-color: rgba(67, 160, 71, 0.1);
}

/* Selected day */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #5d5e73;
  color: white;
  font-weight: bold;
  border-radius: 50% !important;
}

/* Outside month */
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
  color: #ccc;
}

/* Today highlight */
.flatpickr-day.today:not(.selected) {
  border: 1px solid #5d5e73;
}

/* Remove default borders */
.flatpickr-calendar,
.flatpickr-days,
.flatpickr-innerContainer {
  border: none !important;
}

 
.flatpickr-current-month, .flatpickr-months .flatpickr-next-month svg , 
.flatpickr-months .flatpickr-prev-month svg {
    
    color: #fff !important;
    fill: #fff !important;
}
 .flatpickr-current-month .numInputWrapper span.arrowUp:after {
    border-bottom-color: rgb(255 255 255 / 90%) !important;
}
.flatpickr-current-month .numInputWrapper span.arrowDown:after {
    border-top-color: rgb(255 255 255 / 90%) !important;
}

        .wedding-container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 20px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            overflow: hidden;
        }

        .header {
            text-align: center;
            padding: 30px;
            background: linear-gradient(135deg, #d4ada5 0%, #f5d8d2 100%);
            color: white;
        }

        .header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .wedding-layout {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            padding: 40px;
        }

        .wedding-hero-section {
            position: relative;
        }

        .wedding-preview-container {
            position: relative;
            width: 100%;
            height: 500px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        }

        .wedding-layer {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            transition: all 0.3s ease;
        }

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

        .wedding-preview-btn {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #d4ada5;
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 16px;
            backdrop-filter: blur(10px);
            transition: all 0.3s ease;
        }

        .wedding-preview-btn:hover {
            background: rgba(212, 165, 116, 1);
            transform: translateX(-50%) translateY(-2px);
        }

        .wedding-sidebar {
            background: #f8f9fa;
            border-radius: 15px;
            padding: 30px;
        }

        .wedding-logo {
            font-size: 1.5rem;
            font-weight: bold;
            color: #333;
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #e9ecef;
        }

        .wedding-section {
            margin-bottom: 30px;
        }

        .wedding-section-title {
            font-size: 1.2rem;
            color: #333;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .wedding-color-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 10px;
        }

        .wedding-color-swatch {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            border: 3px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .wedding-color-swatch:hover {
            transform: scale(1.1);
        }

        .wedding-color-swatch.active {
            border-color: #d4ada5;
            box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
        }

        .wedding-color-swatch.active::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 18px;
            font-weight: bold;
            text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
        }

        .wedding-option-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 10px;
        }

        .wedding-option-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: white;
        }

        .wedding-option-item:hover {
            border-color: #d4ada5;
            transform: translateX(5px);
        }

        .wedding-option-item.active {
            border-color: #d4ada5;
            background: #faf8f5;
        }

        .wedding-option-icon {
            width: 40px;
            height: 40px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
            font-size: 20px;
        }

        .wedding-booking {
            background: white;
            padding: 20px;
            border-radius: 10px;
            text-align: center;
        }

        .wedding-booking-time {
            color: #666;
            margin: 8px 0;
            font-size: 14px;
        }

        .wedding-book-btn {
            width: 100%;
            background: linear-gradient(135deg, #d4ada5 0%, #b8935a 100%);
            color: white;
            border: none;
            padding: 15px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            margin-top: 15px;
            transition: all 0.3s ease;
        }

        .wedding-book-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(212, 165, 116, 0.4);
        }

        @media (max-width: 768px) {
            .wedding-layout {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2rem;
            }
        }

        .fade-transition {
            opacity: 0;
            animation: fadeIn 0.3s ease forwards;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        .wedding-layer {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .wedding-preview-container {
        position: relative;
        width: 100%;
        height: 350px;
        overflow: hidden;
    }

  @media (min-width: 768px) {
    .wedding-preview-container {
        position: relative;
        width: 100%;
        height: 700px;
        overflow: hidden;
    }
  }

    /* Ensure proper stacking order */
    #backgroundLayer { z-index: 1; }
    #curtainLayer { z-index: 1; }
    #flowersLayer { z-index: 2; }
    #sofaLayer { z-index: 3; }

    .loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 75%;
            background: #000;
            backdrop-filter: blur(3px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 4;
            border-radius: 15px;
        }

        .loading-overlay.show {
            display: flex;
        }

        .loading-spinner {
            text-align: center;
            color: #d4ada5;
        }

        .loading-spinner p {
            margin-top: 15px;
            font-size: 16px;
            font-weight: 600;
        }

        /* CSS Spinner Animation */
        .spinner {
            width: 50px;
            height: 50px;
            border: 4px solid #e8ddd4;
            border-top: 4px solid #d4ada5;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Fade in animation for new images */
        .fade-in {
            animation: fadeInImage 0.5s ease-in-out;
        }

        @keyframes fadeInImage {
            0% {
                opacity: 0;
            }
            100% {
                opacity: 1;
            }
        }


        .payment-img {
      height: 40px; /* default for small screens */
    }

@media (min-width: 640px) {
  .payment-img {
    height: 50px;
  }
}

@media (min-width: 768px) {
  .payment-img {
    height: 50px;
  }
}