﻿/* Base Reset & Body */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212; /* Dark background */
  color: #fff; /* Light text */
}

/* Font Awesome fix for solid icons */
.fa-solid {
  font-weight: 900;
  font-size: 1.2em; /* Adjust size if needed */
}

.credits i {
  color: gold;
}

.conversation-item i {
  color: #8a2be2;
}

/* USER SECTION (Avatar + Divider + Coins) */
.header-account {
  /* we won't use gap here, we'll control spacing inside user-section */
}

.user-section {
  display: inline-flex;
  align-items: center;
  background-color: #2c2c2c;
  border-radius: 9999px; /* Pill shape */
  padding: 4px 10px;
  gap: 10px;
}
/* The avatar circle (purple background, white "C") */
.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden; /* Ensures that the image doesn't spill out of the circle */
    background-color: #8a2be2; /* fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Divider: thin vertical line */
.divider {
  width: 1px;
  height: 20px;
  background-color: #555;
}
/* Coins and number */
.credits {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Make the coins icon gold */
.credits i {
color: gold;
font-family: "Font Awesome 6 Free";
font-weight: 900;
}

/* HEADER */
header {
  background-color: #1f1f1f; /* Slightly lighter for header */
  border-bottom: 1px solid #2c2c2c;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.header-logo a {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
}

.fa-flask {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* Hide logo text on mobile (<= 768px) */
@media (max-width: 768px) {
  .header-logo strong {
    display: none;
  }

  .header-logo a {
    gap: 0;
  }
}

.header-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.header-nav a {
margin-right: 20px;
color: #ccc;
text-decoration: none;
transition: color 0.2s;
}

.header-nav a:last-child {
    margin-right: 0;
}

.header-nav a:hover {
    color: #fff;
}

.header-account {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-account a {
color: #fff;
text-decoration: none;
font-weight: bold;
}

.credits {
  background-color: #2c2c2c;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Wrapper fills the viewport and uses flex layout */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 100% of the viewport height */
}

/* Main content expands to fill available space */
.content {
    flex: 1;
}

/* Main Container (3 columns) */
.container {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 5px; /* 5px gap between columns */
  min-height: calc(100vh - 60px); /* Full viewport minus header */
  padding: 5px; /* Optional padding around the grid area */
}

/* Panel styling for each column */
.panel {
  background-color: #1f1f1f;
  padding: 20px;
  border: 1px solid #2c2c2c;
  border-radius: 5px; /* Small corner radius */
}

/* Titles within panels */
.panel h2 {
margin-bottom: 16px;
font-size: 1.2rem;
}

/* Responsive: Stack columns on narrower screens */
@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    padding: 0; /* remove extra padding on mobile */
    width: 100%;
  }

  .panel {
    width: 100%;
  }
}

/* Form & Input Styles */
.input-label {
  display: block;
  margin: 12px 0 6px;
  font-weight: bold;
  color: #ccc;
}

.input-field,
.textarea-field {
  width: 100%;
  padding: 8px;
  background-color: #2c2c2c;
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  margin-bottom: 12px;
  resize: vertical;
}

.textarea-field {
  height: 100px;
}

/* Button */
.btn {
  background-color: #8a2be2; /* Example accent color */
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}

  .btn:hover {
    background-color: #7b26cb;
  }

.conversation-panel {
  display: flex;
  align-items: center;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.conversation-panel:hover {
background-color: #2c2c2c;
}

.conversation-icon {
  margin-right: 10px;
  font-size: 1.2em;
  color: #8a2be2;
}

.conversation-details {
  flex: 1;
}

.conversation-task {
  font-weight: bold;
  margin-bottom: 4px;
}

.conversation-age {
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 4px;
}

.conversation-excerpt {
  font-size: 0.9rem;
}


/* Mobile Hamburger Menu Adjustments */
.menu-toggle {
  display: none;
  font-size: 1.5em;
  color: #fff;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  /* Hide the normal header navigation */
  .header-nav {
    display: none;
    position: absolute;
    top: 60px; /* below the header */
    left: 0;
    right: 0;
    background-color: #1f1f1f;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    z-index: 1000;
  }
    /* When active, show the menu */
    .header-nav.active {
      display: flex;
    }
    /* Center each menu link and make them full width */
    .header-nav a {
      width: 100%;
      text-align: center;
      padding: 10px 0;
      margin: 0;
    }
  /* Show the hamburger icon */
  .menu-toggle {
    display: block;
    /* Positioned at the far right; it comes after the account section */
    margin-left: 10px;
  }
  /* Ensure the header container uses space-between layout */
  .header-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* User Dropdown Styling */
.header-account {
  position: relative;
  cursor:pointer;
}

.user-dropdown {
  display: none;
  position: absolute;
  top: 60px; /* Adjust if necessary */
  right: 0;
  background-color: #1f1f1f;
  border: 1px solid #444; /* Lighter border */
  border-radius: 4px;
  width: 200px;
  z-index: 1001;
}

.user-dropdown.active {
display: block;
}

.user-dropdown .dropdown-item {
padding: 10px;
color: #fff;
text-decoration: none;
border-bottom: 1px solid #2c2c2c;
display: block;
}

.user-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.user-dropdown .dropdown-item:hover {
    background-color: #2c2c2c;
}

.user-dropdown .plan {
cursor: default;
font-weight: normal;
}

/* Custom Google Sign-In Button */
.google-signin-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem; /* Equivalent to Tailwind's gap-3 */
    padding: 10px 15px;
    background-color: #2c2c2c; /* Same as your input controls */
    border: 1px solid #444; /* Same border as input controls */
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.google-signin-btn:hover {
background-color: #333; /* A slightly darker shade on hover */
}

.google-signin-btn svg {
width: 20px; /* approx. Tailwind's w-5 */
height: 20px; /* approx. Tailwind's h-5 */
}

.google-signin-btn span {
font-size: 0.875rem; /* text-sm */
color: #fff;
font-weight: bold;
}

.privacy-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to the top */
    min-height: calc(100vh - 60px); /* Adjust if your header is 60px tall */
    padding: 20px;
    padding-top: 40px; /* Extra space at the top if needed */
}

.privacy-panel {
    width: 100%;
    max-width: 600px; /* Adjust max width as needed */
    background-color: #1f1f1f; /* Consistent with your panels */
    border: 1px solid #2c2c2c;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.privacy-panel h2 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.privacy-panel p {
    line-height: 1.6;
}

.terms-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align at the top */
    min-height: calc(100vh - 60px); /* Adjust if your header is 60px tall */
    padding: 20px;
    padding-top: 40px; /* Extra space at the top if needed */
}

.terms-panel {
    width: 100%;
    max-width: 600px; /* Adjust max width as needed */
    background-color: #1f1f1f; /* Consistent with your panels */
    border: 1px solid #2c2c2c;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.terms-panel h2 {
    margin-top: 0;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.terms-panel p {
    line-height: 1.6;
}

/* Container for entire pricing section */
.pricing-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.pricing-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #ccc;
    margin-bottom: 30px;
}

.segmented-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    background-color: #333; /* Toggle background */
    border-radius: 9999px; /* Rounded pill shape */
    overflow: hidden;
    min-width: 320px; /* Increased width for longer text */
    user-select: none;
    margin-bottom: 20px; /* Space between toggle and content below */
}

    /* Hide the radio buttons */
    .segmented-toggle input[type="radio"] {
        display: none;
    }

