/* Australia SkillSelect 65+ points calculator — Ezvisa palette */
:root {
  --aus-pts-primary: #14839d;
  --aus-pts-primary-dark: #0e6678;
  --aus-pts-accent: #47b2e4;
  --aus-pts-gold: #e8a020;
  --aus-pts-green: #008751;
  --aus-pts-navy: #0c2d48;
  --aus-pts-light: #f0f6fa;
  --aus-pts-gray: #5a6b7d;
  --aus-pts-white: #ffffff;
  --aus-pts-shadow: 0 12px 40px rgba(12, 45, 72, 0.1);
  --aus-pts-radius: 12px;
}

.aus-pts-calculator-section {
  position: relative;
  background: var(--aus-pts-light);
  overflow: hidden;
}

.aus-pts-calculator-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(20, 131, 157, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 100%, rgba(0, 135, 81, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.aus-pts-calculator-section__img {
  box-shadow: var(--aus-pts-shadow);
  border: 1px solid rgba(12, 45, 72, 0.08);
  max-height: 280px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--aus-pts-radius);
}

.aus-pts-intro {
  line-height: 1.75;
  color: var(--aus-pts-gray);
}

.aus-pts-info-box {
  background: var(--aus-pts-white);
  border: 1px solid rgba(20, 131, 157, 0.15);
  border-left: 4px solid var(--aus-pts-primary);
  border-radius: var(--aus-pts-radius);
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(12, 45, 72, 0.06);
}

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

.aus-pts-info-box ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.7;
  color: var(--aus-pts-gray);
}

.aus-pts-form-card {
  background: var(--aus-pts-white);
  border: 1px solid rgba(20, 131, 157, 0.12);
  border-radius: var(--aus-pts-radius);
  padding: 28px;
  box-shadow: var(--aus-pts-shadow);
}

.aus-pts-field {
  margin-bottom: 18px;
}

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

.aus-pts-field label span {
  color: var(--aus-pts-primary);
}

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

.aus-pts-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(20, 131, 157, 0.2);
  border-radius: 8px;
  font-size: 14px;
  color: var(--aus-pts-navy);
  background: var(--aus-pts-white);
}

.aus-pts-field select:focus {
  border-color: var(--aus-pts-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, 0.2);
}

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

.aus-pts-checks label {
  font-weight: 500;
  color: var(--aus-pts-gray);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-size: 14px;
}

.aus-pts-checks input[type="checkbox"] {
  accent-color: var(--aus-pts-primary);
  margin-top: 3px;
}

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

.aus-pts-result-card h3 {
  color: var(--aus-pts-white);
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.aus-pts-result-card--pending {
  background: linear-gradient(135deg, rgba(12, 45, 72, 0.92) 0%, rgba(20, 131, 157, 0.88) 100%);
}

.aus-pts-result-card--celebrate {
  animation: aus-pts-pop 0.5s ease;
}

@keyframes aus-pts-pop {
  0% { transform: scale(0.98); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.aus-pts-result-reveal #aus-pts-result {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 10px;
  color: var(--aus-pts-gold);
  animation: aus-pts-score-in 0.6s ease 0.15s both;
}

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

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

.aus-pts-result-pending {
  text-align: center;
  padding: 8px 0;
}

.aus-pts-result-pending i {
  font-size: 2rem;
  color: var(--aus-pts-gold);
  display: block;
  margin-bottom: 8px;
}

.aus-pts-result-pending p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}

.aus-pts-congrats {
  text-align: center;
  margin-bottom: 8px;
}

.aus-pts-congrats__icon {
  font-size: 2rem;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.aus-pts-congrats__title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--aus-pts-gold);
  margin: 0 0 4px;
}

.aus-pts-congrats__sub {
  font-size: 13px;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.aus-pts-consult-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 22px;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--aus-pts-navy);
  background: var(--aus-pts-gold);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.aus-pts-consult-btn:hover {
  background: #f0b030;
  transform: translateY(-1px);
}

.aus-pts-breakdown-wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.aus-pts-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--aus-pts-white);
  border-radius: var(--aus-pts-radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(12, 45, 72, 0.06);
}

