@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');


/* Grundlegende Stile für den Körper (Body) und Scrollbalken-Stile aus Datei 2 hinzugefügt */
body {
    background-color: var(--bg-dark);
    color: var(--text-muted);
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    
}

/* Header-Stile aus Datei 1, da sie spezifischer für die Navbar sind */
header.navbar {
    height: 64px;
    background-color: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-sizing: border-box;
    overflow-x: auto;
}

/* Alternativer Header-Stil aus Datei 2 */
header {
    background-color: var(--bg-light);
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    z-index: 10000;
}

.header-left h1 {
    font-size: 20px;
    margin: 0;
    color: var(--text);
}

.header-right {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

.nav-right {
    flex-shrink: 0;
    white-space: nowrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.brand .logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e6e9ef, #cfd6e3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* Navigation & Sidebar Stile aus Datei 2 */
.nav-link-drop {
    -webkit-app-region: no-drag;
    padding: 15px;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text);
}

.nav-link {
    -webkit-app-region: no-drag;
    padding: 15px;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--text);
}

.nav-link:hover {
    background-color: var(--bg);
    color: var(--text);
}

.left-nav {
    top: 10px;
    left: 10px;
    cursor: pointer;
    z-index: 1000;
}

/* Button-Stile aus Datei 1, da sie flexibler sind */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--primary);
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn:hover {
    background-color: var(--secondary);
}

.btn.primary {
    background: var(--primary);
    color: var(--text-dark);
}

.btn.primary:hover {
    background: var(--secondary);
}

/* Spezifische Button-Stile aus Datei 2 */
button {
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: var(--secondary);
    color: var(--text);
}

header nav button {
    background-color: var(--bg);
    border-radius: 10px;
    color: var(--text);
    padding: 6px 10px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin: 3px 3px 3px 3px;
    z-index: 1000;
}

header nav button:hover {
    background-color: var(--bg-dark);
}

.home-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}

.home-link:hover {
    background-color: var(--text-muted);
}

/* Hauptinhaltsbereich */
main {
    margin-top: 70px;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    z-index: 10000;
}

/* Überschriften, Links und die anderen spezifischen Stile aus Datei 2 hinzugefügt */
h1, h2, h3, h4 {
    color: var(--text);
}

a {
    color: var(--text-muted);
    text-decoration: none;
    z-index: 1000;
}

a:hover {
    text-decoration: underline;
    z-index: 1000;
}

.entry {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 10px;
    margin: 10px auto;
    width: 50%;
    border-radius: 5px;
}

.admin-controls a {
    display: inline-block;
    margin: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    z-index: 999;
    max-height: 100%;
}

.popup-content {
    position: relative;
    background: var(--bg);
    padding: 20px;
    overflow: auto;
    width: 600px;
    margin: 5% auto;
    color: var(--text);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.popup-content p {
    color: var(--text-muted);
}
.popup-content h1 {
    color: var(--text);
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* Form Styles */
input[type="text"],
input[type="password"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    box-sizing: border-box;
    background-color: var(--bg);
    color: var(--text);
}

textarea {
    resize: vertical;
    height: 120px;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    border-color: var(--border);
    outline: none;
}

/* Tabellenstile aus Datei 2 */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px hidden var(--border-muted);
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: var(--bg);
    color: var(--text);
}

td {
    background-color: var(--bg-light);
    color: var(--text-muted);
}

nav {
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

.p {
    left: 50px;
    position: absolute;
    padding: 20px;
    margin: 10px;
}

.e {
    left: 30px;
    position: absolute;
    padding: 20px;
    margin: 10px;
    font-weight: bold;
}

.f {
    left: 200px;
    position: absolute;
    padding: 15px;
    margin: 5px;
    color: var(--text-muted);
}

/* Countdown-Stile aus Datei 2 */
.countdown-container {
    text-align: center;
}

#countdown {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.time-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box {
    background-color: var(--bg);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 5px;
    width: 100px;
    text-align: center;
    color: var(--text);
}

.time {
    font-size: 3em;
}

.label {
    font-size: 1.2em;
}

#days {
    background-color: var(--bg);
}

#hours {
    background-color: var(--bg);
}

#minutes {
    background-color: var(--bg);
}

/* Neu hinzugefügte Stile */
.filter {
    position: relative;
    display: inline-block;
}

.filter button, .dropbtn {
    border-radius: 10px;
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
}

.dropdown {
    position: relative;
    display: inline-block;
    
}


.dropdown-content {
    padding-top: 5px;
    border-radius: 10px;
    display: none;
    position: absolute;
    background-color: var(--bg);
    z-index: 1;
}

.dropdown-content button {
    color: var(--primary);
    text-decoration: none;
    background: none;
    text-align: left;
    border-radius: 10px;
}

.dropdown-content button:hover {
    background-color: var(--secondary);
    text-decoration: var(--text);
}

.dropdown:hover .dropdown-content {
    display: block;
}

#serverContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.server {
    padding: 20px;
    margin: 10px;
    width: 250px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    border-radius: 10px;
    background: var(--bg-light);

}

.server img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white ;
}

.server h3 {
    margin: 10px 0;
    color: var(--text) ;
}

.server p {
    margin: 5px 0;
    color: var(--text-muted) ;
}

.server .categories {
    font-weight: bold;
    color: var(--text-muted) ;
}

.server button {
    background: var(--primary);
    color: var(--text);
    border: none;
    cursor: pointer;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 10px;
    position: relative;
    transition: background-color 0.3s;
}

.server button:hover {
    background: var(--secondary);
}

.server button:hover::after {
    content: "IP Kopieren";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    background-color: var(--secondary);
    color: var(--text);
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    margin-bottom: 5px;
}

.server-status {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--info);
    color: var(--text);
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 12px;
}

.server-status:hover::after {
    content: "Der aktuelle Status des Servers.";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 100%;
    background-color: var(--info);
    color: var(--text);
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    margin-bottom: 5px;
}


.server-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    border-radius: 10px;
}
.modal-tit {
    display: flex;
    align-items: center;
    gap: 10px;
}



.login-container {
    background: var(--bg-light);
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    width: 300px;
    text-align: center;
}
.login-container h2 {
    margin-bottom: 20px;
}
.login-container input {
    width: 250px;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--border);
    border-radius: 5px;
            
}
.login-container button {
    width: 250px;
    padding: 10px;
    background: var(--primary);
    color: var(--text);
    border: none;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
    border-radius: 5px;
}
.error-message {
    color: var(--text);
    background: var(--warning);
    margin-bottom: 10px;
    
}