/* Labels: ensure they sit above the indicator */
.toggle-label {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    cursor: pointer;
    color: #fff;
    font-size: 0.9rem;
    transition: color 0.2s;
    text-align: center;
    white-space: nowrap;
}

/* The sliding indicator */
.toggle-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Covers half of the toggle */
    height: 100%;
    background-color: #fff;
    border-radius: 9999px;
    transition: transform 0.3s;
    z-index: 1; /* Behind the labels */
}

/* Move the indicator when monthly is selected */
#monthlyOption:checked ~ .toggle-indicator {
    transform: translateX(100%);
}

/* When yearly is checked, indicator stays on the left */
#yearlyOption:checked ~ .toggle-indicator {
    transform: translateX(0);
}

/* Active label text color (black on white) */
#yearlyOption:checked + label,
#monthlyOption:checked + label {
    color: #000;
}

/* Inactive label remains white */
#yearlyOption:not(:checked) + label,
#monthlyOption:not(:checked) + label {
    color: #fff;
}


/* Container for entire pricing section */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Updated Pricing Card */
.pricing-card {
    background-color: #1f1f1f;
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    width: 320px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}

    .pricing-card:hover {
        transform: translateY(-5px);
    }

    /* Free plan gets a lower order so it always appears first when wrapping */
    .pricing-card.free-plan {
        order: 4;
    }

