/* styles.css */
/* ===================================
   VARIABLES & RESET
   =================================== */
   :root {
    --clr-light: #fff;
    --clr-dark: #333;
    --bg-gradient: linear-gradient(228deg, rgb(220, 226, 235), rgb(131, 215, 230));
    --nav-width: 200px;
    --gutter: 1rem;
    --max-content: 1200px;
  
    /* breakpoints */
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--clr-light);
    background: var(--bg-gradient);
    line-height: 1.6;
  }
  
  /* ===================================
     GLOBAL IMAGES & CONTAINERS
     =================================== */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: min(calc(100% - 2*var(--gutter)), var(--max-content));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }
  
  /* ===================================
     HOME BANNER
     =================================== */
  body.home-page #banner {
    background:
      linear-gradient(rgba(0,0,0,0.3),#1b447a),
      url(https://lvwevcsgqdngkxvqeayb.supabase.co/storage/v1/object/public/assets/background.png) center/cover no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
  }
  
  body:not(.home-page) #banner {
    display: none;
  }
  
  /* ===================================
     BANNER TEXT & BUTTONS
     =================================== */
     .banner-btn a {
      position: relative;
      display: inline-block;
      padding: 0.75rem 1.5rem;
      color: var(--clr-light);
      border: 1px solid var(--clr-light);
      overflow: hidden;
      transition: color 0.3s ease;
      z-index: 1;
      background-color: transparent;
    }
    .banner-text h1 {
      font-family: 'Playfair Display', serif;  /* for titles */
      font-style: italic;
      font-size: clamp(2.5rem,8vw,8rem);
    }
    .banner-btn.show {
  display: flex; /* Or inline-block if preferred */
  gap: 1rem;
}
body.loading .banner-btn {
  display: none !important;
}
    .banner-text p {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-style: italic;
    }
    .banner-btn a span {
      position: absolute;
      inset: 0;
      width: 0;
      height: 100%;
      background: var(--clr-light);
      transition: width 0.5s ease;
      z-index: -1; /* Make sure it's behind the text */
    }
    
    /* On hover: expand span & change text color */
    .banner-btn a:hover span {
      width: 100%;
    }
    
    .banner-btn a:hover {
      color: var(--clr-dark); /* Text turns black on white background */
    }
    
  /* ===================================
     SIDE NAVIGATION
     =================================== */
  #sideNavigation {
    position: fixed;
    top: 0;
    left: calc(-1 * var(--nav-width));
    width: var(--nav-width);
    height: 100vh;
    background: rgba(32,55,85,0.6);
    transition: left 0.3s ease;
    z-index: 1000;
  }
  #sideNavigation.open {
    left: 0;
  }
  #navCanvas {
    position: absolute;
    inset: 0;
    z-index: -1;
  }
  #sideNavigation nav {
    padding: 3rem 1rem;
  }
  #sideNavigation nav ul {
    list-style: none;
  }
  #sideNavigation nav li {
    margin: 1.5rem 0;
  }
  #sideNavigation nav a {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 1rem;
    color: var(--clr-light);
    text-decoration: none;
    transition: color 0.3s;
  }
  #sideNavigation nav a:hover,
  #sideNavigation nav a.active {
    color: #e0f7fa;
  }
  
  /* menu button */
  #menuBtn {
    position: fixed;
    top: var(--gutter);
    left: var(--gutter);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  #menuBtn img {
    width: 1.5rem;
    height: auto;
  }
  
  /* ===================================
     TITLES & SECTION HEADERS
     =================================== */
  .title-text {
    text-align: center;
    color: rgb(41, 58, 75);
    padding: 4rem var(--gutter) 2rem;
    font-family: Times new roman;
  }
  .title-text h1{
    font-family: 'Playfair Display', serif;
    font-style: italic;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: rgb(41, 58, 75);
  }
  .title-text2 h1 {
    text-align: center;
    color: rgb(41, 58, 75);
    padding: 4rem var(--gutter) 2rem;
  }
  .title-text h1 {
    font-size: clamp(2rem,5vw,3rem);
    margin-bottom: 0.5rem;
    color: rgb(41, 58, 75);
  }
  .title-text h3 {
    color:rgb(41, 58, 75);
    font-size: clamp(1.25rem,3vw,2rem);
    margin-bottom: 1rem;
  }
  .title-text p {
    font-size: clamp(1rem,2.5vw,1.125rem);
    max-width: 600px;
    margin: 0 auto;
    color: #e0f7fa;
  }
  
  /* ===================================
     TIERS / CARDS
     =================================== */
  .tiers {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 4rem var(--gutter);
  }
  .tier-box {
    flex: 1 1 250px;
    max-width: 280px;
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--clr-dark);
    transition: box-shadow 0.3s;
  }
  .tier-box:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  }
  .tier-box img {
    width: 4.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
  }
  .badge {
    display: inline-block;
    background: #ffd700;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  /*choose plan*/
  .choose-plan-btn {
    margin-top: 0.5rem;
    padding: 10px 20px;
    background-color: #217596;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .choose-plan-btn:hover {
    background-color: #378124;
  }
  
  /* ===================================
     READ MORE TOGGLE
     =================================== */
  .read-more-btn {
    margin-top: 1rem;
    background: #0f6e7f;
    color: #fff;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
  }
  .read-more-btn:hover {
    background: #09535f;
  }
  .more-text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.6s, opacity 0.3s;
  }
  .more-text.show {
    max-height: 500px;
    opacity: 1;
    animation: slideDown 0.4s ease forwards;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  
  /* ===================================
     ABOUT SECTION
     =================================== */
  #About .about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
  }
  #About .about-image {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
  }
  #About .about-text {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-end;
  }
  #About .about-box {
    background: #fff;
    color: var(--clr-dark);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    transition: transform 0.2s;
  }
  #About .about-box:hover {
    transform: translateX(-5px) rotate(-2deg);
  }
  #About .about-box:nth-child(1) { margin-right: 5vw; }
  #About .about-box:nth-child(2) { margin-right: 0; }
  #About .about-box:nth-child(3) { margin-right: 5vw; }

  /*hOW IT WORKS BUTTON*/
 /* Styles for the How It Works button */
