/* Global Styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary-color: #4f46e5;
  --primary-dark: #4338ca;
  --primary-light: #818cf8;
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --dark-color: #1f2937;
  --gray-color: #6b7280;
  --light-gray: #e5e7eb;
  --lighter-gray: #f3f4f6;
  --white-color: #ffffff;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --success-color: #10b981;
  --info-color: #3b82f6;
  --font-family: "Poppins", sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --border-radius: 0.375rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-color);
  background-color: var(--lighter-gray);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

button {
  cursor: pointer;
  font-family: var(--font-family);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Login Page Styles */
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--white-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  max-width: 500px;
  margin: 0 auto;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.login-header p {
  font-size: 1.25rem;
  color: var(--gray-color);
}

.login-form {
  width: 100%;
  padding: 2rem;
  background-color: var(--white-color);
  border-radius: var(--border-radius);
}

.login-form h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
}

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

.form-group label {
  display: inline-block;
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-color);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 1rem) center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.form-group button {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.3s ease;
}

.form-group button:hover {
  background-color: var(--primary-dark);
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .login-container {
    padding: 1rem;
  }

  .login-header h1 {
    font-size: 2rem;
  }

  .login-form {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .login-header h1 {
    font-size: 1.75rem;
  }

  .login-header p {
    font-size: 1rem;
  }

  .login-form h2 {
    font-size: 1.25rem;
  }

  .form-group input,
  .form-group select,
  .form-group button {
    padding: 0.625rem 1rem 0.625rem 2.5rem;
  }

  .form-group button {
    padding: 0.625rem 1rem;
  }
}





.countdownContainer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f3f4f6;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-family: 'Poppins', sans-serif;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.countdownContainer .clockIcon {
  font-size: 30px;
  color: #4f46e5;
}

#countdownMessage {
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

.vaultBtn {
  display: none; /* Hides buttons before JS runs */
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.countdownCard {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #ecfdf5, #e0f2f1);
  border: 1px solid #b2dfdb;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 150, 136, 0.15);
  padding: 14px 20px;
  width: 400px; /* ✅ fixed moderate width on desktop */
  margin: 20px auto 0;
  gap: 10px;
  box-sizing: border-box;
  flex-wrap: wrap;
  text-align: center;
}

.clockInline {
  font-size: 26px;
  color: #009688;
  text-shadow: 0 1px 2px rgba(0, 150, 136, 0.2);
}

.countdownText {
  font-size: 17px;
  font-weight: 600;
  color: #004d40;
  line-height: 1.4;
}

/* ✅ On mobile (max 480px), let it stretch full width */
@media (max-width: 480px) {
  .countdownCard {
    width: 95%;
  }

  .clockInline {
    font-size: 24px;
  }

  .countdownText {
    font-size: 16px;
  }
}







.dashboard-content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 1.5rem;
  box-sizing: border-box;
  width: 100%;
/*  border: 1px solid #f00;*/
}.withdrawalCard {
  background-color: #fff3e0;
  border: 1px solid #ffc470;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.withdrawalHeader h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #d17b00;
  font-weight: 600;
}

.withdrawalDetails {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.withdrawalDetails li {
  padding: 6px 0;
  font-size: 15px;
  color: #333;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
}

.withdrawalDetails li span {
  font-weight: 500;
  color: #cc6600;
}

.withdrawalNote p {
  margin: 10px 0;
  font-size: 14px;
  font-style: italic;
  color: #444;
}

.withdrawalDelete {
  text-align: right;
}

.delData:hover {
  background-color: #cc0000;
}

/* Responsive */
@media screen and (max-width: 600px) {
  .withdrawalCard {
    padding: 12px;
  }

  .withdrawalDetails li {
    font-size: 14px;
/*    flex-direction: column;*/
    align-items: flex-start;
  }

  .withdrawalDetails li span {
    margin-bottom: 4px;
  }
}


.investmentCard {
  background-color: #e6f9ec;
  border: 1px solid #b2e5c8;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.invHeader h4 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #1f6f4a;
  font-weight: 600;
}

.invDetails {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.invDetails li {
  padding: 6px 0;
  font-size: 15px;
  color: #333;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ccc;
}

.invDetails li span {
  font-weight: 500;
  color: #1d4f3a;
}

.invNarrative p {
  margin: 10px 0;
  font-size: 14px;
  font-style: italic;
  color: #444;
}

.invExtras {
  padding-top: 10px;
  font-size: 14px;
  color: #222;
}

/* Mobile-Friendly */
@media screen and (max-width: 600px) {
  .investmentCard {
    padding: 12px;
  }

  .invDetails li {
    font-size: 14px;
/*    flex-direction: column;*/
    align-items: flex-start;
  }

  .invDetails li span {
    margin-bottom: 4px;
  }
}


.mergedHolder {
  flex: 1 1 65%;
  min-width: 300px;
  max-width: 100%;
  background-color: #f5f5f5;
  padding-right: 20px;
/*  border: 1px solid #ccc;*/
  box-sizing: border-box;
}

.invHolder {
  flex: 1 1 30%;
  min-width: 280px;
  max-width: 100%;
  padding: 16px;
/*  border: 1px solid #ccc;*/
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mergedHolder,
  .invHolder {
    flex: 1 1 100%;
  }
}


.delData {
  width: 60px;
  height: auto;
  background-color: #fff;
  border-radius: 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 100px;
  font-family: calibri;
  color: #f00;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px; /* space for the eye */
}

.toggle-eye {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #555;
  font-size: 18px;
}





.coverConInfo2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* transparent overlay */
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
  gap: 20px;
  flex-direction: row;
  color: #fff;
  text-align: center;
  backdrop-filter: blur(6px);
}
/* Shared box style for both */
.widcontent,
.widcontent2 {
  width: 100%;
  max-width: 650px;
  background: #fff;
  margin: 15px;
  padding: 26px 22px;
  border-left: 5px solid #22bb33;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: #222;
  box-sizing: border-box;
  flex: 1; /* allow flexible width */
}

.widcontent h3,
.widcontent2 h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #22bb33;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.widcontent .info-row,
.widcontent2 .info-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 1rem;
  border-bottom: 1px dashed #e0e0e0;
}

.widcontent .info-row span,
.widcontent2 .info-row span {
  font-weight: 600;
  color: #444;
}

.widcontent .info-row a,
.widcontent2 .info-row a {
  color: #1a73e8;
  text-decoration: none;
  word-break: break-word;
}

.widcontent .info-row a:hover,
.widcontent2 .info-row a:hover {
  text-decoration: underline;
}

/* Container for side by side layout */
.profile-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px; /* gap between boxes */
  margin: 0 auto;
  max-width: 1400px;
  box-sizing: border-box;
  padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .widcontent,
  .widcontent2 {
    max-width: 100%;
    padding: 16px 18px;
  }

  .widcontent2 {
    margin-top: -10px; /* shift up on mobile */
  }
}

