/* for normal */
/* .signup-options {
  padding: 40px 0;
  text-align: center;
} */

/* for normal */

/* for images */
.signup-options {
  display: flex;
  height: 100vh; /* Full screen height */
  width: 100%;
}

.signup-split {
  flex: 1;
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.signup-split:hover {
  transform: scale(1.02);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  padding: 20px;
}
/* for imgaes */


.signup-box {
  display: inline-block;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
  margin: 0 auto;
}

.signup-box button {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  background-color: #828282;
  color: white;
  cursor: pointer;
}

.signup-box button:last-child {
  background-color: #6e595b;
}

.hidden {
  display: none !important;
}

.form-container {
  margin-top: 30px;
  padding: 30px;
  border: 1px solid #ccc;
  border-radius: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-header h3 {
  margin: 0;
}

.close-btn {
  background-color: #ffa485;
  color: white;
  border: none;
  font-size: 20px;
  padding: 0 12px;
  cursor: pointer;
  border-radius: 6px;
}

.form-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.submit-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #9c9c9c;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  /* width: auto; */  /* Let the button size to its content */
  width: 70%;         
  display: block;       /* Make the button behave like a block element */
  margin-left: auto;    /* Push it from the left */
  margin-right: auto;   /* Push it from the right */
}
#success-message {
  color: green;
  text-align: center;
  font-size:20px;
}

/*pay*/
#payment-details {
  border: 2px solid #4CAF50;
  border-radius: 12px;
  padding: 15px;
  margin-top: 15px;
  background: #f9fffa;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.2);
  transition: all 0.3s ease-in-out;
}

#payment-details.highlight {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px #4CAF50; }
  50% { box-shadow: 0 0 20px #4CAF50; }
  100% { box-shadow: 0 0 5px #4CAF50; }
}

#addpay-btn{
    background: orange;
    border: none;
    color: white;
}
.tc-link{
    color:orange;
}


/* for selct2 dropdowns */
/* Make Select2 single select fields taller */
.select2-container--default .select2-selection--single {
    height: 2.2rem;          
    
}
/* for selct2 dropdowns ends */



/*i new signup*/
.categories-scroll {
  max-height: 300px; /* adjust as needed */
  overflow-y: auto;
  padding-right: 8px; /* for scrollbar spacing */
  border: 1px solid #ddd;
  border-radius: 8px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 15px;
  margin-top: 10px;
}


.category-item {
  cursor: pointer;
}

.category-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  /*border: 2px solid #ddd;*/
  border-radius: 12px;
  transition: 0.2s;
  height: 140px;
  position: relative; 
  overflow: visible;  
  
}

.category-box img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 8px;
}




/* Checked state */
.category-item input:checked + .category-box {
  background: #6a6a6a;   /* light color */
  border-color: #f5deb3; /* primary border */
  color: white;
}

#totalAmount:focus{
    box-shadow:none;
    outline:none;
}
#form-title{
    margin: 0;
    text-align: center;
    flex: 1;
    color:#4e4e4e
}


/*cat name on span*/
.truncate {
  display: inline-block;
  max-width: 120px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  padding: 10px;
}

/* Tooltip popup */
.truncate::after {
  content: attr(data-full);
  position: absolute;
  left: 0;
  top: 100%;  /* show below instead of above */
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 9999; /* float above everything */
  max-width: 250px;
}

/* Show on hover */
.truncate:hover::after {
  opacity: 1;
  visibility: visible;
}
/*cat name on span ends*/

/*show selec ted cat in frozen state in 2nd step*/
.categories-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.categories-preview {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  background: #f9f9f9;
  opacity: 0.7;          /* frozen look */
  pointer-events: none;  /* non-clickable */
}
.categories-preview img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}

.form-check-input:checked {
    background-color: orange !important;
    border-color: orange !important;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* allows wrapping when screen is small */
}

.subscription-header h6 {
  margin: 0;
}

#spamt {
  color: orange;
  margin-left: 10px;
  font-weight: bold;
  font-size: 17px;
}

/* tas email */
.email-row {
  display: flex;
  align-items: center;
  gap: 10px; /* space between email input and OTP status */
  flex-wrap: wrap; /* ensures responsiveness on small screens */
}

.email-row input[type="email"] {
  flex: 1; /* make input take available width */
  min-width: 200px;
  padding: 8px;
  box-sizing: border-box;
}
#resendEmailOtp{
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* tas phone*/
.phone-row {
  display: flex;
  align-items: center;
  gap: 10px; /* space between email input and OTP status */
  flex-wrap: wrap; /* ensures responsiveness on small screens */
}

.phone-row input[type="tel"] {
  flex: 1; /* make input take available width */
  min-width: 200px;
  padding: 8px;
  box-sizing: border-box;
}
#resendMobileOtp{
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* pos email */
.pos-email-row {
  display: flex;
  align-items: center;
  gap: 10px; /* space between email input and OTP status */
  flex-wrap: wrap; /* ensures responsiveness on small screens */
}

.pos-email-row input[type="email"] {
  flex: 1; /* make input take available width */
  min-width: 200px;
  padding: 8px;
  box-sizing: border-box;
}
#resendPosEmailOtp{
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* pos phone */
.pos-phone-row {
  display: flex;
  align-items: center;
  gap: 10px; /* space between email input and OTP status */
  flex-wrap: wrap; /* ensures responsiveness on small screens */
}

.pos-phone-row input[type="tel"] {
  flex: 1; /* make input take available width */
  min-width: 200px;
  padding: 8px;
  box-sizing: border-box;
}
#resendPosMobileOtp{
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* Mobile view adjustments */
@media (max-width: 600px) {
  .subscription-header {
    flex-direction: column; /* stack items vertically */
    align-items: flex-start; /* align left */
  }

  #spamt {
    margin-left: 0;
    margin-top: 5px; /* small spacing when moved below */
  }
}