body.open-subscriber-modal {
  overflow: hidden;
}

.attempt-limit-content{
	text-align:center;
}

.subscriber-modal .d-none {
  display: none;
}

#resend-otp{
	color:#0097DB;
	text-decoration:underline;
}

.subscriber-modal {
  background-color: rgba(0,0,0,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

.subscriber-modal .modal-wrapper {
  background: #f6f6f6;
  border-radius: 20px;
  width: 450px;
  padding: 20px;
}

.subscriber-modal .modal-wrapper .modal-action {
  display: flex;
  justify-content: space-between;
} 

.subscriber-modal .modal-wrapper .modal-action .back {
  cursor: pointer;
  display: block;
  position: relative;
  height: 15px;
  width: 15px;
  border: 1px solid #f6f6f6;
}

.subscriber-modal .modal-wrapper .modal-action .close {
  cursor: pointer;
  display: block;
  position: relative;
  height: 20px;
  width: 20px;
  border: 1px solid #f6f6f6;
}

.subscriber-modal .modal-wrapper .modal-action .close::before,
.subscriber-modal .modal-wrapper .modal-action .close::after {
  content: '';
  background-color: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
}

.subscriber-modal .modal-wrapper .modal-action .close::before {
  left: 8px;
  transform: rotate(45deg);
} 

.subscriber-modal .modal-wrapper .modal-action .close::after {
  right: 8px;
  transform: rotate(-45deg);
}

.subscriber-modal .modal-wrapper .modal-action .back::before,
.subscriber-modal .modal-wrapper .modal-action .back::after {
  content: '';
  background-color: #000;
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
}

.subscriber-modal .modal-wrapper .modal-action .back::before {
  top: 2px;
  transform: rotate(-40deg);
} 

.subscriber-modal .modal-wrapper .modal-action .back::after {
  bottom: 1px;
  transform: rotate(45deg);
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .back {
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}

.subscriber-modal .modal-wrapper .modal-content .main-title,
.subscriber-modal .modal-wrapper .modal-content .headline,
.subscriber-modal .modal-wrapper .modal-content .subtitle,
.subscriber-modal .modal-wrapper .modal-content .description {
  margin-bottom: 20px;
  text-align: center;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .subtitle:lang(km),
.subscriber-modal .modal-wrapper .modal-content .phone-content .description:lang(km) {
	font-size: 11px;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .subtitle:lang(en),
.subscriber-modal .modal-wrapper .modal-content .phone-content .description:lang(en) {
	font-size: 12px;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .headline:lang(km) {
	margin-bottom: 0;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .form-group {
  background-color: #fff;
  border-radius: 10px;
  height: 60px;
  margin-bottom: 10px;
  position: relative;
}


.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control{
  border: none;
  border-radius: 5px;
  background-color: transparent;
  box-sizing: border-box;
  font-size: 18px;
  padding-left: 20px;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  transition: all .25s;
  z-index: 2;
}
.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:focus {
  border: 1px solid #0097DB;
}
.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control.error {
  border: 1px solid red;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control::placeholder {
  color: transparent;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:focus,
.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:not(:placeholder-shown) {
  /* top: 25px; */
  padding-top: 25px;
}

.subscriber-modal .modal-wrapper .modal-content label {
  position: absolute;
  left: 20px;
  top: 20px;
  transition: all .25s;
  z-index: 1;
}
.subscriber-modal .modal-wrapper .modal-content label.error {
  display: none !important;
}
.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:focus ~ label,
.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:not(:placeholder-shown) ~ label {
  font-size: 12px;
  top: 10px;
}

.subscriber-modal .modal-wrapper .modal-content .phone-content .form-control:not(:placeholder-shown) {
    font-weight: 600;
}

/* .subscriber-modal .modal-wrapper .modal-content .phone-content .form-group label.error ~ .form-control.error,
.subscriber-modal .modal-wrapper .modal-content .otp-content .form-group label.error {
  display: none !important;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  border: 1px solid red;
  left: 0;
  color: transparent;
  border-radius: 10px;
} */


/* Modal Confirm OTP */
.subscriber-modal .modal-wrapper .modal-content .nav-otp {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 20px;
}

.subscriber-modal .modal-wrapper .modal-content .nav-otp .nav-item:not(:last-child) {
  margin-right: 20px;
}

.subscriber-modal .modal-wrapper .modal-content .nav-otp input {
  border: none;
  border-radius: 5px;
  border: 1px solid #000000;
  font-size: 20px;
  text-align: center;
  height: 50px;
  width: 35px;
}
.subscriber-modal .modal-wrapper .modal-content .nav-otp input:focus {
  border: 2px solid #0097DB;
}
.subscriber-modal .modal-wrapper .modal-content .wrong-icon img{
  height:17px;
  width:17px;
  margin-right: 5px;
  margin-bottom: 2px;
}

/* Modal Subscribe Plan */
.subscriber-modal .nav-subscribe-plan {
  background-color: #fff;
  border-radius: 5px;
  list-style: none;
  margin-bottom: 30px;
  padding: 0 20px;
}

.subscriber-modal .nav-subscribe-plan .nav-item {
  border-bottom: 1px solid #f6f6f6;
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}

.subscriber-modal .nav-subscribe-plan .nav-item:last-child {
  cursor: pointer;
}

.subscriber-modal .nav-subscribe-plan .nav-item p {
  font-weight: 600;
}

.subscriber-modal .nav-subscribe-plan .nav-item p.pink-color-auto,
.subscriber-modal .nav-subscribe-plan .nav-item p.pink-color-nonauto {
  color: #ce5695;
}



/* Modal Confirm Plan */
.subscriber-modal .confirm-content .renew-icon,
.subscriber-modal .nav-subscribe-plan .nav-item .renew-icon {
  padding-left: 30px;
  background-image: url('../images/autorenew.png');
  background-repeat: no-repeat;
  background-position: left center;
}

.subscriber-modal .confirm-content .non-renew-icon,
.subscriber-modal .nav-subscribe-plan .nav-item .non-renew-icon {
  padding-left: 30px;
  background-image: url('../images/nonrenewal.png');
  background-repeat: no-repeat;
  background-position: left center;
}

.subscriber-modal .nav-subscribe-plan .nav-item:not(:last-child) {
  border-bottom: 1px solid #f6f6f6;
}

.subscriber-modal .confirm-content .renew-icon,
.subscriber-modal .confirm-content .non-renew-icon{
  margin: auto auto 20px auto;
  width: fit-content;
}

/* Modal Failed */
.subscriber-modal .failed-content img {
  display: block;
  margin: auto;
}

/* Modal Success */
.subscriber-modal .success-content img {
  display: block;
  margin: auto;
}

.subscriber-modal .modal-wrapper .btn-submit,
.subscriber-modal .modal-wrapper .btn-success {
  border: none;
  border-radius: 10px;
  background-color: #0097DB;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .25s;
  height: 50px;
  width: 100%;
}

.subscriber-modal .modal-wrapper .btn-submit.disabled {
  background-color: #ccc;
  cursor: default;
  pointer-events: none;
}

.subscriber-modal .modal-wrapper .btn-submit.disabled:hover {
  background-color: #ccc;
  border: none;
  color: #fff;
}

#resend-otp{
	color:#0097DB;
}

.subscriber-modal .modal-wrapper .btn-submit:hover {
  border: 1px solid #0097DB;
  background-color: #fff;
  color: #0097DB;
}

#digit-1-error,
#digit-2-error,
#digit-3-error,
#digit-4-error {
  display: none !important;
}
#otp-error, .help-block{
	font-size: 12px;
	color: #ff0000;
}

.add-border-green{
  border: 2px solid #0097DB !important;
}

.add-border-red{
  border: 2px solid #E2788A !important;
}

#difition_auto_renew,
#difition_non_auto_renew,
#error_otp_msg,
#msg_01,
#msg_02,
#msg_03,
#msg_04,
#msg_05,
#msg_06 {
  display: none;
}

@media(max-width: 567px) {
  .subscriber-modal .modal-wrapper {
      max-width: 90%;
  }
}