
/* Grundlæggende stilarter for hele siden */
body {
    font-family: Calibri, sans-serif;
    margin: 0; 
    padding: 0;
    padding-top: 90px; 
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

/* Hover-effekt (når musen er over linket) */
a:hover {
    color: #0056b3;
}

/* Aktiverede links (når de er klikket på) */
a:active,
a:focus {
    color: #003f80;
}

/* Skjuler den indbyggede clear og reveal knapper i IE for input felter */
input::-ms-reveal,
input::-ms-clear {
    display: none;
}

/* Definerer root variabler for nem styling */
:root {
  --form-width: 450px;
  --form-padding: 30px;
  --input-padding: 8px;
}

/* Sikrer ensartet box sizing over hele dokumentet */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Container til centrering af indhold vertikalt og horisontalt */
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
}

/* Stil til formular containers */
.form-container {
  background-color: #f1f1f1;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: var(--form-padding);
  width: var(--form-width); 
  max-width: 100%;
}

.center {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px;
    margin-bottom: 10px;
}

/* Generel stil til input felter */
input {
  width: calc(100% - 2 * var(--input-padding));
  padding: var(--input-padding);
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Styling for alle meddelelser */
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

/* Styling for fejlmeddelelser RØD farvev*/
.message-error {
    background-color: #f44336;
}

/* Styling for succesmeddelelser GRØN farve */
.message-success {
    background-color: #4CAF50;
}

/* Styling for informationsmeddelelser BLÅ farve */
.message-info {
    background-color: #2196F3;
}

/* Generel tabel styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

/* Generel stil til tabel hoveder og celler */
th, td {
    padding: 1px 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

/* Baggrundsfarve og fed tekst til tabel hoveder */
th {
    background-color: #f2f2f2;
    font-weight: bold; 
}

/* Zebra-striping for rækker */
tr:nth-child(even) {
    background-color: #f2f2f2;
    transition: background-color 0.3s;
}

/* Hover effekt for rækker */
tr:hover {
    background-color: #ddd;
}

/* Fast bredde for Handlinger-kolonnen */
th.handlinger, td.handlinger {
    width: 154px;
}

/* Genbrug den generelle styling */
table.news-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

/* Justér kun padding og line-height for .news-table */
table.news-table td, table.news-table th {
    padding: 10px 10px; /* Mere luft mellem cellerne */
    line-height: 1.6; /* Højere linjeafstand for bedre læsbarhed */
}

/* Styling for zebra-stripes */
table.news-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table.news-table tr:hover {
    background-color: #ddd;
}

/* Overskrifter */
table.news-table th {
    background-color: #f2f2f2 !important; /* Lys grå baggrund for overskrifter */
    font-weight: bold !important; /* Fed tekst */
    padding: 6px 8px !important; /* Mindre padding for at reducere højden */
    text-align: left !important; /* Venstrejustering */
}

/* Container for knapper. Anvender flexbox til at placere knapperne. */
.btn-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* Generel stil for knapper */
.btn {
    background-color: #3498db;
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    margin-bottom: 5px;
    margin-right: 5px;
    display: inline-block;
    padding: 6px 12px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    text-decoration: none;
    width: auto;
}

/* Hover effekt for knapper */
.btn:hover {
    background-color: #2980b9;
}

/* Justerer tekstjustering til højre for knap handlinger */
btn-actions {
   text-align: right;
}

/* Stil til overskrifter */
h1 {
    margin: 0 0 30px;
    text-align: center;
}

/* Stil til labels */
label {
    display: block;
    margin-bottom: 5px;
}

/* Stil til forskellige typer af input felter */
input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="number"] {
    border: 1px solid #ccc;
    border-radius: 3px;
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    padding: 6px 12px;
    width: 100%;
}

/* Stil til submit knapper */
input[type="submit"] {
    background-color: #3498db; 
    border: none;
    border-radius: 3px;
    color: white;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    padding: 6px 12px;
    text-transform: uppercase;
    transition: background-color 0.3s;
    width: 100%;
}

/* Hover effekt for submit knapper */
input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Stil til paragrafer */
p {
    margin-bottom: 20px;
    text-align: center;
}

/* Stil til fejlmeddelelser */
p.error {
    color: red;
}

/* Stil til checkbox containers */
.checkbox-container {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

/* Skjuler den faktiske checkbox */
.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Stil til checkmark */
.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 3px;
}

/* Hover effekt for checkbox */
.checkbox-container:hover input[type="checkbox"] ~ .checkmark {
    background-color: #ccc;
}

/* Stil når checkbox er tjekket */
.checkbox-container input[type="checkbox"]:checked ~ .checkmark {
    background-color: #2196F3;
}

/* Stil til checkmark symbol efter det er tjekket */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Viser checkmark når checkbox er tjekket */
.checkbox-container input[type="checkbox"]:checked ~ .checkmark:after {
    display: block;
}

/* Stil til checkmark symbol */
.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Stil til 'Husk mig'-label */
.remember-me-label {
    margin-right: 10px;
}

/* Stil til slider toggle */
.slider {
    width: 40px;
    height: 20px;
    position: relative;
    display: inline-block;
    margin: 0;
}

/* Container til slider for at justere layout */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Stil til slider label */
.slider-label {
    margin-right: 10px;
}

/* Skjuler den faktiske checkbox i slider */
.slider input[type="checkbox"] {
    visibility: hidden;
}

/* Stil til slider indre del */
.slider .slider-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ccc;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s;
}

