/**
 * Express Entry Eligibility Canada — page-specific styles
 * Extends canada-pr.css (Raab Group palette)
 */
.ee-eligibility-page .ca-seo-link,
.ee-eligibility-page .seo-link {
  color: var(--ca-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ee-eligibility-page .ca-seo-link:hover,
.ee-eligibility-page .seo-link:hover {
  color: var(--ca-primary-dark);
}

.ee-fsw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}

.ee-fsw-item {
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.12);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(12, 45, 72, 0.05);
}

.ee-fsw-item strong {
  display: block;
  font-size: 1.75rem;
  color: var(--ca-primary);
  font-weight: 800;
  line-height: 1.1;
}

.ee-fsw-item span {
  display: block;
  font-size: 13px;
  color: var(--ca-navy);
  font-weight: 600;
  margin-top: 6px;
}

.ee-fsw-item small {
  display: block;
  font-size: 12px;
  color: #5a6b7d;
  margin-top: 4px;
}

.ee-elig-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(10, 107, 138, 0.12);
  background: #fff;
  box-shadow: 0 8px 24px rgba(12, 45, 72, 0.06);
}

.ee-elig-table {
  width: 100%;
  margin: 0;
  font-size: 14px;
}

.ee-elig-table thead th {
  background: var(--ca-navy);
  color: #fff;
  font-weight: 600;
  padding: 14px 16px;
  white-space: nowrap;
}

.ee-elig-table tbody td,
.ee-elig-table tbody th {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(10, 107, 138, 0.08);
  vertical-align: top;
  color: var(--ca-text);
}

.ee-elig-table tbody tr:last-child td,
.ee-elig-table tbody tr:last-child th {
  border-bottom: 0;
}

.ee-elig-table tbody th {
  font-weight: 600;
  color: var(--ca-navy);
  background: var(--ca-light);
  width: 28%;
}

.ee-checklist {
  display: grid;
  gap: 12px;
}

.ee-checklist-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
}

.ee-checklist-item i {
  font-size: 1.35rem;
  color: var(--ca-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.ee-checklist-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ca-navy);
  margin: 0 0 6px;
}

.ee-checklist-item p {
  font-size: 14px;
  line-height: 1.65;
  color: #31475f;
  margin: 0;
}

.ee-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.ee-process-card {
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.12);
  border-radius: 12px;
  padding: 22px;
  height: 100%;
  position: relative;
}

.ee-process-card__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ca-accent-soft);
  color: var(--ca-primary-dark);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ee-process-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ca-navy);
  margin-bottom: 8px;
}

.ee-process-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #31475f;
  margin: 0;
}

.ee-compare-banner {
  background: linear-gradient(135deg, var(--ca-navy) 0%, var(--ca-primary) 100%);
  border-radius: 14px;
  padding: 28px 32px;
  color: #fff;
}

.ee-compare-banner h3 {
  color: var(--ca-gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.ee-compare-banner p {
  margin-bottom: 12px;
  line-height: 1.75;
  opacity: 0.95;
}

.ee-compare-banner p:last-child {
  margin-bottom: 0;
}

.ee-compare-banner a {
  color: var(--ca-gold);
  font-weight: 600;
}

.ee-uae-locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.ee-uae-location-card {
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.12);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 6px 18px rgba(12, 45, 72, 0.05);
}

.ee-uae-location-card > i {
  font-size: 1.5rem;
  color: var(--ca-primary);
  margin-bottom: 10px;
  display: block;
}

.ee-uae-location-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ca-navy);
  margin-bottom: 8px;
}

.ee-uae-location-card p {
  font-size: 14px;
  line-height: 1.65;
  color: #31475f;
  margin: 0;
}

@media (max-width: 767px) {
  .ee-elig-table thead th,
  .ee-elig-table tbody td,
  .ee-elig-table tbody th {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* FSW 67-point calculator */
.fsw-calculator-block {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(10, 107, 138, 0.12);
}

.fsw-info-box {
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.15);
  border-left: 4px solid var(--ca-primary);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(12, 45, 72, 0.06);
}

.fsw-info-box h4 {
  color: var(--ca-navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.fsw-info-box ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: #5a6b7d;
  font-size: 14px;
}

.fsw-form-card {
  background: #fff;
  border: 1px solid rgba(10, 107, 138, 0.12);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(12, 45, 72, 0.1);
}

.fsw-result-card {
  text-align: center;
  margin-top: 22px;
  padding: 24px 20px;
  background: linear-gradient(135deg, var(--ca-navy) 0%, var(--ca-primary) 100%);
  border-radius: 12px;
  color: #fff;
  box-shadow: 0 8px 28px rgba(12, 45, 72, 0.2);
}

.fsw-result-card h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.fsw-result-card #fsw-result {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 6px;
  color: var(--ca-gold);
}

.fsw-result-card #fsw-result-max {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 10px;
}

.fsw-status-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.fsw-status-badge--pass {
  background: rgba(46, 204, 113, 0.25);
  color: #b8f5c8;
  border: 1px solid rgba(46, 204, 113, 0.5);
}

.fsw-status-badge--fail {
  background: rgba(255, 193, 7, 0.2);
  color: #ffeaa7;
  border: 1px solid rgba(255, 193, 7, 0.45);
}

.fsw-result-card #fsw-message {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.fsw-result-card.crs-result-card {
  position: relative;
  overflow: hidden;
}

.fsw-result-card.crs-result-card--pending {
  background: linear-gradient(135deg, var(--ca-navy) 0%, var(--ca-primary) 100%);
}

.fsw-result-card .crs-result-reveal #fsw-result {
  font-size: 3rem;
  animation: crs-score-in 0.6s ease 0.15s both;
}

.fsw-calculator-block--revealed .crs-breakdown-wrap--locked::after {
  display: none;
}

@keyframes crs-score-in {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.fsw-field {
  margin-bottom: 18px;
}

.fsw-field label {
  display: block;
  font-weight: 700;
  color: var(--ca-navy);
  margin-bottom: 8px;
  font-size: 14px;
}

.fsw-field label span {
  color: var(--ca-primary);
}

.fsw-field input[type="range"] {
  width: 100%;
  accent-color: var(--ca-primary);
}

.fsw-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(10, 107, 138, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--ca-navy);
  background: #fff;
}

.fsw-field select:focus {
  border-color: #47b2e4;
  outline: none;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, 0.2);
}

.fsw-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.fsw-checks label {
  font-weight: 500;
  color: #5a6b7d;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.fsw-checks input[type="checkbox"] {
  accent-color: var(--ca-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

.fsw-checks-group {
  margin-top: 4px;
}

.fsw-checks-group > label.fsw-checks-group__title {
  font-weight: 700;
  color: var(--ca-navy);
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.fsw-disclaimer {
  font-size: 12px;
  color: #5a6b7d;
  margin-top: 16px;
  line-height: 1.5;
}

.fsw-disclaimer a {
  color: var(--ca-primary);
  font-weight: 600;
}
