.payment-widget {
    background: #181925;
    padding: 12px; /* Reduced padding */
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    text-align: center;
    width: 80%;
    max-width: 1920px;
    margin: 1vh auto;
    position: relative;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.4;
    animation: fadeIn 0.4s ease-out;
    transform: translateY(0);
    transition: all 0.3s ease-out;
    color: #e6e6e6;
  }
  
  .payment-widget h3 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
  }
  
  .payment-widget .amount {
    font-size: 14px;
    margin-bottom: 8px;
    color: #37d67a;
    font-weight: bold;
  }

  .payment-widget .user-info {
    background: #23263a;
    border: 1px solid #292c3f;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 12px;
    text-align: left;
  }

  .payment-widget .user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .payment-widget .user-name {
    font-size: 14px;
    font-weight: 600;
    color: #fbfbfb;
  }

  .payment-widget .user-email {
    font-size: 12px;
    color: #aab2c2;
  }
  
  .payment-widget form {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .payment-widget label {
    color: #aab2c2;
    font-size: 13px;
    text-align: left;
  }

  .payment-widget input {
    padding: 8px;
    border: 1px solid #252839;
    background: #22243a;
    border-radius: 6px;
    width: 93%;
    font-size: 13px;
    color: #f8f8f8;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  }
  
  .payment-widget input::placeholder {
    color: #677084;
    opacity: 1;
  }

  .payment-widget input:focus {
    border-color: #37d67a;
    box-shadow: 0 0 0 2px rgba(55, 214, 122, 0.13);
    background: #23253c;
  }
  
  .payment-widget button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background: linear-gradient(90deg,#1abc8c,#37d67a 80%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    transition: background 0.3s;
    box-shadow: 0 2px 12px 0 rgba(67,239,146,0.08);
  }
  
  .payment-widget button:hover {
    background: linear-gradient(90deg,#189b6a,#2da05a 80%);
  }
  
  .payment-widget button .loader {
    width: 18px;
    height: 18px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @media screen and (max-width: 480px) {
    .payment-widget {
      width: 95%;
      padding: 8px;
      font-size: 12px;
    }
  
    .payment-widget h3 {
      font-size: 14px;
    }

    .payment-widget .user-name {
      font-size: 13px;
    }
    .payment-widget .user-email {
      font-size: 11px;
    }
  
    .payment-widget input,
    .payment-widget button {
      font-size: 12px;
      padding: 6px;
    }
  }
  
  @media screen and (max-height: 600px) {
    .payment-widget {
      max-height: 75vh;
      overflow-y: auto;
    }
  }