@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Calibri", Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.4;
  color: #333;
  background-color: #f8f9fa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Calibri", Arial, sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #343a40;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 0.5rem;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.25rem;
}

a {
  color: #4a6fdc;
  text-decoration: none;
}
a:hover {
  color: rgb(35.2430555556, 72.5, 182.2569444444);
  text-decoration: underline;
}

hr {
  border: none;
  height: 1px;
  background-color: #dee2e6;
  margin: 1.5rem 0;
}

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

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.resume-preview-container .tailored-resume-content,
.resume-preview-container .tailored-resume-content * {
  line-height: inherit;
  font-family: "Calibri", Arial, sans-serif;
  box-sizing: border-box;
}

.tailored-resume-content {
  width: 8.27in;
  max-width: 100%;
  background-color: #ffffff;
  font-family: "Calibri", Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.2;
  color: #333;
}

.contact-section {
  text-align: center;
}
.contact-section p {
  line-height: 1.2;
}
.contact-section .name {
  font-size: 2rem;
  font-weight: 700;
  color: #343a40;
}

.contact-divider {
  border: none;
  height: 1px;
  background-color: #343a40;
  width: 90%;
}

.section-box, .position-bar .role-box {
  background: transparent;
  color: #4a6fdc;
  border: 2px solid #4a6fdc !important;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: block;
  width: auto;
  text-align: left;
  font-size: 11pt;
  line-height: 1.4;
  break-inside: avoid;
  break-after: avoid;
}

.position-bar {
  background: #FFFFFF;
  break-inside: avoid;
  page-break-inside: avoid;
}
.position-bar .role-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1 1 100%;
  box-sizing: border-box;
  border-color: var(--roleBox-borderColor, var(--sectionBox-borderColor, #4A6FDC));
  border-width: calc(var(--roleBox-borderWidth, 1) * 1px + 0px);
  color: var(--roleBox-textColor, #333333);
  border-radius: calc(var(--roleBox-borderRadius, 0.5) * 1px + 0px);
  background-color: var(--roleBox-backgroundColor, transparent);
  hyphens: manual;
}
.position-bar .role-box .role {
  font-weight: bold;
  flex-grow: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.position-bar .role-box .dates {
  font-style: italic;
  white-space: nowrap;
}
@media (prefers-color-scheme: dark) {
  .position-bar .role-box {
    background: transparent;
    border-color: currentColor;
    color: inherit;
  }
  .position-bar .role-box .dates {
    color: inherit;
  }
}
@media print {
  .position-bar .role-box {
    line-height: 1.1;
  }
}
.position-bar .role,
.position-bar .company-name,
.position-bar .institution,
.position-bar .project-title,
.position-bar .degree,
.position-bar .dates,
.position-bar .location {
  font-weight: 700;
}
.position-bar .location, .position-bar .dates {
  font-style: normal;
  font-weight: 700;
  color: #6c757d;
  text-align: right;
}

.job .job-title-line, .job .education-title-line, .job .project-title-line, .job .degree-line, .job .position-line, .education .job-title-line, .education .education-title-line, .education .project-title-line, .education .degree-line, .education .position-line, .project .job-title-line, .project .education-title-line, .project .project-title-line, .project .degree-line, .project .position-line {
  display: flex;
  justify-content: space-between;
}
.job .company, .job .institution, .job .project-title, .job .position, .job .degree, .education .company, .education .institution, .education .project-title, .education .position, .education .degree, .project .company, .project .institution, .project .project-title, .project .position, .project .degree {
  font-weight: 700;
  color: #6c757d;
}
.job .location, .job .dates, .education .location, .education .dates, .project .location, .project .dates {
  font-style: italic;
  color: #343a40;
  text-align: right;
}
.job .job-content .role-description-text, .job .education-content .role-description-text, .job .project-content .role-description-text, .education .job-content .role-description-text, .education .education-content .role-description-text, .education .project-content .role-description-text, .project .job-content .role-description-text, .project .education-content .role-description-text, .project .project-content .role-description-text {
  font-style: italic;
  color: #555;
  display: block;
  width: 100%;
}
.job .job-content ul, .job .education-content ul, .job .project-content ul, .education .job-content ul, .education .education-content ul, .education .project-content ul, .project .job-content ul, .project .education-content ul, .project .project-content ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
.job .job-content li, .job .education-content li, .job .project-content li, .education .job-content li, .education .education-content li, .education .project-content li, .project .job-content li, .project .education-content li, .project .project-content li {
  /* translator-keep: bullet-indent */
  padding-left: 1em;
  /* translator-keep: hanging-indent */
  text-indent: -1em;
  line-height: 1.2;
}
.job .job-content li::before, .job .education-content li::before, .job .project-content li::before, .education .job-content li::before, .education .education-content li::before, .education .project-content li::before, .project .job-content li::before, .project .education-content li::before, .project .project-content li::before {
  content: "• ";
  color: #343a40;
  font-weight: normal;
}

ul.bullets {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
ul.bullets li {
  /* translator-keep: bullet-indent */
  padding-left: 1em;
  /* translator-keep: hanging-indent */
  text-indent: -1em;
  line-height: 1.2;
}
ul.bullets li::before {
  content: "• ";
  color: #343a40;
  font-weight: normal;
}

.skills-content p, .skills-content ul {
  margin-bottom: 0;
}
.skills-content ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}
.skills-content li {
  /* translator-keep: bullet-indent */
  padding-left: 1em;
  /* translator-keep: hanging-indent */
  text-indent: -1em;
  line-height: 1.2;
}
.skills-content li::before {
  content: "• ";
  color: #343a40;
  font-weight: normal;
}

.bullets li {
  break-inside: avoid;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --primary-color: #4a6fdc;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --ai-color: #8a2be2;
  --ai-light-color: #f3eafa;
}

body {
  background-color: #f8f9fa;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Calibri", Arial, sans-serif;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  background-color: #f8f9fa;
}

.resume-container {
  max-width: 900px;
  margin: 2rem auto;
  background-color: #f8f9fa;
}

header {
  margin-bottom: 2rem;
}

.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  padding: 0.5rem 1rem;
  background-color: var(--light-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: rgb(39.375, 81, 203.625);
  border-color: rgb(39.375, 81, 203.625);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 111, 220, 0.25);
}

#uploadStatus, #jobParseStatus, #tailorStatus {
  font-size: 0.9rem;
}

.status-success {
  color: var(--success-color);
}

.status-error {
  color: var(--danger-color);
}

.status-loading {
  color: var(--info-color);
}

#jobRequirements, #userResumeParsed {
  min-height: 150px;
}

