/* Grundlayout & Farben */
html, body {
    height: 100%; /* Stellt sicher, dass HTML und Body die volle Höhe des Viewports nutzen */
}

body {
    background-color: #0d0f12;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: #e6e6e6;
    
    /* NEU: Flexbox für Sticky Footer */
    display: flex;
    flex-direction: column;
}

/* Zentrierte Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* NAVBAR */
.navbar {
    background-color: #15171a;
    border-bottom: 1px solid rgba(0, 200, 255, 0.25);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
}

/* Buttons */
.button {
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.2s ease;
}

.button-primary {
    background-color: #00d4ff;
    color: #0d0f12;
}



.button-secondary {
    background-color: #d93636;
    color: white;
}



/* Header Bereich */
.dashboard-header {
    text-align: center;
    margin: 60px 0 40px;
}

/* NEU: Das Hauptinhalts-Element wächst und schiebt den Footer nach unten */
/* Ich wende die Grow-Eigenschaft jetzt auf das generische <main> Tag an, */
/* falls die Login-Seite nicht die Klasse .content-area verwendet. */
main {
    flex-grow: 1;
}

/* GRID für Server */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Cards */
.server-card {
    background-color: #181a1c;
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    border: 1px solid rgba(0, 200, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #fff;
}



/* Server Icon */
.server-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid rgba(0, 200, 255, 0.4);
    margin-bottom: 12px;
}

/* Text innerhalb Karte */
.server-name {
    margin: 12px 0 6px;
    font-size: 1.3rem;
    font-weight: 600;
}

.server-id {
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #111315;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}


/* ============================
   NEUE STILE FÜR DIE PLUS-KARTE
============================ */

/* Override für die Add-Card, um Flexbox für die ZENTRIERUNG des Kreises zu nutzen */
.server-add-card {
    /* Erbt von .server-card */
    display: flex;
    flex-direction: row; 
    align-items: center; /* Vertikal zentrieren */
    justify-content: center; /* Horizontal zentrieren */
    min-height: 250px; 
    text-align: center;
    border: 1px dashed rgba(0, 200, 255, 0.5); 
    background-color: #15171a; 
    padding: 0; 
}



/* Stil für das große Plus-Zeichen (Der Kreis selbst) */
.add-plus {
    /* Mache das Element zu einem Kreis-Container */
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 120px; /* Großer Kreis-Durchmesser */
    height: 120px;
    border-radius: 50%;
    
    /* Kreis-Design */
    border: 3px solid #00d4ff; /* Blauer Rahmen */
    background-color: rgba(0, 200, 255, 0.1); /* Subtiler Hintergrund */
    
    /* Plus-Zeichen-Text-Stil */
    font-size: 4.5rem; /* Sehr großes Pluszeichen */
    font-weight: 300; 
    color: #00d4ff;
    
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.25s ease;
}




/* ============================
    SERVER DETAIL DASHBOARD
============================ */

/* Überschrift */
.container h1 {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #00d4ff;
}

/* Cards (Formulare & Boxen) */
.card {
    background-color: #181a1c;
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.1);
}

/* Card Hover Effekte optional */


/* Labels */
.card label {
    display: block;
    margin-top: 20px;
    font-weight: 600;
    color: #b3f4ff;
}

/* Inputs & Dropdowns */
.card input,
.card select {
    width: 100%;
    background-color: #0f1113;
    border: 1px solid rgba(0, 200, 255, 0.3);
    padding: 12px;
    border-radius: 8px;
    margin-top: 5px;
    color: #fff;
    font-size: 1rem;
    transition: 0.2s;
}

.card input:focus,
.card select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
}

/* Buttons */
.card button {
    background-color: #00d4ff;
    color: #0d0f12;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: 0.2s ease;
}



/* Flex layout für Custom Commands */
.command {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #121416;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 12px;
}

.command button {
    background-color: #d93636;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
}

.command button:hover {
    background-color: #ff4d4d;
}

.flex {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}