/* Stil til slider knap */
.slider .slider-inner::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    transition: left 0.3s;
}

/* Ændrer farve og position af slider når den er aktiv */
.slider input[type="checkbox"]:checked + .slider-inner {
    background-color: #2196F3;
}

.slider input[type="checkbox"]:checked + .slider-inner::before {
    left: calc(100% - 18px);
}

/* Stil til ikoner placeret i input felter */
.icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

/* Fleksibel container til layout tilpasning */
.flex-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* Stil til tekst ved siden af sliders */
.slider span {
    margin-left: 10px;
}

/* Generel stil for switch-knapper */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Skjuler standard checkbox i switch */
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

/* Stil til slider del af switch */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}

/* Stil til knappen inde i slideren */
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

/* Ændrer baggrundsfarve på slider når den er aktiveret */
input:checked + .slider {
  background-color: #2196F3;
}

/* Flytter knappen inde i slideren når den er aktiveret */
input:checked + .slider:before {
  transform: translateX(20px);
}

/* Container til input felter med ikoner */
.input-icon-container {
    position: relative;
}

/* Fælles stil for alle ikoner i input felter */
.name-icon, .email-icon, .password-icon, .confirmPassword-icon, .eye-icon, .confirmeye-icon, .numeric-icon, .link-icon, .search-icon, .captha-icon {
    position: absolute;
    width: 20px; 
    height: 20px;
    background-size: cover;
    z-index: 2; 
}

/* Specifikke stilarter for hvert ikon baseret på deres formål */
.name-icon {
    background-image: url('../CSS/Image/name.png');
    left: 10px; 
    top: 50%; 
    transform: translateY(-50%);
}

