.help-button {
  border: none;
  padding: 10px 20px;
  border-radius: 50%;
  font-size: 24px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
}
.grecaptcha-badge {
  position: fixed !important;
  bottom: 40px !important;
  transform: translateY(-50px); /* Etwas nach oben verschieben */
  z-index: 999; /* Etwas niedriger als der Hilfe-Button */
}
.help-button {
  z-index: 1001; /* Höher als reCAPTCHA */
}
.help-sidebar-content .close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  cursor: pointer;
}

.help-sidebar-content h2 {
  margin-top: 50px;
  font-weight: bold;
}

.help-sidebar-content p {
  margin: 10px 0 20px;
  line-height: 1.6;
}

.help-sidebar-content ul {
  list-style: none;
  padding: 0;
}

.help-sidebar-content ul li {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
}

.help-sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto; 
  transition: width 0.5s ease;
  padding-top: 20px;
  z-index: 1200;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
}

.help-sidebar-content {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.help-sidebar-content .closehelp {
  position: absolute;
  top: 10px;
  left: 25px;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s, transform 0.5s ease;
  transform-origin: center center;
}

.help-sidebar-content .closehelp:hover {
  color: red;
  transform: rotate(90deg);
}

.help-sidebar-content p {
  margin-top: 10px;
}

.help-sidebar-content ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.help-sidebar-content ul li {
  padding: 8px 0;
}

.help-sidebar-content ul li a {
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.help-sidebar-content .sidebar-buttons {
  margin-top: 20px;
  text-align: center;
}

.help-sidebar-content .sidebar-buttons a {
  display: inline-block;
  text-decoration: none;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 5px;
  transition: background-color 0.3s, transform 0.3s;
}

.help-sidebar-content .sidebar-buttons a:hover {
  transform: scale(1.05);
}

.help-sidebar-content .sidebar-buttons a:active {
  transform: scale(0.95);
}

.container-help {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.custom-title {
  margin-top: 20px;
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}

.backcolor-top-help {
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.hilfe-meta {
  margin-bottom: 20px;
  font-size: 14px;
}

.hilfe-meta-top {
  position: absolute;
  top: 3px;
  left: 4px;
  font-size: 14px;
}

.hilfe-meta-bottom {
  position: absolute;
  bottom: -10px;
  right: 20px;
  font-size: 12px;
}

.hilfe-content {
  margin-top: 40px;
  font-size: 16px;
  line-height: 1.6;
}

.hilfe-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
  position: relative;
}

.card-title {
  margin-top: 10px;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: bold;
}

.card-text {
  margin-bottom: 0.5rem;
}

.tags-container {
  position: absolute;
  top: 0px;
  right: 5px;
}

.tags {
  font-size: 14px;
  color: #007bff;
  font-weight: bold;
  margin-bottom: 10px;
}

.dates {
  margin-top: 20px;
  font-size: 10px;
  color: #888;
  position: absolute;
  bottom: 2px;
  right: 2px;
  text-align: right;
}

.dates p {
  display: inline;
  margin-right: 10px;
}

.top-help-topic {
  order: -1; 
}

.help-sidebar .separator {
  border-top: 1px solid #ccc;
  margin: 20px 0;
}
.help-sidebar-form {
    display: none; 
    visibility: hidden;
    width: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); 
    color: black;
    position: relative; 
    z-index: 1000; 
    transition: all 0.3s ease; 
}

.help-sidebar-form.show {
    display: block;
    visibility: visible;
}

.help-sidebar-form select {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 50px; 
    background: #f9f9f9; 
    color: #333; 
    font-size: 16px; 
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
}

.help-sidebar-form select:focus {
    outline: none;
    border-color: #007bff; /
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


.help-all-button {
    display: block;
    text-align: center;
    color: white;
    background-color: #004466;
    text-decoration: none;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.help-all-button:hover {
    color: black;
    background-color: #ff3300;
}

#helpContent {
    display: block; 
}

#helpContent.hidden {
    display: none; 
}

#problemForm {
    display: none;
    width: 90%; 
    max-width: 400px; 
    margin: 0 auto; 
    padding: 30px;
    background-color: #ffffff; 
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    top: 450px; 
    transform: translateY(-50%); 
    z-index: 1000;
    transition: all 0.3s ease; 
}

#problemForm.show {
    display: block;
}

