/* SePay Payment Styles */
.sepay-payment-container {
  max-width: 500px;
  margin: 20px auto;
  font-family: Arial, sans-serif;
}

.sepay-product-info {
    padding: 20px;
    text-align: center;
    font-weight: bold;
    background: #374c6b;
    color: #fff;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}
.sepay-price {
  font-size: 20px;
  margin-top: 35px;
}

.sepay-credits {
  font-size: 38px;
  margin: 10px 0;
  display: flex;
  gap: 10px;
  align-content: center;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
}

.sepay-credits svg {
  display: inline-block;
  transform-origin: center;
}

p#sepay-status-message {
  line-height: 1.6;
}

.sepay-buy-btn {
    background: rgb(17 26 45);
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    padding: 12px 30px;
    border: 0px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
    margin-top: 10px;
}
.sepay-buy-btn:hover {
  opacity:0.6;
}

p.sepay-bank-name {
  margin-bottom: 10px !important;
  margin-top: 0px !important;
}
p.sepay-bank-name strong {
  color: #0d8f6f;
}

/* Inline (non-popup) payment box */
.sepay-payment-info {
  margin-top: 15px;
}

.sepay-payment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #555151;
  margin-bottom: 15px;
  padding-bottom: 5px;
}

.sepay-close {
  font-size: 28px;
  cursor: pointer;
  color: #999;
}

.sepay-bank-info p {
  margin: 10px 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 110px 1fr 30px;
}

.sepay-bank-info p:last-child{
  margin-bottom: 0px !important;
}

.goi-mua {
    display: inline-block;
    background: #9ac5ff;
    padding: 7px 20px;
    font-size: 13px;
    border-radius: 0px 0px 8px 8px;
    color: #272727;
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
}

.sepay-bank-info {
  background: rgb(16 163 127 / 10%);
  border-radius: 8px;
  padding: 15px;
  font-size: 14px;
  line-height: 1.5;
}

.sepay-copy-btn {
  background: #7b7b7b5e;
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sepay-copy-btn i { color: #fff; }

.sepay-qr-code {
  text-align: center;
  margin: 15px 0;
}

.sepay-qr-code img {
  width: 100%;
  border-radius: 8px;
  position: relative;
}
.sepay-payment-status {
  background: rgb(228 249 107 / 21%);
  padding: 15px;
  border-radius: 5px;
  text-align: center;
}

#sepay-check-payment {
  background: #3d412d;
  border: 1px solid #a7a7a7ab;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  width: 100%;
}

.sepay-loading {
  opacity: 0.7;
  pointer-events: none;
}

.sepay-success {
  color: #27ae60;
  font-weight: bold;
}

.sepay-error {
  color: #ffffff;
}

/* Helpers */
.hidden { display: none !important; }

/* Spinner */
.sepay-loader {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  animation: sepay-spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: -2px;
}

@keyframes sepay-spin {
  to { transform: rotate(360deg); }
}

.sepay-product-thank {
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background: #7abdffc7;
    position: relative;
    margin-top: 20px;
    font-size: 20px;
}

.sepay-product-thank button{
  margin-top: 20px;
}