/* Plan Header */
.plan-header {
    margin-bottom: 18px;
    position: relative;
}

    .plan-header h3 {
        margin: 0 0 10px 0;
        font-size: 1.3rem;
    }

    .plan-header .price {
        font-size: 1.6rem;
        font-weight: bold;
    }

        .plan-header .price span {
            font-size: 0.9rem;
            font-weight: normal;
            margin-left: 4px;
        }

    .plan-header .discount {
        color: #ccc;
        font-size: 0.85rem;
        margin-top: 6px;
    }

/* Most Popular Tag */
.tag-popular {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffde00;
    color: #000;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 0 6px 0 6px;
    transform: translateY(-100%);
}

.plan-header .price {
    font-size: 1.6rem !important;
    font-weight: bold !important;
    line-height: 1.2;
}

.plan-header .price .amount {
    font-size: 1.6rem !important;
    font-weight: bold !important;
}

.plan-header .price .period {
    font-size: 1.6rem !important;
    font-weight: bold !important;
}

.yearly-discount,
.yearly-extra {
    display: none;
}

.yearly-discount {
    margin-bottom: 10px;
}

.yearly-extra {
    color: #0f0;
}

/* Utility class to show elements */
.visible {
    display: block;
}

.most-popular {
    border: 2px solid #fff;
    box-shadow: 0 0 40px 15px rgba(255, 255, 255, 0.5);
}


/* Features list */
.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
}

    .features-list li {
        margin-bottom: 8px;
    }

/* Button */
.btn-pay {
    background-color: #8a2be2;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 0;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-pay:hover {
    background-color: #7b26cb;
}


/* Responsive: adjust card width on smaller screens */
@media (max-width: 800px) {
    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}




.site-footer {
    background-color: #111; /* Dark background color */
    color: #fff; /* Light text for contrast */
    padding: 20px 0; /* Spacing top/bottom */
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px; /* Constrain the width */
    margin: 0 auto; /* Center the content horizontally */
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Align items to the top if heights differ */
    padding: 0 20px; /* Optional horizontal padding */
}

.footer-left {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    margin-bottom: 8px;
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1rem;
}

.footer-copy {
    margin: 0;
    line-height: 1.4;
}

.footer-copy a {
    color: #fff;
    text-decoration: none;
}

.footer-copy a:hover {
    text-decoration: underline;
}

/* Right Section (Links) */
.footer-right {
    display: flex;
    flex-direction: column; /* Stack vertically */
    align-items: flex-end; /* Align text to the right; or flex-start if you want them left-aligned */
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right; /* Ensure text is right-aligned within each list item */
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
}

