*, *::before, *::after {
  box-sizing: border-box;
}


:root {
  --bg-color: #0d0d0d;
  --text-color: #e0e0e0;
  --accent-color: #00ff88;
  --muted-color: #999999;
  --color-green: #00ff88;
  --color-green-dark: #007a40;
  --color-gray: #999999;
  --scroll-behavior: smooth;
}

html {
  scroll-behavior: var(--scroll-behavior);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  position: relative;
  min-height: 200vh;
}

.container {
  background-color: #0d0d0d;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  padding: 1rem;
  max-width: 960px;
  margin: 2rem auto;
  color: #e0e0e0;
}

h1, h2, h3 {
  color: var(--accent-color);
  margin-top: 2rem;
}

h1 {
  font-size: 2.2rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.3rem;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1.2rem;
}

ul {
  padding-left: 1.5rem;
  list-style-type: square;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #33ffaa;
}

hr {
  border: none;
  border-top: 2px solid var(--accent-color);
  margin: 3rem 0;
}

.title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  white-space: normal;      /* Tillåter radbrytning */
  word-wrap: break-word;    /* Bryt långa ord vid behov */
  overflow-wrap: break-word;
}

.title .year {
  display: block;        /* Gör "2026" till egen rad */
  font-size: 2.2rem;    /* Lite mindre text för året */
  white-space: normal;
}

@media (max-width: 480px) {
  .title {
    font-size: 2rem;
  }
  .title .year {
    font-size: 1.5rem;
  }
}

.subtitle {
  text-align: center;
  color: var(--accent-color);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  max-width: 100%;
  width: 50%;
  margin: 1rem auto 0.5rem auto;
  
}

.slides {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
}

.slide {
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--accent-color);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1;
  padding: 0;
  user-select: none;
  transition: transform 0.2s;
}

.nav:hover {
  transform: translateY(-50%) scale(1.2);
}

.prev { left: 5px; }
.next { right: 5px; }

.dots {
  text-align: center;
  margin-top: 0.6rem;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: var(--muted-color);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--accent-color);
}

.caption-text {
  text-align: center;
  color: var(--muted-color);
  font-style: italic;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.home-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 2rem;
  text-align: center;
}

.home-title {
  font-size: 2.4rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.button-group {
  display: flex;
  flex-direction: row;
  justify-content: center;  /* Centrerar knapparna horisontellt */
  gap: 1.5rem;              /* Avstånd mellan knapparna */
  margin-top: 2rem;
  flex-wrap: wrap;          /* Tillåter radbrytning på små skärmar */
}



.lineup-image {
  text-align: center;
  margin-bottom: 2rem;
}

.lineup-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0, 255, 136, 0.2);
}

.lineup-text {
  text-align: left;
  margin-top: 1rem;
}

.lineup-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: var(--text-color);
  max-width: 100%;
  word-break: break-word;
}

.player-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  max-width: 100%;
  padding: 0 1rem;
  box-sizing: border-box;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.player-list div {
  white-space: normal;
  overflow-wrap: break-word;
  font-size: 1rem;
  padding: 0.3rem 0.6rem; /* viktiga för "luft" inuti rutan */
  background: var(--bg-color);
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
  user-select: none;
  text-align: center;
}


.na24-corner {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 0.9rem;
  color: rgba(0, 255, 136, 0.5);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  user-select: none;
  pointer-events: none;
  z-index: 9999;
}

