/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.opterrmsg {
  color: #b22222 !important;
  font-size: 13px;
  clear: both;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  order: 20;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm p.form-row-wide {
  width: 100%
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
  width: 100%
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm p:last-child {
  order: 10;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
  order: 9;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm p.form-row-last {
  margin-right: 0px;
  margin-left: auto;
}
.reward-enable label {
  display: inline-block !important;
}
.woocommerce .u-columns .u-column2.col-2.fullreg {
  width: 100% !important;
}
.join-reward-field span.optional {
  display: none;
}
.woocommerce-password-strength.short,
.woocommerce-password-strength.bad {
  color: #b22222;
}
.woocommerce-page .cart-collaterals .loyalty-points {
  float: left;
  width: 48%;
}
.cart-collaterals h2 {
  font-size: 3.6rem;
}
.redeem-points ul.promotion_data {
  margin-left: 0;
  list-style: none;
}
.apply-loyalty .form-row.form-row-wide {
  float: left;
  max-width: calc(100% - 102px);
  margin-bottom: 0;
}
.apply-loyalty .form-row.form-row-wide + p #apply_loyalty {
  /* padding: 15px 29px; */
  margin-top: -2px;
}
.apply-loyalty .form-row.form-row-wide + p {
  margin-left: 10px;
  margin-top: 28px;
  display: inline-block;
  margin-bottom: 0;
}
.reward-program input[type="radio"] {
  margin: 0px 5px 0 0;
  display: inline-block;
  vertical-align: middle;
}
#apply-promotion {
  margin-left: 0;
  list-style: none;
  background: #efefef;
  padding: 20px;
  border-radius: 8px;
}
.redeem-points ul.promotion_data {
  max-height: 300px;
  overflow: auto;
  margin: 0;
  padding: 0;
}
.redeem-points ul.promotion_data li .rule_left {
  padding-left: 0;
  flex-shrink: 0;
}
.redeem-points ul.promotion_data li .rule_left label {
  font-size: 16px;
  margin-left: 0;
  word-break: break-word; 
}
.redeem-points ul.promotion_data li .rule_right p {
  font-size: 16px;
  line-height: normal;
}
.redeem-points ul.promotion_data li .rule_right {
  overflow: hidden;
}
.redeem-points ul.promotion_data li .rule_left .code_check {
  margin-right: 4px;
}
.redeem-points ul.promotion_data li:last-child button {
  padding: 14px 26px;
}
.opt-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.7);
}
.opt-loader img {
  width: 29px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -15px 0 0 -15px;
  animation: rotation 1s infinite linear;
}
.redeem-points ul.promotion_data li .rule_left input[type="checkbox"] {
  left: 0;
  top: 0px;
}

.form-row.form-row-wide.byemail {
  width: 337px;
  float: left;
  max-width: calc(100% - 135px)
}
.form-row.form-row-wide.byphone {
    margin: 0;
}
#get_loyalty {
  margin-top: 30px;
  margin-left: 10px !important;
  /*padding: 15px 24px !important;*/
}

