/* ---------------------------
   GLOBAL HEADER STYLES
--------------------------- */
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 2px solid #0C4E87;
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo img {
  height: 50px;
  width: auto;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* hidden on desktop */
}

.nav {
  display: flex;
  gap: 30px;
  max-width: 100%;
  flex-wrap: wrap;
}

.nav a {
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.login-btn {
  background-color: #ff6b4d;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}


/* ---------------------------
   MOBILE RESPONSIVE STYLES - HEADER
--------------------------- */
@media (max-width: 768px) {
  .header {
    padding: 0 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    display: none; /* hidden by default */
    padding: 10px 0;
    z-index: 1000;
  }

  .nav.open {
    display: flex; /* show when open */
  }

  .nav a {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .login-btn {
    margin-left: auto;
  }
}

/* =============================
   HERO SECTION BASE
============================= */

.hero {
  display: flex;
  justify-content: center; /* center content horizontally */
  align-items: center;     /* center vertically */
  padding: 60px 40px;
  background-image: url('/assets/GTL_Images/Banner_image.png');
  background-size: cover;
  background-position: center;
  height: 400px;
  text-align: center;
  box-sizing: border-box;
}

.hero-text {
  max-width: 800px;
  width: 100%;
  color: #000; /* fallback color */
}

.hero-text h1 {
  font-family: 'Righteous', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.highlight {
  color: #0C4E87;
}

#headline-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.ticket-btn {
  background-color: #ff6b4d;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
}

.countdown {
  margin-top: 20px;
  background: #003b87;
  color: #fff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-family: 'Magra', sans-serif;
  font-size: 1.5rem;
  display: inline-block;
}

/* =============================
   RESPONSIVE: MOBILE OVERRIDES
============================= */

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: none; /* remove big banner image */
    background-color: #fff4eb; /* fallback background */
    height: auto;
    padding: 40px 20px;
  }

  .hero-text {
    max-width: 100%;
    width: 100%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  #headline-text {
    font-size: 1rem;
  }

  .ticket-btn {
    font-size: 1rem;
    padding: 10px 25px;
  }

  .countdown {
    font-size: 1rem;
    padding: 10px 25px;
  }
}

/* =============================
   HOW IT WORKS SECTION BASE
============================= */

.how-it-works {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff; /* fallback background */
}

.how-it-works h2 {
  font-family: "Righteous", cursive;
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 20px;
  margin-top: -25px;
  color: #0C4E87;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 60px; /* space between steps */
  flex-wrap: wrap; /* wrap nicely on smaller desktops */
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

.step img {
  height: 80px;
  width: auto;
  margin-bottom: 20px;
}

.step p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

/* =============================
   MOBILE OVERRIDES
============================= */

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .step img {
    height: 60px;
    margin-bottom: 2px;
  }

  .how-it-works h2 {
    font-size: 2rem;
  }

  .step p {
    font-size: 1rem;
  }
}


/* =============================
   JACKPOT SECTION BASE
============================= */

.jackpot-section {
  background-color: #FFE2D9;
  padding: 40px 20px;
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.jackpot-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px; /* optional: limit max container width for big screens */
  margin: 0 auto;   /* center the content */
}

.jackpot-image-container {
  flex: 1 1 300px;  /* allow image container to shrink nicely */
  max-width: 200px;
  margin-top: -40px;
}

.jackpot-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.jackpot-text {
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Righteous', cursive;
  color: #0C4E87;
  margin: 10px 0;
  text-align: center;
}

.next-jackpot {
  background-color: #0C4E87;
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: "Magra", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  margin: 10px auto;
  display: inline-block;
}

.participate-btn {
  background-color: #ff6b4d;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: block;
  margin: 20px auto;
}

/* =============================
   RESPONSIVE OVERRIDES
============================= */

@media (max-width: 768px) {

  .jackpot-section {
       margin-top: -20px;
  }

  .jackpot-content {
    flex-direction: column;
    text-align: center;
    margin-top: -10px;
  }

  .jackpot-text {
    margin-top: -140px;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .next-jackpot {
    font-size: 1rem;
  }

  .participate-btn{
    margin-top: 2px;
    margin-bottom: -30px;
  }
}

/* =============================
   SECURITY & TRUST SECTION BASE
============================= */

.security-section {
  padding: 60px 20px;
  background-color: #F2F2F2;
  text-align: center;
}

.security-section h2 {
  font-size: 32px;
  color: #0C4E87;
  font-family: "Righteous", cursive;
  font-weight: bold;
  margin-bottom: 40px;
}

.security-cards {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.security-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
}

.security-card img {
  width: 60px;
  margin-bottom: 15px;
}

.security-card-text {
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
}

/* =============================
   MOBILE OVERRIDES
============================= */

@media (max-width: 768px) {
  .security-section {
    max-width: 100vw;
    padding: 40px 20px; /* slightly tighter padding for mobile */
  }

  .security-cards {
    flex-direction: column;
    align-items: center;
    gap: 30px; /* less gap for stacked view */
  }

  .security-card {
    max-width: 100%;
  }

  .security-section h2 {
    font-size: 26px; /* slightly smaller heading for mobile */
  }

  .security-card-text {
    font-size: 15px;
  }
}

/* =============================
   MOBILE APP SECTION BASE
============================= */

.mobileapp-section {
  padding: 60px 20px;
  background-color: #f3f4f6;
  width: 100%;
  box-sizing: border-box;  /* ✅ prevent box overflow */
  overflow-x: hidden;      /* ✅ no sideways scroll */
}

.mobileapp-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;  /* ✅ full width, no accidental overflow */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.mobileapp-text {
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  max-width: 600px;
  width: 100%;  /* ✅ important for tight screens */
  box-sizing: border-box;
}

.mobileapp-text h2 {
  font-size: 32px;
  color: #0C4E87;
  margin: 0 0 20px;
  font-family: "Righteous", cursive;
  font-weight: bold;
}

.mobileapp-text p {
  font-size: 16px;
  color: #333;
  margin: 0 0 20px;
}

.app-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

.app-buttons1,
.app-buttons2 {
  background-color: #FF784B;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  width: 100%;
  max-width: 350px;
  min-height: 80px;
  box-sizing: border-box;
  overflow: hidden; /* ✅ just in case */
}

.app-buttons1 img,
.app-buttons2 img {
  width: 60px;
  height: auto;
}

.app-text p {
  margin: 0;
  font-size: 15px;
  color: #FFF;
  text-align: left;
}

#special-spacer {
  margin-left: 0;
}

/* =============================
   MOBILE OVERRIDES
============================= */

@media (max-width: 768px) {
  .mobileapp-section {
    width: 100%;
    max-width: 100%;
    padding: 40px 15px;
  }

  .mobileapp-content {
    width: 100%;
  }

  .app-cards {
    flex-direction: column; /* ✅ stack vertically */
    align-items: center;
  }

  .app-buttons1,
  .app-buttons2 {
    flex-direction: row;
    justify-content: flex-start;
  }

  .app-text p {
    font-size: 14px;
  }
}


/* =============================
   FOOTER BASE
============================= */

.footer-section {
  background-color: #000;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 40px 20px 0;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden; /* ✅ no accidental scroll */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-logo img {
  width: 160px;
  height: auto;
}

.footer-links h3,
.footer-social h3 {
  font-size: 28px;
  margin: 0 0 15px;
  font-family: "Righteous", cursive;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  gap: 10px 20px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  margin-bottom: 8px;
}

.footer-social img {
  width: 20px;
  height: 20px;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.copyright-icon {
  width: 20px;
  height: 20px;
}

/* =============================
   MOBILE
============================= */

@media (max-width: 768px) {
  .footer-section {
    width: 100%;
    max-width: 100vw;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo img {
    width: 140px;
  }

  .footer-links,
  .footer-social {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-links ul {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links li {
    width: 100%;
  }

  .footer-social ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-social li {
    margin: 8px 0;
  }
}
/*************************************************************************************************************/
/* =============================
   LOGIN PAGE
============================= */
.login-container {
  background-color: #f2f2f2;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* ✅ Card */
.login-card {
  display: flex;
  background-color: #cbb5e2;
  border-radius: 25px;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  height: auto;
  flex-wrap: wrap; /* allow stack on small screens */
}

/* ✅ Image side */
.login-image {
  flex: 1;
  min-width: 300px;
}

.login-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ✅ Form side */
.login-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 90vh;
}

.login-form::-webkit-scrollbar {
  width: 6px;
}

.login-form::-webkit-scrollbar-thumb {
  background-color: #999;
  border-radius: 10px;
}

.login-form::-webkit-scrollbar-thumb:hover {
  background-color: #666;
}

.login-form {
  scrollbar-width: thin;
  scrollbar-color: #999 transparent;
}

/* ✅ Inside form */
.back-button {
  background-color: #ff865e;
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  width: 160px;
  align-items: center;
  gap: 8px;
}

.login-form h2 {
  text-align: center;
  font-size: 28px;
  color: #00497a;
}

.login-form h3 {
  text-align: center;
  font-size: 22px;
  color: #00497a;
}

.login-form input {
  padding: 12px 16px;
  border-radius: 25px;
  border: none;
  margin-bottom: 15px;
  font-size: 16px;
}

.forgot-text {
  font-family: 'Poppins';
  font-weight: 600;
  display: block;
  text-align: left;
  margin: 5px 0;
  font-size: 14px;
}

.enter-btn {
  background-color: #ff865e;
  border: none;
  border-radius: 20px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  margin: 10px auto;
  display: block;
}

.divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.divider hr {
  flex: 1;
  border: 1px solid #333;
}

.divider span {
  font-weight: bold;
  color: #00497a;
}

.social-buttons {
  font-family: 'Poppins';
  display: flex;
  flex-direction: column; /* stack buttons on mobile too */
  gap: 15px;
}

.social-buttons button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  border-radius: 25px;
  border: none;
  background-color: white;
  font-weight: 500;
  cursor: pointer;
  font-size: 14px;
}

.social-buttons img {
  width: 20px;
}

.register-text {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #00497a;
}

.register-btn {
  padding: 10px 20px;
  background-color: #00497a;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  font-size: 18px;
}

/* ✅ Ensure the form itself fills .login-form */
.login-form form {
  width: 100%;
}

/* ✅ Ensure inputs fill the form */
.login-form input {
  width: 100%;
  box-sizing: border-box;
}

.logo a {
  display: inline-block; /* ensure block behavior for images */
}

.logo a:focus,
.logo a:active {
  outline: none;
  background: transparent;
  -webkit-tap-highlight-color: transparent; /* removes grey/blue overlay on mobile */
}

/* ✅ Mobile tweaks */
@media (max-width: 768px) {
  .login-card {
    flex-direction: column;
  }

  .login-image {
    display: none; /* hide image for small screens */
  }
  
  .logo a {
  display: inline-block; /* ensure block behavior for images */
  }

    .logo a:focus,
    .logo a:active {
      outline: none;
      background: transparent;
      -webkit-tap-highlight-color: transparent; /* removes grey/blue overlay on mobile */
      }

  .login-form {
    padding: 30px 20px;
    max-height: none;
  }
}


/*************************************************************************************************************/
/* =============================
   REGISTER PAGE 1
============================= */

/* Box-sizing fix */
.register-page1 {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* full screen height */
  background: #f5f5f5; /* optional: nice neutral background */
  padding: 20px; /* prevent edge cutoff */
  box-sizing: border-box; /* always include padding in width */
}

/* Form container */
.register-form {
  background: #CBB5E2;
  border-radius: 10px;
  padding: 40px;
  max-width: 400px; /* prevents stretching too wide */
  width: 100%; /* fill available width */
  box-sizing: border-box; /* include padding */
}

/* Back button */
.back-button {
  background-color: #ff865e;
  padding: 8px 15px;
  border-radius: 20px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
}

.back-button img {
  margin-right: 8px;
  height: 16px;
}

/* Page info */
.page-info {
  font-family: 'Righteous';
  text-align: right;
  margin-top: -35px;
  color: #05477f;
  font-weight: 600;
  font-size: 14px;
}

/* Heading */
.register-form h2 {
  font-family: 'Righteous';
  text-align: center;
  font-size: 2rem;
  color: #05477f;
  margin-bottom: 20px;
  margin-top: 10px;
}

/* Form elements */
.register-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.register-form input {
  padding: 14px;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  outline: none;
  width: 100%;
}

.country-select {
  width: 100%;
  padding: 14px;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
}

.phone-group {
  display: flex;
  width: 100%;
}

#country-code {
  background: #fff;
  padding: 14px 18px;
  border-radius: 25px 0 0 25px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 18px;
}

#phone-number {
  flex: 1;
  padding: 14px;
  border-radius: 0 25px 25px 0;
  border: none;
  outline: none;
  font-size: 1rem;
  background: #fff;
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding: 14px;
  border-radius: 25px;
  border: none;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
  padding-right: 45px; /* space for the icon */
}

.toggle-password {
  position: absolute;
  top: 38%;
  right: 15px;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.2rem;
  user-select: none;
}

/* Country toggle */
.country-toggle {
  display: flex;
  justify-content: space-between;
  background-color: white;
  border-radius: 25px;
  overflow: hidden;
  margin: 10px 0;
}

.toggle-option {
  flex: 1;
  background-color: transparent;
  font-size: 1rem;
  padding: 12px 0;
  cursor: pointer;
  color: #555;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s, color 0.3s;
}

.toggle-option.active {
  background-color: #ff865e;
  color: white;
}

/* Bottom row */
.bottom-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.bottom-row span {
  font-size: 14px;
  margin-bottom: 15px;
}

.bottom-row a {
  color: #05477f;
  text-decoration: underline;
  margin-left: 4px;
}

/* Next button */
.next-btn {
  background-color: #ff865e;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  width: 120px;
  cursor: pointer;
}

.username-wrapper {
  position: relative;
}

.username-wrapper input {
  width: 100%;
  padding-right: 80px; /* just enough space for the status */
  box-sizing: border-box;
}

#username-status {
  position: absolute;
  right: 10px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #333; /* optional: default text color */
  pointer-events: none;
}

/*csrf token invalid styling*/
.csrf-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none; /* hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.csrf-modal-content {
  background: #fff;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
}

.csrf-modal-content img {
  width: 120px;
  margin: 20px 0;
}

.csrf-modal-content h2 {
  margin: 0 0 10px;
  color: #cc0000;
}

.csrf-modal-content p {
  margin: 0 0 15px;
  line-height: 1.4;
}

.csrf-modal-content .reload-btn {
  display: inline-block;
  background: #007BFF;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
}

.csrf-modal-content .reload-btn:hover {
  background: #0056b3;
}

.error-modal {
  display: none; 
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.error-modal-content {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

/* Responsive tweaks for mobile */
@media (max-width: 768px) {
  .register-form {
    border-radius: 20px;
    padding: 20px;
    width: 100%;
    max-width: 100%; /* make sure it doesn't exceed viewport */
  }

  .back-button {
    font-size: 12px;
    padding: 6px 12px;
  }

  .register-form h2 {
    font-size: 1.6rem;
  }

  .register-form input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .toggle-option {
    font-size: 0.9rem;
    padding: 10px 0;
    flex: 1 1 auto; /* if you use flex for toggle buttons */
  }

  .country-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .next-btn {
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
    font-size: 1rem;
  }

  .bottom-row span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
  }

  .register-form .phone-wrapper {
    flex-direction: row; /* stay side by side */
  }
}

