::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 99999999px;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  user-select: none;
}

.disabled:hover {
cursor: not-allowed;
}

.textarea {
padding: 0.75rem;
border: 1px solid #ccc;
border-radius: 5px;
margin-bottom: 1rem;
background-color: #fff;
}

.wide {
width: 100%;
}

.h50 {
height: 50px;
}

.h75{
height: 75px;
}

.dark-mode .textarea {
background-color: #181818;
border: 1px solid #666;
color: white;
}

.btn {
  margin: 2px;
  margin-top: 6px;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
  width: 138px;
  /* Feste Breite für beide Buttons */
  text-align: center;
  /* Zentriert den Text horizontal */
  font-size: 14px;
  /* Schriftgröße festlegen */
  font-weight: normal;
  /* Standard Schriftgewicht */
}

.btn:hover {
  filter: brightness(1.2);
}

.sbtn {
  margin: 2px;
  margin-top: 6px;
  color: #fff;
  border: none;
  padding: 3px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
  /* Feste Breite für beide Buttons */
  text-align: center;
  /* Zentriert den Text horizontal */
  font-size: 14px;
  /* Schriftgröße festlegen */
  font-weight: normal;
  /* Standard Schriftgewicht */
}

.sbtn:hover {
  filter: brightness(1.2);
}

.ebtn {
  margin: 2px;
  margin-top: 6px;
  color: #fff;
  border: none;
  padding: 3px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
  padding: 12px;
  min-width: 15.5px;
  /* Feste Breite für beide Buttons */
  text-align: center;
  /* Zentriert den Text horizontal */
  font-size: 14px;
  /* Schriftgröße festlegen */
  font-weight: normal;
  /* Standard Schriftgewicht */
}

.ebtn:hover {
  filter: brightness(1.2);
}

/*medium Button Style*/
.mbtn {
  margin: 2px;
  margin-top: 6px;
  color: #fff;
  border: none;
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  font-weight: normal;
}

.mbtn:hover {
  filter: brightness(1.2);
}

.fbtn {
  margin: 2px;
  margin-top: 6px;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  flex: 1;
  min-width: 160px;
  /* Feste Breite für beide Buttons */
  text-align: center;
  /* Zentriert den Text horizontal */
  font-size: 14px;
  /* Schriftgröße festlegen */
  font-weight: normal;
  /* Standard Schriftgewicht */
}

.fbtn:hover {
  filter: brightness(1.2);
}

.center {
  text-align: center;
}

.all-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.round {
  border-radius: 99999px;
}


.tooltip,
.tt {
position: relative;
display: inline-block;
}

.tooltip .tooltiptext,
.tt .ttt {
visibility: hidden;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
white-space: nowrap;
background-color: #555;
color: #fff;
text-align: center;
padding: 5px;
border-radius: 6px;
position: absolute;
z-index: 1;
}

.tooltip:hover .tooltiptext,
.tt:hover .ttt {
visibility: visible;
}

.tooltip .tooltiptext::after,
.tt .ttt::after {
content: " ";
position: absolute;
top: 100%;
left: 50%;
margin-left: -5px;
border-width: 5px;
border-style: solid;
border-color: #555 transparent transparent transparent;
}

/* Loading version 1*/
.loading1,
.loading1:after {
  box-sizing: border-box;
}
.loading1 {
  display: inline-block;
  width: 80px;
  height: 80px;
}
.loading1:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 6.4px solid currentColor;
  border-color: transparent currentColor transparent currentColor;
  animation: loading1 1.2s linear infinite;
}

@keyframes loading1 {
0% {
  transform: rotate(0);
  animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}
50% {
  transform: rotate(180deg);
  animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}
100% {
  transform: rotate(360deg);
}
}
/* Loading version 2*/
.loading2,
.loading2 div {
box-sizing: border-box;
}
.loading2 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading2 div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 8px solid currentColor;
border-radius: 50%;
animation: loading2 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: currentColor transparent transparent transparent;
}
.loading2 div:nth-child(1) {
animation-delay: -0.45s;
}
.loading2 div:nth-child(2) {
animation-delay: -0.3s;
}
.loading2 div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes loading2 {
0% {
  transform: rotate(0deg);
}
100% {
  transform: rotate(360deg);
}
}


