:root {
    --primary-color:  #be10f3;
    --secondary-color: #1e40af;
    --background-color: #f3f4f6;
    --text-color: #1f2937;
    --error-color: #dc2626;
    --success-color: #059669;
}

* {margin: 0;padding: 0;box-sizing: border-box;}
body {font-family: 'Poppins', sans-serif;background-color: var(--background-color);color: var(--text-color);line-height: 1.6;}
.container {min-height: 100vh;display: flex;justify-content: center;align-items: center;width: 100%;max-width:1400px;margin: 0 auto;padding:0px 20px 0px 20px;}
.login-container {background: white;padding: 2rem;border-radius: 10px;box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);width: 100%;max-width: 400px;}

.logo {
    text-align: center;
    margin-bottom: 2rem;
}
div#orderDetails span {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
div#orderDetails div {
    display: flex
;
    align-items: flex-start !important;
}
.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input, .service-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus , .service-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-primary {
    width: 30%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.error-message {
    color: var(--error-color);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.875rem;
}


     /*button animation*/
                 .slide-button {
    position: relative;
    padding: 12px 24px;
    font-size: 18px;
    color: #007bff;
    background-color: white;
    border: none;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
    box-shadow: 0px 0px 5px 0px #3b7bce;
}

/* Blue background slide layer */
.slide-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 100%;
    background-color: #007bff;
    z-index: -1;
    pointer-events: none;
    transition: none;
    background: linear-gradient(94deg, #4f06ea -2.26%, #c00bfa 63.14%);
}

.slide-button:hover::before {
  animation: slideUp 0.3s forwards;
}

.slide-button:not(:hover)::before {
  animation: slideOut 0.3s forwards;
}

@keyframes slideUp {
  0% { top: 100%; }
  100% { top: 0%; }
}

@keyframes slideOut {
  0% { top: 0%; }
  100% { top: -100%; }
}

/* Gradient shadow below the button */
.slide-button::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(0, 123, 255, 0.4), transparent 70%);
  filter: blur(12px);
  z-index: -1;
  transition: all 0.3s ease;
}

/* Text */
.slide-button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
  font-weight: 700;
}

/* On hover: make text white */
.slide-button:hover span {
  color: white;
}

/*button animation close*/

/* Dashboard Styles */

    .service-group {
      display: flex;
      gap: 10px;
      margin-bottom: 10px;
      align-items: center;
    }

    .add-service-btn {
      padding: 8px 12px;
      background: linear-gradient(to right, #4a00ff99 0%, #bd10f396 100%);
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
select.currency {
    width: 45%;
    color: #00000087;
}
input.product {
    width: 45%;
}
.bg-sec2 {
    background: linear-gradient(to right, #4a00ff99 0%, #bd10f396 100%), url(./img/payment-bg.jpg);
   padding:70px 0px;
    background-repeat: no-repeat;
    background-size: cover;

}
.logo-sec-form {
    width: 270px;
    margin: -200px 0px 15px 0px;
}
.logo-sec-form img {
    width: 100%;
    margin-left: 135px;
}
.bg-sec {
    background: linear-gradient(to right, #4a00ff99 0%, #bd10f396 100%), url(./img/payment-bg.jpg);
    padding: 70px 0px;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0px 154px 78px 0px #00000063;
}
.dashboard-header h1 {
    color: #fff;
}
.dashboard {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.payment-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Payment Link Styles */
.payment-link {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    word-break: break-all;
}


.mian-flex-sec {
    display: flex
;
    gap: 20px;
    justify-content: space-between;
}
.dashboard-right-sec {
    width: 50%;
}
.text-left-sec {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.just-one h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    margin: 0 0 10px;
    text-transform: uppercase;
}
.side-lft-img img {
    width: 100%;
}
.just-one p {
    color: #fff;
}
.Secure-Payment h2 {
    color: #fff;
    padding: 40px 0px 0px 0px;
    font-size: 30px;
}
.payment-box h2 strong {
    color: #1565c0;
    font-size: 25px;
    text-decoration: underline;
}



.payment-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    color: #000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

    .payment-box h2 {
      margin-bottom: 20px;
      font-weight: 500;
      font-size: 22px;
      text-align: center;
    }

    .payment-box .input-row {
      display: flex;
      gap: 10px;
    }

    .payment-box input,
    .payment-box select {
      width: 100%;
      padding: 12px 14px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 8px;
      margin-bottom: 12px;
      outline: none;
      transition: border-color 0.3s;
    }

    .payment-box input:focus {
      border-color: #ff6600;
    }

.payment-box button {
    background-color: #ffffff;
    border: none;
    color: rgb(21 101 192);
    font-size: 16px;
    padding: 12px;
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: 700;
}

    .payment-box button:hover {
      background-color: #ffffff;
      color: #fff;
    }

    .logos {
      margin-bottom: 20px;
    }

    .logos img {
      width: 100%;
    }

    @media(max-width:1200px) and (min-width:1024px){
        .container {
    min-height: auto;
}
.logo-sec-form {
    margin: 0px 0px 30px 0px;
}
    }


    @media(max-width:1023px) and (min-width:768px){
        .container {
    min-height: auto;
}
.logo-sec-form {
    margin: -7px 0px 50px 0px;
}
.mian-flex-sec {
    flex-direction: column;
}
.text-left-sec {
    width: 100%;
}
.payment-box {
    max-width: 100%;
}
.btn-primary {
    width: 40%;
}
    }


/* Responsive Design */
@media (max-width: 767px) {
    .container {
        padding: 1rem;
        min-height: auto;
    }
       .logo-sec-form img {
    margin-left: 0px;
}
    .logo-sec-form {
    width: 250px;
    margin: -30px 0px 30px 0px;
}
    .mian-flex-sec {
    flex-direction: column;
}
   .text-left-sec {
    width: 100%;
} 
.just-one h1 {
    font-size: 30px;
    line-height: 35px;
    margin: 0 0 20px;

}
.Secure-Payment h2 {
    padding: 20px 0px 0px 0px;
    font-size: 22px;
}
    .login-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    .dashboard-header {
    flex-direction: column;
    gap: 20px;
}
.service-group {
    flex-direction: column;
    gap: 40px;
}
.dashboard {
    width: 100%;
    padding: 1rem;
}
input.product {
    width: 100%;
}
select.currency {
    width: 100%;
}
.bg-sec {
    height: auto;
}
.btn-primary {
    width: 100%;
}
} 