/* ====== Grundstil ====== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f5f7fb;
    color: #2c2c2c;
    line-height: 1.6;
}

/* ====== Sektion ====== */
section {
    max-width: 700px;
    margin: 50px auto;
    background: white;
    padding: 40px 50px;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

/* ====== Overskrifter ====== */
h1 {
    margin-top: 0;
    font-size: 2rem;
    color: #1a3c6e;
    text-align: center;
}

h2 {
    margin-bottom: 6px;
    color: #264d84;
}

/* ====== Formularer ====== */
form {
    margin-bottom: 35px;
}

label {
    font-weight: 600;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #c9d3e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #4a79c9;
    box-shadow: 0 0 0 3px rgba(74,121,201,0.25);
    outline: none;
}

/* ====== Knapper ====== */
button {
    display: inline-block;
    padding: 12px 26px;
    background: #1f66c1;
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s, transform 0.15s;
}

button:hover {
    background: #15539b;
}

button:active {
    transform: scale(0.97);
}

/* ====== Meddelelser ====== */
#notFound {
    display: none;
    color: #b00020;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ====== Liste over sætninger ====== */
#sentences {
    list-style: none;
    padding: 0;
}

#sentences li {
    background: #eef3fb;
    margin-bottom: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border-left: 4px solid #1f66c1;
}

/* ====== Responsivt ====== */
@media (max-width: 600px) {
    section {
        padding: 25px;
        margin: 20px;
    }

    button {
        width: 100%;
    }
}


/* Gør hver li til en flex container */
.sentence-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Sletteknap */
.deleteButton {
    background: transparent;
    border: none;
    color: #c62828;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 6px;
    transition: color 0.2s;
}

.deleteButton:hover {
    color: #8b1d1d;
}

#datasetComment {
    font-size: 0.8rem;
}