/* Reset and base styles */
:root {
    --primary-color: #000;
    --secondary-color: #666;
    --accent-color: #f5ba31;
    --background-color: #fff;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.centered-container {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Navigation */

header {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        line-height: 1.6;
        color: var(--primary-color);
        background-color: var(--background-color);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    width: 100%;
    max-width: 1200px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
        text-decoration: none;
        background-color: #000000;
        color: #fff;
        width: 37px;
        height: 37px;
        min-width: 37px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4em;
        border-radius: 5px;
        margin-right: 20px;
}

.nav-links a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.hero-buttons {
    display: flex;
    gap: 0.5rem;
}

.get-started-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 120px;
    text-decoration: none;
}

.join-with-oauth-btn {
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    min-width: 120px;
}

.oauth-logo {
    width: 18px;
    height: 18px;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.join-with-oauth-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

/* Main Content */
main {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}

/* Reviews Section */
.reviews-container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
}

.review {
    text-align: center;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.review p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    padding: 2rem 0 4rem;
}

.hero-left {
    flex: 1;
    text-align: left;
    padding-top: 2rem;
}

.hero-right {
    flex: 1;
}

.hero-content {
    max-width: 100%;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.hero-content .highlight {
    color: var(--accent-color);
}

.hero-description {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Demo Container */
.demo-container {
    width: 352px;
    margin: 0 auto;
}

.job-description {
    width: 352px;
    font-size: 14px;
    color: #000;
    margin-bottom: 20px;
    min-height: 40px;
}

.job-description-label {
    font-weight: bold;
}

.resume-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 352px;
    height: 266px;
    padding: 34px 36px;
    border-radius: 15px;
    border: 1px solid #d9d9d9;
    background: #fff;
    position: relative;
}

.resume-box::before {
    content: '';
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -1px;
    height: 50px;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.8) 40%,
            rgba(255, 255, 255, 1) 100%);
    z-index: 1;
}

.resume-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.272px;
    margin: 0;
}

.resume-subtitle {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.238px;
    color: var(--secondary-color);
    margin: 0;
}

.resume-bullets {
    padding-left: 20px;
    margin: 0;
    font-size: 14px;
    letter-spacing: -0.238px;
}

.resume-bullets li {
    margin-bottom: 6px;
    list-style-type: disc;
}

/* Company Logos */
.trusted-by {
    margin: 2rem 0 4rem;
    opacity: 0.6;
}

.company-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    align-items: center;
    flex-wrap: nowrap;
}

.logos {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos img {
    width: auto;
    height: 20px;
    object-fit: contain;
}

/* Features Section */
.features {
    padding: 4rem 0;
}

.coming-soon p {
    color: #C9C9C9 !important;
}

.coming-soon h3 {
    color: #C9C9C9 !important;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-icon {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
}


.feature-card p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}



