body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 2rem;
}

h1 {
    margin-bottom: 1rem;
}

#server-status {
    border: 2px solid #444;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-align: center;
    min-width: 300px;
    background-color: #2a2a2a;
}

#status {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.info {
    margin: 0.5rem 0;
}

.online { color: #4CAF50; }
.offline { color: #F44336; }
.loading { color: #2196F3; }

/* Server Address (Hostname + Copy) – an den Server-Status angepasst */
#server-address {
    border: 2px solid #444;
    padding: 1rem 2rem;
    border-radius: 8px;
    background-color: #2a2a2a;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

#hostname {
    color: #f0f0f0;
    font-weight: normal;
    margin: 0.5rem 0;
    text-align: center;
    padding: 0;
    background: none;
    border-radius: 0;
    display: inline-block;
}

#copy-button {
    width: 34px;
    height: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copy-svg {
    width: 18px;
    height: 18px;
    display: block;    
}

#copy-button:hover {
    background: #45a048;
}

#copied-message {
    position: absolute;
    top: -10px;
    right: 10px;
    padding: 2px 6px;
    background: #4CAF50;
    color: white;
    font-size: 0.8rem;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

#copied-message.show {
    opacity: 1;
}

section {
    margin-top: 0.5rem;
}
