﻿/* ===== Base Styles ===== */
html{overflow-x: hidden;}
body {
  background-color: #f6f6f6;
  font-size: .9rem;
}
/* ===== Header Styles ===== */
.PrepaidRecharge-header {
  background-color: white;
  padding: 2rem 0 2rem 4rem;
}
.PrepaidRecharge-header h1 {font-family:var(--sora-semibold);color:black;}
/* ===== Main Container ===== */
.PrepaidInfo-container {padding: 0 4rem;}
/* ===== Card Styles ===== */
.card-prepaid,
.BalTran-cards {
  background: white;
  border-radius: 1rem;
  margin: 3.1rem auto;
}
.card-prepaid {padding: 2rem 3rem 3rem;}
/* Card Header */
.card-prepaid .header-prepaid {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.card-prepaid .header-prepaid .circle-number {
  width: 3.1rem;
  height: 3.1rem;
  background: #F1ECF2;
  color: #734278;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family:var(--sora-semibold);
  font-size: 1.5rem;
  margin-right: 1rem;
}
.circle-number {
  background: #F1ECF2;
  color: #734278;
  display: flex;
  align-items: center;
  justify-content: center;
}
.circle-number.svg-active {
  background: #734278 !important;
  color: #fff;
}
.circle-num-svg { display: none; }
.circle-number.svg-active .circle-num-svg { display: inline-block; }
.circle-number .circle-num-text { display: inline-block; }
.circle-number.svg-active .circle-num-text { display: none; }
.circle-num-svg svg {
  display: block;
  margin: 0 auto;
  stroke: #fff;
}
.card-prepaid .header-prepaid h4 {
  font-family:var(--sora-semibold);
  margin-bottom: 0;
  color:black;
}
/* Form Elements */
.PrepaidInfo-container .card-prepaid .prepaidForms .amount input
 {
  border-radius: 0.5rem;
  border:1px solid var(--case-border);
  padding:1.5rem 1rem;
}
.PrepaidInfo-container .card-prepaid .prepaidForms input,
.PrepaidInfo-container .details-card .forms input {
  border-radius: 0.5rem;
  border:1px solid var(--case-border);
  padding:1.3rem 1rem;
}

.PrepaidInfo-container .card-prepaid .prepaidForms input {background-color: white;}
.PrepaidInfo-container .details-card .forms input {background-color: #F3F3F3;}
/* Labels & Text */
.PrepaidInfo-container .card-prepaid .prepaidForms .form-label,
.PrepaidInfo-container .details-card .forms .form-label {
  margin-bottom: 0.8rem;
  margin-top: 1rem;
}
.details-card .forms .form-label {margin-top: 1rem;}
.card-prepaid .prepaidForms .form-text {
  display: none;
  color: red;
}
/* Amount Controls */
.card-prepaid .prepaidForms .amount {
  margin-bottom: 1.5rem;
  position: relative;
}
.prepaidForms .amount .amount-number {display: flex;}
.prepaidForms .amount .amount-buttons {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  margin-left: 0.3rem;
  padding-left: 1rem;
}
.prepaidForms .amount-buttons button {padding: 0;}
.prepaidForms .increment-btn,
.prepaidForms .decrement-btn {
  padding: 0 0.8rem !important;
  border-left: 1px solid var(--case-border) ;
  border-radius: 0;
  min-width:1rem
}
.prepaidForms .increment-btn:hover,
.prepaidForms .decrement-btn:hover {
  padding: 0 0.8rem !important;
  border-left: 1px solid var(--case-border)!important ;
  border:1px solid transparent;
  }

.prepaidForms .increment-btn {border-bottom: 1px solid var(--case-border) !important;}
.prepaidForms .increment-btn img,
.prepaidForms .decrement-btn img {
  height: 1rem;
  width: 0.9rem;
  padding-bottom: 0.4rem;
  margin-top:0.4rem;
}
/* Buttons */
.card-prepaid .prepaidForms .prepaid-btn,
.details-card .details-footer {display:flex; justify-content:end;}
.proceed-btn,
.recharge-btn {
  background-color: #734278;
  color: white;
  border-radius: 1.5rem;
  padding: .5rem 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  display:flex;
  justify-content:center;
  /* margin: 0 .5rem; */
}
.cancel-recharge {
  background-color: transparent;
  color: #734278;
  border-radius: 1.5rem;
  padding: .5rem 1rem;
  margin-top: 1rem;
  font-size: 1rem;
  display:flex;
  justify-content:center;
  border:1px solid #734278;
  margin-right: 0.6rem;
}.proceed-btn:hover,
.recharge-btn:hover {
  background-color: #5c3460;
  color: white;
}
/* ===== Mini Cards Layout ===== */
.mini-cards .prepaidBal-card {margin-top: -2rem;}
/* ===== Transaction Cards ===== */
.mini-cards .BalTran-cards {
  padding: 2rem;
  cursor: pointer;
}
.BalTran-cards .transaction-pic {
  height: 2rem;
  width: 2rem;
  margin-bottom: 2rem;
}
.BalTran-cards .transaction-pic img {
  height: 100%;
  width: 100%;
}
.BalTran-cards .transaction-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: -1rem;
}
.BalTran-cards .transaction-footer .arrow-pic {
  height: 2.5rem;
  width: 2.5rem;
}
.BalTran-cards .transaction-footer .arrow-pic img {
  height: 100%;
  width: 100%;
}
.BalTran-cards .transaction-footer .transaction-text p {
  font-size: 0.8rem;
  color: grey;
}
/* ===== Details Card ===== */
.details-card .details-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.details-card .details-footer p {
  color: grey;
  margin-bottom: 0 !important;
  text-align: start;
}
.card-prepaid .edit-prepaid button{display: none;}



.proceed-active .prepaid-info{
  scale: 0.92;
  background-color: rgba(255, 255, 255, 0.358);
  border: 1px solid rgba(128, 128, 128, 0.611);
  margin-top: 2.2rem ;
}
.proceed-active .positioning-card{position: relative;}
.proceed-active .nine-fields{position: absolute;top: 14.5rem;}
.proceed-active .eleven-fields{
  position: absolute;
  top: 18rem; 
  margin: auto;
}
.proceed-active .edit-prepaid{display: flex;justify-content: space-between; align-items: center;}
.proceed-active .edit-prepaid button{
  display: block;
  border: none;
  background-color: transparent;
  color: #734278;
  text-decoration: underline;
  font-size: 1.2rem;
  font-family:var(--sora-bold);
  margin-bottom: 1rem;
}
.proceed-active .card-prepaid{margin-bottom: 28rem;}
.row{
    margin-right: 0 !important;
}
.prepaidForms .increment-btn:focus,
.prepaidForms .decrement-btn:focus {
  padding: 0 0.8rem !important;
  border-left: 1px solid var(--case-border) !important ;
  border:1px solid transparent;
  }

@media (max-width:600px){
  .PrepaidInfo-container .card-prepaid{padding: 1rem;}
  .PrepaidInfo-container .card-prepaid .header-prepaid h4{font-size: 1.1rem;}
  .PrepaidInfo-container .card-prepaid .edit-button{font-size: 1rem;margin-bottom: 1.5rem;}
  .PrepaidInfo-container .header-prepaid .circle-number {width: 2.1rem;height: 2.1rem; font-size: 1rem;}
  .PrepaidInfo-container .eleven-fields{top: 7.5rem !important;width: 93%;}
  .PrepaidInfo-container .nine-fields{top: 4.5rem !important;width: 93%;}
  .prepaidForms .form-label, .details-forms .form-label {font-size: 0.9rem;}
  .details-footer p{font-size: 0.8rem; width: 12rem;text-align: start;}
  .details-footer .recharge-btn, .card-prepaid .proceed-btn,.cancel-recharge{font-size: 1rem;padding: 0.5rem 2rem;margin-bottom: 1rem;}
  .PrepaidRecharge-header{font-size: 2rem;padding-left: 2rem;}
  .BalTran-cards .transaction-pic {height: 1.5rem;width: 1.5rem;}
  .BalTran-cards .transaction-footer .arrow-pic {height: 2rem;width: 2rem;}
}
@media (min-width:600px) and (max-width:992px){
.details-card{width: 97%;}
.PrepaidInfo-container{padding: 0;margin: 0;}
.proceed-active .nine-fields{top: 6.5rem;width:96%}
.proceed-active .eleven-fields{top: 9.5rem;width:96%}
}
@media (max-width:772px){
.PrepaidInfo-container{padding: 0;margin: 0;}
.mini-cards{padding-left: 1rem;}
}
@media (min-width:992px){
.proceed-active .nine-fields{top: 6.5rem;width:96.5%;}
.proceed-active .eleven-fields{
  top: 9.5rem; 
  margin: auto;
  width:96.5%;
}
.details-card .details-footer{
	justify-content:space-between;
}
.proceed-active .prepaid-info{
  scale: 0.92;
  background-color: rgba(255, 255, 255, 0.358);
  border: 1px solid rgba(128, 128, 128, 0.611);
  margin-top: 2.2rem ;
 }
.PrepaidInfo-container .mini-cards{padding-left: 2rem;}
.proceed-active .mini-cards {margin-bottom: 33rem;}
}
@media (max-width:992px){
  .card-prepaid{max-height: 46rem;overflow-y: auto;}
}
@media (min-width:992px) and (max-width:1400px){
.PrepaidInfo-container{padding: 1rem 3rem;}
}

