/* Grundläggande stil */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

h1 {
    text-align: center;
    color: #333;
}

textarea {
    width: 100%;
    height: 200px;
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: monospace;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

#filterInput {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}

#workerList {
    list-style-type: none;
    padding: 0;
}

#workerList li {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: #f9f9f9;
}
.price-info {
    position: absolute; /* För att placera det i hörnet */
    top: 10px;
    left: 10px;
    padding: 10px;
    background-color: #ffe6e6; /* Ljusröd bakgrund */
    border: 1px solid #ff0000; /* Röd kant */
    border-radius: 5px; /* Rundade hörn */
    color: #ff0000; /* Röd text */
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lätt skugga */
    max-width: 200px; /* Begränsad bredd */
    text-align: left; /* Justera texten till vänster */
}

/* Responsiv design */
@media (max-width: 768px) {
    .controls {
        flex-direction: column;
        gap: 5px;
    }

    button {
        width: 100%;
    }

    textarea {
        height: 150px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }

    button {
        font-size: 0.9em;
    }

    textarea {
        font-size: 0.9em;
    }
}
