/* === GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #f8f9fa;
  transition: background-image 0.6s ease-in-out;
}

.bg-layer {
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: -2;
}

.bg-top {
  z-index: -1;
  opacity: 1;
}

/* Lås sidans scroll när meny är öppen */
body.menu-open {
  overflow: hidden;
}

/* Säkerställ lagerordning */
.hamburger {
  z-index: 1100;
}

/* överst */
.nav-links {
  z-index: 1090;
}

hr {
  border: 1px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.3rem 0 0.5rem 0;
}

/* över overlay */

/* === HEADER / LOGO / NAVIGATION === */
/* --- Logotyp och text --- */
.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 26px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
  color: #3fc1ff;
  padding-left: 30px;
}

.logo-bg {
  position: absolute;
  left: 15px;
  /* skjuter in loggan 50px åt vänster */
  opacity: 1;
  z-index: 0;
  width: 47px;
  height: 55px;
}

.logo-text {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 700;
  color: #3fc1ff;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(63, 193, 255, 0.5);
}

/* --- Navigering --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background: rgba(13, 27, 42, 0.9);
  transition: background-color 0.4s ease;
}

.navbar.solid {
  background: rgba(13, 27, 42, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


/* --- Navigationslänkar --- */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #dbe2ef;
  font-weight: 500;
  padding: 0.6rem 1rem;
  display: block;
  border-radius: 4px;
  position: relative;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* === FIX: Hover-effekten (ljus klickyta) === */
.nav-links a:hover {
  background-color: rgba(219, 226, 239, 0.15);
  color: #ffffff;
}

.nav-links a.active {
  background-color: rgba(63, 193, 255, 0.2);
  color: #3fc1ff;
}

/* Dimma bakom öppet mobilmeny */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

main {
  padding-top: 70px;
  /* flytta ner hela panelblocket så första börjar under menyn */
}

#utbildning,
#teknik,
#konsult,
#partnering,
#case {
  scroll-margin-top: 95px;
  /* höjd på din toppmeny */
}

/* === SPRÅKVAL DROPDOWN === */
.language-selector {
  position: fixed;
  bottom: 10px;
  left: 15px;
  z-index: 2000;
}

#language-select {
  background: rgba(13, 27, 42, 0.7);
  color: #3fc1ff;
  border: 1px solid rgba(63, 193, 255, 0.4);
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

#language-select:hover {
  /*background: rgba(13, 27, 42, 0.5);*/
  color: #ffffff;
}

/* === PANELS === */
.panel {
  min-height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3rem;
  text-align: center;
  position: relative;

}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 27, 42, 0.55);
  z-index: 0;
}

.panel .content-box {
  position: relative;
  z-index: 1;
  max-width: 900px;
  animation: fadeInUp 1.2s ease forwards;
  background: rgba(0, 0, 0, 0.3);
  /* lätt mörkning bakom texten */
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.panel h1,
.panel h2,
.panel h3 .panel h4 {
  font-family: "Montserrat", sans-serif;
  margin-bottom: 1.6rem;

}

.panel h1 {
  font-size: 2.8rem;
  color: #3fc1ff;
}

.panel h2 {
  font-size: 2.2rem;
  color: #3fc1ff;
}

.panel h3 {
  font-size: 1.3rem;
  color: #3fc1ff;
  text-align: center;
  font-style: italic;

}

.panel h4 {
  font-size: 1.3rem;
  color: #3fc1ff;
  text-align: center;
  margin-bottom: 10px;
}

.panel p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #dbe2ef;
}

/* === BUTTONS === */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  /* ändrat från inline-block */
  align-items: center;
  /* vertikal centrering */
  justify-content: center;
  /* horisontell centrering */
  /* mellanrum mellan ikon och text */
  padding: 0.8rem 2rem;
  margin: 0 auto;
  /* centrerar hela knappen i sin container */
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {

  background: #3fc1ff;
  color: #0d1b2a;
  border: none;
  margin: 7px 7px;
  /* 10px mellanrum mellan knapparna */

}

.btn-primary:hover {
  box-shadow: 0 0 15px #3fc1ff;
  transform: translateY(-2px);
}

.btn-primary:focus {
  outline: none;
  box-shadow: none;
}

.btn-secondary {
  border: 2px solid #3fc1ff;
  color: #3fc1ff;
  background: transparent;
}

.btn-secondary:hover {
  background: #3fc1ff;
  color: #0d1b2a;
}

/* === COLUMNS === */
.columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}