#howbtn {
  display: flex;
  background: #227381;
  color: #fff;
  justify-content: center;
  align-items: center;
  height: 5px; 
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#howbtn:hover {
  background: #083238;
  transform: translateY(-2px);
}
#howbtn:active {
  transform: translateY(0);
}

/* Centering the How It Works button */
#howbtn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; /* Ensure the container spans the full width */
  margin: 2rem 0; /* Optional: Add spacing around the button */
}
  /* ===================================
     RESPONSIVE BREAKPOINTS
     =================================== */
  @media (max-width: var(--bp-sm)) {
    #sideNavigation { width: 100%; left: -100%; }
    #sideNavigation.open { left: 0; }
    .banner-text h1 { font-size: clamp(2rem,8vw,4rem); }
  }
  @media (max-width: var(--bp-md)) {
    #About .about-text,
    #About .about-image {
      flex: 1 1 100%;
      align-items: center;
      text-align: center;
    }
    #About .about-box { margin-right: 0 !important; }
  }
  @media (max-width: var(--bp-lg)) {
    .title-text h1 { font-size: clamp(2rem,4vw,3.5rem); }
    .banner-text p { font-size: clamp(0.9rem,2vw,1.1rem); }
  }
  .billing-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
  }
  .billing-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
    border-radius: 2rem;
    transition: background 0.3s, color 0.3s;
  }
  .billing-btn.active {
    background: #fff;
    color: #333;
  }
  .billing-btn:hover {
    background: #91e6ec;
    color: #333;
  }
