@import url("constant.css");

/*home page*/

select:first-of-type {
  font-size: 0.9rem;
  opacity: 0.7;
}

.input-field select:focus,
.input-field select:active {
  background-color: var(--color-secondary);
  border: none;
  border-radius: 55px;
  background-image: linear-gradient(
      to top,
      var(--color-primary) 2px,
      rgba(156, 39, 176, 0) 2px
    ),
    linear-gradient(to top, #d2d2d2 1px, rgba(210, 210, 210, 0) 1px);
  background-image: none;
}
.input-field select:focus {
  border-color: rgba(14, 72, 55, 0.8);
  border-color: transparent;

  box-shadow: 0 1px 1px rgba(229, 103, 23, 0.075) inset,
    0 0 8px rgba(14, 72, 55, 0.6) !important;
  outline: 0 none;
}

.input-field select {
  background: var(--color-secondary);
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: right;
  width: 100%;
  padding-right: 20px;
  border-radius: 55px;
  height: 49px !important;
}
.select {
  /* margin-top: -10px; */
  width: 100%;
  /* margin-bottom: 30px; */
  display: inline-block;
}

@media screen and (max-width: 460px) {
  .select {
    width: 200px;
  }
}

.input-field-status {
  max-width: 380px;
  width: 40%;
  background-color: var(--color-secondary);
  margin: 10px 0;
  height: 35px;
  padding: 0 0.4rem;
  position: relative;
  text-align: right;
  box-sizing: border-box;
  border: 0px;
  font-style: bold;
  border-radius: 10px;
  justify-content: center;
}

.input-field-status select {
  background: none;
  outline: none;
  border: none;
  line-height: 1;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: right;
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.popup-container {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  -webkit-transition: opacity 0.1s linear;
  transition: opacity 0.1s linear;
  overflow-y: hidden;
  display: none;
  /* z-index: 10000; */
}

.popup-table {
  position: absolute;
  top: 0;
  left: 0;
  display: table;
  table-layout: fixed;
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}

.popup-container.hide .popup-table {
  opacity: 0;
  pointer-events: none;
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
}

.popup-table-cell {
  display: table-cell;
  vertical-align: middle;
  box-sizing: border-box;
  /* padding: 16px; */
}

.popup {
  position: relative;
  margin: auto;
  width: 60%;
  /* a regular height must be set here, or nothing works */
  height: auto;
  max-height: 80vh;
  overflow-y: auto;
  overflow: hidden;
  padding: 48px 0 10px 0;
  background-color: #fafafa;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 100%;
  color: #303030;
  box-shadow: 0 10px 40px 4px rgba(0, 0, 0, 0.3);
}

.popup .title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  min-width: 200px;
  line-height: 48px;
  box-sizing: border-box;
  padding: 0 12px;
  -webkit-transition: background-color 0.1s linear;
  transition: background-color 0.1s linear;
  font-weight: 800;
  font-size: 1.05em;
  border-bottom: 1px solid #eaeaea;
  background-color: #fafafa;
  border-radius: 2px 2px 0 0;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-align: center;
  color: var(--color-primary);
}

.popup .content {
  width: 100%;
  min-width: 200px;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
  padding: 12px;
  -webkit-overflow-scrolling: touch;
}

.popup .text {
  box-sizing: border-box;
  padding: 12px;
  line-height: 1.5em;
}

@media (max-width: 991px) {
  .popup {
    width: 100%;
  }
}

.popup input {
  float: left;
}
.popup .date-input {
  float: right;
  /* margin-top: 5px; */
}
.date-input label {
  color: black;
}

.scan {
  text-align: center;
  font-size: 15px;
  line-height: 1rem;
}

.orderdetails {
  height: auto;
  width: 100%;
  background-color: white;
  text-align: center;
  /* padding: 20px; */
  position: relative;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  display: none;
}
.orderdetails label {
  font-weight: 600;
}

.orderdetails strong {
  font-weight: 900;
}
.orderdetails h3 {
  margin-top: 20px;
}

.orderdetails-btn {
  display: none;
  text-align: center;
  font-size: 15px;
  line-height: 1rem;
}

/*signature pad*/
.btn_clear,
.btn_submit {
  width: 150px;
  height: auto;
  text-align: center !important;
  float: unset !important;
  margin: 0 auto;
  margin-top: 5px;
  margin-bottom: 5px;
}

/*my details */
.distributordetails {
  font-size: 17px;
  font-weight: 700;
}
.distributorname,
.username {
  font-size: 20px;
  font-weight: 700;
}

.mydetails {
  max-width: 1700px;
  text-align: center;
  align-items: center;
  margin: auto;
  /* width: 135%; */
}

.distributordetails {
  text-align: right;
  font-size: large;
  font-weight: 900 !important;
  display: inline-flex;
  align-items: center;
  /* box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.2), 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12); */
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.5);
  padding-bottom: 20px;
  float: left;
}
.distributordetails label {
  font-weight: 800;
  font-size: 17px;
  color: #333;
}

.userdetails .row {
  width: 100%;
  align-self: center;
}

.edit {
  float: left;
  cursor: pointer;
  font-size: 20px;
  margin-top: 70px;
}

/*distributor edit*/
.btn_update {
}
/*update password*/
.forms-container {
  text-align: center;
  align-content: center;
  margin: 0 auto;
  height: auto;
}
.updatepassword {
  position: relative;
  padding: 0 100px 0 100px;
}

@media screen and (max-width: 500px) {
  .updatepassword {
    padding: 0 10px 0 10px !important;
  }
}

@media screen and (max-width: 1000px) {
  .updatepassword {
    padding: 0 50px 0 50px;
  }
}
.form {
  display: table;
  width: 100%;
}
