/* Grundlæggende styling */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Container og række layout */
.container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.row {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Kolonneopdeling for form og labels */
.col-4 {
    flex: 0 0 40%;
    overflow: auto;
    padding: 10px;
}

.col-6 {
    flex: 0 0 60%;
    overflow: auto;
    padding: 4px 0;
}

/* Editable tekstområde */
.editable {
    border: 1px solid #ccc;
    padding: 10px;
    min-height: 150px; /* Højere for at håndtere flere linjer */
    overflow: auto;
}

/* Label styling */
.label {
   /* border: 1px solid #ccc;*/
   /* margin: 5px;*/
    padding: 15px 0 0 15px;
    border-radius: 4px;
    display: inline-block;
    height: 36.5mm;
    width: 69mm;
    font-size: 10px;
    line-height: 1.2;
    word-wrap: break-word;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

/* Input for antal labels */
input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Flex container for labels */
#labelsContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 208.5mm; /* Bredden på en A4-side */
    max-height: 297mm; /* Bredden på en A4-side */
    margin: 0 auto; /* Centrer containeren */
    box-shadow: 0px 0px 10px #c1c1c1;
}
.tabs {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
}

.tab-link {
    background-color: #f1f1f1;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
    margin-right: 5px;
}

.tab-link.active {
    background-color: #ccc;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