/* ===================================
   Features Section
=================================== */
/* Layout for the container */
.Featured {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Base card style for all tool boxes */
.tool-list {
  flex: 1 1 calc(33.33% - 2rem);
  max-width: 250px;
  min-width: 220px;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-weight: bold;
  color: #f8f8fa;
  transition: box-shadow 0.3s;
  text-decoration: none;  /* So links look like cards */
  white-space: normal;
  word-wrap: break-word;
  overflow: hidden;
  box-sizing: border-box;
  display: block;
}

/* Hover effect */
.tool-list:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Image styling */
.tool-list img {
  width: 8.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
}

/* Card backgrounds (you can tweak these colors) */
.tool-list:nth-child(1) { background-color: #f17237; }
.tool-list:nth-child(2) { background-color:rgb(27, 13, 153); }
.tool-list:nth-child(3) { background-color:rgb(83, 5, 83); }
.tool-list:nth-child(4) { background-color:rgb(185, 28, 23); }
.tool-list:nth-child(5) { background-color:rgb(207, 243, 76); }

/* Optional unique style for Next button */
.next-card {
  background-color: #ffffff;
  color: #333;
  border: 2px dashed #888;
}

.next-card:hover {
  background-color: #f0f0f0;
}
/* ===== Roadmap Section ===== */
.roadmap-container {
  position: relative;
  padding: 2rem 0;
  overflow-x: hidden; /* hides any overflow */
}

.roadmap-track {
  min-height: 400px; /* or whatever size looks good */
  padding: 3rem 2rem;

  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;

  background: url('https://lvwevcsgqdngkxvqeayb.supabase.co/storage/v1/object/public/assets/forest.png') repeat-x;
  background-size: cover;
  background-position: center;
  background-attachment: local;
}


.roadmap-track::-webkit-scrollbar {
  height: 8px;
}

/* each stage */
.stage {
  position: relative;
  flex: 0 0 auto;
  width: 200px;
  margin: 0 2rem;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
}
.stage .nest-img {
  width: 60px;
  margin: 0 auto;
}
.stage-box {
  background: #fff;
  color: #333;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}
.more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* expanded state */
.stage.expanded {
  transform: scale(1.2);
  z-index: 10;
}
.stage.expanded .more-content {
  max-height: 500px;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .roadmap-track {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  .stage {
    margin: 1rem 0;
  }
  .roadmap-track::-webkit-scrollbar {
    display: none; /* hide scrollbar on mobile */
  }
}
/* Footer Section */
.footer {
  background: linear-gradient(to top, #0a0a0a, #1c1c1c);
  color: #fff;
  padding: 3rem 0 2rem; /* Keep padding, but check if it's too much */
  position: relative;
  font-size: 0.9rem;
  overflow: hidden; /* Hide any overflow caused by animations or elements outside the container */
}

/* Custom Font */
@font-face {
  font-family: 'Arcade'; /* Name of your custom font */
  src: url('fonts/PressStart2P-vaV7.ttf') format('truetype'); /* Path to .ttf file */
  font-weight: normal;
  font-style: normal;
}

.footer h1 {
  font-family: 'Arcade', sans-serif; /* Apply custom font */
}

/* Footer Container */
.footer__container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 2rem;
}

/* Left Section (Branding) */
.footer__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__brand h1 {
  margin: 0;
  font-size: 1.5rem;
}

.footer__brand p {
  margin: 0.5rem 0 0;
}

/* ==============================
   Social Icons Styles
   ============================== */
.footer__socials a {
  display: inline-block;
  width: 30px; /* Adjust the size of the logos */
  height: 30px;
  transition: transform 0.3s ease; /* Add smooth hover transition */
}

.footer__socials a:hover {
  transform: scale(1.1); /* Slightly enlarge the icon on hover */
}

.footer__socials img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Makes sure the logo fits nicely inside the box */
}

/* ==============================
   Footer Links
   ============================== */
.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: #fff;
  text-decoration: none;
  transition: text-decoration 0.3s;
}

.footer__links a:hover {
  text-decoration: underline;
}

/* ==============================
   Bird Animation Styles
   ============================== */
   .bird {
    background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/174479/bird-cells-new.svg");
    background-size: auto 100%;
    width: 88px;
    height: 125px;
    position: absolute; /* Ensure birds are absolutely positioned */
    bottom: 10px; /* Adjust this value to move birds higher or lower */
    animation-name: fly-cycle;
    animation-timing-function: steps(10);
    animation-iteration-count: infinite;
    will-change: background-position;
    left: -100px; /* Start the bird off-screen to the left */
}

.bird--footer {
  animation-duration: 1.1s;
  animation-delay: -0.5s;
}

/* ============================== 
   Bird Animation Paths (Updated to Start from Left Edge) 
   ============================== */
@keyframes fly-cycle {
  100% {
    background-position: -900px 0;
  }
}

@keyframes fly-footer {
  0% {
    transform: translateY(0vh) translateX(-10vw) scale(0.3);
  }
  20% {
    transform: translateY(-1vh) translateX(30vw) scale(0.35);
  }
  40% {
    transform: translateY(1vh) translateX(60vw) scale(0.4);
  }
  60% {
    transform: translateY(0vh) translateX(90vw) scale(0.35);
  }
  100% {
    transform: translateY(-1vh) translateX(110vw) scale(0.3);
  }
}

@keyframes fly-path-1 {
  0% {
    transform: translateY(0vh) translateX(-10vw) scale(0.3);
  }
  50% {
    transform: translateY(-3vh) translateX(50vw) scale(0.35);
  }
  100% {
    transform: translateY(1vh) translateX(110vw) scale(0.3);
  }
}

@keyframes fly-path-2 {
  0% {
    transform: translateY(2vh) translateX(-10vw) scale(0.25);
  }
  50% {
    transform: translateY(-1vh) translateX(60vw) scale(0.3);
  }
  100% {
    transform: translateY(3vh) translateX(115vw) scale(0.25);
  }
}

@keyframes fly-path-3 {
  0% {
    transform: translateY(0vh) translateX(-10vw) scale(0.35);
  }
  30% {
    transform: translateY(2vh) translateX(30vw) scale(0.38);
  }
  70% {
    transform: translateY(-2vh) translateX(70vw) scale(0.32);
  }
  100% {
    transform: translateY(0vh) translateX(110vw) scale(0.35);
  }
}

@keyframes fly-path-4 {
  0% {
    transform: translateY(-1vh) translateX(-10vw) scale(0.28);
  }
  60% {
    transform: translateY(3vh) translateX(80vw) scale(0.33);
  }
  100% {
    transform: translateY(0vh) translateX(112vw) scale(0.28);
  }
}

@keyframes fly-path-5 {
  0% {
    transform: translateY(1vh) translateX(-10vw) scale(0.33);
  }
  50% {
    transform: translateY(-2vh) translateX(65vw) scale(0.36);
  }
  100% {
    transform: translateY(2vh) translateX(110vw) scale(0.33);
  }
}

@keyframes fly-path-6 {
  0% {
    transform: translateY(0vh) translateX(-10vw) scale(0.3);
  }
  40% {
    transform: translateY(-1vh) translateX(55vw) scale(0.34);
  }
  100% {
    transform: translateY(1vh) translateX(108vw) scale(0.3);
  }
}

/* Unique paths for birds */
.path-1 {
  animation: fly-path-1 18s linear infinite;
}
.path-2 {
  animation: fly-path-2 20s linear infinite;
}
.path-3 {
  animation: fly-path-3 17s linear infinite;
}
.path-4 {
  animation: fly-path-4 19s linear infinite;
}
.path-5 {
  animation: fly-path-5 21s linear infinite;
}
.path-6 {
  animation: fly-path-6 22s linear infinite;
}
/* ===== Featured This Week ===== */
.blog-featured {
  max-width: 800px;
  margin: 3rem auto 2rem;
  text-align: center;
}
.blog-featured .badge {
  display: inline-block;
  background: #f39c12;
  color: #111;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.blog-featured .featured-box {
  display: block;
  background: #222;
  color: #fff;
  padding: 2rem;
  border: 2px solid #f39c12;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-featured .featured-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
.blog-featured .featured-box h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}
.blog-featured .featured-box p {
  margin: 0 0 1.5rem;
  color: #ccc;
}
.blog-featured .read-now {
  background: #f39c12;
  color: #111;
  border: none;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background 0.3s;
}
.blog-featured .read-now:hover {
  background: #e67e22;
}

/* ===== Carousel Wrapper ===== */
.blog-carousel {
  position: relative;
  padding: 1rem 0;
}
.post-rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem; /* breathing room for scrollbar */
  scroll-behavior: smooth;
}
.post-rail::-webkit-scrollbar {
  height: 8px;
}
.post-rail::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.2);
  border-radius: 4px;
}

