body {
    font-family: system-ui, sans-serif;
    margin: 0;
}

header {
    border-bottom: 1px solid #ddd;
}

.main-nav {
    display: flex;
    gap: 1rem;
    padding: 1rem;
}

    .main-nav a {
        text-decoration: none;
        color: #333;
    }

        .main-nav a.active {
            font-weight: bold;
            text-decoration: underline;
        }

/* =========================
   Ytra Hraun – Veiđisíđa
========================= */

.veidi-wrapper {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

    .veidi-wrapper h1 {
        font-size: 2rem;
        margin-bottom: 40px;
        color: #2f3e2f;
    }

.veidisvaedi {
    margin-bottom: 60px;
}

    .veidisvaedi h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
        color: #3d4f3d;
    }

.timabil {
    color: #777;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

/* Tafla */

.veidi-tafla {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

    .veidi-tafla thead {
        background: #f2f4f1;
    }

    .veidi-tafla th {
        text-align: left;
        padding: 12px 14px;
        font-weight: 600;
        font-size: 0.95rem;
        color: #2f3e2f;
    }

    .veidi-tafla td {
        padding: 12px 14px;
        border-top: 1px solid #f0f0f0;
        font-size: 0.95rem;
    }

    .veidi-tafla tbody tr:hover {
        background: #fafcf9;
    }

/* Status merkingar */

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

    .badge.green {
        background: #e6f2e6;
        color: #2f6f2f;
    }

    .badge.red {
        background: #f5e6e6;
        color: #9c2c2c;
    }

/* Mobile */

@media (max-width: 768px) {

    .veidi-tafla th,
    .veidi-tafla td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .veidi-wrapper {
        margin: 30px auto;
    }

        .veidi-wrapper h1 {
            font-size: 1.6rem;
        }
}

/* =========================
   Hafđu samband box
========================= */

.hafdu-samband {
    margin-top: 60px;
    padding: 25px 30px;
    background: #f4f6f2;
    border-left: 4px solid #6b8e6b;
    border-radius: 6px;
}

    .hafdu-samband h3 {
        margin-bottom: 10px;
        color: #2f3e2f;
    }

    .hafdu-samband p {
        margin-bottom: 10px;
        color: #555;
    }

.email-link {
    font-weight: 600;
    color: #2f6f2f;
    text-decoration: none;
    font-size: 1rem;
}

    .email-link:hover {
        text-decoration: underline;
    }

/* =========================
   IIS log listi
========================= */
<style >
table td {
    white-space: nowrap;
    font-size: 0.85rem;
}

table th {
    position: sticky;
    top: 0;
    background: #fff;
}
table td {
    white-space: nowrap;
}

.log-table-wrapper {
    max-height: 75vh;
    overflow-y: auto;
    border: 1px solid #ddd;
}

    .log-table-wrapper thead th {
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 2;
    }

    .log-table-wrapper td,
    .log-table-wrapper th {
        white-space: nowrap;
        font-size: 0.85rem;
    }

.log-info {
    background: #f5f9ff;
}

.log-warning {
    background: #fff8e1;
}

.log-error {
    background: #ffeaea;
    font-weight: bold;
}

.log-slow {
    outline: 2px solid #ff9800;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

    .gallery img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

</style >