body {

    margin: 0;
    padding: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    min-height: 100vh;
}

.container-fluid {
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 5px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

h1 {
    text-align: center;
    color: #5a67d8;
    margin-bottom: 15px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(45deg, #4facfe, #00f2fe);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2em;
    font-weight: bold;
    display: block;
}
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
     table-layout: fixed; /* fix oszlopszélesség */
}

thead th, tbody td {
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden; /* ne lógjon ki a tartalom */
    text-overflow: ellipsis;
}

tbody td, thead th {
    flex: none; /* biztosítja, hogy ne flex-el oszoljanak el */
}

thead tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

tbody tr {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 10px; /* kis távolság a sorok között */
}
tbody td {
    white-space: normal;
    padding: 8px 5px;
}

th:nth-child(1), td:nth-child(1) { width: 10%; } /* Nick */
th:nth-child(2), td:nth-child(2) { width: 10%; }  /* Állapot */
th:nth-child(3), td:nth-child(3) { width: 12%; } /* Uptime */
th:nth-child(4), td:nth-child(4) { width: 15%; } /* IRC szerver */
th:nth-child(5), td:nth-child(5) { width: 10%; } /* Verzió */
th:nth-child(6), td:nth-child(6) { width: 10%; } /* Futtatja */
th:nth-child(7), td:nth-child(7) { width: 10%; } /* Ország */
th:nth-child(8), td:nth-child(8) { width: 20%; } /* Utolsó jelentkezés */

th, td {
    /* flex: 1;  eltávolítva */
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    word-break: break-word; /* hosszú szöveg törése */
    white-space: nowrap;     /* ne törjön új sorba, ha nem muszáj */
}

th {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    font-weight: 600;
/*
    text-transform: uppercase;*/
    letter-spacing: 0.5px;
}

tr:hover {
    background: #f8f9ff;
}

.status-online {
    color: #28a745;
    font-weight: bold;
}

.status-offline {
    color: #dc3545;
    font-weight: bold;
}

.update-time {
    text-align: center;
    color: #666;
    margin-top: 20px;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 50px;
    color: #666;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s infinite;
}
@media (max-width: 900px) {
thead { display: none; }
    tbody tr {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    tbody td { padding: 5px 0; width: 100% !important; }
}