:root {
    --primary-color: #e9ed00; 
    --secondary-color: #210e3c; 
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --background-light: #f9f9f9;
    --card-background: #ffffff;
    --icon-color: #F59E0B; 
}
body { font-family: Arial, Helvetica, sans-serif; background-color: var(--background-light); color: var(--text-color-dark); line-height: 1.6; }
.content-wrapper { padding-top: 0; }
.hero-section { display: flex; align-items: center; min-height: 100vh; padding: 50px 0; background-color: #fff; }
.hero-title-container { text-align: center; margin-bottom: 50px; }
.hero-title-container .sub-heading { font-size: 1.5rem; font-weight: 600; color: #555; text-transform: uppercase; margin-bottom: 10px; }
.hero-title-container .main-heading { font-size: 3.5rem; font-weight: 800; text-transform: uppercase; color: var(--secondary-color); line-height: 1.2; }
.hero-title-container .main-heading span { color: var(--primary-color); text-shadow: 1px 1px 3px rgba(40,40,40,0.1); }
.hero-image-content img { max-width: 100%; border-radius: 15px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.registration-form-container { background: var(--card-background); padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-grid-title { font-size: 1.8rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 25px; text-align: left; }
    .form-control .custom-select { border-radius: 8px; border: 1px solid #ddd; height: auto; }
.submit-btn { font-weight: 700; text-transform: uppercase; border-radius: 50px; padding: 12px 30px; transition: all 0.3s ease; background-color: var(--primary-color); border: 2px solid var(--primary-color); color: var(--secondary-color); font-size: 1.1rem; width: 100%; }
.submit-btn:hover { background-color: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.info-buttons-container { padding-top: 20px; }
.info-button-card { background-color: #f8f9fa; border: 1px solid #e9ecef; border-radius: 10px; padding: 15px; transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer; height: 100%; display: flex; align-items: center; text-align: left; }
.info-button-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); border-color: var(--primary-color); }
.info-button-card .info-icon { font-size: 1.8rem; color: var(--icon-color); margin-right: 15px; }
.info-button-card .info-text .info-title { font-size: 1rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 0; }
.countdown-container { background-color: var(--card-background); border-radius: 15px; padding: 25px; margin-top: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); text-align: center; }
.countdown-container .countdown-title { font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 20px; text-transform: uppercase; }
.countdown-container .countdown { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.countdown-container .box { text-align: center; }
.countdown-container .value { font-size: 2.5rem; font-weight: 800; color: var(--secondary-color); line-height: 1; }
.countdown-container .label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; color: #6c757d; margin-top: 5px; }
.modal { z-index: 9999 !important; }
.modal-header { background-color: var(--secondary-color); color: var(--text-color-light); border-bottom: 3px solid var(--primary-color); }
.modal-header .close { color: var(--text-color-light); }
.modal-body .info-card { border: none; padding: 0; box-shadow: none; }
.modal-body .info-card h3 { font-size: 1.8rem; font-weight: 700; color: var(--secondary-color); margin-bottom: 20px; }
.listing-dot ul { 
    list-style: none; 
    padding-left: 0; 
}
.listing-dot ul li { 
    position: relative; 
    padding-left: 25px; 
    margin-bottom: 10px; 
}
.listing-dot ul li::before { 
    content: '\f00c'; 
    font-family: 'Font Awesome 5 Free'; 
    font-weight: 900; 
    color: var(--secondary-color);
     position: absolute; 
     left: 0; 
    }

.listing-dot-two ul { 
    list-style: none !important;; 
    padding-left: 0; 
}
.listing-dot-two ul li { 
    position: relative; 
    padding-left: 25px; 
    margin-bottom: 10px; 
}
.listing-dot-two ul li::before { 
    content: '\f00c'; 
    font-family: 'Font Awesome 5 Free'; 
    font-weight: 900; 
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    }    

.two-column-list {
     columns: 2; 
     -webkit-columns: 2; 
     -moz-columns: 2; 
    }
p.note {
     background-color: #FFFBEB;
     border-left: 5px solid #FBBF24; 
     padding: 20px; 
     border-radius: 8px;
     font-weight: 600;
     color: #92400E; 
    }

.details-columns-container {
display: flex; /* Enables Flexbox */
gap: 30px; /* Adds space between the columns */
align-items: flex-start; /* Aligns columns to the top */
}

.details-columns-container .details-column {
flex: 1; /* Makes each column take up equal space */
}

/* This makes the columns stack on small screens (like mobile phones) for better readability */
@media (max-width: 767px) {
.details-columns-container {
flex-direction: column;
gap: 20px;
}
}
      
.navbar-custom-themed {
    background-color: var(--secondary-color);
    padding: 0.75rem 0;
}

.navbar-custom-themed .nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease-in-out;
}

.navbar-custom-themed .nav-link:hover,
.navbar-custom-themed .nav-link.active {
    color: var(--primary-color);
}

.navbar-custom-themed .btn-cta {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 8px 25px;
    transition: all 0.3s ease;
}

.navbar-custom-themed .btn-cta:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.main-footer-themed {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
}

.main-footer-themed h5 {
    color: var(--text-color-light);
    margin-bottom: 1.2rem;
}

.main-footer-themed a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.main-footer-themed a:hover {
    color: var(--primary-color);
}

.main-footer-themed .social-icons a {
    color: rgba(255, 255, 255, 0.8);
}

.main-footer-themed .footer-hr {
    border-color: rgba(255, 255, 255, 0.15);
}

.swal-timer {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 15px;
    color: #555;
}

.main-footer-themed-two {
    position: relative;
    background: var(--secondary-color); 
    color: rgba(255, 255, 255, 0.7); 
    z-index: 2; /* Bring the footer content to the front */
}

.form-section {
    /* Add this rule to create space below the form */
    margin-bottom: 50px; 
}




#clock {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* The spinning loader element */
        .spinner {
            border: 8px solid #f3f3f3; /* Light grey base circle */
            border-top: 8px solid #3498db; /* Blue spinning part */
            border-radius: 50%;
            width: 30px;
            height: 30px;
            animation: spin 1s linear infinite; /* Apply the spin animation */
        }

        /* The Keyframe Animation */
        /* This defines the 'spin' animation */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

/* --- Custom Toastr CSS --- */
        /* Main toast container */
        .toast {
            box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
            opacity: 0.95 !important;
        }
        
        /* Toast Title */
        .toast-title {
            font-weight: bold !important;
            font-size: 17px !important;
        }

        /* Toast Message */
        .toast-message {
            font-size: 15px !important;
        }

        /* Progress Bar */
        .toast-progress {
            height: 4px !important;
            background-color: rgba(255, 255, 255, 0.5) !important;
        }

        /* Color Overrides for better contrast */
        .toast-success {
            background-color: #28a745 !important;
        }
        .toast-error {
            background-color: #dc3545 !important;
        }
        .toast-info {
            background-color: #17a2b8 !important;
        }
        .toast-warning {
            background-color: #ffc107 !important;
            color: #333 !important; /* Darker text for yellow background */
        }
        /* --- End of Custom CSS --- */ 
        
.swal2-container {
  z-index: 9999 !important;
}






#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 10030; 
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  pointer-events: all;
}

.loading-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; 
}

.loading-logo {
  width: 200px; 
  height: auto;
  margin-bottom: 50px; 
  animation: slideUpFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 30;
}

/* --- 2. FULL WIDTH CONTAINER --- */
.runners-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;  
  height: 300px; 
  overflow: hidden; 
  background-color: transparent; 
  
  /* This ensures the woman (who is not absolute) stays centered */
  display: flex;
  justify-content: center; 
  align-items: flex-end; 
}

/* --- 3. RUNNERS CONFIGURATION --- */
.loading-gif {
  position: relative; 
  bottom: 25px; 
}

/* -- WOMAN (THE CENTER ANCHOR) -- */
/* She sits naturally in the flex center. Everything aligns to her. */
.loading-gif.woman {
  z-index: 22; /* Highest priority (Front/Center) */
  height: 145px; 
  width: auto;
  margin-right: 190px; /* Strict center */
  bottom: 50px; 
}

/* -- CHILD (LEFT OF CENTER) -- */
.loading-gif.child {
  position: absolute;
  z-index: 19; /* Back layer */
  height: 120px; /* Smallest */
  width: auto;
  margin: 0px; 
}

/* -- MAN (RIGHT OF CENTER) -- */
.loading-gif.man {
  position: absolute;
  z-index: 21; /* Middle layer */
  height: 200px; /* Tallest */
  width: auto;   
  
  /* ALIGNMENT LOGIC: */
  left: 50%; 
  margin-left: -30px; 
  
  bottom: 25px;
}

/* --- 4. ROAD (Edge to Edge) --- */
.road {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%; 
  height: 120px; 
  z-index: 10;
  background-color: #2b2b2b;
  
  background-image: 
    radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
    radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
    radial-gradient(rgba(255,255,255,.1) 1px, transparent 2px);
  background-size: 550px 550px, 350px 350px, 250px 250px;
  background-position: 0 0, 40px 60px, 130px 270px;
  
  border-top: 4px solid #4a4a4a;
  box-shadow: inset 0 20px 40px rgba(0,0,0,0.5); 
}

/* Road Lines */
.road::after {
  content: '';
  position: absolute;
  top: 40%; 
  left: 0;
  width: 150%; 
  height: 12px; 
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 150px, 
    rgba(255, 255, 255, 0.8) 150px, 
    rgba(255, 255, 255, 0.8) 250px 
  );
  box-shadow: 0 2px 4px rgba(0,0,0,0.3); 
  animation: driveRoad 1.2s linear infinite; 
}

