/* HPE Aruba Central – Lys stil */
body {
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
}

header {
    background-color: #ffffff;
    padding: 20px;
    border-bottom: 2px solid #00B388;
    display: flex;
    align-items: center;
    justify-content: center;
}

header img {
    height: 40px;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
}

h1, h2 {
    color: #333;
    margin-bottom: 20px;
}

p {
    color: #555;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    color: #444;
    text-align: left;
}

input,
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

button, .button {
    margin-top: 25px;
    padding: 12px 24px;
    background-color: #00B388;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

button:hover, .button:hover {
    background-color: #009e78;
}

/* 📊 Tabellstil */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    min-width: 600px;
    font-size: 14px;
}

thead {
    background-color: #f0f0f0;
}

th, td {
    padding: 10px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

tr:hover {
    background-color: #fafafa;
}

/* 🟢🔴 Visuell statusindikator */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.status-ONLINE .status-dot {
    background-color: #00B388;
}

.status-OFFLINE .status-dot {
    background-color: #D9534F;
}

/* 📱 Responsiv tilpasning */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    input,
    select {
        font-size: 16px;
    }

    table {
        font-size: 13px;
    }

    th, td {
        padding: 8px;
    }
}

/* 🧱 Tiles på index.php */
.tile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 30px;
    text-align: left;
}

.tile {
    background-color: #f8fafb;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px 24px;
    text-decoration: none;
    color: #222;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.2s ease-in-out;
}

.tile:hover {
    background-color: #f0f6f5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.tile h3 {
    margin-top: 0;
    font-size: 20px;
}

.tile p {
    font-size: 14px;
    color: #555;
}