@media (max-width: 500px) {
  .widcontent .info-row,
  .widcontent2 .info-row {
    flex-direction: column;
    align-items: flex-start;
    font-size: 0.95rem;
  }

  .widcontent .info-row span,
  .widcontent2 .info-row span {
    margin-bottom: 3px;
  }
}

/* ✅ Buttons inside widcontent */
.widcontent button {
  display: inline-block;
  width: calc(50% - 10px); /* Two buttons side by side with space */
  margin: 5px 5px 0 0;
  padding: 10px 0;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.widcontent .accept-btn {
  background-color: #28a745;
}

.widcontent .reject-btn {
  background-color: #dc3545;
}

.widcontent button:hover {
  opacity: 0.9;
}

.widcontent button:active {
  transform: scale(0.97);
}

/* ✅ Mobile: stack buttons full width */
@media (max-width: 480px) {
  .widcontent button {
    width: 100%;
    margin: 5px 0;
  }
}


.login-header img {
  width: 100%;
  max-width: 120px; /* Adjust as needed */
  height: auto;
  border-radius: 10px;
  display: block;
  margin: 0 auto 10px auto; /* Center and add space below */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustment for small screens */
@media screen and (max-width: 480px) {
  .login-header img {
    max-width: 90px;
    margin-bottom: 8px;
  }
}

.prebid-container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.prebid-container h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #2b7a0b;
}

.prebid-form .form-row {
  margin-bottom: 20px;
}

.prebid-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
}