.features-section {
    background: linear-gradient(180deg, #121212 0%, #1a1a1a 100%);
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.features-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.features-header .subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin: 0 auto 40px;
    max-width: 600px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    text-align: left;
}

.feature-card {
    background: linear-gradient(160deg, #1f1f1f 0%, #2a2a2a 100%);
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    padding: 24px;
    position: relative;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 15px rgba(138, 43, 226, 0.3); /* Purple glow */
    }

.feature-icon {
    font-size: 1.6rem;
    color: #8a2be2;
    margin-bottom: 8px;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #8a2be2;
    position: relative;
}

    .feature-card h3::after {
        content: "";
        display: block;
        width: 40px;
        height: 3px;
        background-color: #8a2be2;
        margin: 8px 0;
    }

.feature-card p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.5;
}

.feature-card:hover h3 {
    color: #a64bf2; /* Lighter purple on hover */
}

.feature-card:hover p {
    color: #ddd;
}



/*Payment simulator*/

/* Modal overlay styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal overlay styles (unchanged) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Updated modal content styles with darker background */
.modal-content {
    background-color: #1f1f1f; /* Darker background */
    color: #fff; /* White text for contrast */
    margin: 10% auto; /* 10% from the top and centered */
    padding: 30px;
    border: 1px solid #444;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

/* Close button */
.close {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

/* Confirm payment button */
.btn-pay-confirm {
    padding: 12px 24px;
    background-color: #0f9d58;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 20px;
}


.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center; /* Center the heading and subtitle */
}

.features-header {
    margin-bottom: 30px;
}

    .features-header h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .features-header .subtitle {
        color: #ccc;
        font-size: 1rem;
        margin: 0 auto;
        max-width: 600px;
    }

/* Grid Layout for the features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
    text-align: left; /* Align text left within each card */
}

/* Feature Card Styles */
.feature-card {
    background-color: #1f1f1f; /* Dark background to match your site */
    border: 1px solid #2c2c2c;
    border-radius: 4px;
    padding: 20px;
    transition: background-color 0.2s ease;
}

    .feature-card:hover {
        background-color: #2a2a2a;
    }

    .feature-card h3 {
        margin-bottom: 10px;
        font-size: 1.2rem;
        color: #fff;
    }

    .feature-card p {
        color: #ccc;
        font-size: 0.9rem;
        line-height: 1.5;
    }

.features-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    font-size: 1rem;
    line-height: 1.5;
    text-align: left; /* Ensure the entire list is left-aligned */
}

.feature-item {
    margin-bottom: 8px;
    /* If needed, also explicitly align each item to the left */
    text-align: left;
}


/* Availability classes */
.feature-item.available {
    color: #fff;
}

.feature-item.limited {
    color: #aaa;
}

.feature-item.unavailable {
    color: #555;
}

.feature-item.available::before {
    content: "\f00c"; /* Unicode for check icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #0f0; /* Green */
    margin-right: 8px;
}

.feature-item.unavailable::before {
    content: "\f00d"; /* Unicode for times (cross) icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #f00; /* Red */
    margin-right: 8px;
}

.feature-item.limited::before {
    content: "\f00c"; /* Check icon, but use a different color */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffa500; /* Orange */
    margin-right: 8px;
}


/* Responsive Adjustments */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on mid-sized screens */
    }
}

@media (max-width: 600px) {
    .features-grid {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
    }

    .features-header h1 {
        font-size: 1.5rem;
    }

    .features-header .subtitle {
        font-size: 0.9rem;
    }
}

/* Contact Us Page Styling */
form#contactForm {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background-color: #1f1f1f; /* Dark background for the form */
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ccc;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #2c2c2c;
    color: #fff;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #8a2be2;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

    .btn-primary:hover {
        background-color: #7b26cb;
    }

/* Styling for the reCAPTCHA widget container */
.g-recaptcha {
    margin: 20px 0;
}

/* Optionally, style error messages */
.validation-summary-errors {
    color: #ff6666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.thankyou-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align at the top */
    min-height: calc(100vh - 60px); /* Adjust if your header is 60px tall */
    padding: 40px 20px;
    background-color: #121212; /* Consistent dark background */
}

.thankyou-panel {
    background-color: #1f1f1f;
    border: 1px solid #2c2c2c;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

    .thankyou-panel h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .thankyou-panel p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: #ccc;
    }

.btn.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background-color: #8a2be2;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn.btn-primary:hover {
    background-color: #7b26cb;
}

/* Full-width container */
.recommendations-section {
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  background-color: #121212;
}

.recommendations-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.recommendations-section .subtitle {
  color: #ccc;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* Desktop styles for scrolling testimonials remain as before */
.scroll-row {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 280px; /* or your preferred height */
    margin-bottom: 30px;
}

.scroll-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: 200%;
    animation: scrollLeftToRight 40s linear infinite;
}