.col {
  flex: 1 1 250px;
  background: rgba(255, 255, 255, 0.2);
  padding: 1.5rem;
  border-radius: 15px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.col:hover {
  background: rgba(63, 193, 255, 0.1);
  transform: translateY(-5px);
}

.icopos {
  align-items: center;
}

/* === FOOTER === */
footer {
  text-align: center;
  padding: 1.5rem;
  background: rgba(13, 27, 42, 0.85);
  color: #dbe2ef;
  font-size: 0.9rem;
}

/* === ANIMATIONER === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HAMBURGER MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 35px;
  top: 50%;
  transform: translateY(-50%);

}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #3fc1ff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive behavior */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 200px;
    height: calc(100vh - 60px);
    flex-direction: column;
    background: rgba(13, 27, 42, 0.95);
    align-items: center;
    justify-content: start;
    gap: 1.5rem;
    padding-top: 2rem;
    transition: right 0.3s ease;
  }

  .nav-links.active {
    right: 0;
  }
}

/* === SÄKERHET & DRIFTMILJÖ – transparent version med subtil ram === */
/* === Sektion: Säkerhet & Driftmiljö === */
#OuterDiv .content-box {
  background: rgba(0, 0, 0, 0.3);
  /* lätt mörkning bakom texten */
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  text-align: center;
}

#OuterDiv h2 {
  color: #4ad3ff;
  /* lite ljusare blå */
  text-align: center;
  margin-bottom: 1.5rem;
}

#OuterDiv p,
#OuterDiv li {
  color: #e6ebef;
  line-height: 1.8;
  font-size: 1.05rem;
}

#OuterDiv ul {
  list-style: none;
  padding-left: 0;
}

#OuterDiv li::before {
  content: "✔";
  color: #3fc1ff;
  margin-right: 0.6rem;
  font-weight: bold;
}

#OuterDiv strong {
  color: #ffffff;
}

/* Ikonrad */
#OuterDiv .cert-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

#OuterDiv .cert-row img {
  height: 50px;
  filter: brightness(0.95) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

#OuterDiv .cert-row img:hover {
  transform: scale(1.05);
  filter: brightness(1.1) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.courseicon {
  width: 70px;
  height: 70px;
  stroke-width: 1.6;
  color: #3fc1ff;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.col:hover .courseicon {
  color: #e0e9f0;
  transform: scale(1.1);
}

.course-area,
.service-area,
.partner-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-area:hover,
.service-area:hover,
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(63, 193, 255, 0.25);
}

.open-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 0.8rem;
  font-size: 0.9rem;
  color: #9fbad5;
  opacity: 0.8;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.open-hint i {
  width: 16px;
  height: 16px;
  color: #3fc1ff;
}

.col:hover .open-hint {
  color: #ffffff;
  opacity: 1;
}

.area-link {
  display: block;
  /* gör hela ytan klickbar */
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: none;
  color: inherit;
  /* behåller textfärg */
}

/* .area-link:visited,
.area-link:hover,
.area-link:active,
.area-link:focus {
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.area-link:hover {
  transform: translateY(-3px);
  transition: all 0.3s ease;
} */

.area-link {
  display: block;
  text-decoration: none;
  border: none;
  box-shadow: none;
  outline: none;
  background: rgba(255, 255, 255, 0.02);
  /* svag toning för djup */
  color: inherit;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.area-link:hover {
  background: rgba(63, 193, 255, 0.08);
  /* Wolfnova-blå toning */
  box-shadow: 0 4px 15px rgba(63, 193, 255, 0.2);
  transform: translateY(-4px);
}

.area-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(63, 193, 255, 0.15);
}


.panelicon,
#areas .col svg {
  width: 80px !important;
  height: 80px !important;
  stroke-width: 1.5;
  color: #A0C4FF;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* 5) Mobil – behåll stor ikon men justera om du vill */
@media (max-width: 900px) {
  #areas .col i {
    width: 80px;
    height: 80px;
  }

  /* valfritt */
}

/* === Responsivitet === */
@media (max-width: 900px) {
  #areas .columns {
    flex-direction: column;
    align-items: center;
  }

  #areas .col {
    max-width: 90%;
  }
}

/* === COURSE OVERLAY === */
.course-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1200;
  padding: 2rem;
}

.course-overlay.active {
  display: flex;
}

/* === SERVICE OVERLAY FIX === */
.service-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2500;
  /* Över navbar och allt annat */
  padding: 2rem;
}

.service-overlay.active {
  display: flex;
}

