/* ==========================================================================
   INFINITIX INFOTECH - CAREERS PAGE COMPONENT STYLES (career.css)
   ========================================================================== */

/* Section 2: Why Work With Us Cards */
.career-perk-card {
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 2rem 1.75rem;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.career-perk-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #60a5fa, #06b6d4);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.career-perk-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.2);
}

.career-perk-card:hover::before {
  opacity: 1;
}

.perk-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  transition: all 0.35s ease;
}

.career-perk-card:hover .perk-icon-box {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Section 3: Job Cards */
.job-card {
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 22px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.job-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(59, 130, 246, 0.25);
}

.job-type-pill {
  padding: 0.25rem 0.8rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.job-type-fulltime {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.job-type-parttime {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.job-type-remote {
  background: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.job-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.75rem 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.job-meta-item i {
  color: #60a5fa;
}

.job-skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.job-skill-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.2rem 0.65rem;
  border-radius: 8px;
}

/* Section 4: Hiring Process Timeline */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #3b82f6, #06b6d4, #10b981);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .process-timeline::before {
    display: none;
  }
}

.timeline-step-card {
  position: relative;
  z-index: 2;
  background: var(--glass-bg, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  border-radius: 20px;
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all 0.35s ease;
  height: 100%;
}

.timeline-step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(59, 130, 246, 0.2);
}

.step-num-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  border: 3px solid #0b0f19;
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

/* Section 5: Application Form */
.application-form-glass {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 28px;
  padding: 3rem 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 130, 246, 0.15);
}

@media (max-width: 575.98px) {
  .application-form-glass {
    padding: 2rem 1.25rem;
  }
}

.form-label-custom {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.form-control-custom,
.form-select-custom {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.form-control-custom:focus,
.form-select-custom:focus {
  background: rgba(255, 255, 255, 0.07);
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
  color: #ffffff;
  outline: none;
}

.form-select-custom option {
  background: #0f172a;
  color: #ffffff;
}

.file-upload-box {
  border: 2px dashed rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.04);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.file-upload-box:hover,
.file-upload-box.dragover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.08);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.btn-submit-app {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: none;
  width: 100%;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.3s ease;
}

.btn-submit-app:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
  color: #ffffff;
}

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

/* Success / Alert Toast Modal */
.app-alert-toast {
  position: fixed;
  top: 100px;
  right: 30px;
  z-index: 9999;
  max-width: 420px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: none;
  animation: slideInRight 0.4s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