.aus-pts-breakdown-table th,
.aus-pts-breakdown-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(20, 131, 157, 0.1);
  text-align: left;
}

.aus-pts-breakdown-table th {
  background: var(--aus-pts-light);
  color: var(--aus-pts-navy);
  font-weight: 700;
}

.aus-pts-breakdown__hint {
  color: var(--aus-pts-gray);
  font-size: 13px;
}

.aus-pts-breakdown-title {
  color: var(--aus-pts-navy);
  font-weight: 700;
}

.aus-pts-breakdown-wrap--locked {
  opacity: 0.45;
  pointer-events: none;
  filter: blur(1px);
  user-select: none;
}

.aus-pts-breakdown-wrap--locked::after {
  content: "Calculate your points score above to unlock the full breakdown";
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--aus-pts-primary);
  margin-top: 10px;
}

.aus-pts-calculator-section--revealed .aus-pts-breakdown-wrap--locked::after {
  display: none;
}

.aus-pts-seo-links a {
  color: var(--aus-pts-primary);
  font-weight: 600;
}

.aus-pts-disclaimer {
  font-size: 12px;
  color: var(--aus-pts-gray);
  margin-top: 16px;
  line-height: 1.5;
}

.aus-pts-lead-panel {
  margin: 22px 0 16px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(20, 131, 157, 0.08) 0%, rgba(0, 135, 81, 0.1) 100%);
  border: 1px solid rgba(20, 131, 157, 0.18);
  border-radius: var(--aus-pts-radius);
}

.aus-pts-lead-panel__title {
  font-weight: 700;
  color: var(--aus-pts-navy);
  font-size: 14px;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aus-pts-lead-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(20, 131, 157, 0.22);
  border-radius: 8px;
  font-size: 14px;
  color: var(--aus-pts-navy);
  background: var(--aus-pts-white);
}

.aus-pts-lead-input:focus {
  border-color: var(--aus-pts-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(71, 178, 228, 0.2);
}

.aus-pts-lead-input--error {
  border-color: #c62828 !important;
  box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.12) !important;
}

.aus-pts-field-error {
  font-size: 12px;
  color: #c62828;
  margin: 6px 0 0;
  line-height: 1.4;
  font-weight: 600;
}

.aus-pts-calculate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  color: var(--aus-pts-white);
  background: linear-gradient(135deg, var(--aus-pts-primary) 0%, var(--aus-pts-green) 100%);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(20, 131, 157, 0.25);
}

.aus-pts-calculate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(20, 131, 157, 0.32);
}

.aus-pts-calculate-hint {
  font-size: 13px;
  color: var(--aus-pts-gray);
  text-align: center;
  margin: 10px 0 0;
}

.aus-pts-balloons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}

.aus-pts-balloons--active {
  opacity: 1;
}

.aus-pts-balloon {
  position: absolute;
  bottom: -20px;
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  opacity: 0;
}

.aus-pts-balloons--active .aus-pts-balloon {
  animation: aus-pts-balloon-rise 3.5s ease-in forwards;
}

.aus-pts-balloon--1 { left: 8%; background: #ff6b6b; animation-delay: 0s; }
.aus-pts-balloon--2 { left: 22%; background: #ffd93d; animation-delay: 0.2s; width: 12px; height: 16px; }
.aus-pts-balloon--3 { left: 40%; background: #6bcb77; animation-delay: 0.35s; }
.aus-pts-balloon--4 { left: 58%; background: #4d96ff; animation-delay: 0.15s; width: 16px; height: 20px; }
.aus-pts-balloon--5 { left: 72%; background: #ff85a2; animation-delay: 0.45s; }
.aus-pts-balloon--6 { left: 88%; background: #e8a020; animation-delay: 0.25s; width: 11px; height: 15px; }

@keyframes aus-pts-balloon-rise {
  0% { opacity: 0; transform: translateY(0) rotate(0deg); }
  10% { opacity: 0.9; }
  100% { opacity: 0; transform: translateY(-220px) rotate(12deg); }
}

@media (max-width: 767px) {
  .aus-pts-lead-panel { padding: 14px; }
  .aus-pts-result-reveal #aus-pts-result { font-size: 2.5rem; }
}
