/* RESET */
body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
}

/* CONTAINER */
.container {
    max-width: 700px;
    margin: auto;
    padding: 15px;
}

/* HEADER */
.header {
    #background: #0b3d91;
    background: #ffffff;
    padding: 10px;
    text-align: center;
}
.header img {
    max-width: 200px;
}

/* ANNONS LISTA */
.annons {
    display: flex;
    background: #fff;
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.huvudbild img, #mainImg {
    max-width: 450px;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.#ingetfoto {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}




.thumb {
    width: 120px;
    height: 90px;
    margin-right: 12px;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.info {
    flex: 1;
}

.rubrik {
    font-size: 18px;
    font-weight: bold;
}

.text {
    color: #555;
}

.meta {
    font-size: 12px;
    color: #888;
}

/* FORM */
.form-group {
    margin-bottom: 12px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* BUTTON */
.btn {
    background: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
text-decoration: none; 
}

.btn:hover {
    background: #0056b3;
}

/* BADGE */
.badge {
    display: inline-block;
    background: #007bff;
    width: 150px;
    height: 50px;
    border-radius: 50%;
}

/* ALERT */
.alert {
    background: #ffefc1;
    padding: 10px;
    border-radius: 6px;
}


/* RÖD BADGE */
.badge-red {
    display: inline-block;
    background: #dc3545;
    color: #fff;
    padding: 5px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin-top: 5px;
}




# label {float:left; margin: 5px 0px;}

input {
    
    margin: 5px 0px;
    width: 200px;
   
}

.clear {
    clear: both;
}

.chips {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.chip {
    padding:6px 12px;
    border-radius:20px;
    background:#eee;
    text-decoration:none;
    color:#333;
    font-size:14px;
}

.chip.active {
    background:#007bff;
    color:#fff;
}