button#chkoutloyalty,button#myAccount,button#opt_logout {
  margin-left: 10px;
  margin-top: 10px;
}
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-last {
  margin-left: 20px;
  width: 74%;
}
.woocommerce-cart .woocommerce form .form-row-first,
.woocommerce-page form .form-row-first {
  width: auto;
}
.woocommerce-cart .woocommerce form .form-row-last,
.woocommerce-page form .form-row-last {
  float: left;
  width: auto
}
form#apply-loyalty {
    padding: 20px;
    background: #efefef;
    border-radius: 8px;
    max-width: 490px;
    margin-bottom: 20px;
}
input#loyalty_balances {
    border-radius: 5px;
}
.redeem-points {
  clear: both;
  padding: 15px;
}
.redeem-points>p {
    margin-bottom: 15px;
}
.loyaltybtn-row {
  float: left;
  margin-bottom: 0 !important; 
}
.promo_btn {
  text-align: center;
  margin-top: 10px;
}
.promotion_data input:disabled {
  opacity: 0.4
}
#loyalty_account_phone_email:disabled{
	cursor: not-allowed;
	opacity: 0.5;
}
.loyalty-points.checkout_loyalty {
  	clear: left;
	overflow: hidden;
	width: 100%;
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	margin: 20px 0;
	display: flex;
	flex-direction: column;
}
.loyalty-points.checkout_loyalty>h4 {
    text-align: center;
    padding: 16px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    border-bottom: 1px solid #e5e7eb;
    margin: 0;
    border-radius: 14px 14px 0 0;
    background: inherit;
}
.redeem-points h4.opt-float-left {
    font-size: 16px;
    font-weight: 700;
    text-transform: unset;
}
.loyalty-points.checkout_loyalty >p {
    padding: 15px;
    margin: 0;
}
#reward-program {
  clear: left;
  max-width: 490px;
  margin-bottom: 10px;
  padding: 20px;
  background: #efefef;
  margin-left: 15px;
  border-radius: 8px;
  margin-right: 15px;
}
input#loyalty_account_phone_email {
    border-radius: 5px;
}
#apply-promotion {
  max-width: 100%;
}
.woocommerce-checkout h2 {
  font-size: 3.6rem;
}
.woocommerce-checkout .form-row.form-row-last.reward-enable {
  float: none; 
  margin-bottom: 0;
  width: 100%;
  max-width: 200px; 
}
.woocommerce-checkout .form-row.form-row-first.reward-enable {
  width: 100%; 
  max-width: 200px;
}
#login-pop h4 {
  margin: 0 0 20px 0;
  font-size: 21px;
  color: #ff0000;
}
#login-pop label {
  font-size: 16px;
}
#login-pop .opterrmsg {
  margin-bottom: 20px;
  display: block;
  color: #ff0000;
  font-size: 15px;
}
#login-pop .action.forgot_pwd {
  color: #1979c3;
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}
#login-pop .fancybox-close-small {
  background: transparent;
}
#login-pop #email,
#login-pop #password {
  margin-bottom: 20px;
}
#login-pop #email.required.opterror {
  margin-bottom: 0;
}
.serach-promo {
  float: left;
  width: 100%;
}
.serach-promo input[type="text"] {
  float: left;
  border: none !important;
  margin-bottom: 10px;
  background: #efefef;
  padding-left: 1rem;
  outline: none !important;
  max-width: 490px;
  border-radius: 5px;
}
.apply-promotion {
  clear: both;
}
.promotion_data input[type="checkbox"]:checked::before {
  margin: -0.3rem 0 0 -0.3rem;
}
.woocommerce-additional-fields .join-reward-field input[type="checkbox"]:checked::before {
  margin: -0.3rem 0 0 -0.3rem;
}
span.nudgedescription {
  display: block;
  font-weight: 600;
  color:#C0A770;
}
.guest-popup.auth-otp h4 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 18px; 
  text-transform: initial;
}
.guest-popup.auth-otp input[type="submit"] {
  margin-top: 20px;
}
#otp-promotion-popup .fancybox-close-small,
#otp-popup .fancybox-close-small {
  background: transparent;
}
.guest-popup.auth-otp span.opterrmsg {
  display: block;
}
.guest-popup.auth-otp form#otp_form {
  margin: 15px 0;
}
.guest-popup.auth-otp #resendLink,
.guest-popup.auth-otp #promoresendLink {
  display: inline-block;
  margin-right: 15px;
  font-size: 16px;
  text-decoration: underline;
  color: #808080;
}
.guest-popup.auth-otp #resendLink:hover,
.guest-popup.auth-otp #promoresendLin:hover{
  color: #000;
}
.guest-popup.auth-otp .repop {
  display: flex;
  display: -webkit-flex;
  align-items: center;
  margin-top: 15px;
  padding-left: 0;
}
.guest-popup.auth-otp .success {
  color: green;
}
.guest-popup.auth-otp .error {
  color: red;
}
form#apply-loyalty button {
  padding: 10px 24px;
}
.guest-popup.auth-otp #dvresendotp,
.guest-popup.auth-otp #promoresendotp {
  font-size: 16px;
  order: 2;
}
.guest-popup.auth-otp #dvresendotp #otpCount,
.guest-popup.auth-otp #promoresendotp #promoOtpCount {
  color: #cd2653;
}
.checkout_loyalty {
  width: 100%;
  max-width: 100%; 
}
#chkoutloyalty.disabled {
  opacity: 0.3;
}
.opt_popup_mobile{
  display: flex;
  gap: 10px;
}
@keyframes blinkingText {
  0% {
    color: #000;
  }
  100% {
    color: red;
  }
}
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(359deg);
  }
}

/* 
.p-4 {padding: 1.5rem !important;}
.mb-4, .my-4 {
  margin-bottom: 1.5rem !important;
}
.mb-2, .my-2 {
  margin-bottom: .5rem !important;
}

.mb-0, .my-0 {
  margin-bottom: 0 !important;
} */
.opt-card {
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 0.46875rem 2.1875rem rgba(90,97,105,0.1), 0 0.9375rem 1.40625rem rgba(90,97,105,0.1), 0 0.25rem 0.53125rem rgba(90,97,105,0.12), 0 0.125rem 0.1875rem rgba(90,97,105,0.1);
}
.opt-card .opt-card-statistic-3 .opt-card-icon-large .fas, .opt-card .opt-card-statistic-3 .opt-card-icon-large .far, .opt-card .opt-card-statistic-3 .opt-card-icon-large .fab, .opt-card .opt-card-statistic-3 .opt-card-icon-large .fal {
    font-size: 110px;
  color: var(--color-primary);
}