/* --- 5. SHADOWS (Aligned with the new Absolute positions) --- */
.shadow-container {
  position: absolute;
  bottom: 40px; 
  width: 100%;
  height: 20px;
  z-index: 15; 
}

.runner-shadow {
  height: 12px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  filter: blur(4px);
  position: absolute; /* Changed to Absolute to match runners */
  animation: shadowPulse 0.5s infinite alternate;
}

/* Woman Shadow (Center) */
.woman-shadow {
  width: 100px;
  left: 50%;
  transform: translateX(-50%); /* Perfectly centered */
}

/* Child Shadow (Left of center) */
.child-shadow {
  width: 70px;
  right: 50%;
  margin-right: 40px; /* Matches Child's offset approx */
  bottom: 15px; /* Higher up due to perspective */
}

/* Man Shadow (Right of center) */
.man-shadow {
  width: 140px;
  left: 50%;
  margin-left: 50px; /* Matches Man's offset approx */
}

/* --- 6. ANIMATIONS --- */
body.pace-running { overflow: hidden; }
.pace-done #loading-overlay { opacity: 0; pointer-events: none; }

@keyframes driveRoad {
  0% { transform: translateX(0); }
  100% { transform: translateX(-250px); } 
}

@keyframes shadowPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(0.9); opacity: 0.4; }
}