.prebid-form input,
.prebid-form select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: 0.3s ease;
}

.prebid-form input:focus,
.prebid-form select:focus {
  border-color: #2b7a0b;
  outline: none;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  font-size: 17px;
  background: #2b7a0b;
  border: none;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  background: #236c09;
}

.timer-section {
  text-align: center;
  margin-top: 30px;
}

.timer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

#countdown {
  font-size: 22px;
  font-weight: bold;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* General message box */
.msg-box {
  padding: 12px 18px;
  margin: 15px 0;
  border-left: 5px solid #4CAF50; /* green by default */
  background: #f9f9f9;
  color: #333;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 14px;
  word-wrap: break-word;
}

/* Error version */
.msg-box.error {
  border-left-color: #e74c3c; /* red */
  background: #ffeaea;
  color: #c0392b;
}

#requestInv {
  background-color: #28a745; /* Fresh green for success */
  color: #fff;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%; /* Full width for mobile */
  max-width: 300px; /* Limit max width on large screens */
  display: block;
  margin: 20px auto; /* Center horizontally */
}

#requestInv:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

#requestInv:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.timer-section {
  text-align: center;
  margin: 20px auto;
}

#countdown {
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 10px;
}

#bidding-status {
  margin-top: 10px;
  font-weight: bold;
}


  /* Countdown Box Style */
  #countdown-timer {
    padding: 15px 20px;
    background: #fff8e0;
    border: 2px solid #f0d000;
    border-radius: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #b58900;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
  }

  #countdown-timer.open {
    background: #e0fbe0;
    border: 2px solid #00b200;
    color: #0a6b0a;
  }

  /* Prebid Container - KEEP width, no change */
  .prebid-container {
    max-width: 600px; /* keep your original spacious width */
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }

  /* Prebid Container - KEEP width, no change */
  .prebid-container2 {
    max-width: 600px; /* keep your original spacious width */
    margin: 0 auto;
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  }

  .prebid-container h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
  }

  /* Form Fields */
  .prebid-form .form-row {
    margin-bottom: 15px;
  }

  .prebid-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
  }

  .prebid-form input,
  .prebid-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
  }

  .prebid-form button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: #00b200;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .prebid-form button:hover {
    background: #009900;
  }

  /* Mobile Responsive: only adjust inner elements, NOT container width */
  @media (max-width: 500px) {
    #countdown-timer {
      font-size: 16px;
    }
    .prebid-form input,
    .prebid-form select {
      font-size: 15px;
    }
    .prebid-form button {
      font-size: 16px;
    }
  }


/* ✅ Base style for all messages */
.shwErrBox {
  display: block;
  max-width: 100%;
  padding: 15px;
  margin: 10px 0;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  word-wrap: break-word;
  transition: all 0.3s ease;
}

/* ✅ Success color */
.shwErrBox.success {
  background: #e6f9ec;
  border: 1px solid #2ecc71;
  color: #218c52;
}

/* ✅ Error color */
.shwErrBox.error {
  background: #fff0f0;
  border: 1px solid #e74c3c;
  color: #b00020;
}

/* ✅ Responsive: adapt font size for small screens */
@media screen and (max-width: 480px) {
  .shwErrBox {
    font-size: 14px;
    padding: 12px;
  }
}


/* ✅ Spinner style */
.shwErrBox.loading {
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #333;
  text-align: center;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #ccc;
  border-top: 3px solid #333;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

/* ✅ Container for all settings forms */
.investListCon {
  padding: 10px 20px 20px 20px; /* 👈 reduced top padding */
}

/* ✅ Each form box */
.settings-form {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px auto; /* 👈 reduced bottom gap between forms */
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.settings-form h3 {
  margin-top: 0;
  margin-bottom: 12px; /* slightly tighter */
  font-size: 20px;
  color: #333;
}

.settings-form .form-row {
  margin-bottom: 15px; /* tighter */
}

.settings-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}

.settings-form input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  transition: border 0.3s;
}

.settings-form input:focus {
  border-color: #007bff;
  outline: none;
}

.settings-form small {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  color: #666;
}