/* Value Proposition */
.value-prop {
    padding: 4rem 0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.value-prop h2 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.value-prop p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.value-prop .highlight {
    color: var(--accent-color);
}

/* Pricing Section */
.pricing {
    padding: 0 0 4rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    padding: 1.5rem;
    border: 1px solid #eee;
    background: #F6F4F3;
    flex-shrink: 0;
    border-radius: var(--border-radius);
}

.pricing-card h3 {
    font-size: 1rem;
    font-weight: bold;
}

.price {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.price-plus-vat {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.get-started-pricing-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    width: 100%;

}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.features-list li {
    margin: 0.5rem 0;

}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Footer */
footer {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    width: 100%;
    padding: 2rem;
    margin-top: auto;
    text-wrap: balance;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
}

/* Highlight */
.highlight {
    color: var(--accent-color);
}

.resume-box .highlight,
.job-description .highlight {
    background-color: #F1CB72;
    padding: 0 2px;
    border-radius: 2px;
    color: inherit;
}

/* Caret Animation */
.caret {
    display: inline-block;
    border-right: 2px solid black;
    margin-left: 2px;
    animation: blink-caret 0.8s infinite step-end alternate;
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-description {
        text-align: center;
        max-width: 100%;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .hero-left, .hero-right {
        flex: none;
        width: 100%;
    }

    .hero-buttons {
        align-items: center;
        flex-direction: column;
        gap: 1rem;
    }

    .get-started-btn {
        width: 100%;
        max-width: 300px;
    }

    .join-with-oauth-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.5rem 0.5rem;
        line-height: normal;
    }

    .navbar-right {
        gap: 0.5rem;
    }

    .nav-links {
        display: none;
    }

    .demo-container {
        width: 100%;
    }

    .resume-box {
        width: 100%;
        padding: 1rem;
    }

    .company-logos {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .reviews-container {
        align-items: center;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 1rem;
    }

    .footer-links-lg-only {
        display: none;
    }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

a {
  color: black;
}

.navbar-logo {
  max-width: 45px;
}

.logo {
  text-decoration: none;
  background-color: #000000;
  color: #fff;
  width: 37px;
  height: 37px;
  min-width: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4em;
  border-radius: 5px;
  margin-right: 20px;
}

.logo:hover {
  color: #fff;
}

/* Other styles */

.file-upload-input {
  display: none;
}

.action-button {
  padding: 14px 40px;
  width: 100%;
  border-radius: 8px;
  transition: all 0.2s;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.action-button-light {
  width: 100%;
  padding: 14px 30px;
  border: solid 1px #e0e0e0;
  background-color: #f5f5f5;
  color: #333;
  border-radius: 8px;
}

.action-button-light:hover {
  background-color: #e9e9e9;
}

.upload-button-text, .continue-button, .buy-button {
  font-size: 15px;
  align-items: center;
  gap: 8px;
}

.buy-button {
  width: 250px;
}

.icon-green-checkmark {
  max-width: 10%;
}

.file-upload-success {
  border: none;
  background-color: #f8f9fa;
  color: #28a745;
  padding: 10px 15px;
  border-radius: 8px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Resume form specific styles */
#resume-file-matching-form {
  padding: 30px 0;
}

#resume-file-matching-form h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
}

#resume-file-matching-form p {
  color: #666;
  margin-bottom: 25px;
  font-size: 15px;
}

.job-description-card {
  @media (min-width: 767px) {
    margin-top: 70px;
  }
}

#resume-file-matching-form label {
  font-weight: 500;
  color: #333;
  margin-bottom: 5px; /* Reduced spacing */
  display: inline-block;
}

#resume-file-matching-form .text-danger {
  margin-left: 3px;
  display: inline-block;
}

/* Upload button improvements */
#upload-button-container {
  background-color: #000;
  color: #fff !important; /* Force white text */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

#upload-button-text {
  color: #fff !important; /* Ensure text is white */
}

#upload-button-container:hover {
  background-color: #333;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  margin-left: 8px;
}

/* utils */
.checkout-card {
  width: 19rem;
  height: 23rem;
  margin-bottom: 4rem;
}

.checkout-card-img-top {
  background-color: #eee;
}

.checkout-item-image {
  padding: 1rem;
  max-width: 10rem;
}

.checkout-cards-row {

}


.plan-card_title {
  font-weight: bold;
}

.get-started-button {
  padding: 10px 40px;
  width: 100%;
  height: 3rem;
  font-weight: bold;
  font-size: 0.9rem;
  background-color: white;
  border-radius: 10px;

  -webkit-box-shadow: 1px 6px 22px -21px rgba(66, 68, 90, 0.87);
  -moz-box-shadow: 1px 6px 22px -21px rgba(66, 68, 90, 0.87);
  box-shadow: 1px 6px 22px -21px rgba(66, 68, 90, 0.87);
}

.plan-card_items {
  padding-top: 0.8rem;
  padding-left: 1rem;
  font-size: 0.9rem;
}

.contact-us-button {
  min-width: 12rem;
  max-width: 15rem;
}

.question-button {
  min-width: 10rem;
  max-width: 12em;
}

.bg-grey {
  background-color: #F6F4F3;
}

.home-section {
  min-height: 15rem;
  padding-top: 8rem
}

.home-top-section {
  min-height: 20rem;
  padding-top: 10rem;

  margin-top: 10rem;
  margin-bottom: 10rem;
}

.btn-checkbox-label {
  width: 100%;
  cursor: pointer;
}

.form-check-container {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: black;
  border-color: black;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.card-title {
  font-size: 1.5em;
  font-weight: bold;
}

.form-control {
  border-radius: 8px;
  margin-bottom: 10px; /* Reduced from 15px */
  padding: 10px 15px; /* Reduced from 12px */
  border: 1px solid #e0e0e0;
  font-size: 15px;
}

.form-control:focus {
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
  border-color: #999;
}

.nav-item:hover > .nav-link {
  color: #222;
}

/* Resume Builder Form Styles */
.nav-tabs .nav-link {
  color: #666;
  border: none;
  padding: 10px 20px;
  font-weight: 500;
}

.nav-tabs .nav-link.active {
  color: #000;
  background-color: transparent;
  border-bottom: 2px solid #000;
}

.nav-tabs {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

textarea.form-control.text-area-long {
  min-height: 180px;
}

textarea.form-control.text-area-short {
  min-height: 100px;
}

/* Specifically for job description textarea */
#resume-file-matching_job_description {
  min-height: 180px;
}

.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-weight: 500;
}

