@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/**
 * @file
 * careers-detail.css - Job description & application page styling.
 * Replicates Quicko & Zoho Recruit careers experience with EasyTax branding.
 */

.et-job-page-wrap {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #334155;
  background-color: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.et-job-page-wrap * {
  box-sizing: border-box;
}

.et-job-page-wrap :is(h1, h2, h3, h4, h5, h6) {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1C3557;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 0;
  text-transform: none !important;
}

.et-job-page-wrap a {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   1. Hero Header Banner
   ========================================================================== */
.et-job-header-hero {
  position: relative;
  background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.90) 0%, rgba(28, 53, 87, 0.94) 100%), url('/themes/techprosolutions/images/careers-hero-team.jpg');
  background-size: cover;
  background-position: center 30%;
  color: #FFFFFF;
  padding: 64px 0 52px 0;
  text-align: center;
}

.et-job-header-hero--apply {
  padding: 48px 0 40px 0;
}

.et-job-header-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.et-company-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #93C5FD;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.et-job-hero-title {
  font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3.25rem);
  font-weight: 800;
  color: #FFFFFF !important;
  line-height: 1.18;
  margin-bottom: 12px;
}

.et-job-hero-meta {
  font-size: 15px;
  color: #CBD5E1;
  margin-bottom: 28px;
  font-weight: 500;
}

.et-job-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.et-btn-interested {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #16A34A;
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid #16A34A;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.4);
  cursor: pointer;
}

.et-btn-interested:hover {
  background: #15803D;
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.5);
  transform: translateY(-2px);
}

.et-btn-interested--large {
  padding: 14px 36px;
  font-size: 16px;
}

.et-btn-interested--sidebar {
  width: 100%;
}

.et-btn-share-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 22px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.et-btn-share-email:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Social Share Bar */
.et-job-share-network {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.et-share-label {
  font-size: 12.5px;
  color: #CBD5E1;
  font-weight: 500;
}

.et-share-icons-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.et-share-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.et-share-icon:hover {
  background: #16A34A;
  border-color: #16A34A;
  transform: translateY(-2px);
}

/* ==========================================================================
   2. Breadcrumbs Bar
   ========================================================================== */
.et-job-breadcrumbs-bar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 14px 0;
}

.et-breadcrumbs-track {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #64748B;
}

.et-breadcrumb-link {
  color: #2563EB;
  font-weight: 500;
}

.et-breadcrumb-link:hover {
  text-decoration: underline;
  color: #1D4ED8;
}

.et-breadcrumb-sep {
  color: #94A3B8;
  font-size: 12px;
}

.et-breadcrumb-current {
  color: #1C3557;
  font-weight: 600;
}

/* ==========================================================================
   3. Main Section & Two-Column Grid
   ========================================================================== */
.et-job-main-section {
  padding: 56px 0 88px 0;
  background: #FFFFFF;
}

.et-job-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.et-job-article-col {
  padding-right: 12px;
}

.et-job-section-heading {
  font-size: 26px;
  font-weight: 800;
  color: #1C3557;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E2E8F0;
}

.et-job-content-block {
  margin-bottom: 36px;
}

.et-job-subheading {
  font-size: 18px;
  font-weight: 700;
  color: #1C3557;
  margin-bottom: 14px;
}

.et-job-content-block p {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin: 0;
}

.et-job-bullets {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.et-job-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #475569;
}

.et-job-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #16A34A;
}

.et-job-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.et-job-skill-chip {
  font-size: 12.5px;
  font-weight: 600;
  color: #1C3557;
  background: #F1F5F9;
  padding: 5px 12px;
  border-radius: 6px;
}

.et-job-bottom-cta {
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

/* ==========================================================================
   4. Right Sticky Job Information Sidebar
   ========================================================================== */
.et-job-sidebar-col {
  position: sticky;
  top: 100px;
}

.et-job-info-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 16px -2px rgba(16, 24, 40, 0.04);
}

.et-job-info-title {
  font-size: 19px;
  font-weight: 800;
  color: #1C3557;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}

.et-job-info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
}

.et-info-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.et-info-val {
  font-size: 14.5px;
  font-weight: 700;
  color: #1C3557;
}