/* ✅ Buttons */
.settings-form button.btn-primary {
  display: inline-block;
  background: #007bff;
  border: none;
  color: #fff;
  padding: 12px 25px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 5px;
  transition: background 0.3s;
}

.settings-form button.btn-primary:hover {
  background: #0056b3;
}

/* ✅ Message boxes */
#settingsMessageProfile,
#settingsMessagePassword,
#settingsMessageBank {
  padding: 12px 15px;
  margin-bottom: 12px; /* tighter */
  border-radius: 6px;
  font-size: 14px;
}

.success {
  background: #e0fbe0;
  color: #0a6b0a;
  border: 1px solid #0a6b0a;
}

.error {
  background: #fce8e8;
  color: #a94442;
  border: 1px solid #a94442;
}

/* ✅ Loader spinner */
.loader {
  margin-top: 12px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

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

/* ✅ HR spacing */
hr {
  margin: 30px 0; /* tighter */
  border: 0;
  border-top: 1px solid #ddd;
}

/* ✅ Responsive tweaks */
@media(max-width: 600px) {
  .settings-form {
    padding: 20px;
  }

  .settings-form input {
    font-size: 14px;
  }

  .settings-form button.btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* Floating WhatsApp Icon */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}


  #shrErr {
    margin: 10px 0;
  }

  .errorMsg {
    background: #ffe0e0;
    color: #b30000;
    border: 1px solid #ffb3b3;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
  }

  .successMsg {
    background: #e0ffe0;
    color: #007500;
    border: 1px solid #99ff99;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
  }

  .profileContainer {
  max-width: 100%;
  padding: 20px;
}

.profileCardWide {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.profileLeft {
  flex: 1 1 250px;
  text-align: center;
}

.profileLeft img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #007bff;
  object-fit: cover;
}

.profileLeft h2 {
  margin-top: 15px;
  font-size: 24px;
  color: #333;
}

.profileRight {
  flex: 2 1 500px;
}

.profileSection {
  margin-bottom: 20px;
}

.profileSection h3 {
  margin-bottom: 10px;
  color: #007bff;
  font-size: 20px;
}

.profileSection p {
  margin: 6px 0;
  font-size: 16px;
  color: #333;
}

@media (max-width: 768px) {
  .profileCardWide {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }


.profileLeft img {
  width: 100px;
  height: 100px;
}

  .profileRight {
    flex: 1 1 100%;
  }
}

.sell-bonus-container {
  max-width: 600px; /* Increased from 400px to 600px */
  width: 90%;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.sell-bonus-container h3 {
  margin-bottom: 15px;
  text-align: center;
  color: #333;
}

.amount-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: center;
}

.amount-buttons button {
  flex: 1 1 30%;
  background: #00b894;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.amount-buttons button:hover {
  background: #019874;
}

#sellBonusForm {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#sellBonusForm input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#sellBonusBtn {
  padding: 12px;
  background: #0984e3;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#sellBonusBtn:hover {
  background: #0652dd;
}

#refError {
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
}

.manual-match-container {
  background: #fff;
  padding: 40px 30px;
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.manual-match-container h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
  color: #333;
}

.manual-match-flex {
  display: flex;
  flex-direction: row; /* SIDE BY SIDE */
  justify-content: space-between; /* Space them evenly */
  gap: 40px;
}

.match-column {
  flex: 1 1 48%; /* 2 columns side by side */
  background: #fafafa;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.match-column h3 {
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid #28a745;
  padding-bottom: 5px;
  color: #28a745;
}

.match-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: #fff;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.match-item:hover {
  transform: translateY(-2px);
}

.match-item input[type="checkbox"],
.match-item input[type="radio"] {
  transform: scale(1.3);
  margin-top: 3px;
}

.match-details {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.match-btn {
  display: block;
  margin: 40px auto 0 auto;
  background: #28a745;
  color: #fff;
  border: none;
  padding: 15px 50px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  transition: background 0.3s, transform 0.2s;
}

.match-btn:hover {
  background: #218838;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .manual-match-flex {
    flex-direction: column; /* STACK vertically on mobile */
  }

  .match-column {
    flex: 1 1 100%;
  }

  .match-btn {
    width: 100%;
  }
}