.testimonial-card {
    background-color: #1f1f1f;
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    width: 360px; /* fixed width for desktop */
    margin: 0 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    white-space: normal; /* allow text to wrap */
    display: inline-block;
    vertical-align: middle;
}

    /* (Keep your existing testimonial-card text styling here) */
    .testimonial-card p {
        color: #ccc;
        margin-bottom: 10px;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .testimonial-card h4 {
        margin: 0;
        font-size: 1rem;
        color: #fff;
    }

    .testimonial-card span {
        font-size: 0.8rem;
        color: #999;
    }

@keyframes scrollLeftToRight {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Mobile styles: disable continuous scroll and use a static layout */
@media (max-width: 600px) {
    .scroll-row {
        height: auto; /* allow height to adjust based on content */
        padding: 20px 0;
    }

    .scroll-content {
        animation: none; /* Disable scrolling animation */
        display: flex;
        flex-wrap: wrap; /* Wrap items into multiple rows */
        justify-content: center; /* Center items horizontally */
        width: 100%;
    }

    .testimonial-card {
        width: calc(100% - 20px); /* Card takes nearly full width with some margin */
        margin: 10px;
        /*min-height: 250px;*/ /* Ensure a consistent minimum height */
    }   
}


.resultprocessing {
    color: gray;
    font-size: 16px;
    animation: pulsate 3s ease-in-out infinite;
}

@keyframes pulsate {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}


.message-container {
    margin-top: 20px;
    padding: 10px;
    border-radius: 4px;
    font-size: 1rem;
    display: none; /* Hidden by default */
    text-align: center;
}

/* Success message style: green background, dark green text */
.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error message style: red background, dark red text */
.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#resultPanel {
    max-height: 95vh; /* Adjust this value as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #555 #1f1f1f;
    padding: 10px 10px;
}

/* Chrome, Safari, Edge */
#resultPanel::-webkit-scrollbar {
    width: 8px;
}

#resultPanel::-webkit-scrollbar-track {
    background: #1f1f1f;
}

#resultPanel::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
    border: 2px solid #1f1f1f; /* Adds some padding around the thumb */
}

#resultPanel::-webkit-scrollbar-thumb:hover {
    background-color: #888;
}

/* Mobile: disable scrolling and scrollbar */
@media (max-width: 600px) {
    #resultPanel {
        max-height: none; /* Allow the panel to expand naturally */
        overflow-y: visible;
    }
}

#resultPanel img {
    max-width: 100%;
    height: auto;
    display: block; /* ensures no unwanted inline spacing */
}


.conversation-panel {
    display: flex;
    padding: 10px;
    margin-bottom: 10px;
    background-color: #2c2c2c;
    border-radius: 4px;
    cursor: pointer;
}

.conversation-icon {
    flex-shrink: 0;
    margin-right: 10px;
    font-size: 1.2rem;
    color: #8a2be2;
}

.conversation-details {
    flex-grow: 1;
}

@media (max-width: 600px) {
    .conversation-panel {
        padding: 8px;
        font-size: 0.9rem;
    }
}

.btn-load-more {
    background-color: #8a2be2; /* Purple background */
    color: #fff; /* White text */
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 20px auto; /* Center the button */
    display: block;
}

.btn-load-more:hover {
    background-color: #7b26cb;
    transform: translateY(-2px);
}


#conversationList {
    max-height: 95vh; /* Adjust this value as needed */
    overflow-y: auto; /* Enable vertical scrolling */
    /* Firefox scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #555 #1f1f1f;
}

    /* Chrome, Safari, Edge */
    #conversationList ::-webkit-scrollbar {
        width: 8px;
    }

    #conversationList ::-webkit-scrollbar-track {
        background: #1f1f1f;
    }

    #conversationList ::-webkit-scrollbar-thumb {
        background-color: #555;
        border-radius: 4px;
        border: 2px solid #1f1f1f; /* Adds some padding around the thumb */
    }

    #conversationList ::-webkit-scrollbar-thumb:hover {
        background-color: #888;
    }

#cvContentContainer,
#jobPostingContainer,
#preferredLocationContainer {
    display: none;
    margin-bottom: 15px;
}