@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
  background-color: #fcebbd; /* soft yellow background */
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.form-select-sm {
  min-width: 165px;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
#google_translate_element select {
  border: none;
  background: transparent;
  font-size: 10px;
  padding: 2px;
  color: #000;
}

/* Banner wrapper */
.banner-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

/* Each banner container */
.banner-img {
  width: 100%;
  max-width: 1000px; /* Optional: sets consistent max width */
  border-radius: 6px;
  overflow: hidden;
}

/* Banner images */
.banner-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* Blinking animation for first banner */
.blink-banner {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Main Cards */
.card-custom {
  border: 2px solid #28a745;
  background-color: #eaffea;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Button Styles */
.btn-custom {
  background-color: #28a745;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  margin: 10px;
}

.btn-custom:hover {
  background-color: #218838;
  color: white;
}

.referral-container {
  max-width: 1000px;
  border-radius: 6px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ref-link {
  color: black;
  text-decoration: underline;
  word-break: break-all;
}

.copy-icon {
  font-size: 16px;
  cursor: pointer;
  color: #333;
  display: inline-flex;
  align-items: center;
}

.copy-icon:hover {
  color: black;
}

.ref-note {
  font-size: 10px;
  color: #333;
  white-space: nowrap;
}
.copy-tooltip {
  font-size: 12px;
  color: green;
  margin-left: 8px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.copy-tooltip.show {
  visibility: visible;
  opacity: 1;
}
.help-buttons {
  max-width: 1000px;
}

.help-btn {
  padding: 16px;
  font-size: 1.2rem;
  border: 2px solid grey; /* Keep border fixed */
  color: #416aa3;
  border-radius: 12px;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 1px 2px 3px #ffffff;
  position: relative;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  text-align: center;
  background: none; /* Prevent background change on hover */
  transition: none; /* Disable any transitions on hover */
  cursor: default; /* Remove cursor pointer on hover */
}

/* Green button gradient */
.help-green {
  background: linear-gradient(
    to bottom,
    rgba(197, 253, 98, 1) 0%,
    rgba(201, 253, 119, 1) 47%,
    rgba(168, 234, 63, 1) 63%,
    rgba(164, 228, 50, 1) 100%
  );
}

/* Orange button gradient */
.help-orange {
  background: linear-gradient(
    to bottom,
    rgba(252, 234, 187, 1) 0%,
    rgba(252, 205, 77, 1) 46%,
    rgba(248, 181, 0, 1) 60%,
    rgba(251, 223, 147, 1) 100%
  );
}

.help-text {
  color: #416aa3;
  font-size: 14px;
  font-weight: normal;
  text-shadow: none;
  margin-top: 8px;
  background: none; /* Ensure no background change for text */
  transition: none; /* Disable transition for text */
}

/* Green button hover state */
.help-green:hover {
  background: linear-gradient(
    to top,
    rgba(197, 253, 98, 1) 0%,
    rgba(201, 253, 119, 1) 47%,
    rgba(168, 234, 63, 1) 63%,
    rgba(164, 228, 50, 1) 100%
  ) !important; /* Retain green gradient */
  color: #416aa3 !important; /* Keep text color consistent */
  border-color: grey !important; /* Keep border color consistent */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2) !important; /* Keep box shadow */
}

/* Orange button hover state */
.help-orange:hover {
  background: linear-gradient(
    to top,
    rgba(252, 234, 187, 1) 0%,
    rgba(252, 205, 77, 1) 46%,
    rgba(248, 181, 0, 1) 60%,
    rgba(251, 223, 147, 1) 100%
  ) !important; /* Retain orange gradient */
  color: #416aa3 !important; /* Keep text color consistent */
  border-color: grey !important; /* Keep border color consistent */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2) !important; /* Keep box shadow */
}

.help-btn p {
  margin: 0;
  padding: 0;
  background: none; /* Ensure no background change for text */
}

/* Participant Section */
.participant-select {
  margin: 20px 0;
  text-align: center;
}

.participant-select select {
  padding: 6px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Footer (optional) */
.footer {
  text-align: center;
  padding: 15px;
  background: #ffec8b;
  margin-top: 30px;
  border-top: 2px solid #ffc107;
  color: #555;
}
.ref-heading {
  background: #494437;
  color: #ffffff;
  padding-top: 10px;

  padding-left: 10px;
  border-bottom: 3px solid #494437;
  margin-bottom: 20px;
  font-size: 10px;
}

/* Custom table style */
.custom-table {
  background-color: skyblue;
  border: 2px dotted orange;
}

/* Table header style */
.custom-table thead {
  background-color: #bde0fe; /* lighter blue for header */
}

/* Table cell borders */
.custom-table th,
.custom-table td {
  border: 1px dotted orange !important;
  vertical-align: middle;
}

/* Hover row effect */
.custom-table tbody tr:hover {
  background-color: #ffa94d !important; /* orange on hover */
  color: #fff;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .btn-custom {
    width: 100%;
    margin: 5px 0;
  }
}

.error-modal-header {
  background: linear-gradient(to bottom, #a69e8d 0%, #817865 20%);
  background-repeat: repeat-x;
}

.error-modal-content {
  background-color: #feeebd;
  border: none;
}

.modal-footer .btn {
  min-width: 100px;
}
.custom-btn {
  background: #ffdd57;
  color: #000000;
  border: 1px solid #a45b13;
  filter: none;
  min-width: 100px;
}

.custom-btn:hover,
.custom-btn:focus,
.custom-btn:active {
  background: #ffdd57 !important;
  color: #000000 !important;
  border: 1px solid #a45b13 !important;
  box-shadow: none !important;
}

.orange-btn {
  background-color: #ffa500 !important;
  color: #000;
  border: 1px solid #a45b13;
  min-width: 100px;
  margin: 0 5px;
}

.orange-btn:hover {
  background-color: #e69500 !important;
  color: #000;
}
.modal-header.custom-header {
  background: #feeebd repeat-x top left;
  color: #000000;
  font-size: 12px;
  border-bottom: 1px solid #a45b13;
}
.modal-step {
  display: none;
}
.modal-step.active {
  display: block;
}

@media (max-width: 991px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: #fff;
    padding: 80px 20px 20px;
    transform: translateX(0);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1050;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link,
  .dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 16px;
    font-size: 1.05rem;
    background: #f8f8f8;
    border-radius: 6px;
    color: #333;
    gap: 10px;
    width: 100%;
  }

  .nav-link img,
  .dropdown-toggle img {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }

  .nav-item.dropdown .dropdown-menu {
    display: block !important;
    position: static;
    background: none;
    border: none;
    padding: 4px 0 0 30px;
    margin-top: 6px;
  }

  .dropdown-item {
    font-size: 0.98rem;
    padding: 10px 12px;
    background: #fff;
    color: #444;
    border-radius: 5px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .dropdown-item img {
    width: 16px;
    height: 16px;
  }

  .dropdown-item:hover {
    background: rgba(249, 186, 15, 0.2);
    color: #f9ba0f;
  }

  .dropdown-toggle::after {
    display: none;
  }
}
