/* Cartesia AI - Custom Ashby Careers Page Styling */

:root {
  --fontFamily: "Berkeley Mono", "Roboto Mono", "SF Mono", "Courier New", monospace;
  --fontFamilySerif: "GT Sectra", Georgia, "Times New Roman", serif;
  --borderRadiusContainer: 4px;
  --borderRadiusControl: 4px;
  --borderRadiusButton: 4px;
  --borderWidthBold: 2px;
  --widthMaxJobBoard: 1200px;
  --colorAppBackground: #ffffff;
  --colorPrimary900: #000000;
  --colorPrimary600: #181818;
  --colorNegative200: #fce8e8;
  --colorPositive200: #eafcec;
  --colorWarning800: #8c6d1f;
  --colorWarning600: #f4ca64;
  --colorNegative600: #dc3030;
  --colorPositive600: #29b458;
  --colorWarning900: #5c4813;
}

.ashby-application-form-container {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
  padding: 2rem;
  font-family: var(--fontFamily);
}

.ashby-application-form-failure-container {
  background-color: #fce8e8;
  border-left: 2px solid #dc3030;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: #991b1b;
  font-family: var(--fontFamily);
  font-size: 0.875rem;
}

.ashby-application-form-field-entry {
  margin-bottom: 1.5rem;
}

.ashby-application-form-question-description {
  color: #666666;
  font-size: 0.813rem;
  margin-top: 0.25rem;
  line-height: 1.5;
  font-family: var(--fontFamily);
}

.ashby-application-form-question-title {
  color: #181818;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
textarea,
select {
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 0.625rem 0.75rem;
  font-size: 0.938rem;
  width: 100%;
  transition: all 0.15s ease;
  background-color: white;
  color: #181818;
  font-family: var(--fontFamily);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #181818;
  box-shadow: 0 0 0 1px #181818;
}

.ashby-application-form-section-container {
  margin-bottom: 2.5rem;
}

.ashby-application-form-section-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #181818;
}

.ashby-application-form-section-header-description {
  color: #666666;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  line-height: 1.6;
  font-family: var(--fontFamily);
}

.ashby-application-form-section-header-title {
  color: #181818;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: var(--fontFamilySerif);
}

.ashby-application-form-submit-button {
  background: #181818;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.938rem;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  margin-top: 1rem;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ashby-application-form-submit-button:hover {
  background: #000000;
}

.ashby-application-form-submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ashby-application-form-success-container {
  background: #eafcec;
  border-left: 2px solid #29b458;
  padding: 1.5rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  color: #065f46;
  font-weight: 500;
  font-family: var(--fontFamily);
  font-size: 0.875rem;
}

.ashby-department-heading {
  color: #181818;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #181818;
  letter-spacing: -0.01em;
  font-family: var(--fontFamilySerif);
}

.ashby-department-heading-level {
  color: #181818;
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ashby-job-board-filter {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 0.875rem;
  color: #181818;
  background-color: white;
  transition: all 0.15s ease;
  cursor: pointer;
  font-family: var(--fontFamily);
}

.ashby-job-board-filter:focus {
  outline: none;
  border-color: #181818;
  box-shadow: 0 0 0 1px #181818;
}

.ashby-job-board-filter:hover {
  border-color: #181818;
}

.ashby-job-board-heading {
  color: white;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  background: #181818;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid #000000;
  font-family: var(--fontFamilySerif);
}

.ashby-job-board-heading-count {
  color: #cccccc;
  font-size: 0.875rem;
  font-weight: 400;
  margin-top: 0.375rem;
  display: block;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ashby-job-posting-brief {
  background: white;
  border: 2px solid #181818;
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.ashby-job-posting-brief:hover {
  background: #fafafa;
}

.ashby-job-posting-brief:first-child {
  margin-top: 1rem;
}

.ashby-job-posting-brief-department-heading {
  display: inline-block;
  background: #181818;
  color: white;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ashby-job-posting-brief-department-heading-level {
  display: inline-block;
  background: #f5f5f5;
  color: #666666;
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-left: 0.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--fontFamily);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ashby-job-posting-brief-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.813rem;
  color: #666666;
  font-family: var(--fontFamily);
}

.ashby-job-posting-brief-list {
  max-width: 1200px;
  margin: 0 auto;
}

.ashby-job-posting-brief-title {
  color: #181818;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-decoration: none;
  display: block;
  transition: color 0.15s ease;
  font-family: var(--fontFamilySerif);
  letter-spacing: -0.01em;
}

.ashby-job-posting-brief-title:hover {
  color: #000000;
}

.ashby-job-posting-heading {
  color: #181818;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  font-family: var(--fontFamilySerif);
}

.ashby-survey-form-container {
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .ashby-job-board-heading {
    font-size: 1.5rem;
    padding: 1.25rem 1rem;
  }
  
  .ashby-job-posting-brief {
    padding: 1.25rem;
  }
  
  .ashby-department-heading {
    font-size: 1.25rem;
  }
  
  .ashby-application-form-container {
    padding: 1.5rem;
  }
}