@keyframes slideUpFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}




.pace {
          z-index: 10050 !important; 
          pointer-events: none;
      }

      .pace .pace-progress {
          z-index: 10051 !important;
          height: 3px !important;
          /* Force Primary Blue Color */
          background-color: #007bff !important; 
          box-shadow: 0 0 10px rgba(0, 123, 255, 0.5); /* Slight glow */
      }

      .pace .pace-activity {
          z-index: 10051 !important;
          border-top-color: #007bff !important;
          border-left-color: #007bff !important;
      }
      
      /* Ensure body takes the class correctly */
      body.pace-primary .pace .pace-progress {
          background-color: #007bff !important;
      }










 .search-form-group {
    display: flex; /* Aligns items horizontally */
    gap: 10px; /* Adds space between the input and the button */
    align-items: center; /* Vertically aligns items */
}   

.input-wrapper {
    position: relative;
    flex-grow: 1; /* Allows the input to take up the remaining space */
}

.search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f7f6;
}

.search-container {
    width: 100%;
    max-width: 600px;
    text-align: center;
    padding: 20px;
}

.search-title {
    font-weight: 600;
    font-size: 2.5rem;
    color: #333;
}

.search-subtitle {
    font-size: 1.1rem;
    color: #777;
    margin-bottom: 30px;
}

/* --- Input Group Styling --- */
/* .input-group {
    position: relative;
    display: flex;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
} */

.input-wrapper .form-control {
    width: 100%;
    border-radius: 50px;
    height: 60px;
    border: 2px solid #ddd;
    font-size: 1.1rem;
    padding-left: 55px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* .input-group .form-control:focus {
    border-color: #007bff;
    box-shadow: none;
} */

.search-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #aaa;
    z-index: 4;
}