.opt-card .opt-card-statistic-3 .opt-card-icon {
    position: absolute;
    right: -5px;
    top: 20px;
    opacity: 0.1;
}
.opt-progress {
  background-color: #e9ecef;
  height: 8px;
  border-radius: 0.25rem;
}

.opt-progress-bar {
  border-radius: 0.25rem;
    height: 8px;
    background-color: var(--color-primary);
}

.opt-input {
  padding: 12px;
}

@media screen and (max-width: 768px) {
  .woocommerce-page .cart-collaterals .loyalty-points {
    width: 100%;
    margin-bottom: 5%;
  }
  .cart-collaterals .loyalty-points h2 {
    font-size: 2.8rem;
  }
  .opt-card {
    margin-top: 30px;
  }
}
@media screen and (max-width: 767px) {
  .form-row.form-row-wide.byemail {
    max-width: 100%;
  }
  .form-row.form-row-wide.byphone {
    max-width: 100%;
  }
/*   .apply-loyalty .form-row.form-row-wide + p {
    margin-top: 0;
    margin-left: 0
  } */
	.apply-loyalty .form-row.form-row-wide + p #apply_loyalty{
	    margin-top: -4px;
	}
  .redeem-points ul.promotion_data li .rule_right {
    overflow: visible;
    width: 100%
  }
  .redeem-points ul.promotion_data li .rule_left input[type="checkbox"] {
    left: 0;
    top: 5px;
  }
  .form-row.form-row-wide.byemail {
    width: 100%;
  }
  .form-row.form-row-wide.byphone {
    width: 100%;
  }
  .get_loyalty {
/*     margin-top: 0px !important; */
/*    margin-left: 0px !important;*/
  }
  #login-pop {
    padding: 30px 20px;
  }
  #login-pop h4 {
    margin: 0 0 20px 0;
    font-size: 16px;
  }
  #login-pop .action.forgot_pwd {
    margin-left: 10px;
  }
  .guest-popup.auth-otp .repop {
    padding-left: 0;
    width: 100%;
    display: block;
    float: left;
    margin-top: 15px;
  }
  .guest-popup.auth-otp #promoresendotp,
  .guest-popup.auth-otp #dvresendotp {
    margin-top: 6px;
  }
	#reward-program,form#apply-loyalty,#apply-promotion{
		padding: 15px;
	}
	.redeem-points ul.promotion_data li .rule_left label,.redeem-points ul.promotion_data li .rule_right p{
		font-size: 14px;
	}
	.redeem-points ul.promotion_data li .rule_right p{
		flex-wrap: wrap;
	}
}
.opt-card .opt_reward_program_summary{
  padding: 40px;
}

.opt-card .opt_current_next_tier{
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 5px 0;
  font-size: 16px;
}

.opt-card .opt_pct_done{
  position: absolute;
  bottom: -15px;
  right: 0;
}

.opt-card .opt_current_next_tier_balance h6{
  font-size: 16px;
}

.opt-card .opt_next_tier_milestone strong{
  font-size: 20px;
}

.opt-card .opt_balance_inquiry_info span{
  font-size: 16px;
}
.opt-balance-wrapper{
	display: flex;
    justify-content: space-between;
}
.opt-card .opt_program_summarry h5{
  font-size: 20px;
}
.opt-d-flex{
  display: flex;
}
.opt-email-mobile{
  display: flex;
  align-items: end;
  position: relative;
}
.opt-float-left{
  float: left; 
  width: 100%;
}

form#otp_promotion_form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.guest-popup.auth-otp span.opterrmsg{
      width: 100%;
}

form#otp_promotion_form input#otp_promotion_pop {
    margin: 0;
    padding: 12px 15px;
}

#otp-promotion-popup .fancybox-button.fancybox-close-small,#otp-popup .fancybox-button.fancybox-close-small, #join-reward-popup .fancybox-button.fancybox-close-small{
  position: absolute;
}
.opt-email-mobile .opterrmsg {
    position: absolute;
    bottom: -5px; 
    left: 0;
}   
.woocommerce-page form .form-row-last {
    width: 100%;
    margin-left: 0;
	-webkit-padding-start:unset;
}
.woocommerce-page form .form-row-first{
    width: 100%;
}