/* ===== Individual Post Cards ===== */
.post-card {
  flex: 0 0 50%;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.post-card img {
  display: block;
  width: 100%;
  height: auto;
}
.post-card .post-content {
  padding: 1rem;
}
.post-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.post-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
}

/* ===== Carousel Nav Buttons (desktop only) ===== */
.rail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,34,34,0.8);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.rail-nav.prev { left: 0.5rem; }
.rail-nav.next { right: 0.5rem; }

/* Show arrows on larger screens */
@media (min-width: 768px) {
  .rail-nav { display: flex; }
}

/* ===== Responsive Tweaks ===== */
@media (max-width: 767px) {
  .post-card { flex: 0 0 80%; } /* one card per view */
}
/* Support page overrides */
body.support-page {
  background:  linear-gradient(228deg, rgb(220, 226, 235), rgb(131, 215, 230));
  color: white;
}

/* Title section (matches other pages) */
.support-page .title-text h1 {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--clr-light);
}

.support-page .title-text p {
  color: var(--clr-light);
  opacity: 0.8;
}

/* FAQs & form use your existing muted/light styles */
.support-page .search-bar input {
  border-color: var(--clr-light);
  background: rgba(255,255,255,0.1);
  color: var(--clr-light);
}

.support-page .faq-item {
  border-color: rgba(255,255,255,0.2);
}

