@import url('https://fonts.googleapis.com/css2?family=Oleo+Script+Swash+Caps:wght@400;700&family=Oswald:wght@300&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Header and Navigation */
header {
  background-color: #f8f9fa; /* Light header background */
}

header a {
  color: black; /* Default color for links */
  transition: color 0.3s ease;
}

header a:hover {
  color: #28a745; /* Green hover effect for navigation links */
}

.header-logo {
  color: #28a745; /* Green logo accents */
}

.search-button {
  border: 1px solid #28a745; /* Green border for search button */
  color: #28a745;
}

.search-button:hover {
  background-color: #28a745;
  color: white;
}




/* start content  */

.lastest{
    justify-content: center;
    text-align: center;
}


  
  
  /* Button Styling */
.btn-primary {
  background-color: #28a745; /* Subtle green */
  border-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-outline-primary{
  background-color: #28a745; /* Subtle green */
  border-color: #28a745;
  color: white;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.btn-outline-primary:hover{
  background-color: rgba(37, 148, 9, 0.7);
  outline: none;
  border: none;
  transition: background-color 0.3s ease;
}


.btn-primary:hover {
  background-color: #218838; /* Darker green on hover */
  border-color: #218838;
}
  
 /* VIP and Running Badges */
.vip-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
  animation: glowing-red 1.5s infinite;
}

/* Adjust running badge placement to bottom-right */
.running-badge {
  position: absolute;
  margin-top: 20px;
  bottom: 10px;
  right: 10px; /* Now aligned to the right */
  background-color: white;
  color: green;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  animation: glowing-green 1.5s infinite;
}

/* Time posted spacing from Running badge */
.bottom-content {
  display: flex;
  justify-content: space-between; /* Space between time and Running badge */
  align-items: center;
  margin-top: 10px;
}



/* Glowing Effect for VIP Badge */
@keyframes glowing-red {
  0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 15px rgba(255, 0, 0, 1); }
  100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

/* Glowing Effect for Running Badge */
@keyframes glowing-green {
  0% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
  50% { box-shadow: 0 0 15px rgba(0, 255, 0, 1); }
  100% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
}

/* Existing styles */
.content {
  padding: 50px 0;
}
.title2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: capitalize;
}

.small-logo {
  width: 80px;
  height: auto;
  margin: 0 auto;
}

.card {
  border: 2px solid #28a745; /* Subtle green border */
  transition: transform 0.5s, box-shadow 0.5s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: none;
  
}

.card:hover {
  transform: translateY(-5px);
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.card-slider {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.card-container {
  display: flex;
  transition: transform 1s ease;
}

.card-item {
  min-width: 18rem;
  margin-right: 20px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.slider-btn-left {
  left: 10px;
}

.slider-btn-right {
  right: 10px;
}
.copy-btn{
  outline: none;
  border: none;
}
.copy-btn:hover{
  background: #28a745;
  outline: none;
}
.post{
  font-weight: 600;
  text-transform: capitalize;
}

@media (max-width: 768px) {
  .card-item {
    min-width: 14rem;
    margin-right: 10px;
  }
  .card-slider {
    padding: 0 15px;
  }
}

@media (max-width: 576px) {
  .card-item {
    min-width: 12rem;
  }
  .card-body {
    text-align: center;
  }
  .slider-btn {
    display: none;
  }
}

    /* Hero Section Styling */
 /* Hero Section Styling */
 .hero1 {
  background-image: url(./img/studium2.svg);
  background-color: #f0f9f2; /* Fallback color */
  background-size: cover; /* Ensures the image covers the entire section */
  background-repeat: no-repeat; /* Prevents repeating the image */
  background-position: center center; /* Centers the image on all screens */
  min-height: 100vh; /* Ensures the hero section spans the full height of the viewport */
  padding: 100px 0;
  text-align: center;
  color: black;
}
@media (max-width: 768px) {
  .hero1 {
    background-image: url(./img/studium1.jpg);
    background-color: #f0f9f2; /* Very light green background */
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: black;
  }
}


.herotitle {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: black;
}

.hero-subtext {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 30px; /* Adds spacing between text and buttons */
  font-weight: 500;
}

/* Marquee Section */
.marquee-container {
  margin: 20px 0;
  background-color: rgba(0, 0, 0, 0.05); /* Light overlay */
  padding: 10px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  animation: scroll 15s linear infinite;
  white-space: nowrap;
}

.marquee p {
  font-size: 1rem;
  color: #28a745; /* Green text for visibility */
  font-weight: bold;
  display: inline-block;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Button Container */
.but {
  margin-top: 20px;
  display: inline-flex; /* Ensures buttons are side by side */
  gap: 20px; /* Space between buttons */
}

/* Button Styling */
.but button {
  padding: 10px 20px;
  border: none;
  font-size: 1rem; /* Smaller text size */
  cursor: pointer;
  border-radius: 8px; /* Rounded edges */
  color: white;
  font-weight: bold;
  transition: background 0.3s ease;
}

.but1 {
  background-color: #007bff;
  color: white;
  border-radius: 8px;
}

.but2 {
  background-color: #28a745;
  color: white;
  border-radius: 8px;
}

.but1:hover, .but2:hover {
  opacity: 0.9;
}

  /* trending punter  */
  .trending-punters {
    margin: 50px 0;
  }
  .mobile{
    display: none;
  }
  
  .section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
  }
  
  .punter-cards {
    display: flex;
    gap: 30px;
    
  }
  
  .punter-card {
    width: 250px;
    background-color: #f8f9fa;
    border: 1px solid #28a745; /* Green border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    
    /* flex: 1 1 calc(20% - 1rem); /* Five cards per row on larger screens */
    /* max-width: calc(20% - 1rem); */ 
  }
  
  .punter-card:hover {
    transform: translateY(-5px);
  }
  
  .rank-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 50%;
  }
  
  .punter-avatar {
    width: 80px;
    height: 80px;
    object-fit: cover;
  }
  
  .punter-name {
    font-size: 18px;
    font-weight: bold;
  }
  
  .punter-stats, .booking-code {
    font-size: 14px;
    color: #6c757d;
  }
  
  .punter-popularity {
    font-size: 16px;
    margin-bottom: 10px;
    color: #28a745; /* Popularity stats in green */
    font-weight: bold;
  }
  
  .punter-actions {
    margin-top: 15px;
  }
  
  .punter-actions .btn {
    margin-right: 5px;
  }
  /* trending responsive  */
  @media (max-width: 768px) {
    .large{
      display: none;

    }
    .mobile{
      display: block;
    }
  }
  

  /* Responsive Design  hero*/
  @media (max-width: 768px) {
    .herotitle {
      font-size: 2rem;
    }

    .hero-subtext {
      font-size: 1rem;
      margin-bottom: 20px; /* Adjust spacing between text and buttons on mobile */
    }

    .but button {
      padding: 8px 16px; /* Smaller padding on mobile */
      font-size: 0.9rem;
    }

    .but {
      flex-direction: column; /* Stack buttons on top of each other on mobile */
      align-items: center;
      gap: 15px; /* Spacing between buttons on mobile */
      margin-top: 20px; /* Adjusts margin above buttons */
    }
  }
  /* Media query for mobile responsiveness */
  @media (max-width: 768px) {
    .card-item {
      min-width: 14rem;
      margin-right: 10px;
    }
    .card-slider {
      padding: 0 15px;
    }
    
  }

  @media (max-width: 576px) {
    .card-item {
      min-width: 12rem;
    }
    .card-body {
      text-align: center;
    }
    .slider-btn {
      display: none;
    }
    .time{
      margin-bottom: 20px;
    }
    .punter-card {
      flex: 1 1 calc(50% - 1rem); /* Two cards per row on smaller screens */
      max-width: calc(50% - 1rem);
  }
  }

  /* winning bookings  */
  .winning-bookings {
    margin: 50px 0;
    padding: 20px;
    background-color: #f0f9f2; /* Light green for winning bookings */
    padding: 50px;
    
  }

  .sm{
    display: none;
  }
  
  .booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 50px;
    justify-content: center;
    align-self: center;
    align-self: center;
  }
  
  .booking-item {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
  }
  
  .punter-info {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .punter-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .odds {
    background-color: rgba(37, 148, 9, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
  }
  
  .booking-details {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
  }
  .pun{
    background-color: rgba(37, 148, 9, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
  }
  .time{
    background-color: rgba(37, 148, 9, 0.2);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
  }
  
  .booking-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    background-size: cover;
    background-position: center;
  }
  /* end winnings  */
   
  /* winning-bookings */
  @media (max-width: 768px) {
    .la {
        display: none;
    }
    .sm {
        display: block;
    }
}

@media (min-width: 769px) {
    .la {
        display: block;
    }
    .sm {
        display: none;
    }
}


  /* start .testimonial-content  */
  .testimonials {
    padding: 50px 20px;
    background-color: #f9f9f9;
  }
  
  .testimonial-slider {
    display: flex;
    overflow-x: scroll;
    gap: 30px;
    scroll-snap-type: x mandatory;
  }
  
  .testimonial-item {
    flex: 0 0 300px;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(40, 167, 69, 0.1); /* Subtle green background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    scroll-snap-align: start;
  }
  .testimonial-item .user-name {
    color: #28a745; /* Green for user names */
    font-weight: bold;
}
  
  .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .testimonial-content p {
    font-style: italic;
    color: #333;
  }
 /* end .testimonial-content    */

 /* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
  overflow: hidden; /* Prevent scrolling while modal is open */
}

.modal-content {
  margin: auto;
  display: block;
  width: 60%; /* Adjusted to be smaller */
  max-width: 500px; /* Ensures it's not too big on larger screens */
  border-radius: 10px;
  animation: zoom 0.3s ease;
}

.close {
  position: absolute;
  top: 10px; /* Moved closer to the top */
  right: 15px; /* Moved closer to the right for better accessibility */
  color: #fff;
  font-size: 30px; /* Reduced size for better visibility */
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Caption */
#caption {
  margin: 10px auto;
  color: white;
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}


@media screen and (max-width: 600px) {
  .modal-content {
      width: 80%; /* Smaller image for mobile */
      max-width: 300px; /* Ensures it's not too large on mobile */
  }
  .close {
      font-size: 25px; /* Smaller close button on mobile */
  }
  #caption {
    font-size: 14px;
}
}

/* how it work  */
.how-it-works {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #e0f7e0, #fff);
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  text-transform: capitalize;
  animation: fadeIn 2s ease-in-out;
}

.intro-text {
  font-size: 18px;
  color: #666;
  margin-bottom: 50px;
  animation: fadeInUp 1.5s ease-in-out;
}

.steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.step {
  width: 22%;
  padding: 20px;
  border-radius: 10px;
  background-color: #f9f9f9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
}

.step-icon img {
  width: 70px;
  height: auto;
  margin-bottom: 15px;
}

.step-content h3 {
  font-size: 22px;
  font-weight: bold;
  color: #28a745;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 16px;
  color: #555;
}

.cta-button {
  margin-top: 50px;
}

.cta-start {
  padding: 15px 30px;
  background-color: #28a745;
  color: white;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: background-color 0.3s ease;
}

.cta-start:hover {
  background-color: #218838;
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
  70% { box-shadow: 0 0 20px 20px rgba(40, 167, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }
  
  .step {
    width: 100%;
    margin-bottom: 20px;
  }
}

/* footer  */
footer {
  position: relative;
  background: linear-gradient(135deg, #2e7d32, #004d40);
  padding: 40px 20px;
  text-align: center;
  color: white;
  overflow: hidden;
  margin-top: 10px;
}

.footer-container {
  position: relative;
  z-index: 2;
}

/* Social Icons */
.social-icons a {
  color: white;
  font-size: 24px;
  margin: 0 10px;
  transition: color 0.4s, transform 0.4s;
}

.social-icons a:hover {
  color: #00e676;
  transform: scale(1.1);
}

/* Quick Links */
.quick-links {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.quick-links a {
  color: #ffffffcc;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.quick-links a:hover {
  color: #00e676;
}

/* Footer Text */
.footer-text {
  margin: 15px 0;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-text:hover {
  opacity: 1;
}

/* Responsible Gaming Warning */
.responsible-gaming {
  color: white;
  font-size: 14px;
  margin-top: 15px;
}

.responsible-gaming .warning-emoji {
  font-size: 18px;
  margin-right: 5px;
}

/* Scroll to Top Button */
.scroll-top-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00e676;
  color: #004d40;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.4s, transform 0.4s;
}

.scroll-top-btn:hover {
  background-color: #004d40;
  color: white;
  transform: scale(1.05);
}

/* Rotating Background Animation */
footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.3), transparent);
  animation: rotate-bg 10s infinite linear;
  z-index: 1;
}

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

/* Responsive Adjustments */
@media (max-width: 768px) {
  footer {
    padding: 30px 10px;
  }
  
  .social-icons a {
    font-size: 20px;
    margin: 0 8px;
  }

  .quick-links a {
    font-size: 13px;
    margin: 0 8px;
  }

  .footer-text, .responsible-gaming {
    font-size: 13px;
  }
  
  .scroll-top-btn {
    padding: 8px 18px;
    font-size: 13px;
  }
}
/* explore page  */
/* Search Filter Box Styling */
.search-filter-box {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.search-form {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.search-form .form-group {
  flex: 1;
  min-width: 180px;
}

.search-btn {
  align-self: center;
  background-color: #28a745;
  color: white;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.search-btn:hover {
  background-color: #218838;
}

/* Card Styling */
/* Card Styling */
.card {
  border: 2px solid #28a745;
  transition: transform 0.5s, box-shadow 0.5s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  position: relative;
  margin-bottom: 20px; /* Space between rows */
}

/* Add space between cards horizontally and vertically */
.col-lg-3, .col-md-6, .col-sm-12 {
  margin-bottom: 20px; /* Space between card rows */
  padding: 15px;       /* Space between cards side by side */
}

/* Ensure row spacing is consistent */
.row {
  margin-right: -15px;
  margin-left: -15px;
}

.small-logo {
  width: 80px;
  height: auto;
  margin: 0 auto;
}

/* VIP and Running Badge Styles */
.vip-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: red;
  color: white;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  animation: glowing-red 1.5s infinite;
}

.running-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: white;
  color: green;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: bold;
  border-radius: 5px;
  animation: glowing-green 1.5s infinite;
}

/* Sure Badge */
.sure-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #FFEB3B;
  color: black;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  animation: glow 1.5s infinite;
}

/* Glow Effect */
@keyframes glow {
  0%, 100% {
      box-shadow: 0 0 5px #FFEB3B, 0 0 20px #FFEB3B, 0 0 30px #FFEB3B;
  }
  50% {
      box-shadow: 0 0 10px #FFEB3B, 0 0 30px #FFEB3B, 0 0 40px #FFEB3B;
  }
}

/* Comment Trigger Styling */
.card-comment-trigger {
  text-align: left;
  font-size: 12px;
  color: #007bff;
  cursor: pointer;
  margin-top: 10px;
  display: block;
}

/* Comment Popup Styles */
.comment-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
}

.popup-content {
  text-align: center;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

/* Responsive Layout with Gaps */
@media (max-width: 768px) {
  .col-md-6 {
      flex: 0 0 50%;
      max-width: 50%;
      margin-bottom: 20px;
      padding-right: 15px;
      padding-left: 15px; /* Adds small gap between cards on mobile */
  }
}

@media (max-width: 576px) {
  .col-sm-12 {
      flex: 0 0 50%;
      max-width: 50%;
      margin-bottom: 20px;
      padding-right: 15px;
      padding-left: 15px; /* Adds small gap between cards on mobile */
  }
}




/* Pagination Styling */
.pagination-container {
  text-align: center;
  margin-top: 20px;
}

.pagination {
  display: inline-block;
  list-style-type: none;
  padding: 0;
}

.pagination li {
  display: inline;
  margin: 0 5px;
}

.pagination a {
  color: #28a745;
  padding: 10px 15px;
  text-decoration: none;
  border: 1px solid #28a745;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
  background-color: #28a745;
  color: white;
}

.pagination a.active {
  background-color: #28a745;
  color: white;
}

/* Glowing Badge Animations */
@keyframes glowing-red {
  0% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
  50% { box-shadow: 0 0 15px rgba(255, 0, 0, 1); }
  100% { box-shadow: 0 0 5px rgba(255, 0, 0, 0.5); }
}

@keyframes glowing-green {
  0% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
  50% { box-shadow: 0 0 15px rgba(0, 255, 0, 1); }
  100% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
}

.pagenumber{
  margin-top: 10px;
}
/* Popup Style */
.comment-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
}

.popup-content {
  text-align: center;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

 /* confetti  */
 .confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #4caf50;
  opacity: 0.9;
  border-radius: 50%;
  animation: confetti-fall 1s ease-out forwards;
  pointer-events: none; /* Confetti shouldn't interfere with user actions */
}

@keyframes confetti-fall {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(500px) rotate(360deg); opacity: 0; }
}

