/* Generelle stylinger */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

/* Header styling */
.header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.navn {
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
}

.afd-dato {
    text-align: right;
    font-size: 1em;
}

/* Citat styling */
.quote-box {
    margin: 30px auto;
    padding: 20px;
    background-color: #e0f7fa;
    border-radius: 10px;
    width: 80%;
    font-size: 1.4em;
    font-style: italic;
    color: #00796b;
    text-align: center;
}

/* Menu styling */
.menu {
    margin: 30px auto;
    text-align: center;
}

.menu ul {
    list-style-type: none;
    padding: 0;
}

.menu ul li {
    margin: 10px 0;
}

.menu ul li a {
    display: inline-block;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #4CAF50;
    color: white;
    border-radius: 5px;
    font-size: 1.1em;
}

.menu ul li a:hover {
    background-color: #45a049;
}

/* Container styling */
.container, .feedback-box, .logout-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
    text-align: center;
}

.feedback-box {
    max-width: 800px;
}

h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.quote {
    font-size: 1.2em;
    color: #00796b;
    font-style: italic;
    margin-bottom: 20px;
    background-color: #e0f7fa;
    padding: 15px;
    border-radius: 10px;
}

/* Input, select og tekstfelter */
input[type="text"], input[type="password"], textarea, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1.1em;
    box-sizing: border-box;
}

/* Radio knapper */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.radio-group label {
    flex: 1 0 45%;
    margin-right: 10px;
}

/* Checkbox styling */
.checkbox-group {
    margin-bottom: 15px;
    text-align: left;
}

.checkbox-item {
    margin: 5px 0;
}

.checkbox-item label {
    margin-left: 5px;
}

/* Knappen */
button, input[type="submit"], .logout-box .btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 15px;
    text-align: center;
}

button:hover, input[type="submit"]:hover, .logout-box .btn:hover {
    background-color: #45a049;
}

/* Fejlbeskeder */
.error {
    color: red;
    margin-bottom: 10px;
    font-size: 1.1em;
}

/* Responsivt design */
@media (max-width: 600px) {
    .container, .feedback-box, .quote-box {
        width: 90%;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .afd-dato {
        margin-top: 10px;
    }

    h2 {
        font-size: 1.6em;
    }

    .quote {
        font-size: 1em;
    }
}
