* {
    font-family: sans-serif;
}

#ean {
    box-sizing: border-box;
    width: 100%;
    font-size: 1.5rem;
}

button, select {
    font-size: 1.5rem;
}

#history.table-sm > :not(caption) > * > * {
    padding: .05rem .3rem;
}

#history > tr.new + tr.processed > td,
#history > tr.sending + tr.processed > td{
    border-top: 2px solid limegreen;
    margin-top: 5px;
    padding-top: 5px;
}

#history > tr > td {
    white-space: nowrap;
    padding: .05rem .3rem;
}

#history > tr > td:first-child {
    white-space: nowrap;
    padding: .05rem 0 .05rem .3rem;
    text-align: center;
    vertical-align: top;
}

#history > tr > td > .text-icon:before {
    display: inline-block;
    font-size: 1rem;
    content: '';
}

#history > tr.sending > td > .text-icon:before {
    content: '\231B';
    font-size: .6rem;
}

#history > tr.processed > td > .text-icon:before {
    content: '✓';
    font-weight: bold;
    color: limegreen;
}

#history .info {
    display: none;
}

#history.details .info {
    display: block;
}

#history.details > tr:nth-child(odd) {
    background: #f3f3f3;
}

#locations button {
    margin: 10px;
}

#password_wrapper {
    display: none;
}

.loading {
    position: relative;
}

.loading:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: -5px;
    background: rgba(0, 0, 0, .2);
    content: 'Načítání';
    color: white;
    font-size: 2rem;
    text-align: center;
    line-height: 2;
}

.errorState {
    background: red;
}
