/* General */
.payra-cash-notice {
  margin-top: 20px;
}

.payra-cash-mt-6 {
  margin-top: 6px;
}

.payra-cash-description-under-button {
  max-width: 420px;
}

.payra-cash-description-half {
  max-width: 690px;
  line-height: 1.6;
  color: #333;
}

.payra-cash-description-half li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 28px;
  color: #646970;
}

.payra-cash-description-half li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #2271b1;
}

#woocommerce_payra_cash_crypto_payment_go_to_settings {
  display: none !important;
}

.payra-pill {
  display: inline-block;
  background-color: #f1f1f1;
  color: #333;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 4px;
  font-weight: bold;
}

.payra-pill--paid {
  background-color: #AFE1AF !important;
}

.payra-pill--pending {
  background-color: #89CFF0 !important;
}

.payra-pill--expired {
  background-color: #99B4FF !important;
}

.payra-pill--rejected {
  background-color: #FF5C5C !important;
}

.payra-pill--error {
  background-color: #FFBF00 !important;
}

.payra-pill--default {
  background-color: #D3D3D3 !important;
}

.payra-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}

.payra-pill {
  display: inline-block;
  background: #f0f0f0;
  color: #333;
  padding: 2px 6px;
  margin: 2px;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.payra-tooltip-text {
  visibility: hidden;
  background-color: #333;
  color: #fff;
  text-align: left;
  padding: 4px 6px;
  border-radius: 4px;
  position: absolute;
  z-index: 100;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.payra-pill:hover .payra-tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* payment form */
.payra-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 420px;
  padding: 30px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow:
    0 0 20px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.payra-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #000, transparent);
  animation: scan 3s infinite;
}

@keyframes scan {
  0% { left: -100%; }
  100% { left: 100%; }
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 14px;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.form-group label::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.form-group:focus-within label::after {
  width: 100%;
}

.required {
  color: #ff4444;
  text-shadow: 0 0 5px #ff4444;
}

/* Select styling */
.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--single {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  border-radius: 6px;
  height: 45px;
  line-height: 45px;
  transition: all 0.3s ease;
}

.select2-container .select2-selection--single:hover {
  border-color: #999;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #000;
  padding-left: 15px;
  white-space: nowrap !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

/* Price display */
.payra-price {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  padding: 15px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payra-price::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Futuristic button */
.payra-btn {
  position: relative;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  background: linear-gradient(45deg, #FFA761, #FFB378);
  color: #000;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 100, 40, 1);
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(255, 100, 40, 0.1);
}

/* Hover */
.payra-btn:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(255, 100, 40, 0.5);
  border-color: #e74c3c;
}

.payra-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.payra-btn .btn-text {
  position: relative;
  z-index: 2;
}

/* Glow orange */
.payra-btn .btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 120, 50, 0.35),
    rgba(220, 50, 30, 0.35),
    transparent
  );
  transition: left 0.5s ease;
}

.payra-btn:not(:disabled):hover .btn-glow {
  left: 100%;
}

/* Blue variant */
.payra-btn--blue {
  background: linear-gradient(45deg, #e6f0ff, #cce0ff);
  border: 1px solid #3399ff;
  color: #004080;
}

.payra-btn--blue:not(:disabled):hover {
  border-color: #0066cc;
  box-shadow:
    0 5px 15px rgba(0, 102, 204, 0.2),
    0 0 20px rgba(0, 153, 255, 0.4);
}

.payra-btn--blue .btn-glow {
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.3), transparent);
}

.payra-status {
  margin-top: 15px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  font-size: 14px;
  color: #333;
}
.payra-status .status-message {
  margin: 0;
}

#payra-status {
  margin-top: 15px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
  display: inline-block;
}

/* Messages type */
.status-info {
  background: #eef6ff;
  border-color: #b3d4fc;
  color: #084298;
}

.status-success {
  background: #e6ffed;
  border-color: #a3f7b5;
  color: #0f5132;
}

.status-error {
  background: #fde2e2;
  border-color: #f5a3a3;
  color: #842029;
}

.status-warning {
  background: #fff9e6;
  border-color: #ffe28a;
  color: #664d03;
}

