/* ==========================================
   Google Cloud Style - Recruitment Page
   ========================================== */

/* ========== 隐藏顶部导航"加入我们" ========== */
.nav-link--recruit {
  display: none !important;
}
.v-list-item[href="/recruitment"].drawer-nav-item {
  display: none !important;
}

/* ========== Base ========== */
.v-application {
  background: #f8f9fa !important;
}
.v-application.theme--dark {
  background: #f8f9fa !important;
  color: #202124 !important;
}

.recruitment-app {
  min-height: 100vh;
  background: #f8f9fa;
  color: #202124;
  font-family: 'Google Sans', Roboto, Arial, sans-serif;
}

/* ========== Hero ========== */
.hero-section {
  position: relative;
  padding: 64px 0 72px;
  background: #fff;
  border-bottom: 1px solid #dadce0;
  overflow: hidden;
}

/* Google Cloud 4-color top bar */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #4285f4 0%, #34a853 33%, #fbbc04 66%, #ea4335 100%);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text-area {
  flex: 1;
  min-width: 0;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 100px;
  background: #e8f0fe;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 44px;
  font-weight: 400;
  line-height: 1.2;
  color: #202124;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-accent {
  color: #1a73e8;
  font-weight: 600;
}

.hero-desc {
  font-size: 16px;
  color: #5f6368;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 44px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-size: 28px;
  font-weight: 600;
  color: #202124;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 13px;
  color: #5f6368;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: #dadce0;
}

/* Hero Visual */
.hero-visual {
  flex: 0 0 420px;
}

.hero-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hv-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0 1px 3px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
  border: 1px solid #dadce0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hv-card:hover {
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3), 0 8px 20px 6px rgba(60,64,67,.15);
  transform: translateY(-2px);
}