.et-sidebar-apply-wrap {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #E2E8F0;
}

/* ==========================================================================
   5. Application Form Page Styling (media_1790252506202.png)
   ========================================================================== */
.et-apply-form-container {
  max-width: 820px;
  margin: 0 auto;
}

.et-detailed-app-form {
  background: #FFFFFF;
}

.et-app-section {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 32px 32px 36px 32px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.et-app-section--autofill {
  background: #FAFCFF;
  border-color: #BFDBFE;
}

.et-app-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #F1F5F9;
}

.et-app-section-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1C3557;
  margin: 0;
}

.et-app-section-header p {
  font-size: 13px;
  color: #64748B;
  margin: 4px 0 0 0;
}

.et-clear-section-btn {
  background: none;
  border: none;
  color: #2563EB;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.et-clear-section-btn:hover {
  text-decoration: underline;
}

/* Resume Dropzone */
.et-resume-dropzone {
  position: relative;
  border: 2px dashed #93C5FD;
  background: #EFF6FF;
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.et-resume-dropzone:hover,
.et-resume-dropzone.dragover {
  border-color: #2563EB;
  background: #DBEAFE;
}

.et-file-hidden-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.et-dropzone-icon {
  color: #2563EB;
  margin-bottom: 10px;
}

.et-dropzone-text {
  font-size: 15px;
  color: #1E293B;
  margin: 0 0 4px 0;
}

.et-upload-link {
  color: #2563EB;
  font-weight: 700;
}

.et-dropzone-hint {
  font-size: 12.5px;
  color: #64748B;
}

.et-selected-file-name {
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: #15803D;
  background: #DCFCE7;
  padding: 4px 14px;
  border-radius: 9999px;
  display: inline-block;
  empty-cells: hide;
}

/* Fields Grid */
.et-app-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.et-field-group--full {
  grid-column: 1 / -1;
}

.et-field-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #1C3557;
  margin-bottom: 6px;
}

.et-field-group label .req {
  color: #EF4444;
}

.et-input-control {
  width: 100%;
  padding: 12px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: #1C3557;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.et-input-control:focus {
  outline: none;
  border-color: #16A34A;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.et-phone-prefix-wrap {
  display: flex;
  align-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  overflow: hidden;
  background: #FFFFFF;
}

.et-country-prefix {
  padding: 0 12px;
  background: #F1F5F9;
  border-right: 1px solid #CBD5E1;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  height: 46px;
  display: flex;
  align-items: center;
  user-select: none;
}

.et-input-phone {
  border: none !important;
  box-shadow: none !important;
  height: 46px;
}

/* Error Banner */
.et-app-error-banner {
  background: #FEF2F2;
  border: 1px solid #F87171;
  color: #DC2626;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

/* Form Actions */
.et-app-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 40px;
}

.et-btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  color: #64748B !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  cursor: pointer;
}

.et-btn-cancel:hover {
  background: #F8FAFC;
  color: #0F172A !important;
}

.et-btn-submit-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #16A34A;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.35);
  transition: all 0.2s ease;
}

.et-btn-submit-app:hover {
  background: #15803D;
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.45);
  transform: translateY(-1px);
}

.et-btn-submit-app:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success View */
.et-apply-success-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  margin-bottom: 48px;
}

.et-apply-success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.et-apply-success-title {
  font-size: 26px;
  font-weight: 800;
  color: #1C3557;
  margin-bottom: 12px;
}

.et-apply-success-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 28px auto;
}

.et-apply-success-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Bottom Navigation */
.et-apply-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #64748B;
  padding-bottom: 24px;
}

.et-apply-bottom-nav a {
  color: #2563EB;
}

.et-apply-bottom-nav a:hover {
  text-decoration: underline;
}

.et-apply-bottom-nav .dot {
  color: #94A3B8;
}

/* Responsive */
@media (max-width: 860px) {
  .et-job-layout-grid {
    grid-template-columns: 1fr;
  }

  .et-job-sidebar-col {
    position: static;
  }

  .et-app-fields-grid {
    grid-template-columns: 1fr;
  }

  .et-app-section {
    padding: 24px 20px;
  }
}