#problemForm .btn-primary {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #ff704d;
    background-color: #008080; 
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

#problemForm .btn-primary:hover {
    background-color: #ff471a;
    color: black;
    transform: scale(1.05);
}

#problemForm .btn-primary:active {
    transform: scale(0.95);
}

#problemForm h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #007bff;
}

#problemForm p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.help-sidebar-form .closehelp {
  position: absolute;
  top: -12px;
  left: 7px;
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s, transform 0.5s ease;
  transform-origin: center center;
}

.help-sidebar-form .closehelp:hover {
    color: red;
    transform: rotate(90deg);
}
.category-selection {
    margin-bottom: 20px;
}

.category-selection label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px; 
    cursor: pointer;
}

.category-selection input[type="radio"] {
    appearance: none; 
    margin-right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #008080;
    border-radius: 50%; /* Runde Form */
    background-color: #fff;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
}

.category-selection input[type="radio"]:checked {
    background-color: #e63d00; 
    border-color: #008080;
    transform: scale(1.1); 
}

.category-selection input[type="radio"]:hover {
    background-color: #ff9980;
}

#problemDescription {
    width: 100%; 
    height: 150px; 
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px; 
    font-size: 14px;
    line-height: 1.5; 
    background-color: #f9f9f9;
    resize: vertical;
}
#problemForm h3 {
    color: #008080; 
    font-size: 24px; 
    font-weight: bold; 
    text-align: center; 
    margin-bottom: 20px; 
}

.error-message {
    font-size: 14px;
    color: #dc3545; /* Rot für Fehlermeldungen */
    background-color: #f8d7da; /* Hellroter Hintergrund */
    border: 1px solid #f5c2c7; /* Passender Rahmen */
    padding: 10px;
    margin-bottom: 20px; /* Abstand zum nächsten Element */
    border-radius: 5px;
    text-align: center;
}
/* Styling für den Benutzerbereich */
#userHelpSection {
    text-align: center; /* Zentriere Inhalte */
    margin-top: 10px;
}

#userEntryPreview {
    display: inline-block;
    max-width: 100%;
}

#userName {
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0; /* Abstand zum Bild */
    cursor: pointer; /* Zeige Hand-Symbol beim Hover */
    color: #0078d4; /* Blaue Schriftfarbe */
}

#userName:hover {
    text-decoration: underline; /* Unterstreichen beim Hover */
}

/* Styling für das Bild */
#userImage {
    max-width: 120px; /* Maximale Breite */
    max-height: 120px; /* Maximale Höhe */
    border-radius: 8px; /* Runde Ecken */
    margin: 10px 0; /* Abstand zu anderen Elementen */
    cursor: pointer; /* Zeige Hand-Symbol beim Hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

#userImage:hover {
    transform: scale(1.05); /* Leichter Zoom-Effekt beim Hover */
    transition: transform 0.2s ease; /* Übergangseffekt */
}
/* Allgemeines Styling für das Problemformular */
.help-sidebar-form {
    padding: 20px;
    background-color: #f9f9f9; /* Helles Grau für besseren Kontrast */
    border-radius: 8px; /* Runde Ecken */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

/* Fehlernachricht */
.error-message {
    color: #d9534f; /* Rotes Feedback für Fehler */
    font-size: 14px;
    margin-bottom: 10px;
}

.user-details {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #eef6fd;
    border: 1px solid #cde6f7;
    border-radius: 5px;
}

.user-detail {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.user-detail {
    margin: 0 !important;
    padding: 0 !important; 
}


/* Beschreibung */
#problemDescription {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: Arial, sans-serif;
    resize: vertical;
}

/* Absende-Button */
.submit-button {
    background-color: #0078d4; /* Microsoft-Blauton */
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #005ea8; /* Dunkleres Blau beim Hover */
}
/* Benutzerbereich */
#userHelpSection {
    display: none; /* Standardmäßig ausgeblendet */
    background-color: #eef6fd; /* Heller Blauton */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#userHelpSection.show {
    display: block; /* Sichtbar */
    opacity: 1;
    transform: translateY(0);
}

/* Fehlerfall */
#userHelpSection.hidden {
    display: none; /* Versteckt, wenn keine Daten */
}

/* Bild und Text */
#userName, #userImage {
    cursor: pointer;
}

