.list-group-item {
  border-radius: 10px !important;
  margin-bottom: 5px !important;
  transition: all 0.3s;
}
.list-group-item:hover {
  background: #79bff0 !important;
  color: white !important;
}
.list-group-item.active {
  background: #287db9 !important;
}
.list-group a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 40px;
}

.profile-section-1 .card.left-side {
  position: sticky;
  top: 30%;
  margin-top: 20%;
}
.profile-section-1 .card.left-side .user-left-profile {
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.profile-section-1 .card.left-side .user-left-profile img {
  padding: 1px;
}
.profile-section-1 .card.left-side .user-left-profile h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.profile-section-1 .modal-content {
  background-color: #fefefe;
  margin: 4% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 70%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.close {
  float: right;
  text-align: right;
  font-size: 30px;
}

.profile-section-1 .modal-content h2 {
  text-align: center;
  margin-top: -35px;
}

.button_div {
  justify-content: center;
  text-align: center;
}

.button_div button {
  margin-right: 10px;
  background: #287db9;
  border: 1px solid #287db9;
  padding: 5px 15px;
  color: #ffffff;
  border-radius: 2px;
}

#addAddressForm input {
  padding: 5px;
}

.nice-select {
  padding: 0px !important;
  height: 38px !important;
  line-height: 38px !important;
}

.add_address_button {
  background: #287db9;
  border: 1px solid #287db9;
  padding: 5px 15px;
  color: #ffffff;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .main_flex_div {
    display: flex;
    flex-direction: column;
  }

  .inner_flex_div {
    min-width: 100% !important;
  }

  .modal-content {
    padding: 10px 0px !important;
    min-width: 95% !important;
    height: 700px;
    overflow: scroll;
  }

  .close {
    margin-right: 10px;
  }
}

.profile-section-1 {
  margin-top: 6rem !important;
}
@media screen and (max-width: 991px) {
  .profile-section-1 {
    margin-top: 4rem !important;
  }
  .profile-section-1 .card.left-side {
    margin-bottom: 2rem;
  }
}

a {
  text-decoration: none !important;
}

#viewdocuments p {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

#viewdocuments .box-heading {
  background-color: #287db9;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-weight: 700;
  border-radius: 10px;
  width: 90%;
  margin: auto;
}
#viewdocuments .box {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  display: flex;
  gap: 20px;
  box-shadow: 1px 1px 5px 1px #b5b5b5;
  margin: 10px auto auto auto;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: white;
  width: 90%;
}
#viewdocuments .box .title,#viewdocuments .box-heading .title{
  width: 33% !important;
  text-align: left !important;
}

#viewdocuments .box div {
  display: flex;
  align-items: center;
}

#viewdocuments .search-field {
  width: max-content;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  gap: 20px;
  margin-bottom: 20px;
  float: right;
  margin-right: 5%;
}

#viewdocuments .search-field input {
  width: 100%;
}

#viewdocuments .search-field .search-btn {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: #287db9 !important;
  color: #fff;
  border: none;
  cursor: pointer;
  width: max-content;
  border-radius: 10px;
  transition: all 0.3s;
}
#viewdocuments .search-field .search-btn:focus {
  outline: none;
}
#viewdocuments .search-field .search-btn:hover {
  background-color: #4aacf1 !important;
}

#permission h2 {
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  color: black;
  margin: 5%;
  border-radius: 10px;
}

#permission .box-heading {
  background-color: #287db9;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  font-weight: 700;
  border-radius: 10px;
  margin: auto;
  width: 90%;
}
#permission .box {
  display: flex;
  justify-content: space-between;
  display: flex;
  gap: 20px;
  box-shadow: 1px 1px 5px 1px #b5b5b5;
  margin: 10px auto auto auto;
  width: 90%;
  padding: 8px 20px;
  border-radius: 10px;
  background-color: white;
}
/* #permission .box div{
            display: flex;
            justify-content: center;
            align-items: center;
        } */

#permission .permission-btn button {
  width: max-content;
  padding: 5px 10px;
  background-color: #009635;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #000;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s;
}
#permission .permission-btn button:hover {
  background-color: #27cb61fc;
  color: #ffffff;
}

#profileDetails {
  width: 100%;
}

#profileDetails table {
  width: 100%;
  border-collapse: collapse;
}

#profileDetails table td {
  padding: 8px;
  border: 1px solid #ddd;
  border-left: none !important;
  border-right: none !important;
}

#profileDetails table td:first-child {
  width: 30%;
  font-weight: bold;
}

#profileDetails h5 {
  margin-bottom: 10px;
}

#profileUpdate h2 {
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  color: black;
  margin: 5%;
  border-radius: 10px;
}

.profile-info h2 {
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  color: black;
  margin: 5%;
  border-radius: 10px;
}
.profile-info .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.profile-info .box {
  display: flex;
  gap: 20px;
  box-shadow: 1px 1px 5px 1px #b5b5b5;
  margin: 10px 0;
  padding: 20px 10px;
  border-radius: 10px;
  background-color: white;
  width: 40%;
}

@media screen and (max-width: 1070px) {
  .list-group a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 26px;
  }
}

