/*
 Theme Name:   Bricks Child
 Theme URI:    https://bricksbuilder.io/
 Description:  ReploQ Financial Intelligence Engine - Child Theme
 Author:       ReploQ
 Author URI:   https://reploq.com
 Template:     bricks
 Version:      1.0.0
 Text Domain:  bricks-child
*/

html,
body {
  height: 100%;
}

.mepr-signup-form.alignwide {
  margin-left: auto !important;
  margin-right: auto !important;
}

.mepr-signup-form,
.mepr-before-signup-form,
.mepr-pro-template #primary {
  max-width: 1000px;
  margin: 0 auto;
}

.mepr-before-signup-form {
  padding: 3em auto;
}

@media screen and (max-width: 1023px) {
  .mepr-pro-template #primary > * {
    padding-left: 3rem;
    padding-right: 3rem;
  }
  .mepr-pro-template #primary > #mepr_signup_form,
  .mepr-pro-template #primary > .mepr-signup-form {
    padding-left: 0;
    padding-right: 0;
  }
}

.mepr-checkout-container {
  display: flex;
  flex-direction: column-reverse;
  height: 100%;
  max-width: 610px;
  margin: 30px auto;
	padding-inline: 20px;
}
.mepr-rl-footer-widgets {
  padding-right: 3rem;
  padding-left: 3rem;
}
@media (min-width: 1024px) {
  .mepr-checkout-container {
    flex-direction: column-reverse;
    min-height: 100vh;
  }
  .mepr-checkout-container.mepr-is-footer-widget {
    min-height: 0;
  }
.mepr-checkout-container .form-wrapper {
    padding-right: 0;
    border-left: 0;
  }

  .mepr-checkout-container .invoice-wrapper {
    width: 100%;
    padding-right: 0;
    padding-top: 0;
    padding-left: 0 !important;
    border-bottom: 0 !important;
  }
  .mepr-checkout-container .form-wrapper {
  width: 550px;
  }
  .mepr-rl-footer-widgets {
    padding: .5rem 0 0;
  }
}
@media (max-width: 1024px) {
  .mepr-checkout-container.thankyou {
    flex-direction: column;
  }
}
.mepr-checkout-container img.thankyou-image {
  margin: 0 auto;
  display: block;
}
.mepr-checkout-container .invoice-wrapper {
  flex-shrink: 0;
  flex-grow: 1;
  padding-bottom: .5rem;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}