.sidebar-toc {
  position: fixed;
  top: 80px;
  right: 10px; /* Justerad så den ligger nära sökrutan */
  width: 220px; /* Samma bredd som sökrutan */
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background-color: var(--bg-color, #0d0d0d);
  padding: 1rem;
  border-radius: 8px;

  /* Grön kant som knapparna */
  border: 2px solid var(--accent-color, #00ff88);
  

  font-family: 'Inter', sans-serif;
  color: var(--accent-color, #00ff88);
  box-sizing: border-box;
  z-index: 10000;
}

.sidebar-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-toc li {
  margin-bottom: 1rem;
}

.sidebar-toc a {
  color: #00ff88;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.sidebar-toc a:hover {
  color: #00cc66;
}

 
@media (max-width: 768px) {
  .sidebar-toc {
    display: none;
  }
}

/* MOBIL */
@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    margin-top: 1.5rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .player-list {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
    max-width: 100%;
  }

  /* Dölj innehållsförteckningen */
  .sidebar-toc {
    display: none !important;
  }

  section {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  p, h2, h3, .lineup-text p {
    max-width: 100%;
    word-wrap: break-word;
  }

  .slider-wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .lineup-text p {
    font-size: 1rem;
  }
}

.title {
  white-space: normal; /* tillåt radbrytning */
  font-size: clamp(1.5rem, 6vw, 3rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--accent-color);
  text-align: center;
}

.button-group {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 2rem;
  max-width: 600px; /* justera maxbredd så knapparna inte flyter ut */
  margin-left: auto;
  margin-right: auto;
  gap: 1rem; /* mellanrum mellan knapparna */
}

.home-button {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: #00ff88;
  border: 2px solid #00ff88;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 200px;
}

.home-button:hover {
  background-color: #00ff88;
  color: #000;
}

/* Placera knapparna i grid */
.left-button {
  grid-column: 1;
  justify-self: end; /* knapp till höger i vänster kolumn */
}

.right-button {
  grid-column: 3;
  justify-self: start; /* knapp till vänster i höger kolumn */
}

@media (max-width: 480px) {
  .button-group {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .left-button,
  .right-button {
    grid-column: 1;
    justify-self: center;
  }
}

/* Standard: visa namn i en rad */
.player-list .last,
.player-list .first {
  display: inline;
}

/* På mobil: bryt namn efter efternamn */
@media (max-width: 600px) {
  .player-list .last,
  .player-list .first {
    display: block;          /* Varje del på egen rad */
    white-space: normal;     /* Tillåt radbrytning */
    overflow-wrap: break-word;
  }
}

.player-list .centered-last {
  grid-column: 1 / -1; /* spänner över båda kolumner */
  justify-self: center; /* centrerar innehållet */
  padding: 0.3rem 0.6rem; /* säkerställ att den har samma padding */
  width: 50%; /* Viktigt: fyll hela gridområdet */
  box-sizing: border-box; /* så padding räknas in i bredden */
}

#back-to-top {
  position: fixed;
  bottom: 20px; /* Flyttad dit toggleAnimations var */
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: var(--color-green);
  border: 2px solid var(--color-green);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 600;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: 
    opacity 0.4s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
  z-index: 9999;
  user-select: none;
  transform: scale(1);
  transform-origin: center;
}

/* Synlig när aktiv */
#back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* Hovereffekt */
#back-to-top:hover {
  background-color: rgba(0, 255, 136, 0.1);
  color: var(--color-green-dark);
  border-color: var(--color-green-dark);
}



@media (max-width: 768px) {
  #back-to-top {
    display: none !important;
  }
}



.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

#toggleAnimations {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid var(--color-green);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
  box-shadow: none;
  transition: bottom 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  padding: 0;
  z-index: 9998; /* Ligger under back-to-top */
}

#back-to-top.show ~ #toggleAnimations {
  bottom: 70px; /* Flyttas upp när knappen är synlig */
}

/* Hover-effekt */
#toggleAnimations:hover {
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
  background-color: rgba(0, 255, 136, 0.1);  /* lätt fyllnad på hover */
}

/* Aktivt läge = animationer på */
#toggleAnimations.active {
  border-color: var(--color-green-dark);
  color: var(--color-green-dark);
  background-color: transparent;  /* Tar bort bakgrundsfärg */
}

/* Animationer av-läge - grått */
body.no-animations #toggleAnimations {
  border-color: var(--color-gray);
  color: var(--color-gray);
  background-color: transparent; /* också transparent */
}

body.no-animations #toggleAnimations:hover {
  border-color: var(--color-gray);
  color: var(--color-gray);
  background-color: rgba(153, 153, 153, 0.15);
}

#toggleAnimations.active {
  background-color: #007a40;
  color: #ffffff;
}

