body {
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
    background: #f4f6f9;
}

/* HEADER */
header, .topbar {
    background: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1, .logo {
    margin: 0;
    font-size: 22px;
}

/* LINKS */
header a, .topbar a {
    text-decoration: none;
    color: #333;
}

/* CENTER KNAP */
.topbar nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

/* PRIMÆR KNAP */
.btn-primary {
    background: #4CAF50;
    color: white !important;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
}

/* CONTENT */
.content {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
}

/* TABS */
.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tabs a {
    background: #e0e7ff;
    padding: 8px 14px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: 0.2s;
}

.tabs a:hover {
    background: #c7d2fe;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.card:hover {
    transform: translateY(-3px);
}

.card h3 {
    margin-top: 0;
}

/* LINKS i cards (kun hvis IKKE knapper) */
.card a:not(.btn) {
    text-decoration: none;
    color: #4CAF50;
    font-weight: 500;
}

.card a:not(.btn):hover {
    text-decoration: underline;
}

/* FORM */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 600px;
}

.form label {
    font-weight: bold;
    margin-top: 10px;
}

.form input,
.form textarea {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.form textarea {
    resize: vertical;
}

.form button {
    margin-top: 15px;
    padding: 10px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.form button:hover {
    background: #45a049;
}

/* KNAPPER */
.btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
    transition: 0.2s;
    color: white !important;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* KNAP FARVER */
.btn-success {
    background: #4CAF50;
}

.btn-edit {
    background: #2196F3;
}

.btn-delete {
    background: #f44336;
}

/* ACTIONS */
.actions {
    margin-top: 10px;
}

/* FOOTER */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    color: #777;
}