/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 #paymentFrm {
    width: 480px;
    margin: 20px 0;
  }
  
  #paymentFrm label {
    position: relative;
    color: #6A7C94;
    font-weight: 400;
    height: 48px;
    line-height: 48px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: row;
  }
  
  #paymentFrm label > span {
    width: 115px;
  }
  
  #paymentFrm .field {
    width: 100%;
    background: white;
    box-sizing: border-box;
    font-weight: 400;
    border: 1px solid #CFD7DF;
    border-radius: 5px;
    color: #32315E;
    outline: none;
    flex: 1;
    height: 48px;
    line-height: 48px;
    padding: 0 20px;
    cursor: text;
    margin:10px 0;
  }
  
  #paymentFrm .field::-webkit-input-placeholder { color: #CFD7DF; }
  #paymentFrm .field::-moz-placeholder { color: #CFD7DF; }
  
  #paymentFrm .field:focus,
  #paymentFrm .field.StripeElement--focus {
    border-color: #F99A52;
  }
  
  #paymentFrm button {
    float: left;
    display: block;
    /* background-image: linear-gradient(-180deg, #F8B563 0%, #F99A52 100%); */
    /* box-shadow: 0 1px 2px 0 rgba(0,0,0,0.10), inset 0 -1px 0 0 #E57C45; */
    background-color: rgb(221, 10, 10);
    color: white;
    border-radius: 5px;
    border: 0;
    margin-top: 30px;
    font-size: 17px;
    font-weight: 500;
    width: 100%;
    height: 48px;
    line-height: 48px;
    outline: none;
  }
  
  #paymentFrm button:focus {
    background-color: rgb(221, 10, 10);
  }
  
  #paymentFrm button:active {
    background-color: rgb(221, 10, 10);
  }
  
  #paymentFrm .outcome {
    float: left;
    width: 100%;
    padding-top: 8px;
    text-align: center;
  }
  
  #paymentFrm .success, .error {
    display: none;
    font-size: 15px;
  }
  
  #paymentFrm .success.visible, .error.visible {
    display: inline;
  }
  
  #paymentFrm .error {
    color: #E4584C;
  }
  
  #paymentFrm .success {
    color: green;
    font-size: 20px;
  }
  
  #paymentFrm .success .token {
    font-weight: 500;
    font-size: 20px;
  }
  #paymentFrm .fa {
    margin-left: -12px;
    margin-right: 8px;
  }
  
  /* #paymentFrm .radio-buttons {
    display: flex;
    flex-wrap: wrap;
    column-gap: 5px;
    margin-top: 12px;
    justify-content: space-between;
    width: 100%;
  }
  
  #paymentFrm .radio-buttons input[type="radio"] {
    display: none;
  }
  
  #paymentFrm .radio-buttons label {
    display: inline-block;
    padding: 0px 0px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    color: #000;
    font-size: 17px;
    width: 31.33%;
    text-align: center;
  
  }
   */
  #paymentFrm .radio-buttons {
  display: flex;
  justify-content: space-between; 
  gap: 8px;                      
  margin-top: 12px;
  width: 100%;
}

#paymentFrm .radio-buttons input[type="radio"] {
  display: none; 
}

#paymentFrm .radio-buttons label {
  flex: 1;                        
  display: flex;                 
  align-items: center;            
  justify-content: center;       
  padding: 12px;                
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  color: #000;
  font-size: 17px;
  font-weight: 500;
  transition: all 0.25s ease;
}


#paymentFrm .radio-buttons label:hover {
  background-color: #f0f0f0;
}

#paymentFrm .radio-buttons input[type="radio"]:checked + label {
  border: 2px solid #0073e6;
  background-color: #e6f0ff;
  font-weight: 600;
}

  #paymentFrm .time_container input {
      display: none !important;
  }
  
  #paymentFrm .time_container label {
      display: inline-block;
      /* padding: 0px 20px; */
      background-color: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      cursor: pointer;
      width: 31.33%;
      text-align: center;
  }
  
  #paymentFrm .time_container label.active {
    border: 2px solid #000;
  }
  form#paymentFrm {
      padding: 15px;
      border: 1px solid #ccc;
      border-radius: 5px;
  }
  .time_container {
      flex-wrap: wrap;
      justify-content: space-between;
      display:flex; 
      gap: 5px;
      margin-top: 12px;
  }
  .field_title {
      font-size: 14px;
      font-weight: 600;
  }
  /* button.payment.field_title:hover {
      background-color: rgb(244, 12, 12);
      cursor: pointer;
      transition: 0.6s all;
  } */
  
  #root .ElementsApp .Icon-fill{
    fill: #000 !important;
  }

  /* If you like this, be sure to ❤️ */


.wrapper a {
  display: inline-block;
  text-decoration: none;
  padding: 15px;
  background-color: #fff;
  border-radius: 3px;
  color: #585858;
  font-family: 'Roboto', sans-serif;
}



/* Overlay */
.modal {
  visibility: hidden;
  opacity: 0;
  position: fixed;              /* covers full viewport */
  top: 10px; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-start;      /* card from top */
  justify-content: center;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  overflow: auto;
}

.modal:target {
  visibility: visible;
  opacity: 1;
}

/* Card */
.modal__content {
  background: #fff;
  border-radius: 8px;
  width: 550px;
  max-width: 95%;
  margin: 10% auto !important;
  padding: 2em;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  transition: max-height 0.35s ease;
  max-height: 900px;   
  height: auto;         /* default */
  overflow: hidden;
   position: relative;
}