.btn-spinner {
  margin-left: 8px;
  width: 16px;
  height: 16px;
  border: 2px solid #000;
  border-top: 2px solid transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Animated particles */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #DCDCDC;
  border-radius: 50%;
  opacity: 0;
  animation: float 4s infinite ease-in-out;
}

.particle:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  animation-duration: 3s;
}

.particle:nth-child(2) {
  left: 20%;
  animation-delay: 0.5s;
  animation-duration: 4s;
}

.particle:nth-child(3) {
  left: 30%;
  animation-delay: 1s;
  animation-duration: 3.5s;
}

.particle:nth-child(4) {
  left: 50%;
  animation-delay: 1.5s;
  animation-duration: 4.5s;
}

.particle:nth-child(5) {
  left: 70%;
  animation-delay: 2s;
  animation-duration: 3s;
}

.particle:nth-child(6) {
  left: 80%;
  animation-delay: 2.5s;
  animation-duration: 4s;
}

.particle:nth-child(7) {
  left: 90%;
  animation-delay: 3s;
  animation-duration: 3.5s;
}

.particle:nth-child(8) {
  left: 60%;
  animation-delay: 3.5s;
  animation-duration: 4.5s;
}

@keyframes float {
  0% {
    bottom: -10px;
    opacity: 0;
    transform: translateX(0) scale(0);
  }
  10% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  90% {
    opacity: 1;
    transform: translateX(20px) scale(1);
  }
  100% {
    bottom: 100%;
    opacity: 0;
    transform: translateX(40px) scale(0);
  }
}

/* Additional glow effects */
.payra-form:hover {
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 480px) {
  .payra-form {
    max-width: 100%;
    padding: 20px;
  }
}

.currency {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.currency--usdt {
  text-decoration-color: #89CFF0;
}

.currency--usdc {
  text-decoration-color: #FFBF00;
}

.currency--default {
  text-decoration-color: #444;
}

.payra-branding {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  opacity: 0.8;
  /* pointer-events: none; */
}

.payra-branding a {
  text-decoration: none;
}


/* Token under select */
#add-to-wallet {
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
  transition: color 0.2s ease;
}

#add-to-wallet:hover {
  color: #005c87;
}

#payra-token-info {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 10px;
}

/* Support */
.payra-support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 columns */
  gap: 20px;
  margin-top: 20px;
}

.video-link {
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.video-link:hover {
  background: #e8f0fe;
  border-color: #4285f4;
  color: #000;
  transform: translateY(-2px);
}

/* FAQ */
.support-faq .faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.support-faq .faq-list li {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e2e4e7;
  border-radius: 6px;
  background: #fafafa;
  transition: background 0.2s;
}

.support-faq .faq-list li:hover {
  background: #f0f7ff;
  cursor: pointer;
}

.support-faq .faq-list strong {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.support-faq .faq-list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* vids */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 6px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .payra-support-grid {
    grid-template-columns: 1fr;
  }
}

.payra-card h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
  padding-bottom: 6px;
}

.payra-card h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 3px;
  background-color: rgba(137, 207, 240, 0.3);
}

.payra-check-btn {
  background-color: #F5276C;
  color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 3px;
}

/* status checking */
.blink {
  animation: blink 1s infinite;
}

/* miganie */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

#toast-container > div {
  font-size: 14px;
  font-weight: normal;
  text-align: left;
  opacity: 1 !important;
}

.margin-bottom-10 {
  margin-bottom: 10px !important;
}

.payra-branding {
  display: flex;
  align-items: center;
  gap: 4px;
}

.payra-branding img {
  display: block;
}

.payra-badge {
  display: inline-block;
  padding: .35em .6em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: .25rem;
  color: #fff;
  background-color: #6c757d;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
  transition: all .2s ease-in-out;
}

.payra-badge-pill {
  padding-right: .75em;
  padding-left: .75em;
  border-radius: 10rem;
}

.payra-badge-info {
  background-color: #dc3545;
}

.payra-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,.3);
}

.payra-icon {
  width:50px;
  height:50px;
  object-fit:contain;
}

/* fileds container */
.payra-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* label, input inline */
.payra-form-inline {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.payra-form-group input {
    margin: 0 !important;
    padding: 5px 10px;
    border-radius: 4px;
}
