/* Basic layout for auth pages */
  body {
	  margin: 0;
	  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	  background: #7fd4ff url('images/backdrop.png') center/cover no-repeat fixed;
  }
  
  /* Standardlinks (Min profil, Opret bruger, Glemt adgangskode osv.) */
  a {
	color: #444;                /* samme fornemmelse som "Min profil" */
	text-decoration: none;
	font-weight: 500;
  }
  
  /* Hover/focus – lidt tydeligere, men stadig clean */
  a:hover,
  a:focus {
	text-decoration: underline;
  }
  
  .footer-links {
	margin-top: 30px;
	text-align: right;
	font-size: 14px;
	opacity: 0.8;
  }
  
  .footer-links a {
	margin-left: 12px;
  }
  .footer-links a:first-child {
	margin-left: 0;
  }
  
  .page-wrap {
	  min-height: 100vh;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  padding: 20px;
  }

  .auth-with-header .page-wrap {
	  width: 86%;
	  max-width: 1100px;
	  margin: 0 auto;
	  min-height: 100vh;
	  display: flex;
	  flex-direction: column;
	  align-items: stretch;
	  padding: 20px 0;
	  box-sizing: border-box;
  }

  .auth-with-header .auth-card-wrap {
	  flex: 1;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  width: 100%;
	  padding: 24px 0 64px;
	  box-sizing: border-box;
  }

  .auth-with-header .topbar {
	  display: flex;
	  justify-content: space-between;
	  align-items: center;
	  gap: 16px;
	  margin-bottom: 18px;
  }

  .auth-with-header .brand {
	  display: inline-flex;
	  align-items: center;
	  gap: 10px;
	  color: #1f2933;
	  font-weight: 700;
  }

  .auth-with-header .brand img {
	  width: 38px;
	  height: auto;
  }

  .auth-with-header .site-nav {
	  display: flex;
	  flex-wrap: wrap;
	  justify-content: flex-end;
	  gap: 8px 14px;
  }

  .auth-with-header .nav-current {
	  color: #1f2933;
	  font-weight: 700;
  }

  .auth-with-header .nav-separator {
	  color: #777;
  }
  
  .card {
	  background: #fff;
	  max-width: 480px;
	  width: 100%;
	  padding: 24px 28px;
	  border-radius: 16px;
	  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
	  /* border-radius: 12px;
	  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
	  border: 1px solid #ccc; /* lys grå kant */ */
  }

  .card_wide {
		max-width: 720px;
		width: 100%;
	}
  
  .card h1, .card_wide h1 {
	  margin-top: 0;
	  margin-bottom: 16px;
	  font-size: 1.5rem;
	  text-align: center;
  }
  
  .form-row {
	  margin-bottom: 14px;
  }
  
  label {
	  display: block;
	  font-size: 0.9rem;
	  margin-bottom: 4px;
  }
  
  input[type="email"],
  input[type="password"],
  input[type="text"] {
	  width: 100%;
	  box-sizing: border-box;
	  padding: 8px 10px;
	  border-radius: 8px;
	  border: 1px solid #ccc;
	  font-size: 0.95rem;
  }
  
  button,
  input[type="submit"] {
  	display: block;
	margin-left: auto;
    margin-right: auto;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 16px;
    font-weight: 500;
	cursor: pointer;
  }
  

.button-white {
	background: #ffffff;
	color: #4caf50;
	border: 1px solid #4caf50;
  }

  .button-primary {
	background: #4caf50;
	border: none;
	color: white;
  }

  .button-secondary {
	background: #2196f3;
	border: none;
	color: white;
}

	.button-primary:hover,.button-secondary:hover,.button-white:hover {
  filter: brightness(0.95);
}

.button-danger {
	background: #c0392b;
	color: #fff;
	border: none;
}

.button-danger:hover {
	background: #e74c3c;
}
  
  .actions {
	  margin-top: 16px;
	  display: flex;
	  justify-content: space-between;
	  flex-wrap: wrap;
	  gap: 8px;
  }
  
  .flash {
	  margin-bottom: 10px;
	  padding: 8px 10px;
	  border-radius: 8px;
	  font-size: 0.9rem;
  }
  .flash-error {
	  background: #ffebee;
	  color: #c62828;
  }
  .flash-success {
	  background: #e8f5e9;
	  color: #2e7d32;
  }
  .small-text {
	  font-size: 0.8rem;
	  color: #555;
	  margin-top: 10px;
  }

  @media (max-width: 780px) {
	  .auth-with-header .page-wrap {
		  width: 90%;
		  box-sizing: border-box;
	  }

	  .auth-with-header .topbar {
		  align-items: flex-start;
		  flex-direction: column;
	  }

	  .auth-with-header .site-nav {
		  justify-content: flex-start;
	  }
  }
  