.get_loyalty,.apply_otp_loyalty,.apply_otp_promotion, .wd-switch-to-register , .opt-reward-detail, .opt-guest-logout{
  color:#FFFFFF !important;
  background: linear-gradient(90deg, #000000, #1c1c1c) !important;
}
.apply_promotion,.apply_loyalty{
	font-weight:bold;
	border-radius: 6px 6px 6px 6px !important;
}
.opt-hide{
  display:none;
}
.rtl .loyalty-points.checkout_loyalty {
    direction: ltr;
}
.redeem-points ul.promotion_data li.rule_data {
    display: flex;
    gap: 50px;
	border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.redeem-points ul.promotion_data li.rule_data:last-child {
    border: 0;
    margin: 0;
}
#reward-program a {
    text-decoration: underline;
}
#reward-program a:hover {
    color: #1b236e;
}
#consult-loyalty{
	text-align:left;
}
.woocommerce-checkout .form-row.reward-enable label {
    position: unset !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}
.woocommerce-additional-fields p.loyaltybtn-row {
    margin: 0 0 10px !important;
    padding: 3px 7px;
}
.woocommerce-additional-fields button#chkoutloyalty{
	margin-left: 0;
    margin-top: 0;
    height: 100%;
}
.woocommerce-additional-fields button#opt_logout{
	margin-left: 0;
    margin-top: 0;
    height: 100%;
}
.woocommerce-additional-fields .opt-email-mobile{
	align-items: unset;
}
.woocommerce-additional-fields .opt-email-mobile .opterrmsg{
	bottom: -20px;
    left: 5px;
}
button#chkoutloyalty, button#opt_logout{
	background: #000 !important;
	font-weight:bold;
	border-radius: 5px;
}
.woocommerce-additional-fields div#loyalty-input {
    display: flex !important;
}
.woocommerce-additional-fields .apply-loyalty .form-row.form-row-wide + p {
    margin-top: 0;
    margin-left: 0;
    margin-bottom: 0;
    padding: 3px 7px;
}
form.woocommerce-cart-form>.actions {
    clear: both;
}
.woocommerce-additional-fields .apply-loyalty .form-row.form-row-wide + p #apply_loyalty{
	margin-top: 0;
    min-height: 52px;
}
.opt_phone_fields label {
    display: block;
    margin-bottom: -10px;
}

.opt-phone-inline {
    display: flex;
    gap: 10px;
    width: 100%;
}

.opt-phone-inline .form-row {
    margin: 0;
    padding: 0;
}

.opt-phone-inline .form-row-first {
    flex: 0 0 30%;
}

.opt-phone-inline .form-row-last {
    flex: 0 0 70%;
}

.opt_phone_fields select,
.opt_phone_fields input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}
.opt-country-code-wrapper {
    position: relative;
    width: 50%;
}
.country-code-display {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

/* Invisible select over input */
.opt-country-code-wrapper select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
button#myAccount {
    border-radius: 5px;
}
.join-rewards-link {
    padding-top: 10px;
}
/* Mobile */
@media (max-width: 768px) {
    .opt-phone-inline {
        flex-direction: column;
    }

    .opt-phone-inline .form-row-first,
    .opt-phone-inline .form-row-last {
        flex: 100%;
    }
}
@media screen and (max-width: 767px){
  .opt-card .opt_reward_program_summary {
    padding: 20px;
  }
  .opt-card .opt_current_next_tier_balance h6 {
    font-size: 14px;
  }
  .opt-card .opt_next_tier_milestone strong {
    font-size: 18px;
    line-height: 19px;
    margin: 10px 0;
    display: block;
  } 
  a.button.opt-reward-detail {
    max-width: 200px; 
    margin: 0 auto;
    display: flex;
  }
  .woocommerce-additional-fields .opt-email-mobile .opterrmsg{
	bottom: -18px;
  }
  .opt-email-mobile .opterrmsg,.opterrmsg{
	font-size: 12px;
  }
  .opterrmsg{
	display: block;
	padding-top: 5px;
  }
  button#chkoutloyalty,button#myAccount{
	margin-left: 0;
  }
  .opt-email-mobile{
	flex-wrap: wrap;
  }
  .apply-loyalty .form-row.form-row-wide{
	max-width: 100%;
  }
  .apply-loyalty .form-row.form-row-wide + p{
	margin-left: 0;
	margin-top: 14px;
  }
  .redeem-points ul.promotion_data li.rule_data{
	gap: 20px;
  }
  .redeem-points>div#promotion-status {
	padding-top: 0;
  }
  input#loyalty_account_phone_email,input#loyalty_balances,.serach-promo input[type="text"]{
    font-size: 14px;
  }
}