.btn-search {
    border: none;
    background-color: #007bff;
    color: #fff;
    border-radius: 50px;
    padding: 0 30px;
    height: 60px; /* Match the height of the input */
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 123, 255, 0.3);
    transition: background-color 0.3s ease;
}

.btn-search:hover {
    background-color: #0056b3; /* Darker on hover */
}

.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #555;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-back:hover {
    color: #007bff;
}
.btn-back .fa-arrow-left {
    margin-right: 8px;
}





.hero-title-container {
    text-align: center; /* Center the images within the container */
}

.hero-banner-main {
    width: 80%; /* The image will take up 80% of its container's width */
    max-width: 500px; /* It will not grow larger than 500px */
    height: auto; /* Maintains the aspect ratio */
}

.hero-banner-splash {
    width: 40%;
    max-width: 200px;
    height: auto;
}








.form-toggle-buttons {
    display: flex;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 30px;
}

.toggle-btn {
    flex: 1; /* Make buttons share space equally */
    padding: 12px 10px;
    border: none;
    background-color: #f8f9fa;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background-color: #007bff; /* Your primary brand color */
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}

.toggle-btn:not(.active):hover {
    background-color: #e9ecef;
}




/* Custom CSS for the SweetAlert2 close button */
.custom-close-button {
  /* Position and Size */
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  width: 32px !important;
  height: 32px !important;
  
  /* Appearance */
  background-color: #e2e2e2 !important;
  border-radius: 50% !important; /* This makes it round */
  border: none !important;
  box-shadow: none !important;
  color: #555 !important;
  font-size: 24px !important;
  font-weight: bold;
  
  /* Center the '×' symbol */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  
  /* Smooth transition for hover effect */
  transition: background-color 0.2s, color 0.2s;
}

/* Style for when you hover over the button */
.custom-close-button:hover {
  background-color: #f25252 !important; /* Red background */
  color: white !important; /* White '×' */
  cursor: pointer;
}



.swal2-registered-title {
    color: #28a745 !important; 
    font-weight: 700 !important; 
    text-transform: uppercase; 
    font-size: 2.25em; 
}

.swal2-registered-text-container p {
    font-size: 1.15em;
    line-height: 1.6;
}


.submit-btn.disabled-by-rule {
    opacity: 0.65;
    cursor: not-allowed;
}








.otp-input-container {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between boxes */
    margin: 2rem 0; /* Add some space above/below */
}

/* Individual OTP input box */
.otp-input-box {
    width: 45px;
    height: 50px;
    font-size: 1.5rem; /* Makes the number inside larger */
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    -moz-appearance: textfield; 
}

.otp-input-box::-webkit-outer-spin-button,
.otp-input-box::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Style for when the box is focused */
.otp-input-box:focus {
    border-color: #198754; /* Your confirm button color */
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
    outline: none;
}







.password-criteria {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid #e1e1e1;
    border-radius: 6px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* The Title */
.password-criteria strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

/* Remove default bullets */
.password-criteria ul {
    list-style: none !important; /* IMPORTANT: Removes default dots */
    padding: 0;
    margin: 0;
}

/* List Items */
.password-criteria li {
    font-size: 14px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Matches the clean look */
}

/* --- THE ICONS --- */

/* Common Icon Settings */
.password-criteria li::before {
    font-family: "Font Awesome 5 Free"; /* Ensure this matches your installed version */
    font-weight: 900;
    margin-right: 10px;
    font-size: 16px;
    display: inline-block;
    width: 20px; /* Fixed width aligns text nicely */
    text-align: center;
}

/* 🔴 INVALID (Red + X Circle) */
.password-criteria li.invalid {
    color: #dc3545; /* Red Text */
}
.password-criteria li.invalid::before {
    content: "\f057"; /* FontAwesome Times Circle Icon */
    color: #dc3545;   /* Red Icon */
}

/* 🟢 VALID (Green + Check Circle) */
.password-criteria li.valid {
    color: #28a745; /* Green Text */
}
.password-criteria li.valid::before {
    content: "\f058"; /* FontAwesome Check Circle Icon */
    color: #28a745;   /* Green Icon */
}