.overlay-content {
  width: min(1100px, 95vw);
  max-height: 85vh;
  overflow: auto;
  background: rgba(13, 27, 42, 0.95);
  border: 1px solid rgba(63, 193, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  padding: 1.5rem;
  animation: fadeInUp 0.35s ease;
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.overlay-title {
  font-family: "Montserrat", sans-serif;
  color: #4ad3ff;
  margin: 0;
}

.overlay-actions {
  display: flex;
  gap: .6rem;
}

.overlay-actions .btn-primary i,
.overlay-actions .btn-secondary i {
  width: 18px;
  height: 18px;
  margin-right: .4rem;
  vertical-align: 3px;
}

/* Lås scroll bakom overlay */
body.modal-open {
  overflow: hidden;
}

/* === TABELLER PÅ UTBILDNINGS/KONSULT-SIDAN === */
.course-table,
.service-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

/* rubrikrad */
.course-table thead th,
.service-table thead th {
  text-align: left;
  padding: 0.9rem 0.8rem;
  background: rgba(63, 193, 255, 0.12);
  color: #e6ebef;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* celler */
.course-table tbody td,
.service-table tbody td {
  padding: 0.85rem 0.8rem;
  color: #e0e9f0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: top;
}

/* hover-rad */
.course-table tbody tr:hover,
.service-table tbody tr:hover {
  background: rgba(63, 193, 255, 0.08);
}

/* === SAMARBETE / PARTNER-KORT === */
/* === VISUELL STIL FÖR EXPANDERAD TEXT === */
.partner-card .details {
  display: none;
  margin-top: 1rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid #3fc1ff;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #eeecee;
  /* ← lägger till !important för att bryta arv */
  font-family: "Montserrat", sans-serif;
  /* kontrast mot Inter */
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.3px;
  animation: fadeIn 0.4s ease;
}

.panel .partner-card .details p {
  color: #4ad3ff;
}

.partner-card.active .details {
  display: block;
}

/* === Effekt när aktiv === */
.partner-card.active {
  background: rgba(63, 193, 255, 0.15);
  box-shadow: 0 0 25px rgba(63, 193, 255, 0.25);
  transform: translateY(-4px);
  transition: all 0.35s ease;
}

/* === Färgdetalj i rubrik för aktiv kort === */
.partner-card.active h3 {
  color: #4ad3ff;
  text-shadow: 0 0 8px rgba(63, 193, 255, 0.3);
}

/* === IKONANIMATIONER === */

/* Grundposition */
.partner-card .courseicon {
  transition: transform 0.4s ease, color 0.4s ease, filter 0.4s ease;
}

/* Aktivt kort – allmän effekt */
.partner-card.active .courseicon {
  color: #4ad3ff;
  filter: drop-shadow(0 0 10px rgba(74, 211, 255, 0.4));
}

/* 1) Teknik & Pilotprojekt (gauge) – snurrar lätt */
/* När kortet aktiveras */
.partner-card.active svg[data-lucide] {
  color: #4ad3ff;
  filter: drop-shadow(0 0 10px rgba(74, 211, 255, 0.4));
}

/* 1) Teknik & Pilotprojekt – gauge snurr */
.partner-card.active svg[data-lucide="gauge"] {
  animation: spinGauge 0.9s ease;
}

@keyframes spinGauge {
  0% {
    transform: rotate(0deg);
  }

  40% {
    transform: rotate(30deg);
  }

  70% {
    transform: rotate(-25deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* 2) Strategiska samarbeten – handshake puls */
.partner-card.active svg[data-lucide="handshake"] {
  animation: pulseShake 1.2s ease;
}

@keyframes pulseShake {

  0%,
  100% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.08);
  }

  70% {
    transform: scale(0.95);
  }
}

/* 3) Kunskapsutbyte – lightbulb glöd */
.partner-card.active svg[data-lucide="lightbulb"] {
  animation: glowBulb 1.6s ease;
}

@keyframes glowBulb {
  0% {
    color: #A0C4FF;
    filter: brightness(1);
  }

  50% {
    color: #ffffff;
    filter: brightness(5);
  }

  100% {
    color: #4ad3ff;
    filter: brightness(1);
  }
}

@keyframes glowBulb {
  0% {
    color: #A0C4FF;
    filter: brightness(1);
  }

  50% {
    color: #ffffff;
    filter: brightness(1.4);
  }

  100% {
    color: #4ad3ff;
    filter: brightness(1);
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.cert-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cert-row img {
  height: 48px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

.cert-row img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

/* === PRINT CLEANUP === */
@media print {

  /* Dölj element som inte ska skrivas ut */
  .navbar,
  .bg-layer,
  .panel::before,
  button,
  .btn-primary,
  .btn-secondary,
  .print-btn,
  .close-btn,
  .open-hint {
    display: none !important;
  }

  /* Neutral layout */
  html,
  body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    color: #000 !important;
  }

  /* Gör paneler kompakta */
  .panel {
    position: static !important;
    min-height: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    page-break-inside: avoid;
  }

  /* Städa upp innehållet */
  .content-box {
    text-align: left !important;
    padding: 0 1.5rem !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }

  /* Textfärger */
  h1,
  h2,
  h3 {
    color: #000 !important;
    margin: 0 0 0.5rem 0;
  }

  p,
  li {
    color: #111 !important;
    margin: 0 0 0.6rem 0;
  }

  /* Visa expanderade detaljer */
  .partner-card .details {
    display: block !important;
    color: #000 !important;
    background: none !important;
    border: none !important;
  }

  /* Ta bort bakgrundsfilter och bilder */
  * {
    background-image: none !important;
    background-attachment: scroll !important;
    box-shadow: none !important;
  }
}

/* === KONTAKTSEKTIONEN === */
.contact-section {
  background: transparent;
  /* följer sidans befintliga bakgrund */
  color: #e0e9f0;
  text-align: center;
  padding: 90px 20px;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 700px;
  width: 100%;
}

.contact-section h2 {
  font-size: 2.6rem;
  color: #3fc1ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.contact-intro {
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.6;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 600px;
  margin-bottom: 15px;
}

input,
textarea {
  width: 100%;
  max-width: 600px;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  background-color: #f9f9f9;
  color: #0d1b2a;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

textarea {
  height: 120px;
  resize: vertical;
  margin-bottom: 20px;
}

.btn-send {
  background-color: #3fc1ff;
  color: #0d1b2a;
  border: none;
  border-radius: 30px;
  padding: 12px 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-send:hover {
  background-color: #66d1ff;
  transform: translateY(-2px);
}

.cta-buttons {
  text-align: center;
  gap: 20px;
}

.note {
  margin-top: 25px;
  color: #d0d8e0;
}

.note a {
  color: #3fc1ff;
  text-decoration: none;
}

.note a:hover {
  text-decoration: underline;
}

/* === Glödande effekt på input/textarea === */
/* === Kraftig neon-effekt för input och textarea === */
.panel .content-box input,
.panel .content-box textarea {
  transition: all 0.25s ease;
  border: 1px solid transparent;
  background-color: #ffffff;
  border-radius: 8px;
}

/* === Fokuserad glöd === */
.panel .content-box input:focus,
.panel .content-box textarea:focus {
  outline: none;
  border: 2px solid #3fc1ff;
  box-shadow:
    0 0 6px #3fc1ff,
    0 0 12px #3fc1ff,
    0 0 18px #3fc1ff;
  transition: all 0.3s ease;
}

/* === Hover med svagare glöd === */
.panel .content-box input:hover,
.panel .content-box textarea:hover {
  box-shadow:
    0 0 4px #3fc1ff80,
    0 0 8px #3fc1ff80;
  border-color: #3fc1ff80;
}

/* === Neon-puls vid fokus (valfritt, ta bort om du vill ha statiskt) === */
@keyframes neonPulse {
  0% {
    box-shadow:
      0 0 8px #3fc1ff,
      0 0 16px #3fc1ff,
      0 0 24px #3fc1ff;
  }

  50% {
    box-shadow:
      0 0 12px #66d1ff,
      0 0 24px #66d1ff,
      0 0 36px #66d1ff;
  }

  100% {
    box-shadow:
      0 0 8px #3fc1ff,
      0 0 16px #3fc1ff,
      0 0 24px #3fc1ff;
  }
}

.panel .content-box input:focus,
.panel .content-box textarea:focus {
  animation: neonPulse 2s infinite alternate;
}

@media (max-width: 768px) {
  .cert-row img {
    height: 36px;
  }
}

.status-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0d1b2a;
  color: #e0e9f0;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  z-index: 9999;
  min-width: 250px;
}

.hidden {
  display: none;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #3fc1ff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 15px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#closeBtn {
  background: #3fc1ff;
  color: #0d1b2a;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-weight: 600;
}

#closeBtn:hover {
  background: #66d6ff;
}

/* === TRANSLATION OVERLAY === */
#translate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  color: #3fc1ff;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  transition: opacity 0.4s ease;
}

#translate-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* === SPINNING CIRCLE === */
.translate-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(63, 193, 255, 0.3);
  border-top-color: #3fc1ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}