#campay_transaction_number {
    width: inherit;
    height: 40px;
    border: none;
    padding: 10px;
    opacity:1;
    z-index:9;
}
#campay-number-error{
	color:red;
	display:none;
}
input#campay_transaction_number {
    background: rgb(238 238 238);
    color: #000 !important;
    border: 2px solid #000;
    font-weight: 500;
	position:relative;
}

.input_holder input{
	margin-top: 10px !important;
	z-index: 99 !important;
	opacity: 1 !important;
	position: relative !important;
}
.form_holder {
  position: relative;
  min-height: 100px;
}

/* Phone number field: +237 prefix joined to the number, like the CamPay shortcode payment window */
.campay-edd-phone-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}
.campay-edd-required {
  color: #b91c1c;
}
.campay-edd-phone {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.campay-edd-phone__prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #d1d5db;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 15px;
  white-space: nowrap;
}
/* !important: beats ".input_holder input" above and the theme checkout styles */
.campay-edd-phone input.campay-edd-phone__input {
  flex: 1;
  min-width: 0;
  width: 100% !important; /* a percentage lets the field shrink on narrow screens */
  height: 48px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 0 8px 8px 0 !important;
  background: #fff !important;
  color: #111827 !important;
  font-size: 17px !important;
  line-height: normal !important;
  box-shadow: none !important;
}
.campay-edd-phone input.campay-edd-phone__input::placeholder {
  color: #9ca3af;
}
.campay-edd-phone input.campay-edd-phone__input:focus {
  outline: none !important;
  border-color: #1d4ed8 !important;
  box-shadow: 0 0 0 3px rgb(29 78 216 / 20%) !important;
}

/* Payment method choice: Mobile Money or card */
.campay-edd-fields {
  min-width: 0; /* fieldsets default to min-content, which can widen the page on phones */
  border: 0;
  margin: 0 0 1em;
  padding: 0;
}
.campay-edd-fields [hidden] {
  display: none !important;
}
.campay-edd-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-bottom: 1em;
}
.campay-edd-method {
  display: flex;
  flex: 1 1 14em;
  align-items: center;
  gap: 0.5em;
  padding: 0.75em 1em;
  border-radius: 8px;
  background: #2c3e50;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.campay-edd-method:hover,
.campay-edd-method:has(input:checked) {
  background: #1a252f;
}
.campay-edd-method:has(input:checked) {
  box-shadow: inset 0 0 0 2px #fff;
}
.campay-card-fields p {
  margin: 0;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 80%;
    overflow: hidden;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    right: 0;
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.cp_payment_waiting{
    width:350px;
    margin:auto;
}
.cp_payment_info{
    color:red;
    text-align:center;
    padding:10px 0;
}

/*accordian*/
.row.css_accordion input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.row.css_accordion {
  display: flex;
  position : relative;
}
.row.css_accordion .col {
  flex: 1;
}
.row.css_accordion .col:last-child {
  margin-left: 1em;
}

/* Accordion styles */
.row.css_accordion .tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.row.css_accordion .tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.row.css_accordion .tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #2c3e50;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.row.css_accordion .tab-label:hover {
  background: #1a252f;
}
.row.css_accordion .tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.row.css_accordion .tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #2c3e50;
  background: white;
  transition: all 0.35s;
}
.row.css_accordion .tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #2c3e50;
  cursor: pointer;
}
.row.css_accordion .tab-close:hover {
  background: #1a252f;
}

.row.css_accordion input:checked + .tab-label {
  background: #1a252f;
}
.row.css_accordion input:checked + .tab-label::after {
  transform: rotate(90deg);
}
.row.css_accordion input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}