.qui-update-label-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #f4f4f6;
    color: #23272f;
    font-size: 1rem;
    padding: 10px 24px 6px 24px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    gap: 10px;
}

.qui-update-label-bar .qui-update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.qui-update-meta-tableData {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.qui-update-meta-tableData .qui-update-label {
    min-width: 180px;
}

.qui-update-version-label,
.qui-update-label {
    font-size: 0.93em;
    font-weight: 400;
}

.qui-update-ref,
.qui-update-lastCheck,
.qui-update-last {
    font-weight: 700;
    color: #23272f;
    margin-right: 16px;
    min-width: 80px;
    display: inline-block;
}

@media (max-width: 800px) {
    .qui-update-label-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 8px 6px 8px;
    }

    .qui-update-label-bar .qui-update-meta {
        gap: 10px;
    }
}

.qui-badge {
    display: inline-block;
    background: #e9e9ec;
    color: #23272f;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.97em;
    font-weight: 600;
    margin-right: 10px;
    min-width: 60px;
    text-align: center;
}

.qui-update-version {
    background: #2c2f35;
    color: #fff;
}

.qui-phpversion {
    background: #4f5b93;
    color: #fff;
}

.qui-database {
    background: #2d7a39;
    color: #fff;
}


.qui-control-packages-update-buttons {
    float: left;
    padding: 20px;
    width: 100%;
}

.qui-control-packages-update-result {
    border-top: 1px solid #D0D3D3;
    float: left;
    padding: 20px;
    width: 100%;
}

/** package update
 ============================================== */

.qui-control-packages-update-result {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    position: relative;
    width: 100%;
}

/** Tile view
 ============================================== */

.qui-control-packages-system-package-viewTile .packages-package-loader {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 30px;
    height: 100%;
    line-height: 110px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.qui-control-packages-system-package-viewTile {
    border: 1px solid #D0D3D3;
    cursor: default;
    display: flex;
    flex-direction: column;
    margin: 10px;
    overflow: hidden;
    position: relative;
    width: 160px;
}

.qui-control-packages-system-package-viewTile:hover {
    border: 1px solid #BBB;
    box-shadow: 0 0 10px -4px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 0 0 10px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 10px -4px rgba(0, 0, 0, 0.75);
}

.qui-control-packages-system-package-viewTile-text {
    flex-grow: 1;
    padding: 10px;
    text-align: center;
    white-space: nowrap;
}

.qui-control-packages-system-package-viewTile-text .version {
    clear: both;
    display: block;
    font-weight: bold;
    padding-top: 5px;
}

.qui-control-packages-system-package-viewTile-buttons {
    background: #f6f6f6;
    border-top: 1px solid #D0D3D3;
    clear: both;
    float: left;
    height: 31px;
    width: 100%;
}

.qui-control-packages-system-package-viewTile-buttons .button {
    background: #f6f6f6;
    box-shadow: none;
    font-size: 16px;
    line-height: 30px;
    text-align: center;
    width: 100%;
}

.qui-control-packages-system-package-viewTile-buttons .button:hover {
    background: #0069b4;
    color: #fff;
}

/** Tile view
 ============================================== */

.qui-control-packages-system-package-viewList .packages-package-loader {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 30px;
    height: 100%;
    line-height: 45px;
    position: absolute;
    text-align: center;
    width: 100%;
}

.qui-control-packages-system-package-viewList {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    clear: both;
    cursor: default;
    float: left;
    padding: 0;
    position: relative;
    width: 100%;
}

.qui-control-packages-system-package-viewList:hover {
    background: rgba(0, 0, 0, 0.05);
}

.qui-control-packages-system-package-viewList-image {
    float: left;
    font-size: 30px;
    line-height: 50px;
    text-align: center;
    width: 60px;
}

.qui-control-packages-system-package-viewList-image img {
    max-height: 40px;
    max-width: 40px;
}

.qui-control-packages-system-package-viewList-image .fa {
    color: rgba(0, 0, 0, 0.05);
}

.qui-control-packages-system-package-viewList-text {
    float: left;
    line-height: 50px;
    width: calc(100% - 50px);
}

.qui-control-packages-system-package-viewList-text .package {
    float: left;
    overflow: hidden;
    padding-left: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 300px);
}

.qui-control-packages-system-package-viewList-text .version,
.qui-control-packages-system-package-viewList-text .oldVersion {
    float: left;
    overflow: hidden;
    padding-right: 10px;
    text-overflow: ellipsis;
    text-align: right;
    white-space: nowrap;
    width: 150px;
}

.qui-control-packages-system-package-viewList-text .version {
    font-weight: bold;
}

.qui-control-packages-system-package-viewList-buttons {
    float: left;
    padding-right: 10px;
    text-align: right;
    width: 50px;
}

.qui-control-packages-system-package-viewList-buttons .button {
    border: none;
    border-radius: 0;
    box-shadow: none;
    float: none;
    font-size: 20px;
    font-weight: normal;
    padding: 15px;
}

.qui-control-packages-system-package-viewList-buttons .button:hover {
    background: #0069b4;
    color: #fff;
}