.container {
  background-color: rgba(66, 66, 66, 0.8);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.3);
  width: 350px;
  text-align: center;
  color: #fff;
  border: 1px solid #555;
  backdrop-filter: blur(5px);
}

::-moz-selection { /* Code for Firefox */
color: #000;
background: #ffa200;
}

::selection {
color: #000;
background: #ffa200;
}

/* Stil für das Login-Formular */
.login-form {
  margin-top: 20px;
  width: 100%;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ffa200;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #555;
  border-radius: 6px;
  background-color: rgba(70, 70, 70, 0.7);
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: #ffa200;
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 162, 0, 0.25);
}

.form-group input::placeholder {
  color: #aaa;
}

.login-btn {
  background-color: #ffa200;
  width: 100%;
  color: #fff;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-btn:hover {
  background-color: #e69100;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.discord-btn {
  background-color: #7289da;
  width: 100%;
  color: #fff;
  border: none;
  padding: 14px 20px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.discord-btn:hover {
  background-color: #5f73bc;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Stil für den Hauptüberschrift */
h1 {
  margin-bottom: 5px;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 i {
  color: #ffa200;
}

.author {
  color: #aaa;
  margin-top: 0;
  font-style: italic;
  margin-bottom: 30px;
}

/* Stil für den Link zum Ausloggen */
.logout-link {
  display: block;
  margin-top: 20px;
  text-align: center;
  color: #e74c3c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logout-link:hover {
  color: #c0392b;
}

/* Stil für den Header-Text */
.header {
  text-align: center;
  margin-right: 30px;
  margin-bottom: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background-color: #232323;
  background-image: linear-gradient(to bottom right, #2c2c2c, #1a1a1a);
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
}

.login-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.toast .toast-content {
display: flex;
align-items: center;
}

.toast-content .warning {
display: flex;
align-items: center;
justify-content: center;
height: 35px;
min-width: 35px;
background-color: #505457;
color: #a72121;
font-size: 20px;
border-radius: 50%;
}

.toast-content .success {
display: flex;
align-items: center;
justify-content: center;
height: 35px;
min-width: 35px;
background-color: #505457;
color: #069948;
font-size: 20px;
border-radius: 50%;
}

.toast-content .message {
display: flex;
flex-direction: column;
margin: 0 20px;
}

.message .text {
font-size: 16px;
font-weight: 400;
color: #afafaf;
}

.message .text.text-1 {
font-weight: 600;
color: #fff;
}

.toast .close {
position: absolute;
top: 10px;
right: 15px;
padding: 5px;
cursor: pointer;
opacity: 0.7;
}

.toast .close:hover {
opacity: 1;
}

.toast .progress {
position: absolute;
bottom: 0;
left: 0;
height: 3px;
width: 100%;
}

.toast .progress:before {
content: "";
position: absolute;
bottom: 0;
right: 0;
height: 100%;
width: 100%;
background-color: #ffffff;
}

.progress.active:before {
animation: progress 5s linear forwards;
}

@keyframes progress {
100% {
  right: 100%;
}
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 25px 0;
  color: #aaa;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #555;
}

.divider span {
  padding: 0 10px;
  font-weight: 600;
  font-size: 14px;
}

.discord-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

/* Anpassungen für Toast-Benachrichtigungen auf Mobilgeräten */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }
  
  .login-wrapper {
    flex-direction: column;
  }
  
  .header {
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    padding: 0 20px;
  }

  .toast {
    top: 10px;
    right: 10px;
    width: calc(100% - 20px);
    max-width: none;
    padding: 15px 25px 15px 15px;
  }
  
  .message .text {
    font-size: 14px;
  }
  
  .message .text.text-1 {
    font-size: 15px;
  }
  
  .toast-content .warning,
  .toast-content .success {
    height: 30px;
    min-width: 30px;
    font-size: 16px;
  }
}

/* Responsive Anpassungen */
@media (max-width: 480px) {
  .container {
    width: 85%;
    padding: 20px;
    margin: 0 auto;
  }
  
  h1 {
    font-size: 22px;
    margin-top: 0;
  }
  
  .author {
    margin-bottom: 15px;
    font-size: 12px;
  }
  
  .form-group {
    margin-bottom: 15px;
  }
  
  .form-group input {
    padding: 10px;
  }
  
  .login-btn, .discord-btn {
    padding: 12px 16px;
    font-size: 15px;
  }
  
  .divider {
    margin: 20px 0;
  }
}

/* Für sehr kleine Displays */
@media (max-width: 350px) {
  .container {
    width: 90%;
    padding: 15px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .form-group label {
    font-size: 14px;
  }
  
  .form-group input {
    padding: 8px;
    font-size: 13px;
  }
  
  .login-btn, .discord-btn {
    padding: 10px 14px;
    font-size: 14px;
  }
}

.toast {
  position: absolute;
  top: 25px;
  right: 30px;
  border-radius: 12px;
  background: #232323;
  padding: 20px 35px 20px 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateX(calc(100% + 30px));
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.35);
}

.toast.active {
  transform: translateX(0%);
}

/* Anpassungen für Landscape-Modus */
@media (max-height: 500px) and (orientation: landscape) {
  body {
    height: auto;
    padding: 20px 0;
  }
  
  .container {
    margin: 0 auto;
  }
  
  .header {
    margin-bottom: 15px;
  }
  
  h1 {
    font-size: 20px;
  }
  
  .author {
    margin-bottom: 10px;
  }
  
  .form-group {
    margin-bottom: 10px;
  }
}