.support-page .faq-item button {
  color: var(--clr-light);
}

.support-page .faq-answer p {
  color: var(--clr-light);
  opacity: 0.8;
}

/* Contact form inputs */
.support-page .contact-form input,
.support-page .contact-form textarea {
  background: rgba(255,255,255,0.1);
  border-color: var(--clr-light);
  color: var(--clr-light);
}

/* Button style (reuse existing) */
.support-page .contact-form button {
  background: var(--clr-primary);
  color: var(--clr-light);
}

/*Sign up/log in  modal */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}
.hidden {
  display: none !important;
}
.modal-content {
  background: rgb(38, 54, 73);
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  min-height: 350px;
  text-align: center;
  position: relative;
  color: white;
}
.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.error-text {
  color: red;
  font-size: 14px;
  margin-top: 10px;
}

.modal-content h2 {
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-content input {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.modal-content button {
  padding: 0.8rem 1.5rem;
  background: #ffffff;
  color: rgb(38, 54, 73);
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #999999;
  cursor: pointer;
  padding: 0;
  line-height: 0.4;
}
.close-btn:hover {
  color: rgb(34, 54, 74);
}

.modal-content .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: gray;
  cursor: pointer;
  float: right;
}
/* Profile pic banner */
#profile-widget {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  background: linear-gradient(to right, #946b50, rgb(41, 99, 99));
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  pointer-events:auto;
  gap: 0.6rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}
#profile-widget:hover {
  transform: scale(1.02);
}
.profile-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00c2c2;
}

.profile-details {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.1;
}
#profile-widget.hidden {
  display: none !important;
}

#profile-name {
  font-weight: bold;
  margin: 0;
}

#profile-id {
  color: #09fcbf;
  font-size: 0.75rem;
  margin: 0;
}

.modal-profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 1rem auto;
  display: block;
}

.small-btn {
  background: var(--clr-dark);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 1rem;
}

.red-btn {
  background-color: #e74c3c;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

.red-btn:hover {
  background-color: #c0392b;
}