.loader {
  border: 4px solid #f3f3f3;      /* Light grey */
  border-top: 4px solid #3498db;  /* Blue */
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
}

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

 .maturityCountdown {
    font-weight: bold;
    color: red; /* Default: running countdown = red */
  }
  .maturityCountdown.matured {
    color: green; /* When matured: green */
  }

























































.themergedCon {
  margin-top: 30px;
  width: 100%;
  max-width: 780px;
  margin-inline: auto;
  padding: 1.2rem;
  background: linear-gradient(to right, #f5fefc, #e0fff4);
  border: 1px solid #c2f0dd;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.theMergeText {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #1e8449;
  margin-bottom: 1rem;
}

.countdown {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0 0;
  font-size: 14px;
  font-weight: bold;
  color: #e74c3c;
  text-align: center;
}

.mergedContent {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  justify-content: space-between;
}

.detailsCard {
  flex: 1 1 330px;
  background: #fff;
  border: 1px solid #d7f5eb;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 6px 12px rgba(0, 128, 0, 0.06);
  transition: transform 0.2s ease;
}

.detailsCard:hover {
  transform: scale(1.01);
}

.detailsCard p {
  font-size: 13.5px;
  margin: 4px 0;
  color: #444;
  line-height: 1.3;
}

.viewDetails {
  margin-top: 8px;
  padding: 6px 14px;
  background-color: #27ae60;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.viewDetails:hover {
  background-color: #1e8449;
}




























.themergedCon2 {
  margin-top: 20px;
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.5rem;
  background-color: #fffef4;
  border: 1px solid #ffd966;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
  position: relative; /* required to position .coverConInfo2 absolutely within it */
  overflow: hidden;   /* optional: hides overflow */
}

.theMergeText {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #d9534f;
  margin-bottom: 1rem;
}

.countdown {
  list-style: none;
  padding: 0;
  margin-top: 0px;
  font-size: 14px;
  font-weight: bold;
  color: #f00;
  text-align: center;
}

.mergedContent {
  width: 100%;
}

.mergedDetails {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.iconImage {
  width: 45px;
  height: 45px;
  border: 2px solid #f00;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 10px;
}

.detailsCard {
  flex: 1 1 300px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.detailsCard p {
  font-size: 14px;
  font-weight: normal;
  color: #333;
  line-height: 1.6;
}

.viewDetails {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .mergedDetails {
    flex-direction: column;
  }

  .detailsCard {
    width: 100%;
  }

  .iconImage {
    margin: 0 auto 10px auto;
    display: block;
  }

  .viewDetails {
    text-align: center;
    width: 100%;
  }
}


.investListCon {
  margin: 20px auto;
  width: 95.6%;
  height: auto;
  min-height: 10px;
  border-radius: 10px;
/*  background-color: #fff;*/
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow-x: auto;
  padding: 10px;
}

table.investment-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.investment-table th,
.investment-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.investment-table th {
  background-color: #10b981;
  color: #fff;
}

.investment-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.investment-table td.status {
  font-weight: bold;
  color: #1e8449;
}

@media (max-width: 600px) {
  .investment-table th,
  .investment-table td {
    font-size: 13px;
    padding: 10px;
  }
}

.popup-message {
  padding: 15px;
  background-color: #f44336; /* Red */
  color: white;
  font-weight: bold;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  margin: 15px 0;
  display: none;
  text-align: center;
  z-index: 9999;
}

.referral-link-section {
  margin: 20px auto;
  max-width: 600px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.referral-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.referral-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.referral-input-wrapper input {
  flex: 1;
  min-width: 200px;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 8px 0 0 8px;
  outline: none;
}

.copy-button {
  background-color: #007bff;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  border: 1px solid #007bff;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.copy-button:hover {
  background-color: #0056b3;
}

.referral-note {
  margin-top: 10px;
  font-size: 13px;
  color: #666;
}

/* ✅ Responsive */
@media (max-width: 500px) {
  .referral-input-wrapper {
    flex-direction: column;
  }

  .referral-input-wrapper input,
  .copy-button {
    width: 100%;
    border-radius: 8px;
  }

  .referral-input-wrapper input {
    border-right: 1px solid #ccc;
    margin-bottom: 10px;
  }

  .copy-button {
    border-radius: 8px;
  }
}