@media screen and (max-width: 991px) {
  .profile-info .box,
  #profileUpdate .box,
  #viewdocuments .box,
  #viewdocuments .box-heading,
  #viewdocuments-inner .document-inner-heading,
  #viewdocuments-inner .document-inner-box,
  #permission .box-heading,
  #permission .box {
    width: 100% !important;
  }
  #viewdocuments .search-field,
  #viewdocuments-inner .search-field {
    margin-right: 0 !important;
  }

  #viewdocuments-inner .back-btn {
    margin-left: 0 !important;
  }
}
.profile-info .box .text {
  font-weight: 700;
  text-transform: uppercase;
}
.profile-info .box .value input {
  font-weight: 600;
}
.profile-info .box div {
  width: 50%;
  padding: 0 5px;
}

#profileUpdate .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
#profileUpdate .box {
  display: flex;
  box-shadow: 1px 1px 5px 1px #b5b5b5;
  margin: 10px 0;
  padding: 20px 10px;
  border-radius: 10px;
  background-color: white;
  width: 40%;
  align-items: center;
}

#profileUpdate .box .text {
  font-weight: 700;
  text-transform: uppercase;
}
#profileUpdate .box .value {
  font-weight: 600;
}
#profileUpdate .box div {
  width: 50%;
  padding: 0 20px;
}
#profileUpdate .box div input {
  width: 100%;
  background: #b2e8f740;
  padding: 5px;
  text-align: center;
}
#viewdocuments h2 {
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  color: black;
  margin: 5% 5% 10px 5%;
  border-radius: 10px;
}

/* Style for the update button */
#profileUpdate button {
  display: block;
  width: 100%;
  padding: 10px 15px;
  margin-top: 10px;
  background-color: #287db9 !important;
  color: #fff;
  border: none;
  cursor: pointer;
  width: max-content;
  margin: auto !important;
  border-radius: 10px;
}

#profileUpdate button:hover {
  background-color: #0056b3;
}

#viewdocuments-inner .back-btn {
  display: block;
  width: 100%;
  padding: 10px 15px;
  margin-top: 10px;
  background-color: #287db9 !important;
  color: #fff;
  border: none;
  cursor: pointer;
  width: max-content;
  border-radius: 10px;
  margin-bottom: 20px;
  margin-left: 5%;
}
#viewdocuments-inner .back-btn:hover {
  background-color: #0056b3;
}

#viewdocuments-inner .search-field {
  width: max-content;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  gap: 20px;
  margin-bottom: 20px;
  float: right;
  margin-right: 5%;
}

#viewdocuments-inner .search-field input {
  width: 100%;
}

#viewdocuments-inner .search-field .search-btn {
  display: block;
  width: 100%;
  padding: 10px 15px;
  background-color: #287db9 !important;
  color: #fff;
  border: none;
  cursor: pointer;
  width: max-content;
  border-radius: 10px;
  transition: all 0.3s;
}
#viewdocuments-inner .search-field .search-btn:focus {
  outline: none;
}
#viewdocuments-inner .search-field .search-btn:hover {
  background-color: #4aacf1 !important;
}

.order_card .fa-download,
.order_card .fa-eye {
  text-decoration: none;
  color: #287db9;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.order_card .fa-download:hover,
.order_card .fa-eye:hover {
  background-color: #003d59;
  color: white;
}

.user-header {
  background: #287db9;
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  align-items: center;
  margin-bottom: 20px;
  border-radius: 5px;
}
.user-header .input-box {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  padding-left: 10px;
}
.user-header .input-box input {
  border: none;
}
.user-header .input-box input:focus {
  box-shadow: none;
}
.user-header .right-head ul {
  display: flex;
  list-style-type: none;
  margin-bottom: 0;
  gap: 20px;
}
.user-header .right-head ul li a {
  text-decoration: none;
  color: white;
  font-weight: 600;
}

.right-side {
  background-color: #b2e8f740;
  /* padding: 20px; */
  border-radius: 10px;
  padding-bottom: 5%;
  width: 73% !important;
  margin: auto;
}

.profile-section-1 .col-lg-3 {
  padding-right: 0 !important;
}
@media screen and (max-width: 991px) {
  .right-side {
    width: 97% !important;
  }
  .profile-section-1 .col-lg-3 {
    padding-right: 13px !important;
  }
  .profile-section-1 .card.left-side {
    margin-top: 0 !important;
  }
}

#viewdocuments-inner {
  display: none;
}
#viewdocuments-inner h2 {
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  color: black;
  margin: 5%;
  border-radius: 10px;
}

#purifierTable {
  display: none;
}

#viewdocuments-inner .document-inner-heading {
  background-color: #287db9;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  font-weight: 700;
  border-radius: 10px;
  width: 90%;
  margin: auto;
}

#viewdocuments-inner .document-inner-box {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  gap: 20px;
  box-shadow: 1px 1px 5px 1px #b5b5b5;
  margin: 10px auto auto auto;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: white;
  width: 90%;
}

#viewdocuments-inner .document-inner-box div {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  #viewdocuments-inner .document-inner-box {
    flex-wrap: wrap;
  }
}