.email-icon {
    background-image: url('../CSS/Image/mail.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.password-icon {
    background-image: url('../CSS/Image/password.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.confirmPassword-icon {
    background-image: url('../CSS/Image/confirm.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.password-container {
  display: flex;
  align-items: center;
}

.eye-icon {
    background-image: url('../CSS/Image/eye.png');
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
}

.confirmeye-icon {
    background-image: url('../CSS/Image/eye.png');
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 3;
}

.numeric-icon {
    background-image: url('../CSS/Image/numeric.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.link-icon {
    background-image: url('../CSS/Image/link.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.search-icon {
    background-image: url('../CSS/Image/search.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}
.captha-icon {
    background-image: url('../CSS/Image/captha.png');
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

/* Stil for at justere padding i input felter med ikoner */
input[type="email"], input[type="password"], input[type="text"], input[type="number"] {
    padding-left: 40px;
    z-index: 1;
}

/* Ekstra padding for password felter for at give plads til eye-icon */
input[type="password"] {
    padding-right: 40px;
}

/* Stilarter for aktiverede og deaktiverede knapper */
.button-enabled {
  opacity: 1;
}

.button-disabled {
  opacity: 0.5;
}

/* Container til søgefunktion */
.search-container form {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}


/* Stil til søgefelt */
.search-container input[type="text"] {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Stil til søgeknap */
.search-container button {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Hover effekt for søgeknap */
.search-container button:hover {
    background-color: #0056b3;
}

/* Stil til fremhævning af tekst */
.highlight {
    background-color: yellow;
}

/* Container til pagination */
.pagination-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stil til pagination liste */
.pagination {
    list-style-type: none;
    padding: 0;
    display: flex;
    margin: 0;
    justify-content: center;
    align-items: center;
}

/* Stil til pagination elementer */
.pagination li {
    margin: 0;
    padding: 0;
}

/* Stil til links i pagination */
.pagination li a {
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    color: #616872;
    border-radius: 4px;
    padding: 8px;
    background-color: #e2e6e6;
    margin: 0 4px;
}

/* Hover effekt for pagination links */
.pagination li a:hover {
    background-color: #d4dada;
}

/* Stil til aktiv side i pagination */
.pagination .currentpage a {
    background-color: #518acb;
    color: #fff;
}

/* Hover effekt for aktiv side i pagination */
.pagination .currentpage a:hover {
    background-color: #518acb;
}

/* Generel styling for breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    position: relative;
    margin-right: 10px;
}

.breadcrumb li:not(:last-child)::after {
    content: '»';
    color: white; 
    margin-left: 10px;
}

.breadcrumb li a {
    background-color: #555;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.breadcrumb li a:hover {
    background-color: #444;
    color: white;
}

.breadcrumb .currentpage a {
    background-color: orange;
    color: black;
}

/* Navigationsbaren */
.navbar {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #333;
    padding: 10px 0;
    z-index: 1000;
    color: white;
    top: 0;
}

.nav-container {
    display: flex;
    max-width: 1500px;
    margin: auto;
    padding: 0 20px;
    height: 60px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-logo {
    margin: 0;
    padding: 0;
}

.nav-breadcrumb {
    order: 2;
    flex-grow: 1;
    text-align: center;
}

.nav-buttons {
    order: 3;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: white;
    padding: 5px 10px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.nav-list li a:hover {
    background-color: #444;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px 0;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

#page-container {
  position: relative;
  min-height: 100vh;
}

#content-wrap {
  padding-bottom: 2.5rem;
}

footer div {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer div > div {
    margin: 0 10px;
}

/* Menu */
/* Menu container */
.menu-container {
    display: flex;
    justify-content: flex-start;
    margin: 0;
    margin-left: 10px; /* Flyt lidt ind fra venstre */
    padding: 0;
    background-color: transparent;
}

/* Menu liste */
.menu-list li a,
.admin-menu .btn {
    border: none;
    border-radius: 3px;
    box-sizing: border-box;
    color: white; /* Hvid tekst */
    cursor: pointer;
    font-size: 14px; /* Ens tekststørrelse */
    margin-top: 5px;
    margin-bottom: 0px;
    margin-right: 5px;
    display: inline-block;
    padding: 6px 12px; /* Samme padding for alle */
    text-transform: uppercase; /* Ens tekst-transformering */
    text-decoration: none; /* Fjern underlinje */
    transition: background-color 0.3s ease; /* Glidende overgang */
    text-align: center; /* Juster tekstcentrering */
    width: auto; /* Auto bredde */
}

/* Stil for almindelige menuknapper */
.menu-list li a {
    background-color: #3498db; /* Standard blå baggrund */
}

.menu-list li a:hover {
    background-color: #2980b9; /* Mørkere blå ved hover */
}

/* Stil for admin-knapper */
.admin-menu .btn {
    background-color: #28a745; /* Grøn for admin-knapper */
}

.admin-menu .btn:hover {
    background-color: #1e7e34; /* Mørkere grøn ved hover */
}

/* Menu liste */
.menu-list {
    list-style: none; /* Fjern bullet points */
    display: flex; /* Vandret layout */
    margin: 0;
    padding: 0;
}

/* Admin-menu container */
.admin-container {
    display: flex;
    justify-content: flex-end; /* Placer menuen til højre */
    margin: 0;
    margin-right: 10px; /* Flyt lidt ind fra venstre */
    padding: 0;
    background-color: transparent; /* Fjern baggrund */
}

.admin-menu li a:hover {
    background-color: #1e7e34; /* Mørkere grøn ved hover */
}

/* Responsive design */
@media (max-width: 768px) {
    .menu-container {
        flex-direction: column; /* Skift til lodret layout på små skærme */
        align-items: center; /* Centrer menupunkterne */
    }

    .menu-list li a,
    .admin-menu .btn {
        margin: 5px 0; /* Reducer margin for at spare plads */
        width: 90%; /* Gør knapperne bredere for bedre læsbarhed */
        text-align: center; /* Centrer tekst i knapperne */
    }
}

@media (max-width: 480px) {
    .menu-list li a,
    .admin-menu .btn {
        font-size: 12px; /* Mindre tekststørrelse på meget små skærme */
        padding: 5px 10px; /* Reduceret padding */
    }
}

/* størrelse på billeder */
img {
    width: auto;
    height : auto;
    max-height: 100%;
    max-width: 100%;
}

/* Tilpasser rækker og kolonerne */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    max-width: 1200px; 
    margin: 0 auto;
    margin-bottom: 20px;
}

.column {
    flex: 1; 
    padding: 10px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.column h2 {
    margin-top: 0;
    color: #333;
}

.column-home {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    align-self: flex-start;
    flex: 0 0 32%;
    padding: 10px;
    margin: 10px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: #f9f9f9;
}

.image-table td {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    flex: 1;
    height: 250px;
    width: 20px;
    padding: 0; 
    margin: 0;
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: transparent;
}

.image-table img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.custom-row:hover {
    background-color: transparent !important;
}

.image-table td:hover {
    background-color: transparent !important;
}

.column-home.loaded {
    opacity: 1;
    transform: translateY(0);
}

.image-table td.loaded {
    opacity: 1;
    transform: translateY(0);
}

.image-table:nth-child(1) {
    transition-delay: 0.3s;
}

.column-home:nth-child(1) {
    transition-delay: 0.6s;
}
.column-home:nth-child(2) {
    transition-delay: 0.9s;
}
.column-home:nth-child(3) {
    transition-delay: 1.2s;
}

/* Responsivt design for mindre skærme */
@media screen and (max-width: 768px) {
    .column-home {
        flex: 0 0 48%;
    }
}

@media screen and (max-width: 480px) {
    .column-home {
        flex: 0 0 100%;
    }
}

.stats-card {
    background-color: #ffffff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.stats-card:hover {
    background-color: #ddd;
}

.stats-title {
    font-weight: bold;
}

.stats-value {
    color: #333;
}

/* Avatar på brugerne */
.avatar {
    flex-shrink: 0; 
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    line-height: 60px; 
    color: white;
    background-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.avatar-list {
    flex-shrink: 0; 
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    line-height: 30px; 
    color: white;
    background-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

[data-initials]:before {
    content: attr(data-initials);
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

[data-initials-list]:before {
    content: attr(data-initials-list);
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    background: var(--avatar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* Online status prik */
.avatar.online::before {
  content: "●";
  color: green;
  margin-right: 5px;
  position: absolute;
  top: 0;
  left: 0;
}

/* Offline status prik */
.avatar.offline::before {
  content: "●";
  color: red; 
  margin-right: 5px;
  position: absolute;
  top: 0;
  left: 0;
}

/* Tilpasning til brugere */
.user-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.user-item-nav {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: flex-start;
}

.user-info-content {
    display: flex;
    flex-direction: column;
}

.user-info .user-name, .user-info .creation-date {
    margin-bottom: 5px;
}

.user-with-avatar {
    display: flex;
    align-items: center;
}

.creation-date {
    font-size: 0.8em;
    color: #666;
}

/* Stil til rediger profil link */
.user-info a {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9em;
}

.notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    z-index: 1000;
    opacity: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(100px);
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #F44336;
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.hide {
    opacity: 0;
    transform: translateY(20px);
}

/* (anbefalet) så toast kan ankres under feltet */
.input-icon-container { position: relative; }

/* Skjul hele kravblokken indtil typing */
.pw-req.hidden { 
  display: none;
}

/* Kravliste (base) */
.pw-req { margin-top: 10px; }
.pw-req-title { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.pw-req-list { list-style: none; padding: 0; margin: 0; }

.pw-req-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 8px;
  padding: 6px 10px;
  margin: 6px 0;
  max-height: 80px;    /* udgangspunkt til collapse */
  overflow: hidden;
  transition:
    max-height .25s ease,
    margin .25s ease,
    padding .25s ease,
    opacity .2s ease;
}

.pw-req-icon { width: 16px; text-align: center; font-weight: 700; flex: 0 0 16px; }
/* Uopfyldt = neutral prik */
.pw-req-item .pw-req-icon::before { content: "•"; color: #9ca3af; }
/* Opfyldt (inden kollaps) = flueben */
.pw-req-item.met .pw-req-icon::before { content: "✓"; color: #16a34a; }

.pw-req-allmet { margin-top: 6px; font-size: 12px; color: #16a34a; font-weight: 600; }