body {
    background: linear-gradient(120deg, #202124, #34495e, #202124);
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Standard Windows Schriftart */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 80vh;
    flex-direction: column;
    background-size: 400% 400%;
    padding-top: 120px; /* Mehr Platz für die Topbar */
}



.modal-logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-in-modal {
    width: 80px;
    height: 80px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}



.center-logo {
    margin-bottom: 20px;
}

.logo {
    width: 120px;
    height: 150px;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.1);
}

/* Das Modal-Design */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content.glass-effect {
    background: rgba(32, 34, 37, 0.75);
    padding: 15px; /* Weniger Padding für kompakteres Design */
    border-radius: 20px;
    width: 300px; /* Schmaler als zuvor */
    max-width: 90%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(20px) brightness(1.2);
    -webkit-backdrop-filter: blur(20px) brightness(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

.modal-content form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #ddd;
    font-size: 18px; /* Größere Schriftart für bessere Lesbarkeit */
}

.modal-content input[type="text"],
.modal-content input[type="password"] {
    width: 85%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(40, 40, 40, 0.9);
    color: #fff;
}

.modal-content button {
    background-color: #1f1f1f;
    color: #e0e0e0;
    border: 1px solid #3c3c3c;
    padding: 12px 24px; /* Etwas größer für komfortables Anklicken */
    font-size: 18px; /* Größere Schriftart für besseren Kontrast */
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

.modal-content button:hover {
    background-color: #3c3c3c;
    color: #ffffff;
    transform: scale(1.05);
}


@keyframes smoothWiggle {
    0%, 90% {
        transform: scale(1) rotate(0deg);
    }
    92% {
        transform: scale(1.05) rotate(3deg);
    }
    94% {
        transform: scale(1.05) rotate(-3deg);
    }
    96% {
        transform: scale(1.05) rotate(3deg);
    }
    98% {
        transform: scale(1.05) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

.logo {
    margin-top: 20px;
    width: 220px; /* Nur die Breite festlegen */
    height: auto; /* Höhe automatisch anpassen, um das Seitenverhältnis zu wahren */
    transition: transform 0.3s;
    animation: smoothWiggle 25s ease-in-out infinite;
    animation-delay: 10s;
}



.clock {
position: relative;
width: 200px;
height: 200px;
border: 5px solid rgba(255, 255, 255, 0.2); /* Dezenter Rahmen */
border-radius: 50%;
margin: 20px auto;
background: rgba(40, 40, 40, 0.7); /* Dunkler Glas-Effekt Hintergrund */
backdrop-filter: blur(10px); /* Weicher Frost-Effekt */
-webkit-backdrop-filter: blur(10px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Schatten für Tiefe */
}

.hand {
position: absolute;
bottom: 50%;
left: 50%;
width: 4px;
transform-origin: bottom;
transform: translateX(-50%) rotate(0deg);
transition: all 0.05s cubic-bezier(0.4, 2.3, 0.3, 1);
}

.hour {
height: 50px;
background: #ffffff; /* Heller Farbton für Stundenzeiger */
box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Leichter Schein */
}

.minute {
height: 70px;
background: #cccccc; /* Grauer Farbton für Minutenzeiger */
box-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* Leichter Schein */
}

.second {
height: 90px;
background: #ff5555; /* Roter Farbton für Sekundenzeiger */
box-shadow: 0 0 5px rgba(255, 85, 85, 0.8); /* Leichter Schein */
}

.center {
position: absolute;
width: 12px;
height: 12px;
background: #ffffff; /* Heller Punkt für die Mitte */
border-radius: 50%;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Lichtpunkt-Effekt */
}

.clock-text {
text-align: center;
font-size: 1.5em;
color: #cccccc; /* Gleicher Farbton wie der Sekundenzeiger */
font-weight: bold; /* Fettschrift */
margin-top: -10px;
letter-spacing: normal; /* Normales Letterspacing */
stroke: #cccccc;
stroke-width: 4px; /* Gleiche Dicke wie der Rand des Sekundenzeigers */
backdrop-filter: blur(10px);
text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Schatten für Tiefe */
}



.clock {
    position: relative;
    width: 200px;
    height: 200px;
    border: 5px solid rgba(255, 255, 255, 0.2); /* Dezenter Rahmen */
    border-radius: 50%;
    margin: 20px auto;
    background: rgba(40, 40, 40, 0.7); /* Dunkler Glas-Effekt Hintergrund */
    backdrop-filter: blur(10px); /* Weicher Frost-Effekt */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Schatten für Tiefe */
}

.hand {
    position: absolute;
    bottom: 50%;
    left: 50%;
    width: 4px;
    transform-origin: bottom;
    transform: translateX(-50%) rotate(0deg);
    transition: all 0.05s cubic-bezier(0.4, 2.3, 0.3, 1);
}

.hour {
    height: 50px;
    background: #ffffff; /* Heller Farbton für Stundenzeiger */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8); /* Leichter Schein */
}

.minute {
    height: 70px;
    background: #cccccc; /* Grauer Farbton für Minutenzeiger */
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6); /* Leichter Schein */
}

.second {
    height: 90px;
    background: #ff5555; /* Roter Farbton für Sekundenzeiger */
    box-shadow: 0 0 5px rgba(255, 85, 85, 0.8); /* Leichter Schein */
}

.center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #ffffff; /* Heller Punkt für die Mitte */
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8); /* Lichtpunkt-Effekt */
}

.clock-text {
    text-align: center;
    font-size: 1.5em;
    color: #cccccc; /* Gleicher Farbton wie der Sekundenzeiger */
    font-weight: bold; /* Fettschrift */
    margin-top: -10px;
    letter-spacing: normal; /* Normales Letterspacing */
    stroke: #cccccc;
    stroke-width: 4px; /* Gleiche Dicke wie der Rand des Sekundenzeigers */
    backdrop-filter: blur(10px);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Schatten für Tiefe */
}

/* Ensure topbar layout is clean and titles are visible */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1f2a36;
    color: #fff;
    padding: 18px 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar h1 {
    font-size: 1.5rem;
    margin: 0;
}

.topbar a {
    text-decoration: none;
    color: #ffffff;
    background-color: #c0392b;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.topbar a:hover {
    background-color: #a93226;
}

/* Style for cards to ensure proper spacing */
.card {
    background-color: #34495e;
    padding: 20px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Buttons styling */
.btn {
    background-color: #2980b9;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #3498db;
}

/* Bug indicator button */
.bug-indicator {
    background-color: #e74c3c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: 140px auto 0 auto; /* Noch mehr Abstand zur Topbar */
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.card {
    background: #1f2a36;
    border: 1px solid #344455;
    border-radius: 8px;
    padding: 18px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 100%;
}

.bug-list, .bug-form {
    width: 100%;
    min-width: unset;
    flex: unset;
}

.topbar-simple {
    position: static;
    width: 100%;
    background-color: #1f2a36;
    color: #fff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    margin-bottom: 32px;
}

.container {
    margin-top: 0;
    padding-top: 0;
}

body {
    padding-top: 0;
}

/* Custom Alerts vertical layout */
.custom-alert {
  background: #232a34;
  border-radius: 8px;
  margin-bottom: 18px;
  padding: 16px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 420px;
  width: 100%;
}
.alert-title {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
  max-width: 100%; /* Verhindert, dass der Titel überläuft */
  box-sizing: border-box; /* Stellt sicher, dass Padding die Breite nicht beeinflusst */
}
.alert-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}
.alert-controls button {
  min-width: 70px;
  padding: 6px 12px;
  font-size: 1em;
  border-radius: 5px;
  border: none;
  background: #34495e;
  color: #e0e0e0;
  cursor: pointer;
  transition: background 0.2s;
}
.alert-controls button:hover {
  background: #3e5870;
}
.alert-timestamp {
  color: #aeb7c2;
  font-size: 0.97em;
  text-align: center;
  margin-top: 4px;
}

.script-update-btn {
    background-color: #f39c12 !important; /* Orange background */
    color: #000 !important; /* Black text for contrast */
    padding: 10px 15px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s !important;
    text-transform: none !important; /* prevent uppercase from other CSS */
    font-weight: 700 !important;
}

.script-update-btn:hover {
    background-color: #e67e22 !important; /* Darker orange on hover */
    color: #fff !important; /* White text on hover */
}

@media (max-width: 900px) {
    .row {
        flex-direction: column;
        gap: 16px;
    }
    .bug-list, .bug-form {
        min-width: unset;
        width: 100%;
    }
}