.modal-heading { 
  text-align: center; 
  font-size: 22px !important;
  font-weight: 600 !important;
  margin-bottom: 20px;
  color: rgb(244, 12, 12);
  border-bottom: 2px solid rgb(244, 12, 12);
  padding-bottom: 8px; 
  }

.modal__content.expanded {
  max-height: 650px;            /* grows smoothly */
  overflow: visible;
}

button.payment {
  display: flex !important;                
  align-items: center  !important;           /* vertical center */
  justify-content: center !important;       /* horizontal center */
  width: 100%;                   /* full width inside card */
  margin-top: 20px;
  background-color: rgb(244, 12, 12);
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

button.payment:hover {
  background-color: rgb(244, 12, 12);
  transform: translateY(-2px);   
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

button.payment:active {
  transform: translateY(0);    
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}


.modal__footer {
  text-align: right;
  a {
    color: #585858;
  }
  i {
    color: #d02d2c;
  }
}
.modal__close {
  position: absolute;
  top: 0px;
  right: 20px;
  color: #585858;
  text-decoration: none;
  font-size: 30px;
}

input#stripe-amount {
  width: 100%;
  background: white;
  box-sizing: border-box;
  font-weight: 400;
  border: 1px solid #CFD7DF;
  border-radius: 5px;
  color: #32315E;
  outline: none;
  flex: 1;
  height: 48px;
  line-height: 48px;
  padding: 0 20px;
  cursor: text;
  margin: 10px 0;
}

p.custom-amounts {
  text-align: center;
  font-size: 14px;
  color:  rgb(244, 12, 12) ;
  margin: 12px 0px;
  margin-bottom: 0px;
}

.ace-wallet-pagination ul.page-numbers {
  display: flex;
  justify-content: end;
}

.ace-wallet-pagination ul.page-numbers li {
  /* padding:12px; */
  list-style-type: none;
  border: 1px solid #1b1b1c87;
}
ul.tabs-nav {
  padding: 0px !important;
  margin: 0px !important;
}
.tabs-nav li {
  float: left;
  width: 50%;
  list-style: none;
}
.tabs-nav li:first-child a {
  border-right: 0;
  border-top-left-radius: 6px;
}
.tabs-nav li:last-child a {
  border-top-right-radius: 6px;
}
.tabs-nav a {
  background: #eaeaed;
  border: 1px solid #cecfd5;
  color: #0087cc;
  display: block;
  font-weight: 600;
  padding: 10px 0;
  text-align: center;
  text-decoration: none !important;
}
.tabs-nav a:hover {
  /* color: #ff7b29; */
  border: none !important;
  background-color: none !important;
    outline: none !important;

}
.tab-active a {
  background: #0087cc;
  border-bottom-color: transparent;
  color: white;
  cursor: default;
    outline: none !important;
}
.tabs-stage {
  border: 1px solid #cecfd5;
  border-radius: 0 0 6px 6px;
  border-top: 0;
  clear: both;
  padding: 24px 30px;
  position: relative;
  top: -1px;
}

.tabs-stage td, th {
  border: 1px solid #dddddd;
  padding: 8px;
  border-collapse: collapse;
}

.tabs-stage tr:nth-child(even) {
background-color: #dddddd8f;
}

.tabs-stage tbody tr.refund {
  color: #048f04;
  font-weight: 400;
}
tr.refund td a {
  color: #0404f7;
}
.tabs-stage tbody tr.debit {
  color: #cd0202;
  font-weight: 400;
}
tr.debit td a {
  color: #0404f7;
}
td.status {
  text-transform: capitalize;
}

span.page-numbers.current {
  color: hsla(11, 80%, 45%, 1);
  font-weight: 500;
}

.tabs-stage tbody th {
  font-weight: 600;
}

.tabs{
  display: block !important;
}

div#addpayments {
    z-index: 99999;
}

/* add payment to wallet modal show */
.modal { display:none; }
.modal:target { display:block; }

/* design of add to wallet cards error*/
#paymentResponse {
  margin: 15px 0;
  font-size: 15px;
  text-align: center;
  font-weight: 600;
}

#paymentResponse.error {
  color: #d32f2f;
  background: #fdecea;
  border: 1px solid #f5c2c7;
  padding: 10px 15px;
  border-radius: 6px;
  display: inline-block;
}

#paymentResponse.success {
  color: #1b5e20;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  padding: 10px 15px;
  border-radius: 6px;
  display: inline-block;
}





/* Pagination container of Total spends payments wallets*/
.ace-wallet-pagination {
  margin: 20px 0;
  display: flex;
  justify-content: end;
}

/* Pagination list */
.ace-wallet-pagination ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Pagination links and spans */
.ace-wallet-pagination ul.page-numbers li a,
.ace-wallet-pagination ul.page-numbers li span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 4px;
  background: #0073e6;   
  color: #fff;           /* white text */
  text-decoration: none;
  font-weight: 500;
  transition: background 0.25s ease;
}

/* Hover effect */
.ace-wallet-pagination ul.page-numbers li a:hover {
  background: #005bb5;   /* darker blue on hover */
}

/* Current page */
.ace-wallet-pagination ul.page-numbers li span.current {
  background: #004a99;   /* darkest blue for active */
  font-weight: 700;
}




.status-pending   { color: #1b5e20; font-weight: 600; } /* green */
.status-cancelled { color: #b71c1c; font-weight: 600; } /* red */
.status-refunded  { color: #ff9800; font-weight: 600; } /* orange */
.status-default   { color: #333; }