.mepr-checkout-container .invoice-wrapper .invoice-heading {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.56);
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.mepr-checkout-container .invoice-wrapper .invoice-amount {
  font-size: 2rem;
  font-weight: normal;
  margin-top: 0;
  line-height: 1;
}
.mepr-checkout-container .invoice-wrapper .mepr-coupon-code {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  height: calc(1.5em + 0.75rem + 2px);
  width: 100%;
}
.mepr-checkout-container .invoice-wrapper .mepr_price {
  margin-bottom: 1rem;
}
.mepr-checkout-container .invoice-wrapper.thankyou {
  text-align: center;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  border-bottom: 0;
}
.mepr-checkout-container .invoice-wrapper svg {
  color: #06429e;
  width: 4rem;
  height: auto;
}
.mepr-checkout-container .invoice-wrapper p {
  color: rgba(0, 0, 0, 0.56);
  margin: 0;
}
.mepr-checkout-container .invoice-wrapper .mepr-order-no {
  margin: 1rem 0;
}
.mepr-checkout-container .invoice-wrapper.thankyou .mepr-button {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1em;
  padding-top: 0.5625rem;
  padding-bottom: 0.5625rem;
  color: #fff;
}
.mepr-checkout-container .invoice-wrapper .mepr-button svg {
  width: 1.4rem;
  color: #fff;
  margin-right: 5px;
}
.mepr-checkout-container .invoice-wrapper .mp_price_str {
  display: none;
}
.mepr-checkout-container .invoice-wrapper table {
  table-layout: auto !important;
  border: 0;
  color: rgba(0, 0, 0, 0.56);
  text-align: left;
}
.mepr-checkout-container .invoice-wrapper table tr td {
  vertical-align: middle;
  line-height: 1.2;
}
.mepr-checkout-container .invoice-wrapper table tr td:first-child {
  width: 60px;
}
.mepr-checkout-container .invoice-wrapper table tr td p {
  margin: 0;
  color: rgba(0, 0, 0, 0.56);
}
.mepr-checkout-container .invoice-wrapper table tr th {
  font-weight: normal;
  text-transform: capitalize;
}
.mepr-checkout-container .invoice-wrapper table th,
.mepr-checkout-container .invoice-wrapper table td {
  border: 0;
  color: rgba(0, 0, 0, 0.56);
}
.mepr-checkout-container .invoice-wrapper table .desc {
  font-size: 14px;
}
.mepr-checkout-container .invoice-wrapper table .bt {
  border-top: 1px solid rgba(0, 0, 0, 0.56);
  border-width: 1px !important;
  border-color: rgba(0, 0, 0, 0.2);
}
.mepr-checkout-container .invoice-wrapper table .bb {
  border-bottom: 1px solid rgba(0, 0, 0, 0.56);
  border-width: 1px !important;
  border-color: rgba(0, 0, 0, 0.2);
}
.mepr-checkout-container .invoice-wrapper table .total_cell {
  color: #1d1d1d;
}
.mepr-checkout-container .form-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 4rem;
}    
.mepr-checkout-container .form-wrapper input[type="submit"] {
  background-color: #1ab897 !important;
    color: #ffffff;
    border: none !important;
    border-radius: 5px !important;
    padding: 12px 24px !important;
    font-size: 15px !important;
    min-width: 150px !important;
	height: 46px;
    line-height: 1 !important;
    text-align: center;
    font-weight: 500 !important;
	width: 100%;
    cursor: pointer;
	margin-top: .5rem;
    display: inline-block !important;
    transition: background-color 0.3s ease !important;
}
.mepr-checkout-container .form-wrapper input[type="submit"]:hover {
	background-color: #148f75 !important;
}
.mepr-checkout-container .invoice-wrapper ul.mp-cart-body {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mepr-checkout-container .invoice-wrapper .mp-cart-item {
  display: flex;
  margin-bottom: 20px;
  color: rgba(0, 0, 0, 0.56);
}
.mepr-checkout-container .invoice-wrapper .mp-cart-item-details {
  margin-right: auto;
  text-align: left;
}
.mepr-checkout-container .invoice-wrapper .mp-cart-item-image {
  margin-right: 20px;
}
.mepr-checkout-container .invoice-wrapper .mp-cart-footer > div {
  display: flex;
  justify-content: space-between;
}
.mepr-checkout-container .invoice-wrapper .mp-cart-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  margin-top: 10px;
  padding-top: 10px;
  margin-left: 60px;
  margin-bottom: 24px;
  color: rgba(0, 0, 0, 0.56);
}
.mepr-checkout-container .invoice-wrapper .mp-cart-coupon {
  display: flex;
  justify-content: space-between;
  color: rgba(0, 0, 0, 0.56);
}
.mepr-checkout-container .invoice-wrapper .mp-cart-coupon-desc {
  margin-left: 60px;
}
.mepr-checkout-container .invoice-wrapper .mp-cart-item-details .desc {
  font-size: 14px;
}
.mepr-checkout-container .invoice-wrapper .mp-currency-cell {
  margin-left: 10px;
}