/* Loading version 3*/

.loading3,
.loading3 div,
.loading3 div:after {
box-sizing: border-box;
}
.loading3 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading3 div {
animation: loading3 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
transform-origin: 40px 40px;
}
.loading3 div:after {
content: " ";
display: block;
position: absolute;
width: 7.2px;
height: 7.2px;
border-radius: 50%;
background: currentColor;
margin: -3.6px 0 0 -3.6px;
}
.loading3 div:nth-child(1) {
animation-delay: -0.036s;
}
.loading3 div:nth-child(1):after {
top: 62.62742px;
left: 62.62742px;
}
.loading3 div:nth-child(2) {
animation-delay: -0.072s;
}
.loading3 div:nth-child(2):after {
top: 67.71281px;
left: 56px;
}
.loading3 div:nth-child(3) {
animation-delay: -0.108s;
}
.loading3 div:nth-child(3):after {
top: 70.90963px;
left: 48.28221px;
}
.loading3 div:nth-child(4) {
animation-delay: -0.144s;
}
.loading3 div:nth-child(4):after {
top: 72px;
left: 40px;
}
.loading3 div:nth-child(5) {
animation-delay: -0.18s;
}
.loading3 div:nth-child(5):after {
top: 70.90963px;
left: 31.71779px;
}
.loading3 div:nth-child(6) {
animation-delay: -0.216s;
}
.loading3 div:nth-child(6):after {
top: 67.71281px;
left: 24px;
}
.loading3 div:nth-child(7) {
animation-delay: -0.252s;
}
.loading3 div:nth-child(7):after {
top: 62.62742px;
left: 17.37258px;
}
.loading3 div:nth-child(8) {
animation-delay: -0.288s;
}
.loading3 div:nth-child(8):after {
top: 56px;
left: 12.28719px;
}
@keyframes loading3 {
0% {
  transform: rotate(0deg);
}
100% {
  transform: rotate(360deg);
}
}


/* Loading version 4*/

.loading4,
.loading4 div {
box-sizing: border-box;
}
.loading4 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading4 div {
display: inline-block;
position: absolute;
left: 8px;
width: 16px;
background: currentColor;
animation: loading4 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
}
.loading4 div:nth-child(1) {
left: 8px;
animation-delay: -0.24s;
}
.loading4 div:nth-child(2) {
left: 32px;
animation-delay: -0.12s;
}
.loading4 div:nth-child(3) {
left: 56px;
animation-delay: 0s;
}
@keyframes loading4 {
0% {
  top: 8px;
  height: 64px;
}
50%, 100% {
  top: 24px;
  height: 32px;
}
}


/* Loading version 5*/

.loading5,
.loading5 div {
box-sizing: border-box;
}
.loading5 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading5 div {
position: absolute;
width: 6.4px;
height: 6.4px;
background: currentColor;
border-radius: 50%;
animation: loading5 1.2s linear infinite;
}
.loading5 div:nth-child(1) {
animation-delay: 0s;
top: 36.8px;
left: 66.24px;
}
.loading5 div:nth-child(2) {
animation-delay: -0.1s;
top: 22.08px;
left: 62.29579px;
}
.loading5 div:nth-child(3) {
animation-delay: -0.2s;
top: 11.30421px;
left: 51.52px;
}
.loading5 div:nth-child(4) {
animation-delay: -0.3s;
top: 7.36px;
left: 36.8px;
}
.loading5 div:nth-child(5) {
animation-delay: -0.4s;
top: 11.30421px;
left: 22.08px;
}
.loading5 div:nth-child(6) {
animation-delay: -0.5s;
top: 22.08px;
left: 11.30421px;
}
.loading5 div:nth-child(7) {
animation-delay: -0.6s;
top: 36.8px;
left: 7.36px;
}
.loading5 div:nth-child(8) {
animation-delay: -0.7s;
top: 51.52px;
left: 11.30421px;
}
.loading5 div:nth-child(9) {
animation-delay: -0.8s;
top: 62.29579px;
left: 22.08px;
}
.loading5 div:nth-child(10) {
animation-delay: -0.9s;
top: 66.24px;
left: 36.8px;
}
.loading5 div:nth-child(11) {
animation-delay: -1s;
top: 62.29579px;
left: 51.52px;
}
.loading5 div:nth-child(12) {
animation-delay: -1.1s;
top: 51.52px;
left: 62.29579px;
}
@keyframes loading5 {
0%, 20%, 80%, 100% {
  transform: scale(1);
}
50% {
  transform: scale(1.5);
}
}


