body {
  --dot-bg: white;
  --dot-color: black;
  --dot-size: 3px;
  --dot-space: 40px;
  background:
  linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
  linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
  var(--dot-color);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

a {
  color: rgb(33, 37, 41);
  text-underline-offset: 0.25rem;
}

img {
  max-width: 100%;
}

h1 {
  margin: 0px;
  padding: 0px;
}

#page-container {
  position: relative;
  margin: 0.5rem;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-height: calc(100vh - 100px);
}

.consent-buttons {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.container {
  max-width: 300px;
  width: 100%;
  margin-left: 1rem;
  margin-right: 1rem;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container h1 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.container label {
  display: block;
  margin-bottom: 5px;
}

label.subtitle {
  font-size: 0.8rem;
  color: #555 !important;
}

.container input[type="text"], 
.container input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

button {
    position: relative;
    width: fit-content;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    box-sizing: border-box;
}

button:hover {
    background-color: #0056b3;
}

button:disabled {
  cursor: not-allowed;
  background-color: #555;
}

table {
  position: relative;
  width: 100%;
}

thead {
  text-align: left;
}

th {
  padding-bottom: 0.5rem;
}

.user-profile-infos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.user-profile-actions {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.input-label-container {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.input-label-container > label {
  display: block;
  margin-bottom: 5px;
  color: #000;
}

.input-label-container > input, select, #client-edit-redirect-uris > input, div > input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
}

#client-edit-redirect-uris-last-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

dialog {
  border: none;
  border-radius: 5px; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

dialog::backdrop {
  backdrop-filter: blur(5px);
}

button.danger {
  background-color: red !important;
}

@media (max-width:641px)  {
  /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */ 
  body {
    flex-direction: column;
  }
}

.error {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 3px;
  border: 1px solid #f5c2c7;
  background-color: #f8d7da;
  color: #842029;
  box-sizing: border-box;
}

.success {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 3px;
  border: 1px solid #75b798;
  background-color: #d1e7dd;
  color: #198754;
  box-sizing: border-box;
}