/* confetti-message  */
.confetti-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 2rem;
color: #28a745; /* A green color for positive vibes */
font-weight: bold;
opacity: 0; /* Initially hidden */
transition: opacity 0.5s ease-in-out;
z-index: 1000; /* Above the confetti */
}

@media (max-width: 768px) {
.confetti-message {
  font-size: 15px; /* Reduce font size on smaller screens */
}
}

* count down style  */
.countdown-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-weight: bold;
  font-size: 1rem;
  flex-wrap: wrap;
}

.countdown-label {
  color: #555;
}

.countdown-timer {
  color: #28a745; /* Bootstrap green */
  font-weight: 800;
  font-size: 1.1rem;
}

@media screen and (max-width: 768px) {
  .countdown-wrapper {
    font-size: 0.95rem;
    margin-top: 8px;
  }

  .countdown-timer {
    font-size: 1rem;
  }
}

#bookingFilter {
  padding: 4px 8px;
  font-size: 14px;
}
#bookingFilter:focus {
  outline: none;
  border-color: #28a745; /* Green border on focus */
}

.estimated-payout input,
  .estimated-payout select {
    font-size: 14px;
  }

  @media (max-width: 576px) {
    .estimated-payout .d-flex {
      flex-direction: column;
      align-items: stretch;
    }

    .estimated-payout input,
    .estimated-payout select {
      width: 100% !important;
    }

    .estimated-payout .payout-result {
      margin-top: 5px;
    }
  }