.btn-secondary:hover {
  background-color: #e9e9e9;
  color: #222;
}

.remove-section {
  color: #aaa;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
}

.remove-section:hover {
  /* Darker grey #trustme */
  filter: brightness(0) saturate(100%) invert(73%) sepia(0%) saturate(2641%) hue-rotate(142deg) brightness(96%) contrast(80%);
}

.btn-dark {
  background-color: #000;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-dark:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-sm.btn-dark {
  font-size: 12px;
  padding: 7px 15px;
}

.btn-outline-dark {
  background-color: #fff;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 14px;
  transition: all 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-outline-dark:hover {
  background-color: #ccc;
  color: black;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pdf-buttons {
  bottom: 40px;
}

/* Submit button specific styling */
#resume-file-matching-form input[type="submit"] {
  min-width: 200px;
  padding: 14px 40px;
  position: sticky;
  bottom: 20px;
  float: right;
}

/* Container spacing for form sections */
#resume-file-matching-form .container {
  margin-bottom: 70px;
  position: relative;
}

/* Fix for floating submit button container */
.row.justify-content-end {
  clear: both;
  position: relative;
  padding-top: 20px;
}

/* Group sections for work experience and education */
.group-section {
  position: relative;
}

.group-section .card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
}

.group-section .card-body {
  padding: 18px 20px;
  padding-top: 12px; /* Extra padding on top to accommodate the X button */
}

/* Enhanced form field styles */
.form-label {
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  font-size: 15px;
}

/* Improve card sections */
.card-body {
  padding: 18px 20px; /* Reduced from 25px */
}

/* Work experience and education sections */
#new-resume-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

#drop_zone {
  width: 100%;
  border-radius: 8px;
  border: 1px dashed #ccc;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  min-height: 150px;
  transition: all 0.2s;
}

#drop_zone.disabled {
  background-color: #f5f5f5;
  border: 1px dashed #e0e0e0;
  cursor: not-allowed;
  opacity: 0.7;
}

.preview-back-arrow {
  text-decoration: none;
  color: #aaa;
  font-size: 28px;
}

.preview-back-arrow:hover {
  color: #636363;
}

.log-out-button {
  text-decoration: none;
  color: #aaa;
  font-size: 14px;
}

.log-out-button:hover {
  color: #636363;
}

/* Make form responsive */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }

  .col-md-6 {
    width: 100%;
    margin-bottom: 30px;
  }

  .btn-dark {
    width: 100%;
  }

  .btn-outline-dark {
    width: 100%;
    margin-top: 10px;
  }

  .btn-sm.btn-dark {
    width: auto;
  }

  .pdf-buttons {
    bottom: 40px;
  }

  #resume-file-matching-form input[type="submit"] {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  .card-body {
    padding: 20px 15px;
  }

  #resume-file-matching-form h2 {
    font-size: 20px;
  }

  #new-resume-section h3 {
    font-size: 18px;
  }

  .pdf-buttons {
    bottom: 10px;
  }

  /* Ensure the button is fully sticky on mobile */
  #resume-file-matching-form input[type="submit"] {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: calc(100% - 40px);
    margin: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  /* Add bottom padding to container to prevent button overlap */
  #resume-file-matching-form .container {
    padding-bottom: 80px;
  }

  .join-with-oauth-btn {
    max-width: unset;
  }
}

.ats-resume-template-banner {
  padding: 15px;
  margin-bottom: 1rem;
}

.btn-linkedin {
  background-color: #0a66c2;
  color: white;
}

.join-with-oauth-btn {
    background-color: white;
    text-decoration: none;
    border: 1px solid #ccc;
}

.join-with-oauth-btn:hover {
    color: #000;
}

.oauth-logo {
    width: 18px;
    height: 18px;
}

.btn:hover {
  color: #ccc;
}

.plus-vat {
  font-size: 0.4em;
  color: #aaa;
  font-weight: 400;
}

 .loading-container {
   text-align: center;
   padding: 20px;
 }

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
  margin: 0 auto 20px;
}

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