.form-wrapper {
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
.form-wrapper > * + * {
  margin-top: 1rem;
}
.form-wrapper .mp-form-row input[type="text"],
.form-wrapper .mp-form-row input[type="email"],
.form-wrapper .mp-form-row input[type="url"],
.form-wrapper .mp-form-row input[type="tel"] {
  width: 100% !important;
    height: 42px;
    padding: 8px 12px !important;
    border: 1px solid #dce1e0;
    border-radius: 4px;
    letter-spacing: 0.25px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    font-size: 16px;
    color: #333;
    transition: all 0.2s ease-in-out;
    margin-bottom: 10px !important;
    outline: 0;
}
.form-wrapper textarea {
  border-radius: 0.25rem;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.08), 0px 1px 1px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.mp-form-row.mp-address-group {
  box-shadow: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-wrapper .mp-form-row select {
  display: block;
  width: 100%;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  padding-right: 2.25rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-wrapper .mp-form-row select[multiple],
.form-wrapper .mp-form-row select[size]:not([size="1"]) {
  padding-right: 0.75rem;
  background-image: none;
}
.form-wrapper .mp-form-row input[type="text"]:focus-visible,
.form-wrapper .mp-form-row input[type="email"]:focus-visible,
.form-wrapper .mp-form-row input[type="url"]:focus-visible,
.form-wrapper .mp-form-row input[type="tel"]:focus-visible,
.form-wrapper .mp-form-row select:focus-visible {
      border-color: #1ab897;
    box-shadow: 0 0 0 0.25rem rgb(0 214 183 / 25%);
	border: 1px solid #1ab897;
}
.form-wrapper .mp-form-row input[type="text"]::placeholder,
.form-wrapper .mp-form-row input[type="email"]::placeholder,
.form-wrapper .mp-form-row input[type="url"]::placeholder,
.form-wrapper .mp-form-row input[type="tel"]::placeholder {
	color: #999;
	font-size: 14px;
}
.form-wrapper .mp-form-row-group {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}
.mp-form-label label {
	    font-weight: 400;
    font-size: 12px;
    line-height: 24px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.form-wrapper .mp-form-row-group > .mepr-form-input + .mepr-form-input {
  margin-left: -1px;
}
.form-wrapper .mp-form-row-group .mepr-form-input {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
}
.form-wrapper .mp-form-row-group .mepr-form-input:focus {
  z-index: 3;
}
.form-wrapper .mp-form-row-group .mepr-form-input:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.form-wrapper .mp-form-row-group .mepr-form-input:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
.form-wrapper .mp-address-group {
  margin-top: 15px;
  margin-bottom: 2rem;
}
.form-wrapper .mp-address-group .mepr-form-input,
.form-wrapper .mp-address-group input[type="text"] {
  height: calc(1.7em + 0.75rem + 2px);
  margin: 0;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.08), 0px 1px 1px rgba(0, 0, 0, 0.04);
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-wrapper .mp-address-group > .mp-form-row + .mp-form-row .mepr-form-input {
  margin-top: -1px;
}
.form-wrapper .mp-address-group .mp-form-row {
  margin: 0 0 15px;
}
.form-wrapper .mp-address-group .mp-form-row:first-child .mepr-form-input {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.form-wrapper .mp-address-group .mp-form-row:last-child .mepr-form-input {
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.form-wrapper .mepr-payment-option-label {
  display: flex;
  align-items: center;
}
.form-wrapper .mepr-payment-option-label svg {
  width: 4rem;
  height: auto;
  margin-left: auto;
}
.form-wrapper .mepr-payment-option-label input[type="radio"] {
  position: fixed;
  opacity: 0;
}
fieldset.mepr-order-bumps {
  padding: 0;
  margin-top: 1.3rem;
  border: none;
}
.mepr-order-bumps legend {
  font-weight: 700;
  margin: 21px 0;
}

.mepr-payment-methods-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 2em;
}
.mepr-payment-methods-radios label {
  padding: 1rem;
  padding-right: 60px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 !important;
}
.mepr-payment-methods-radios label.checked {
  border: 2px solid #06429e;
}

.mepr_error ul {
  text-align: center;
}

.mepr-payment-option-label {
  background-position: right 10px center;
  background-repeat: no-repeat;
  background-size: 4rem;

  background-size: 50px;
  line-height: normal;
}



.mepr_pro_error,
.mepr-unauthorized-message {
  display: flex;
  align-items: center;
}
.mepr_pro_error > * + *,
.mepr-unauthorized-message > * + * {
  margin-left: 1rem;
}
.mepr-account-container .mepr_pro_error ul,
.mepr_pro_error ul,
.mepr-unauthorized-message ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0;
  margin-left: 1rem;
}
.mepr_pro_error p,
.mepr-unauthorized-message p {
  margin: 0;
}
.mepr_pro_error svg,
.mepr-account-container .mepr_pro_error svg,
.mepr-unauthorized-message svg {
  color: #eb5757;
  width: 3rem;
  height: 3rem;
}

.mepr-payment-option-label.payment-option-stripe {
  background-image: url(../../images/checkout/stripe.svg);
}
.mepr-payment-option-label.payment-option-paypal,
.mepr-payment-option-label.payment-option-paypalcommerce {
  background-image: url(../../images/checkout/paypal.svg);
}
.mepr-payment-option-label.payment-option-authorizeprofile,
.mepr-payment-option-label.payment-option-authorize {
  background-image: url(../../images/checkout/authorize.svg);
}
.mepr-payment-option-label.payment-option-square {
    background-image: url(../../images/checkout/square.png);
}
.mepr-pro-template .mepr-checkout-container .mepr-order-bump .mepr-custom-price{
  display: inline;
}

/* ReploQ x MemberPress: Bumpa-style Subscription Summary (ReadyLaunch) */

.mp_wrapper.mp_invoice.reploq-summary {
  width: 100%;
}

.reploq-summary-card{
  background: #fff;
  border: 0.5px solid rgba(82, 82, 82, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.reploq-summary-header{
  padding: 22px 22px 10px;
}

.reploq-summary-chip{
  display: inline-block;
  border: 2px solid #0c8f3e;
  color: #0c8f3e;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 14px;
}

.reploq-summary-title{
  font-size: 34px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  color: #0f172a;
}

.reploq-summary-subtitle{
  margin: 0;
  font-size: 16px;
  color: #64748b;
}

.reploq-summary-rows{
  padding: 0 22px 22px;
}

.reploq-summary-row{
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid #eef2f1;
}

.reploq-summary-row:first-child{
  border-top: 0;
}

.reploq-summary-label{
  font-size: 16px;
  color: #667085;
}

.reploq-summary-value{
  font-size: 16px;
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.reploq-summary-amount{
  font-size: 22px;
}

.reploq-summary-muted .reploq-summary-value,
.reploq-summary-muted .reploq-summary-label{
  font-weight: 500;
  color: #475569;
}

.reploq-summary-total .reploq-summary-label,
.reploq-summary-total .reploq-summary-value{
  font-weight: 700;
}

/* Paystack Secure Card UI */
.paystack-secure-card {
    background: #f8faff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}
.paystack-secure-card .card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
	justify-content: space-between;
}
.paystack-secure-card .card-header img { height: 24px; }
.paystack-secure-card .card-body {
    background: #fff;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}


/* Responsive */
@media (max-width: 767px){
  .reploq-summary-title{ font-size: 26px; }
  .reploq-summary-header, .reploq-summary-rows{ padding-left: 16px; padding-right: 16px; }
}
.reploq-hidden-fields {
    display: none !important;
}
.reploq-back-btn {
	padding: 8px;
	width: 40px;
	height: 40px;
}
.reploq-plan-header {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}
.reploq-icon-circle {
    background-color: #e66d3b; /* Orange color from screenshot */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(230, 109, 59, 0.2);
}
.reploq-renew-badge {
    background-color: #f0f0f0;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-top: 10px;
    letter-spacing: 0.5px;
}
.reploq-price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
/* Coupon savings row */
.reploq-summary-savings {
  margin-top: -6px;
}

.reploq-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12); /* soft green */
  color: #15803d; /* deep green text */
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.reploq-savings-amount {
  font-weight: 500;
  opacity: 0.85;
}
/* Header alignment */
.reploq-summary-head-centered {
  text-align: center;
  padding-bottom: 20px;
}

/* Optional icon wrapper */
.reploq-summary-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #ff5a00; /* replace with brand orange */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Renewal badge */
.reploq-renewal-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f2f4f7;
  color: #667085;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
