/* ==========================================================================
   Good IT System International Co., Ltd. - Recruitment Portal Stylesheet
   ========================================================================== */

:root {
  --primary: #0284c7;         /* Deep Sky Blue */
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-dark: #0c4a6e;
  
  --navy-900: #0f172a;       /* Slate/Navy dark */
  --navy-800: #1e293b;
  --navy-700: #334155;
  
  --accent-cyan: #06b6d4;
  --accent-teal: #14b8a6;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-line: #06c755;    /* LINE Brand Green */
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-sub: #475569;
  
  --border-light: #e2e8f0;
  --border-focus: #38bdf8;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
  
  --font-heading: 'Prompt', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.text-accent { color: var(--primary); }
.text-success { color: var(--accent-green); }
.w-full { width: 100%; }
.hidden { display: none !important; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
  color: #f8fafc;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-urgent {
  background-color: #ef4444;
  color: #ffffff;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-link {
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.825rem;
}

.top-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.hr-portal-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.hr-portal-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

/* Site Header */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 74px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.logo-symbol svg {
  width: 24px;
  height: 24px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--navy-900);
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-item {
  color: var(--navy-700);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.2s ease-in-out;
}

.nav-item:hover {
  color: var(--primary);
}

.nav-item:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.55rem 1.25rem !important;
  font-size: 0.9rem !important;
}

/* Mobile Hamburger Button */
.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--navy-900);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-drawer {
  display: none;
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-item {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy-800);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy-800);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: #cbd5e1;
  color: var(--navy-900);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-hover);
}

.btn-line {
  background-color: var(--accent-line);
  color: #ffffff;
}

.btn-line:hover {
  background-color: #05b04b;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-danger {
  background: #ef4444;
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.icon-btn {
  width: 18px;
  height: 18px;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(224, 242, 254, 0.7) 0%, rgba(248, 250, 252, 1) 70%);
}

.hero-bg-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.1);
  color: var(--primary-dark);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 2.85rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-company {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--navy-800);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.highlight-pill {
  background: var(--navy-900);
  color: #ffffff;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-sub);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.meta-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.meta-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.meta-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.meta-icon svg {
  width: 20px;
  height: 20px;
}

.meta-info {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.3;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Visual Summary Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  width: 100%;
  max-width: 440px;
}

.job-summary-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.5), rgba(99, 102, 241, 0.1), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.card-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  color: #166534;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid #bbf7d0;
}

.status-indicator.online {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.job-card-title-group {
  margin-bottom: 1.5rem;
}

.company-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  font-weight: 600;
}

.job-card-title {
  font-size: 1.75rem;
  color: var(--navy-900);
  margin-top: 0.15rem;
}

.job-card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.summary-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  margin-bottom: 1.25rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-value {
  color: var(--navy-800);
  text-align: right;
}

.skills-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.mini-tag {
  background: var(--bg-card-subtle);
  color: var(--navy-700);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* Sections Common */
.section {
  padding: 5.5rem 0;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.title-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 2px;
  margin: 0.75rem auto 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background-color: #ffffff;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-emerald { background: #d1fae5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
}

.feature-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Job Details & Responsibilities */
.job-details-section {
  background-color: #f8fafc;
}

.responsibilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.resp-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.resp-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.resp-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.8;
  line-height: 1;
}