/* Loading version 6*/


.loading6,
.loading6 div {
box-sizing: border-box;
}
.loading6 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading6 div {
position: absolute;
top: 33.33333px;
width: 13.33333px;
height: 13.33333px;
border-radius: 50%;
background: currentColor;
animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.loading6 div:nth-child(1) {
left: 8px;
animation: loading61 0.6s infinite;
}
.loading6 div:nth-child(2) {
left: 8px;
animation: loading62 0.6s infinite;
}
.loading6 div:nth-child(3) {
left: 32px;
animation: loading62 0.6s infinite;
}
.loading6 div:nth-child(4) {
left: 56px;
animation: loading63 0.6s infinite;
}
@keyframes loading61 {
0% {
  transform: scale(0);
}
100% {
  transform: scale(1);
}
}
@keyframes loading63 {
0% {
  transform: scale(1);
}
100% {
  transform: scale(0);
}
}
@keyframes loading62 {
0% {
  transform: translate(0, 0);
}
100% {
  transform: translate(24px, 0);
}
}
/* Loading version 7 */

.loading7,
.loading7 div,
.loading7 div:after {
box-sizing: border-box;
}
.loading7 {
color: currentColor;
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading7 div {
transform-origin: 40px 40px;
animation: loading7 1.2s linear infinite;
}
.loading7 div:after {
content: " ";
display: block;
position: absolute;
top: 3.2px;
left: 36.8px;
width: 6.4px;
height: 17.6px;
border-radius: 20%;
background: currentColor;
}
.loading7 div:nth-child(1) {
transform: rotate(0deg);
animation-delay: -1.1s;
}
.loading7 div:nth-child(2) {
transform: rotate(30deg);
animation-delay: -1s;
}
.loading7 div:nth-child(3) {
transform: rotate(60deg);
animation-delay: -0.9s;
}
.loading7 div:nth-child(4) {
transform: rotate(90deg);
animation-delay: -0.8s;
}
.loading7 div:nth-child(5) {
transform: rotate(120deg);
animation-delay: -0.7s;
}
.loading7 div:nth-child(6) {
transform: rotate(150deg);
animation-delay: -0.6s;
}
.loading7 div:nth-child(7) {
transform: rotate(180deg);
animation-delay: -0.5s;
}
.loading7 div:nth-child(8) {
transform: rotate(210deg);
animation-delay: -0.4s;
}
.loading7 div:nth-child(9) {
transform: rotate(240deg);
animation-delay: -0.3s;
}
.loading7 div:nth-child(10) {
transform: rotate(270deg);
animation-delay: -0.2s;
}
.loading7 div:nth-child(11) {
transform: rotate(300deg);
animation-delay: -0.1s;
}
.loading7 div:nth-child(12) {
transform: rotate(330deg);
animation-delay: 0s;
}
@keyframes loading7 {
0% {
  opacity: 1;
}
100% {
  opacity: 0;
}
}

/* Loading version 8 */

.loading8,
.loading8 div {
box-sizing: border-box;
}
.loading8 {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.loading8 div {
position: absolute;
border: 4px solid currentColor;
opacity: 1;
border-radius: 50%;
animation: loading8 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.loading8 div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes loading8 {
0% {
  top: 36px;
  left: 36px;
  width: 8px;
  height: 8px;
  opacity: 0;
}
4.9% {
  top: 36px;
  left: 36px;
  width: 8px;
  height: 8px;
  opacity: 0;
}
5% {
  top: 36px;
  left: 36px;
  width: 8px;
  height: 8px;
  opacity: 1;
}
100% {
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  opacity: 0;
}
}

/* Loading version 9 */

@keyframes loading9 {
  0% { transform: rotate(0deg) }
  50% { transform: rotate(180deg) }
  100% { transform: rotate(360deg) }
}
.loading9 div {
  position: absolute;
  animation: loading9 1s linear infinite;
  width: 64px;
  height: 64px;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  box-shadow: 0 4px 0 0;
  transform-origin: 32px 32.8px;
}
.loading9-1 {
  width: 80px;
  height: 80px;
  display: inline-block;
  overflow: hidden;
}
.loading9 {
  width: 100%;
  height: 100%;
  position: relative;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0;
}
.loading9 div { box-sizing: content-box; }

/* Blink style*/
.blink {
  animation: blinkAnimation 2s infinite; /* Blinkende Animation für 1 Sekunde, unendlich oft wiederholt */
}

@keyframes blinkAnimation {
  0%, 50%, 100% {
      opacity: 0; /* Bei 0%, 50%, und 100% Unsichtbarkeit (ausgeblendet) */
  }
  25%, 75% {
      opacity: 1; /* Bei 25% und 75% Sichtbarkeit (eingeblendet) */
  }
}

@keyframes flyInRight {
0% {
  transform: translateX(120%);
  opacity: 0;
}
100% {
  transform: translateX(0);
  opacity: 1;
}
}

@keyframes flyRight {
0% {
  transform: translateX(0);
  opacity: 1;
}
100% {
  transform: translateX(120%);
  opacity: 0;
}
}

@keyframes slideDownSingle {
0% {
  transform: translateY(-100%);
}
100% {
  transform: translateY(0);
}
}

.callout-container {
position: fixed;
bottom: 35px;
right: 20px;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}

.callout {
max-width: 300px;
transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
animation: flyInRight 1.5s forwards;
position: relative;
}

.callout.hide {
animation: flyRight 0.5s forwards;
opacity: 0;
pointer-events: none;
}

.callout-content {
padding: 1px;
padding-left: 15px;
padding-right: 15px;
background-color: #ccc;
color: #000;
border-radius: 25px;
position: relative;
}

.dark-mode .callout-content {
background-color: #444;
color: #ddd;
}

.closebtnco {
position: absolute;
top: 5px;
right: 15px;
color: white;
font-size: 30px;
cursor: pointer;
z-index: 10;
}

.closebtnco:hover {
color: lightgrey;
}

.popup-overlay {
display: flex;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
justify-content: center;
align-items: center;
z-index: 10000;
}

.popup-content {
background-color: #333;
position: absolute;
width: 300px;
padding: 20px;
border-radius: 25px;
text-align: center;
}

.closebtnpu {
position: absolute;
right: 15px;
top: 5px;
color: white;
font-size: 30px;
cursor: pointer;
z-index: 10;
}

.closebtnpu:hover {
color: lightgrey;
}

.ribbon {
width: 60px;
font-size: 14px;
padding: 4px;
position: absolute;
margin-right: -25px;
margin-top: -12px;
text-align: center;
border-radius: 25px;
transform: rotate(20deg);
background-color: #ff9800;
color: white;
}

.glow {
font-size: 80px;
color: #fff;
text-align: center;
transition: 1s;
text-shadow: 0 0 20px #fff, 0 0 30px #0053b3, 0 0 40px #0053b3, 0 0 50px #0053b3, 0 0 60px #0053b3, 0 0 70px #0053b3, 0 0 80px #0053b3;
}

.dark-mode .glow {
font-size: 80px;
color: #333;
text-align: center;
transition: 1s;
text-shadow: 0 0 20px #fff, 0 0 30px #0053b3, 0 0 40px #0053b3, 0 0 50px #0053b3, 0 0 60px #0053b3, 0 0 70px #0053b3, 0 0 80px #0053b3;
}

.glow:hover {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #0053b3, 0 0 40px #0053b3, 0 0 50px #0053b3, 0 0 60px #0053b3, 0 0 70px #0053b3;
}

.share {
float: right;
cursor: pointer;
}

.red {
background-color: #b31111 !important;
color: white !important;
}

.blu {
  background-color: #0053b3 !important;
  color: white !important;
}

.grn {
  background-color: #11b311 !important;
  color: white !important;
}

.orn {
  background-color: #dd6700 !important;
  color: white !important;
}

.green {
  background-color: green !important;
  color: white !important;
}

.center {
  text-align: center;
}

.blink {
  animation: blinkAnimation 2s infinite; /* Blinkende Animation für 1 Sekunde, unendlich oft wiederholt */
}

.header {
  position: sticky;
  top: 0;
  background: linear-gradient(90deg, #007bff, #00bfff);
  color: #fff;
  text-align: center;
  padding: 1rem 0;
  z-index: 1;
  font-size: 1.5rem;
  letter-spacing: 2px;
}

@media (max-width:1100px) {

  .memes {
      margin-left: auto; 
      margin-right: auto; 
      display: block;
      width: 100%;
      border-radius: 50px; 
      margin-bottom: 25px;
      border: 5px solid #f5f5f5;
      transition: 0.3s;
  }
  
  .dark-mode .memes{
      border: 5px solid #222;
  }
  
  .memes:hover {
      border: 5px solid #0c0;
      width: 102.5%;
  }
} @media (min-width:1100px) {
  .memes {
      margin-left: auto; 
      margin-right: auto; 
      display: block;
      width: 50%;
      border-radius: 50px; 
      margin-bottom: 25px;
      border: 5px solid #f5f5f5;
      transition: 0.3s;
  }
  
  .dark-mode .memes{
      border: 5px solid #222;
  }
  
  .memes:hover {
      border: 5px solid #0c0;
      width: 52.5%;
  }
}

.hlink{
  color: #0af;
}

main {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 25px;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

h1 {
  margin: 0;
  color: #007bff;
}

.h1link {
  margin: 0;
  color: #007bff;
}

.headLink {
  color: #000;
  cursor: pointer;
}

.dark-mode .headLink {
  color: #fff;
}

.ppics {
  margin-left: 5px; 
  margin-right: 5px; 

  width: 246.6px;
  border-radius: 50px; 
  margin-bottom: 25px;
  border: 5px solid #f5f5f5;

  transition: 0.3s;
}

.dark-mode .ppics{
  border: 5px solid #222;
}

.ppics:hover {
  border: 5px solid #0c0;
}

.icon-button {
  background-color: #007bff;
  height:100px;
  width: 100px;
}

video, 
.video {
  border-radius: 25px;
  overflow: hidden;
}

video:-webkit-full-screen, 
.video:-webkit-full-screen {
  border-radius: 0;
}

video:-moz-full-screen,
.video:-moz-full-screen {
  border-radius: 0;
}

video:fullscreen,
.video:fullscreen {
  border-radius: 0;
}

.pics {
  margin-left: auto; 
  margin-right: auto; 
  display: block;
  width: 100%;
  border-radius: 50px; 
  margin-bottom: 25px;
  border: 5px solid #f5f5f5;
  margin-left: -5px;
  transition: 0.3s;
}

.dark-mode .pics{
  border: 5px solid #222;
}

.pics:hover {
  border: 5px solid #0c0;
  width: 102.5%;
  margin-left: -15px;
}

.thumbnails {
  width: 220px;
  border-radius: 50px; 
  border: 5px solid #fff;
  margin-left: -5px;
  transition: 0.3s;
}

.newHR {
display:block; 
height: 1px; 
border:0; 
border-top: 1px solid #eee; 
margin: 1em 0; 
padding: 0; 
}

.dark-mode .newHR {
border-top: 1px solid #333; 
}

.title {
margin: 0;
padding: 0;
}

.description {
padding-left: 10px;
margin-top: 10px;
color: #666;
overflow-y: scroll;
max-height: 220px;
}

.dark-mode .thumbnails{
  border: 5px solid #222;
}

.thumbnails:hover {
  border: 5px solid #0c0;
  margin-left: -5px;
}

select {
  cursor: pointer;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  outline: none;
  margin-bottom: 10px;
  height: 32px;
  text-align: center;
}

.dark-mode select {
  background-color: #333;
  color: #fff;
  border: 1px solid #666;
}

.button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  width: 150px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.button:hover {
  background-color: #0056b3;
}

.flex-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  margin: 5px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  flex: 1;
  min-width: 160px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}

.flex-button:hover {
  background-color: #0056b3;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #007bff;
  color: #fff;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark-mode {
  background-color: #1a1a1a;
  color: #fff;
}

.dark-mode header {
  background-color: #0056b3;
}

.dark-mode main {
  background-color: #222;
}

.dark-mode a.button:hover {
  background-color: #007bff;
}

.dark-mode a.button {
  background-color: #0056b3;
}

.dark-mode footer {
  background-color: #111;
}

.slider-container {
  position: fixed;
  top: 27.5px;
  right: 20px;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}

.slider-track {
  width: 50px;
  height: 25px;
  background-color: #ccc;
  border-radius: 25px;
  position: relative;
  transition: background-color 0.3s;
}

.slider-thumb {
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  transition: left 0.3s;
}

.dark-mode .slider-track {
  background-color: #666;
}

.dark-mode .slider-thumb {
  left: 27.5px;
}

.nav-buttons {
  position: fixed;
  top: 15px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.nav-button {
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.nav-button:hover {
  background-color: #0056b3;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: #007bff;
}

.input,
input[type="text"],
input[type="email"],
input[type="password"] {
  width: calc(100% - 1.5rem);
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 1rem;
  background-color: #fff;
}

.regbutton,
button[type="submit"] {
  background-color: #0056b3;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
  width: 150px;
  text-align: center;
  font-size: 14px;
  font-weight: normal;
}

.regbutton:hover,
button[type="submit"]:hover {
  background-color: #007bff;
}

.dark-mode label {
  color: #007bff;
}

body.dark-mode label[for="username"],
body.dark-mode label[for="password"] {
  color: white;
}

body.dark-mode .input,
body.dark-mode input[type="text"],
body.dark-mode input[type="email"],
body.dark-mode input[type="password"] {
  background-color: #181818;
  border: 1px solid #666;
  color: white;
}

body.dark-mode main {
  background-color: #222;
}

.user-list {
  list-style: none;
  padding: 0;
}

.user-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.user-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0.5rem 0;
  width: 100%;
  text-align: center;
}

.user-button:hover {
  background-color: #dc3545;
}

.hlink {
  color: #00f;
}

.dark-mode .hlink {
  color: #aaf;
}
.table-outline {
  border: none;
  width: 100%;
  margin-top: 20px;

}
table {
  border: none;
  border-collapse: collapse;
  width: 100%;
  user-select: text;
}

tr {
  background-color: #fff;
  border-collapse: collapse;
}

tr:hover {
  background-color: #007bff55;
}

.dark-mode tr {
  background-color: #222;
}

.dark-mode tr:hover {
  background-color: #0053b355;
}

th, td {
  border: none;
  padding: 12px;
  text-align: left;
}

th {
  background-color: #ccc;
}

.dark-mode th {
  background-color: #111;
  color: #fff;
}

.flex-Container {
  display: flex;
  flex-wrap: wrap;
  flex-grow: row;
}

.fc {
  display: flex;
  flex-wrap: wrap;
  flex-grow: row;
}

.flex {
  flex: 1;
  min-width: 160px;
}

.hidden {
  display: none;
}

/* Shared responsive layout refresh */
html {
  min-height: 100%;
  background: #eef3f9;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 123, 255, 0.12), transparent 34rem),
    #eef3f9;
  color: #172033;
}

body.dark-mode {
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 83, 179, 0.2), transparent 34rem),
    #11151c;
  color: #eef4ff;
}

.header,
body.dark-mode .header {
  box-sizing: border-box;
  height: 66px !important;
  padding: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: #007bff !important;
  box-shadow: 0 8px 24px rgba(0, 51, 112, 0.2);
}

main {
  box-sizing: border-box;
  width: min(1000px, calc(100% - 32px));
  max-width: calc(100% - 32px) !important;
  margin: 32px auto !important;
  padding: clamp(20px, 4vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(17, 41, 77, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(28, 51, 84, 0.12);
}

body.dark-mode main,
.dark-mode main {
  border-color: rgba(255, 255, 255, 0.09);
  background: rgba(30, 35, 44, 0.96);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3);
}

.nav-buttons {
  top: 8px;
  left: 18px;
  gap: 6px;
  max-width: calc(100vw - 100px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.nav-buttons > a {
  position: relative;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-buttons > a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.nav-buttons img,
.nav-buttons svg {
  display: block;
  width: 44px !important;
  height: 44px !important;
  border: 0;
  border-radius: 10px !important;
  object-fit: cover;
}

.nav-buttons > a:first-child img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.slider-container {
  top: 20px;
  right: 18px;
}

h1, h2, h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #096fc9;
}

h1 {
  margin-bottom: 20px;
  overflow-wrap: anywhere;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 700;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

p,
li,
td,
label {
  line-height: 1.6;
}

p {
  color: #435268;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3 {
  color: #65adff;
}

body.dark-mode p {
  color: #c0cad8;
}

small {
  line-height: 1.4;
}

a {
  text-underline-offset: 3px;
}

img,
video,
iframe {
  max-width: 100%;
}

img.profile,
img.chat-avatar {
  width: 50px !important;
  height: 50px !important;
  min-width: 50px;
  max-width: 50px !important;
  flex: 0 0 50px;
  border-radius: 50% !important;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

form {
  max-width: 100%;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  box-sizing: border-box;
  max-width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #c8d2e1;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #172033;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  border-color: #2684e8;
  box-shadow: 0 0 0 3px rgba(38, 132, 232, 0.15);
}

body.dark-mode input:not([type="checkbox"]):not([type="radio"]),
body.dark-mode select,
body.dark-mode textarea {
  border-color: #4a5568;
  background: #151a22;
  color: #fff;
}

button,
.btn,
.regbutton,
.flex-button {
  border-radius: 10px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

button:hover,
.btn:hover,
.regbutton:hover,
.flex-button:hover {
  transform: translateY(-1px);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 55, 88, 0.12);
  border-radius: 13px;
}

th {
  background: #e5ebf3;
  color: #26364d;
}

th, td {
  border-bottom: 1px solid rgba(31, 55, 88, 0.09);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: 0;
}

body.dark-mode table {
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode th {
  background: #111720;
  color: #fff;
}

.callout-container {
  box-sizing: border-box;
  max-width: calc(100% - 24px);
}

footer {
  box-sizing: border-box;
  width: 100%;
  margin-top: 30px;
  background: linear-gradient(90deg, #0053b3, #007fc1);
}

@media (max-width: 700px) {
  .header {
    height: 64px !important;
  }

  main {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px) !important;
    margin: 18px auto !important;
    padding: 18px;
    border-radius: 18px;
  }

  .nav-buttons {
    position: fixed;
    top: 8px;
    right: auto;
    bottom: auto;
    left: 10px;
    z-index: 10000;
    max-width: calc(100vw - 82px);
    justify-content: flex-start;
    border-radius: 0;
    background: transparent;
  }

  .nav-buttons > a {
    width: 44px;
    height: 44px;
  }

  .nav-buttons img,
  .nav-buttons svg {
    width: 40px !important;
    height: 40px !important;
  }

  .nav-buttons > a:first-child img {
    width: 30px !important;
    height: 30px !important;
  }

  .slider-container {
    top: 14px;
    right: 14px;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .fc,
  .flex-Container {
    gap: 8px;
  }
}