.hv-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hv-card-blue   { background: #e8f0fe; }
.hv-card-green  { background: #e6f4ea; }
.hv-card-yellow { background: #fef7e0; }
.hv-card-red    { background: #fce8e6; }

.hv-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #202124;
  line-height: 1.3;
}

.hv-card-desc {
  font-size: 12px;
  color: #5f6368;
  line-height: 1.5;
}

/* ========== Jobs Section ========== */
.jobs-section {
  padding: 56px 0 80px;
  background: #f8f9fa;
}

.section-header-row {
  margin-bottom: 8px;
}

.section-title-text {
  font-size: 26px;
  font-weight: 500;
  color: #202124;
  letter-spacing: -0.25px;
}

.section-title-en {
  font-size: 14px;
  color: #80868b;
  font-weight: 400;
  margin-left: 12px;
}

.title-underline {
  width: 48px;
  height: 3px;
  background: #1a73e8;
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ========== Filter ========== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-chip-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 7px 20px;
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid #dadce0;
  color: #5f6368;
  background: #fff;
  user-select: none;
  font-weight: 500;
  line-height: 1.5;
}

.filter-chip:hover {
  border-color: #1a73e8;
  color: #1a73e8;
  background: #f8f9fa;
}

.filter-chip.active {
  background: #e8f0fe;
  color: #1a73e8;
  border-color: #1a73e8;
  font-weight: 600;
}

.search-input-wrapper {
  margin-left: auto;
  width: 240px;
}

/* ========== Job Grid ========== */
.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.job-grid-item {
  display: flex;
  align-items: stretch;
}

/* ========== Global Highlight ========== */
.equity-highlight {
  color: #1a73e8;
  font-weight: 700;
}

/* ========== Job Card ========== */
.job-card-outer {
  width: 100%;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
}

.job-card-outer:hover {
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3), 0 6px 14px 4px rgba(60,64,67,.15);
  border-color: #1a73e8;
}

.job-card-body {
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.job-card-body--list {
  min-height: 280px;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 12px;
}

.card-job-title {
  font-size: 18px;
  font-weight: 600;
  color: #202124;
  line-height: 1.4;
}

.card-job-title-en {
  font-size: 12px;
  color: #80868b;
  margin-top: 2px;
}

.card-category-badge {
  flex-shrink: 0;
  background: #e8f0fe;
  color: #1a73e8;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* Card Meta */
.card-meta-row {
  display: flex;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.card-meta-item {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: #5f6368;
}

/* Card Tags */
.card-tags-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.card-tag {
  padding: 3px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: #1a73e8;
  background: #e8f0fe;
  letter-spacing: 0.1px;
}

/* Salary */
.salary-line {
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ceead6;
  background: #f6fef8;
}

.salary-line-label {
  font-size: 11px;
  color: #80868b;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.salary-line-value {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #137333;
  line-height: 1.35;
}

.card-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f1f3f4;
  margin-top: 14px;
}

.card-footer-row--list {
  border-top: 0;
  padding-top: 14px;
  justify-content: flex-end;
}

.list-hint {
  font-size: 12px;
  color: #80868b;
}

.list-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1a73e8;
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.2s ease;
}

.job-card-outer:hover .list-cta {
  gap: 8px;
}

/* ========== Buttons ========== */
.detail-btn {
  background: #1a73e8 !important;
  color: #fff !important;
  border-radius: 4px !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25px !important;
  padding: 0 24px !important;
  height: 36px !important;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3) !important;
}

.detail-btn:hover {
  background: #1557b0 !important;
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3) !important;
}

.apply-btn {
  background: #1a73e8 !important;
  color: #fff !important;
  border-radius: 4px !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.25px !important;
  padding: 0 24px !important;
  height: 36px !important;
  box-shadow: 0 1px 2px 0 rgba(60,64,67,.3) !important;
}

.apply-btn:hover {
  background: #1557b0 !important;
  box-shadow: 0 4px 8px 0 rgba(60,64,67,.3) !important;
}

/* Compensation Note */
.compensation-note {
  margin-top: 16px;
  font-size: 12px;
  color: #80868b;
  line-height: 1.8;
}

/* ========== Site Footer ========== */
.site-footer {
  background: #fff;
  border-top: 1px solid #dadce0;
  padding: 48px 0 24px;
}

.footer-block-title {
  font-size: 15px;
  font-weight: 600;
  color: #202124;
  margin-bottom: 14px;
}

.footer-info-text {
  font-size: 13px;
  color: #5f6368;
  line-height: 2.1;
}

.footer-about-text {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.9;
}

.footer-copyright {
  font-size: 12px;
  color: #80868b;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-recruit-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #1a73e8;
  transition: color 0.15s ease;
}

.footer-recruit-link:hover {
  color: #1557b0;
}

.footer-recruit-meta {
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #80868b;
}

/* ========== Apply Dialog ========== */
.apply-dialog-card {
  background: #fff !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(60,64,67,.3) !important;
}

.dialog-header {
  padding: 24px 28px 18px;
  background: #f8f9fa;
  border-bottom: 1px solid #dadce0;
}

.dialog-title-text {
  font-size: 20px;
  font-weight: 500;
  color: #202124;
}

.dialog-subtitle-text {
  font-size: 13px;
  color: #5f6368;
  margin-top: 4px;
}

.dialog-body {
  padding: 24px 28px 8px;
  background: #fff;
}

.dialog-actions-bar {
  padding: 8px 28px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: #fff;
}

/* ========== 熟人价 Referral Banner ========== */
.referral-banner {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  padding: 12px 28px;
}

.referral-banner-inner {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.referral-banner-title {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
}

.referral-banner-desc {
  font-size: 13px;
  color: #78350f;
  line-height: 1.7;
}

.referral-banner-desc strong {
  color: #b45309;
  font-weight: 700;
}

/* ========== Upload Area ========== */
.upload-area {
  border: 1.5px dashed #dadce0;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.upload-area:hover {
  border-color: #1a73e8;
  background: #e8f0fe;
}

.upload-area-done {
  border-color: #34a853 !important;
  background: #e6f4ea !important;
}

.upload-hint {
  color: #5f6368;
  font-size: 13px;
  margin-top: 8px;
}

.upload-success {
  color: #137333;
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.upload-change-hint {
  color: #80868b;
  font-size: 12px;
  margin-top: 4px;
}

/* ========== Empty State ========== */
.empty-state {
  text-align: center;
  padding: 80px 0;
}

.empty-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #e8f0fe;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.empty-title {
  font-size: 18px;
  color: #202124;
  font-weight: 500;
  margin-bottom: 8px;
}

.empty-desc {
  font-size: 14px;
  color: #5f6368;
}

/* ========== Animations ========== */
@keyframes cardFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up { animation: cardFadeUp 0.4s ease both; }
.anim-d1 { animation-delay: 0.00s; }
.anim-d2 { animation-delay: 0.08s; }
.anim-d3 { animation-delay: 0.16s; }
.anim-d4 { animation-delay: 0.24s; }

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .hero-inner {
    flex-direction: column;
    text-align: left;
  }

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

  .hero-visual {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
  }

  .hero-title { font-size: 34px; }

  .search-input-wrapper {
    margin-left: 0;
    width: 100%;
  }

  .job-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-section { padding: 40px 0 48px; }
  .hero-title { font-size: 28px; }
  .hero-stat-num { font-size: 22px; }
  .hero-stats { gap: 20px; }
  .hero-visual-grid { gap: 12px; }

  .jobs-section { padding: 36px 0 56px; }
  .job-card-body { padding: 20px; }
  .filter-chip { font-size: 12px; padding: 6px 14px; }
  .dialog-body { padding: 16px 20px 8px; }
  .referral-banner { padding: 12px 20px; }
}