.requirement-item {
  background-color: #e9f7fe;
  border-left: 3px solid var(--info-color);
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 4px;
}

/* Scrollable sections for UI only */
.scrollable-section {
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) #f0f0f0;
}
.scrollable-section::-webkit-scrollbar {
  width: 8px;
}
.scrollable-section::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}
.scrollable-section::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
}

.user-resume-content {
  overflow: visible !important;
  max-height: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}
.user-resume-content * {
  overflow: visible !important;
  max-height: none !important;
  border: none !important;
  box-shadow: none !important;
}

#userResumeParsed {
  height: auto;
  max-height: 300px;
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.row.mb-4 .card {
  margin-bottom: 0;
  height: 100%;
}
.row.mb-4 .card .card-body {
  padding: 0;
}
.row.mb-4 .card .scrollable-section {
  max-height: 250px;
}

.job-requirements-card {
  margin-top: -10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--info-color);
}
.job-requirements-card .card-header {
  background-color: var(--info-color);
}

.resume-preview-container {
  background-color: #f8f9fa;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
}

.preview-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.tailored-resume-content {
  max-width: 210mm;
  width: 100%;
  min-height: 400px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  padding: 1cm 1cm;
  margin: 0 auto;
  font-family: "Calibri", Arial, sans-serif;
  font-size: 11pt;
  line-height: 1.4;
  color: #333;
  overflow: visible;
  page-break-inside: avoid;
  box-sizing: border-box;
}
@media (max-width: 800px) {
  .tailored-resume-content {
    max-width: 90vw;
  }
}
.tailored-resume-content * {
  box-sizing: border-box;
}

.resume-preview-content {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.preview-section {
  margin-bottom: 2rem;
}

.preview-section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.preview-text {
  margin-bottom: 0.25rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.preview-bold {
  font-weight: 600;
}

.resume-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.job-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #343a40;
  margin-bottom: 0.25rem;
  margin-top: 1rem;
}

.job-date {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .card {
    margin-bottom: 1rem;
  }
  .btn {
    padding: 0.375rem 0.75rem;
  }
  .resume-preview-content {
    max-height: 300px;
  }
  .job-requirements-card {
    margin-top: 0;
  }
  .row.mb-4 .scrollable-section {
    max-height: 200px;
  }
}
.spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spinner 1s linear infinite;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
.custom-file-upload {
  border: 1px dashed #ccc;
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  width: 100%;
  text-align: center;
  border-radius: 4px;
  background-color: var(--light-color);
}
.custom-file-upload:hover {
  background-color: rgb(233.125, 236.25, 239.375);
}

.ai-analysis-section {
  background-color: var(--ai-light-color);
  border-left: 3px solid var(--ai-color);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(138, 43, 226, 0.15);
}
.ai-analysis-section .job-section-title {
  color: var(--ai-color);
  border-bottom: 1px solid var(--ai-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.ai-analysis-section h5 {
  color: var(--ai-color);
  font-weight: 600;
  margin-top: 1rem;
}
.ai-analysis-section .badge {
  font-size: 0.7rem;
  background-color: var(--ai-color) !important;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.ai-analysis-section .requirement-list {
  margin-left: 0;
  padding-left: 1.2rem;
}
.ai-analysis-section .requirement-item {
  background-color: white;
  border-left: 2px solid var(--ai-color);
  margin-bottom: 0.5rem;
  padding: 0.4rem 0.8rem;
}

.title-with-hr {
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.item-list {
  list-style: none;
  padding: 0;
}
.item-list li {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.item-list li:hover {
  background-color: #f8f9fa;
}
.item-list li:last-child {
  border-bottom: none;
}

#resumePreview {
  background-color: #f8f9fa;
  padding: 1.5rem;
  text-align: center;
  min-height: 400px;
  overflow-x: auto;
  overflow-y: visible;
}
#resumePreview .tailored-resume-content {
  text-align: left;
}

/*# sourceMappingURL=preview.css.map */