/* Blixt-ikon inuti knappen */
.gg-bolt {
  --ggs: 1.6;              /* Skala blixten lite större */
  width: 6px;
  height: 21px;
  position: relative;
  display: block;
  transform: scale(var(--ggs));
  color: var(--accent-color, #00ff88);
}

/* Blixtens "trekanter" */
.gg-bolt::before,
.gg-bolt::after {
  content: "";
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  transform: rotate(30deg);
  box-sizing: border-box;
}

/* Grön när animationer är på */
.gg-bolt::before {
  border-bottom: 12px solid currentColor;
  left: 0;
  top: 0;
}

.gg-bolt::after {
  border-top: 12px solid currentColor;
  right: 0;
  bottom: 0;
}

/* Grå när animationer är av */
body.no-animations #toggleAnimations {
  border-color: var(--muted-color, #999999);
  box-shadow: 0 0 10px rgba(153, 153, 153, 0.3);
}

body.no-animations .gg-bolt::before {
  border-bottom-color: var(--muted-color, #999999);
}

body.no-animations .gg-bolt::after {
  border-top-color: var(--muted-color, #999999);
}

body.no-animations #toggleAnimations:hover {
  background-color: var(--muted-color, #999999);
  border-color: var(--muted-color, #999999);
  box-shadow: 0 0 18px rgba(153, 153, 153, 0.6);
}

@media (max-width: 768px) {
  #toggleAnimations {
    display: none !important;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in.hidden {
  opacity: 0;
  transform: translateY(-20px);
}

body.no-animations .fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.highlight {
  background-color: #00ff8833; /* lätt transparent ljusgrön */
  color: inherit;
  font-weight: 600;
  padding: 0 2px;
  border-radius: 3px;
  display: inline;
  /* Ta bort outline och skuggor för baseline */
}

/* Markering av aktiv sökträff (när man navigerar) */
.highlight.active {
  background-color: #00ff88; /* lite starkare */
  color: #000; /* svart text för tydlighet */
  font-weight: 700;
}


.search-container {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 220px;          /* Samma bredd som .sidebar-toc */
  background-color: var(--bg-color, #0d0d0d);
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10000;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.search-container input[type="text"] {
  flex: 1;               /* Tar upp allt utrymme som finns kvar */
  min-width: 0;          /* Viktigt för att flex ska funka bra */
  padding: 0.5rem 0.8rem;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #00ff88;
  background-color: #111;
  color: #eee;
  box-sizing: border-box;
}

.arrow-btn {
  flex: 0 0 28px;       /* Fixerad bredd för knapparna */
  height: 28px;
  background: none;
  border: none;
  color: #00ff88;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  user-select: none;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 4px;
}

.arrow-btn:hover {
  color: #00cc66;
  background-color: rgba(0, 255, 136, 0.1);
}

#searchInput {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid var(--accent-color, #00ff88);
  background-color: var(--bg-color, #0d0d0d);
  color: var(--text-color, #e0e0e0);
  font-size: 14px;
  width: 180px;
  outline-offset: 2px;
}

#searchInput::placeholder {
  color: var(--muted-color, #999999);
}

.search-button {
  background-color: var(--accent-color, #00ff88);
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  user-select: none;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .search-container {
    display: none !important;
  }
}

.logo {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block; 
}

@media (max-width: 600px) {
  .home-title {
    display: none;
  }
}

.official-corner {
  position: fixed;
  bottom: 8px;
  left: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  color: #00ff88;
  opacity: 0.4;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

.mobile-text {
  display: none;
}

@media (max-width: 600px) {
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
}

  #progress-bar {
      position: fixed;
      top: 0;
      left: 0;
      height: 5px;
      background: #00ff88;
      width: 0%;
      z-index: 1000;
    }

#login-container {
  background-color: #121212;
  border: 2px solid var(--color-green);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 0 15px var(--color-green);
  transition: max-height 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
}

/* Lägg till en fin övergång för dropdown om du vill */
#login-container.hide {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  border: none;
  box-shadow: none;
}

.login-status {
  margin-top: 1em;
  color: #ffaa00;
  font-weight: 600;
  background-color: #1e1e1e;
  border-left: 4px solid #ffaa00;
  padding: 0.75em;
  border-radius: 6px;
  white-space: normal;
  overflow-wrap: break-word;
}

.player-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 0.7rem 2rem;
      max-width: 600px;
      margin: 0.5rem auto 1.5rem auto;
      width: 100%;
    }

    .player-list div {
      max-width: 100%;
      white-space: normal;
      overflow-wrap: break-word;
      font-size: 1rem;
      padding: 0.3rem 0.6rem;
      background: var(--bg-color);
      border-radius: 6px;
      box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
      user-select: none;
      text-align: center;
    }

.player-list .centered-last {
  grid-column: 1 / -1; /* Spänner över alla kolumner */
  justify-self: center; /* Centrerar knappen horisontellt */
  max-width: 200px; /* valfritt: begränsa bredden så den inte blir jättestor */
}

.player-list button {
  all: unset; /* tar bort all standard-knappstil */
  display: block; /* gör knappen blockelement */
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  background: var(--bg-color, #121212);
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(0, 255, 136, 0.3);
  user-select: none;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}

.player-list button:hover,
.player-list button:focus {
  background-color: #00ff88;
  color: #0d0d0d;
  box-shadow: 0 0 10px #00ff88;
  outline: none;
}

#playerModal {
  display: none; 
  position: fixed; 
  top: 0; left: 0; 
  width: 100vw; 
  height: 100vh; 
  background: rgba(0,0,0,0.7); 
  justify-content: center; 
  align-items: center; 
  z-index: 9999;
}

#playerModal > div {
  background: #121212; 
  color: #00ff88; 
  padding: 1.5rem 2rem; 
  border-radius: 8px; 
  max-width: 400px; 
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative; 
  box-shadow: 0 0 20px #00ff88;
}

html, body {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE och Edge */
  overflow-y: scroll; /* alltid scroll så layout inte hoppar */
}

body::-webkit-scrollbar {
  width: 0; /* Chrome, Safari, Opera */
  background: transparent; /* gör scrollbaren osynlig */
}







.login-page body,
.register-page body {
  background-color: #0d0d0d;
  font-family: 'Inter', sans-serif;
  color: #00ff88;
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* toppjustering */
  min-height: 100vh;
}

/* Scoped container */
.login-page .container,
.register-page .container {
  max-width: 360px;
  width: 100%;
  margin-top: 5rem;
  padding: 2rem;
  border: 2px solid #00ff88;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ff88;
  background-color: #0d0d0d;
  box-sizing: border-box;
}

/* Rubriker */
.login-page h1,
.register-page h1 {
  color: #00ff88;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1.8rem;
}

/* Inputs */
.login-page input[type="email"],
.login-page input[type="password"],
.login-page input[type="text"],
.login-page input[type="tel"],
.register-page input[type="email"],
.register-page input[type="password"],
.register-page input[type="text"],
.register-page input[type="tel"] {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #00ff88;
  background-color: #0d0d0d;
  color: #e0e0e0;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Knappar */
.login-page button,
.register-page button {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

/* Primära knappar */
.login-page button#login-btn,
.register-page button#register-btn {
  background-color: #00ff88;
  color: #000;
  margin-bottom: 0.5rem;
}
.login-page button#login-btn:hover,
.register-page button#register-btn:hover {
  background-color: #009933;
}

/* Sekundära knappar */
.login-page button#to-register-btn,
.login-page button#reset-password-btn {
  background-color: transparent;
  border: 2px solid #00ff88;
  color: #00ff88;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.login-page button#to-register-btn:hover,
.login-page button#reset-password-btn:hover {
  background-color: #00ff88;
  color: #000;
}

/* Statusmeddelande */
.login-page #status,
.register-page #status {
  margin-top: 1rem;
  min-height: 1.4rem;
  text-align: center;
}

/* Länkar */
.login-page p.link,
.login-page p,
.register-page p.link,
.register-page p {
  margin-top: 0rem; /* Ny marginal bara för register-sidan */
  text-align: center;
}

.login-page p.link a,
.login-page p a,
.register-page p.link a,
.register-page p a {
  color: #00ff88;
  cursor: pointer;
}

/* Undvik marginal på sista input */
.login-page input:last-of-type,
.register-page input:last-of-type {
  margin-bottom: 1.5rem;
}

/* Grundstil för reset-password sidan */
/* Grundinställningar för sidan */
body.reset-password-page {
  background-color: #0d0d0d;
  font-family: 'Inter', sans-serif;
  color: #00ff88;
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* toppjustering */
  min-height: 100vh;
  box-sizing: border-box;
}

/* Container */
.reset-password-page .container {
  max-width: 360px;
  width: 100%;
  margin-top: 5rem;
  padding: 2rem;
  border: 2px solid #00ff88;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ff88;
  background-color: #0d0d0d;
  box-sizing: border-box;
  word-wrap: break-word;
}

/* Rubriker */
.reset-password-page h1,
.reset-password-page h2 {
  color: #00ff88;
  text-align: center;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

/* Informationstext */
.reset-password-page #info,
.reset-password-page p {
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  font-weight: 600;
}

/* Inputs */
.reset-password-page input[type="password"],
.reset-password-page input[type="email"] {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #00ff88;
  background-color: #0d0d0d;
  color: #e0e0e0;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Knappar */
.reset-password-page button {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  background-color: #00ff88;
  color: #000;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
}

.reset-password-page button:hover {
  background-color: #009933;
}

/* Statusmeddelande */
.reset-password-page #status {
  margin-top: 1rem;
  min-height: 1.4rem;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  padding: 0 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #00ff88;
}

/* Länkar */
.reset-password-page p a,
#back-login {
  display: inline-block;
  margin-top: 1.5rem;
  color: #00ff88;

  cursor: pointer;
  font-weight: 600;
  text-align: center;
  width: 100%;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.reset-password-page p a:hover,
#back-login:hover {
  color: #009933;
  text-decoration: none;
}

.reset-status {
  white-space: normal !important; /* Tillåter radbrytningar */
  overflow-wrap: break-word;      /* Bryt ord som är för långa */
  word-break: break-word;          /* Säkerställ att text bryts */
  min-height: auto;                /* Släpp höjdbegränsning om satt */
  height: auto;
  max-width: 100%;                 /* Tar hela bredden av containern */
  padding: 0.3rem 0.5rem;          /* Lite luft runt texten */
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
}

.register-status {
  margin-top: 0em;
  font-weight: 600;
  color: #00ff88;
  white-space: normal;
  overflow-wrap: break-word;
}

.register-status.error {
  color: tomato;
}

/* Container */
.profile-container {
  max-width: 480px;
  margin: 3rem auto;
  padding: 2rem;
  border: 2px solid #00ff88;
  border-radius: 12px;
  box-shadow: 0 0 15px #00ff88;
  background-color: #0d0d0d;
  box-sizing: border-box;
}

/* Titel */
.profile-title {
  color: #00ff88;
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 800;
  font-size: 1.8rem;
}

/* Inputs */
.profile-input {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #00ff88;
  background-color: #121212;
  color: #e0e0e0;
  font-size: 1rem;
  box-sizing: border-box;
}

/* Textareas */
.profile-textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid #00ff88;
  background-color: #121212;
  color: #e0e0e0;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;   /* Lägg till den här */
  box-sizing: border-box;
  resize: vertical;
}

/* Checkbox label */
.profile-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #00ff88;
  margin-bottom: 1rem;
  cursor: pointer;
  font-weight: 600;
}

/* Primär knapp */
.btn-primary {
  width: 100%;
  padding: 0.8rem;
  background-color: #00ff88;
  border: none;
  border-radius: 8px;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: #009933;
}

/* Sekundär knapp */
.btn-secondary {
  margin-top: 1rem;
  width: 100%;
  padding: 0.8rem;
  background-color: transparent;
  border: 2px solid #00ff88;
  border-radius: 8px;
  color: #00ff88;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
}

.btn-secondary:hover {
  background-color: #00ff88;
  color: #000;
}

/* Hem-länk */
.home-link-container {
  text-align: center;
  margin-top: 3rem;
}

.home-button {
  color: #00ff88;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.home-button:hover {
  color: #009933;
  text-decoration: underline;
}

/* Statusmeddelande */
.profile-status {
  margin-top: 1rem;
  min-height: 1.4rem;
  text-align: center;
  color: #00ff88;
  font-weight: 600;
  font-size: 1rem;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