/* =============================
   REGISTER PAGE 2
============================= */

/* Base styles remain same as above */
.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.back-step-btn {
  background-color: #ff865e;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.upload-box {
  background-color: white;
  border-radius: 25px;
  padding: 20px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.upload-icon {
  font-size: 2rem;
  color: #aaa;
  margin-bottom: 10px;
}

.upload-box .dim-text {
  color: #999;
  font-size: 0.9rem;
}

.upload-input {
  margin-top: 10px;
  opacity: 0;
  width: 100%;
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
}

.bank-label {
  font-weight: 600;
  margin-top: 20px;
}

.bank-row {
  display: flex;
  gap: 10px;
}

.branch-input {
  flex: 0.5;
  max-width: 150px;
}

.signup-btn {
  background-color: #ff865e;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  margin: 30px auto 0;
  width: 130px;
  cursor: pointer;
  display: block;
}

.page-info {
  margin-top: 2px;
  font-weight: 600;
  color: #05477f;
}

.no-browser-scroll {
  height: 100vh;
  overflow: hidden;
}

.register-form {
  height: 100%;
  overflow-y: auto;
}

.register-form::-webkit-scrollbar {
  width: 0;
}

.register-form {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* ✅ MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
  .top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .bank-row {
    flex-direction: column;
  }

  .signup-btn {
    width: 100%;
  }

  .back-step-btn {
    width: 100%;
    text-align: center;
  }

  .register-form {
    padding: 20px;
  }

  .upload-box {
    padding: 15px;
  }
}

/* Uploaded File Name */
/*------Only-----------*/

.uploaded-file-name {
  display: block;
  margin-top: 8px;
  font-size: 0.9em;
  color: #555;
}

/* =============================
    USER DASHBOARD STYLE
============================= */

body {
  margin: 0;
  font-family: "Poppins";
}

.dashboard-header {
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  color: #000;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

.dashboard-header .left-section {
  display: flex;
  align-items: center;
}

.dashboard-header .hamburger {
  font-size: 26px;
  cursor: pointer;
  margin-right: 15px;
}

.dashboard-header .logo img {
  margin-top: 5px;
  margin-left: -20px;
  height: 100px;
}

.dashboard-header .logo {
  font-weight: bold;
  font-size: 20px;
}

.dashboard-header .right-section {
  display: flex;
  align-items: center;
}

.dashboard-header .icon {
  width: 24px;
  height: 24px;
}

.dashboard-header .right-section img {
  margin-right: 15px;
}

.profile-button {
  display: flex;
  align-items: center;
  border: none;
  background: #124076;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.profile-button .icon {
  margin-right: 8px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #eee;
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #ccc;
  text-decoration: none;
  color: #000;
}

.mobile-menu a img {
  width: 20px;
  margin-right: 10px;
}

/* Sidebar & Content */
.dashboard-container {
  display: flex;
}

.sidebar {
  width: 250px;
  background: #eee;
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}

.sidebar-item {
  padding: 15px 20px;
  cursor: pointer;
}

.dashboard-content {
  flex: 1;
  padding: 40px;
}

.dashboard-content h1 {
  color: #124076;
}

.card {
  background: #f44336;
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  display: flex;
  align-items: center;
}

.card img {
  width: 50px;
  margin-right: 20px;
}

.card span {
  font-size: 20px;
  margin-right: 10px;
}

.card strong {
  font-size: 32px;
}

.cart-icon {
  width: 40px;
  height: 40px;
}

.cart-icon-adjusted{
    transform: translateY(7px);
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    flex-direction: column;
  }

  .sidebar {
    display: none; /* Hide sidebar on mobile */
  }

  .mobile-menu {
    width: 100%;
  }

  .dashboard-content {
    padding: 20px;
    text-align: center;
  }

  .card {
    flex-direction: column;
    align-items: center;
  }

  .card img {
    margin: 0 0 10px 0;
  }

  .card span {
    font-size: 16px;
  }

  .card strong {
    font-size: 24px;
  }
}

/* =============================
    PROFILE ICON DROPDOWN
============================= */

.profile-dropdown {
  position: relative;
  display: inline-block;
}

/* ✅ Shared style for profile button (desktop + mobile) */
.profile-button,
.profile-btn {
  background: #003B87;
  border: none;
  border-radius: 50px; 
  cursor: pointer;
  width: 100px; 
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-weight: 500;
  color: #333; /* your text color */
  transition: background 0.3s ease;
}

.profile-button:hover,
.profile-btn:hover {
  background: #e0e0e0; /* hover background */
}

.profile-button img,
.profile-btn img {
  margin-left:-5px;
  width: 24px;
  height: 24px;
  border-radius: 50%; /* if your icon is square, this makes it circular */
}

.profile-button .arrow,
.profile-btn .arrow {
  font-size: 12px;
}

.profile-username {
  font-size: 14px;    /* adjust size */
  color: #FFFF; 
  margin-left: -20px;       /* or your brand color */
}
.profile-button .arrow,
.profile-btn .arrow {
  font-size: 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff; /* your brand background */
  min-width: 160px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.dropdown-content a {
  color: #333; /* your link color */
  padding: 12px 16px;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #f0f0f0; /* your hover bg */
}

@media (min-width: 768px) {
  .profile-dropdown:hover .dropdown-content {
    display: block;
  }
}

.dropdown-content.show {
  display: block;
}

/* =============================
    DRAW PAGE STYLE
============================= */

.draws-container {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
  background: #fff;
}

.draws-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #183153;
  margin-bottom: 24px;
}

.draws-toggle {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.draws-toggle-btn {
  padding: 10px 20px;
  border-radius: 20px;
  border: none;
  background-color: #eee;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.draws-toggle-btn.active {
  background-color: #ff7e47;
  color: #fff;
}

.draws-section {
  margin-bottom: 40px;
}

.draws-subtitle {
  font-size: 26px;
  font-weight: 600;
  color: #183153;
  border-bottom: 2px solid #183153;
  margin-bottom: 16px;
  text-align: center;
}

.draw-card {
  background-color: #ffeaea;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  position: relative;
}

.draw-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 12px;
}

.draw-info h4 {
  margin: 0 0 6px;
  color: #183153;
  font-size: 18px;
}

.draw-info p {
  margin: 2px 0;
  font-size: 15px;
  color: #333;
}

.buy-btn {
  margin-top: 10px;
  background-color: #ff7e47;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
}

.buy-btn.urgent {
  background-color: #d12e2e;
}

.coming-label {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: #ff4848;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  z-index: 1;
}

.coming-label.red {
  background-color: #e60000;
}

.jackpot-card {
  background-color: #f4eaff;
}

.jackpot-text {
  font-weight: bold;
  font-size: 16px;
  color: #0d3c6b;
}

/* Slide transition wrapper */
.draws-sections-wrapper {
  position: relative;
  overflow: hidden;
}

/* Sections slide in/out */
.draws-section {
  opacity: 0;
  transform: translateX(100%);
  position: absolute;
  width: 100%;
  transition: all 0.4s ease;
}

.draws-section.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
}