.resp-title {
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.resp-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* Qualifications Grid */
.qualifications-section {
  background-color: #ffffff;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.qual-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.qual-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.qual-badge-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-grad { background: #e0e7ff; color: #4338ca; }
.icon-tech { background: #e0f2fe; color: #0284c7; }

.qual-badge-icon svg {
  width: 26px;
  height: 26px;
}

.qual-card-title {
  font-size: 1.35rem;
  color: var(--navy-900);
}

.qual-card-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.975rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Benefits Section */
.benefits-section {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3rem;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.benefit-card.highlight-benefit {
  background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
  border-color: #bbf7d0;
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.highlight-benefit .benefit-icon {
  background: #dcfce7;
  color: #16a34a;
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
}

.benefit-name {
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-bottom: 0.5rem;
}

.benefit-detail {
  font-size: 0.925rem;
  color: var(--text-sub);
  line-height: 1.55;
}

/* Work Schedule Box */
.work-schedule-box {
  background: #ffffff;
  border: 2px solid var(--primary-light);
  border-radius: var(--radius-xl);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}

.schedule-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.schedule-icon svg {
  width: 28px;
  height: 28px;
}

.schedule-info {
  flex: 1;
}

.schedule-title {
  font-size: 1.25rem;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.schedule-desc {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.location-badge {
  display: inline-block;
  background: var(--navy-900);
  color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Skills Assessment Section */
.skills-section {
  background: #ffffff;
}

.skills-assessment-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  max-width: 960px;
  margin: 0 auto;
}

.assessment-progress-wrapper {
  margin-bottom: 2rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.progress-bar-bg {
  height: 14px;
  background: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 50%, #10b981 100%);
  border-radius: var(--radius-full);
  transition: width 0.4s ease-in-out;
}

.assessment-feedback {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

.skills-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.skill-chip {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.skill-chip:hover {
  border-color: var(--primary);
  background: #f0f9ff;
}

.skill-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
  margin-top: 3px;
}

.skill-chip:has(.skill-checkbox:checked) {
  border-color: var(--primary);
  background: #e0f2fe;
}

.chip-content {
  display: flex;
  flex-direction: column;
}

.chip-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.chip-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Application Form Section */
.application-section {
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
  padding: 5.5rem 0;
}

.form-wrapper-outer {
  max-width: 900px;
  margin: 0 auto;
}

.app-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-card-block {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.form-step-num {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.form-block-title {
  font-size: 1.3rem;
  color: var(--navy-900);
}

.form-block-sub {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.col-span-2 {
  grid-column: span 2;
}

/* Applicant Photo Upload Styles */
.photo-upload-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-main);
  border: 1.5px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0.5rem;
}

.photo-avatar-box {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-md);
  background: #e2e8f0;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.avatar-placeholder svg {
  width: 32px;
  height: 32px;
}

.photo-upload-action {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.photo-hint {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.photo-btn-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.custom-file-btn {
  cursor: pointer;
  margin: 0;
}

.hidden-input {
  display: none !important;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-800);
}

.form-label.required::after {
  content: ' *';
  color: var(--accent-rose);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy-900);
  background-color: #ffffff;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-input.is-invalid {
  border-color: var(--accent-rose);
  background-color: #fff1f2;
}

.field-error {
  font-size: 0.8rem;
  color: var(--accent-rose);
  min-height: 1rem;
}

/* Skills Checkbox Grid in Form */
.skills-instruction {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 1rem;
}

.skills-checkbox-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.form-check-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--navy-800);
  transition: var(--transition);
}

.form-check-card:hover {
  background: #f0f9ff;
  border-color: var(--border-focus);
}

.form-check-card input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

/* File Drop Area */
.file-drop-area {
  position: relative;
  border: 2px dashed #94a3b8;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  background-color: var(--bg-main);
  cursor: pointer;
  transition: var(--transition);
}

.file-drop-area:hover, .file-drop-area.dragover {
  border-color: var(--primary);
  background-color: #f0f9ff;
}

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

.drop-icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.drop-text {
  font-size: 1rem;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}

.drop-hint {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.file-preview-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-top: 0.5rem;
}

.file-info-col {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
}

.file-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.file-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-900);
}

.file-size {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-remove-file {
  background: #fee2e2;
  color: #ef4444;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-remove-file:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-remove-file svg {
  width: 16px;
  height: 16px;
}

/* Agreement & Submit Actions */
.form-actions-wrapper {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2rem 2.25rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-sub);
  cursor: pointer;
  line-height: 1.5;
}

.consent-label input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.action-buttons-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-submit-lg {
  flex: 1;
  min-width: 240px;
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* FAQ Section */
.faq-section {
  background-color: #ffffff;
}

.faq-accordion-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item[open] {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.65;
}

/* Contact Section */
.contact-section {
  background-color: #0f172a;
  color: #ffffff;
  padding: 5.5rem 0;
}

.contact-card-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-company-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.contact-desc {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.c-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.c-icon svg {
  width: 22px;
  height: 22px;
}

.c-label {
  display: block;
  font-size: 0.8rem;
  color: #94a3b8;
}

.c-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #38bdf8;
}

.c-link:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.c-text {
  font-size: 1rem;
  color: #f1f5f9;
  font-weight: 500;
}

/* Map Mockup */
.map-mockup {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.map-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.map-badge svg {
  width: 16px;
  height: 16px;
}

.map-illustration {
  height: 200px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-radar {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  animation: radarRotate 12s linear infinite;
}

@keyframes radarRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.map-pin-point {
  background: #ef4444;
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
  z-index: 2;
}

.map-footer-notes {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Footer */
.site-footer {
  background-color: #0b1120;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  font-weight: 600;
  color: #f1f5f9;
  font-size: 1rem;
}

.footer-copy a {
  color: #38bdf8;
}

.btn-back-to-top {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-back-to-top:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.btn-back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.success-icon {
  background: #dcfce7;
  color: #16a34a;
}

.success-icon svg {
  width: 36px;
  height: 36px;
}

.modal-title {
  font-size: 1.5rem;
  color: var(--navy-900);
  text-align: center;
  margin-bottom: 0.5rem;
}

.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.applicant-receipt-box {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* HR Portal Large Modal */
.hr-modal-large {
  max-width: 980px;
  padding: 2rem;
}

.hr-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
}

.btn-close-modal:hover {
  color: var(--navy-900);
}

.hr-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.hr-search-box input {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  width: 260px;
}

.hr-actions {
  display: flex;
  gap: 0.5rem;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.hr-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.hr-table th {
  background-color: var(--bg-card-subtle);
  color: var(--navy-800);
  font-weight: 600;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.hr-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--navy-900);
}

.hr-table tr:hover {
  background-color: #f8fafc;
}

.empty-state-box {
  padding: 3rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

/* Detail Modal Content */
.detail-body {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  font-size: 0.925rem;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 0.5rem;
}

.detail-label {
  font-weight: 600;
  color: var(--text-muted);
}

.detail-val {
  color: var(--navy-900);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-900);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.925rem;
  z-index: 1000;
  animation: toastSlideUp 0.3s ease;
  border-left: 4px solid var(--primary);
}

@keyframes toastSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-meta-grid {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-card-box {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.35rem;
  }

  .desktop-nav {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

  .mobile-drawer.active {
    display: block;
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-meta-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .responsibilities-grid {
    grid-template-columns: 1fr;
  }

  .qual-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .skills-checkbox-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .skills-checkbox-grid-inner {
    grid-template-columns: 1fr;
  }

  .work-schedule-box {
    flex-direction: column;
    text-align: center;
  }

  .schedule-icon {
    margin: 0 auto;
  }
}

/* Print Stylesheet for Job Application */
@media print {
  .top-bar, .site-header, .site-footer, .hero-section, .about-section, 
  .job-details-section, .qualifications-section, .benefits-section, 
  .skills-section, .faq-section, .contact-section, .btn, .modal-actions, 
  .btn-close-modal, .hr-toolbar {
    display: none !important;
  }

  body {
    background: #ffffff;
    color: #000000;
  }

  .modal-backdrop {
    position: static;
    background: transparent;
    padding: 0;
  }

  .modal-card {
    box-shadow: none;
    border: 1px solid #000000;
    max-width: 100%;
    padding: 2cm;
  }
}