/* Responsive Layout */
 .pagination-wrapper {
        margin-top: 30px;
    }
    .pagination .page-item.active .page-link {
        background-color: #28a745;
        border-color: #28a745;
        color: white;
    }
    .pagination .page-link {
        color: #28a745;
    }
    .pagination .page-link:hover {
        background-color: #218838;
        color: white;
    }
  


.badge-exclusive{
  display:inline-block;
  background:#111;
  color:#ffd700;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  font-size:.8rem;
  box-shadow:0 2px 6px rgba(0,0,0,.15);
  margin-bottom:8px;
}

/* Floating AI Analyzer button */
.fab-ai{
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom)); /* iOS safe area */
  z-index: 1030;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.fab-badge{
  width: 56px; height: 56px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #1f9d55, #0f7d3d);
  box-shadow: 0 12px 30px rgba(31,157,85,.35);
  transform: translateZ(0);
  position: relative;
  transition: transform .12s ease, box-shadow .12s ease;
}

/* soft pulse ring to draw attention (first-time users) */
.fab-badge::after{
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(31,157,85,.35);
  animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: 1; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { opacity: 0; }
}

.fab-label{
  background: #fff;
  color: #1f2a22;
  border: 1px solid #e6f4ea;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: .2px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  white-space: nowrap;
}

.fab-ai:hover .fab-badge{
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(31,157,85,.38);
}

/* Compact on phones: show only the round button */
@media (max-width: 575.98px){
  .fab-label{ display: none; }
  .fab-badge{ width: 58px; height: 58px; }
}



/* end content  */