.draw-card {
  position: relative;
  overflow: hidden;
}

.draw-card.locked .lock-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(24, 49, 83, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: #fff;
  z-index: 2;
  border-radius: 12px;
}

.draw-card.locked .buy-btn {
  pointer-events: none;
  opacity: 0.5;
}

/* ✅ Mobile tweaks */
@media (max-width: 768px) {
  .draws-title {
    font-size: 24px;
  }

  .draws-subtitle {
    font-size: 20px;
  }

  .draw-info h4 {
    font-size: 16px;
  }

  .draw-info p {
    font-size: 14px;
  }

  .buy-btn {
    width: 100%;
  }
}

/* =============================
    BUY TICKET PAGE STYLE
============================= */

h2 {
  text-align: center;
  margin: 20px 0 5px;
  font-size: 26px;
  color: #183153;
}

.subtitle {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 20px;
}

.tickets-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  background: grey;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.ticket-card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  position: relative;
}

.ticket-info {
  text-align: center;
  margin-bottom: 8px;
  font-size: 12px;
  /*line-height: 1.4;*/
  color: #000;
}

.ticket-image-wrapper {
  position: relative;
}

.ticket-image {
  width: 100%;
  border-radius: 6px;
  display: block;
}

.ticket-overlay {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ticket-no {
  font-size: 18px;
  border-radius: 4px;
  margin-top: 5px;
  margin-bottom: 2px;
  margin-left: 50px;
}

.ticket-price {
  font-size: 18px;
  border-radius: 4px;
  margin-left: 50px;
  margin-bottom: 10px;
  font-weight: bold;
}

.ticket-eye {
  position: absolute;
  top: 8px;
  right: 8px;
  border-radius: 50%;
  padding: 4px 6px;
  margin-top: -7px;
  font-size: 16px;
  cursor: pointer;
}

.add-cart-btn {
  display: inline-block;
  margin-top: 10px;
  background: #f46b45;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.add-cart-btn:hover {
  background: #e05c38;
}

@media (max-width: 768px) {
  h2 { font-size: 20px; }
  .ticket-info { font-size: 10px; }
  .ticket-no, .ticket-price { font-size: 10px; }
  .ticket-eye { font-size: 14px; }
  .add-cart-btn { font-size: 12px; padding: 6px 12px; }

  /* ✅ Force 2 tickets per row on mobile */
  .tickets-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================
    CART ICON BADGE STYLING
============================= */

.cart-icon-wrapper {
  position: relative;
  display: inline-block;
}

.cart-icon {
  width: 35px; /* adjust to your icon size */
  height: auto;
}

.cart-badge {
  position: absolute;
  top: 25px;
  left: -2px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

/* =============================
    TWO GRID FOR NOT BRK LAYOUT
============================= */

.add-cart-container {
  width: 100%;
  text-align: center;
}

.add-cart-form {
  display: inline-block; /* Keep it inline to match your old button! */
  margin-top: 10px; /* same as your old .add-cart-btn */
}

.add-cart-btn {
  display: inline-block;
  background: #f46b45;
  border: none;
  color: #fff;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.add-cart-btn:hover {
  background: #e05c38;
}

/* =============================
CART ICON CLICK DROPDOWN STYLE
============================= */

/* 📌 Add this to your CSS */

/* ✅ Positioning wrapper */
.cart-icon-wrapper {
  position: relative;
}

/* ✅ Base dropdown styling */
.mini-cart-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  padding: 15px;
  width: 250px; /* adjust as needed */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 999;
}

/* ✅ Show dropdown when .show class added (mobile)*/
.mini-cart-dropdown.show {
  display: block;
}

@media (max-width: 767px) {
  .mini-cart-dropdown {
    position: fixed;
    top: 70px; /* adjust if your header is taller */
    right: 20px;
    left: 20px;
    width: auto;
    max-width: 90%;
    background: #fff;
    z-index: 9999;
  }
}

/* ✅ Basic styling for inside items */
.mini-cart-draw ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-cart-draw li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.mini-cart-total {
  border-top: 1px solid #ddd;
  margin-top: 10px;
  padding-top: 10px;
}

.mini-cart-checkout-btn {
  display: block;
  background: #0C4E87;
  color: #fff;
  text-align: center;
  padding: 8px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 4px;
}

.cart-toggle-btn {
  border: none;       
  background: none;   
  padding: 0;         
  cursor: pointer;
}


/* =============================
LIMIT REACHED TICKET NOTIFICATION
============================= */

/* ✅ Overlay background */
.overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ✅ Box styling */
.overlay-content {
  background: #fff;
  padding: 40px 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.overlay-title {
  font-size: 20px;
  color: #d9534f;
  margin-bottom: 20px;
}

.overlay-image {
  width: 80px;
  margin: 20px 0;
}

.overlay-message {
  font-size: 16px;
  line-height: 1.5;
}

.overlay-button {
  margin-top: 25px;
  padding: 10px 30px;
  background: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.overlay-button:hover {
  background: #0056b3;
}

@media (max-width: 480px) {
  .overlay-content {
    padding: 30px 20px;
  }

  .overlay-title {
    font-size: 18px;
  }

  .overlay-message {
    font-size: 15px;
  }

  .overlay-button {
    width: 100%;
  }
}


/* =============================
          FAQ STYLINGS 
============================= */

.faq-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: Arial, sans-serif;
}

.faq-toggle {
  text-align: center;
  margin-bottom: 30px;
}

.faq-toggle-btn {
  display: inline-block;
  margin: 0 10px;
  padding: 10px 25px;
  background: #fff;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
}

.faq-toggle-btn.active {
  background: #ff7e47;
}

/* Only show active section */
.faq-section {
  display: none;
}

.faq-section.active {
  display: block;
}

.faq-heading {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.faq-icon {
  font-size: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-page-title {
    margin-top: 60px;
}

@media (max-width: 600px) {
  .faq-heading {
    font-size: 20px;
    text-align: center;
  }

  .faq-question {
    font-size: 16px;
  }

  .toggle-btn {
    width: 120px;
    margin: 5px;
  }
}