.footer {
    position: fixed;
    right: 0;
    bottom: 0;
    text-align: right;
    width: 100%;
    padding-right: 20px;
}
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
h1 {
    color: #333;
    text-align: center;
    font-size: 36pt;
    padding-top: 30px;
}
h2 {
    color: #333;
    margin-top: 20px;
    text-align: center;
    font-size: 30pt;
}
form {
    margin: 20px auto;
    text-align: center;
}
input {
    width: 200px;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: block;
    margin: 0 auto;
    transition: filter 100ms ease;
}
button:hover {
    filter: brightness(1.10);
}
button:active {
    filter: brightness(1.20);
}
button.remove {
    background-color: #e53935;
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: block;
    margin: 0 auto;
}
button.edit {
    background-color: #1e88e5;
    color: white;
    padding: 4px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: block;
    margin: 0 auto;
}
.pause-updates-unpaused {
    background-color: #4CAF50;
    color: white;
    padding: 1px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: block;
    margin: 0 auto;
}
.pause-updates-paused {
    background-color: #e53935;
    color: white;
    padding: 1px 8px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    display: block;
    margin: 0 auto;
}
.btn-secondary {
    background: #666;
}
ul {
    list-style: none;
    padding-left: 20px;
}
.folder {
    cursor: pointer;
    font-size: 24pt;
    font-weight: bold;
}
.file {
    color: #1a73e8;
    text-decoration: none;
    cursor: pointer;
    font-size: 24pt;
}

.file:hover {
    text-decoration: underline;
}
.folder::before {
    content: "📁 ";
}

.file::before {
    content: "📄 ";
}
.hidden {
    display: none;
}
.container {
    width: 1600px;
    margin: 40px auto;
    text-align: center;
}
.tree {
    list-style: none;
    padding-left: 20px;
}
.file-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-row .file {
    display: inline-block;
}

.file-row button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal {
    background: #fff;
    padding: 20px 24px;
    border-radius: 8px;
    max-width: calc(100% - 40px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.modal h3 {
    margin: 0 0 12px;
    font-size: 18pt;
}
.modal h4 {
    margin: 16px 0 8px;
    font-size: 14pt;
}
.modal label {
    display: block;
    margin-bottom: 8px;
}
.modal select {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 12pt;
}
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}
.modal-actions button {
    margin: 0;
}
.filter {
    margin: 10px 0;
}
.row {
    display: flex;
    margin-bottom: 8px;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}
.headerRow {
    display: flex;
    margin-bottom: 8px;
    margin-right: 38px; /* Adjust for missing button compared to rows */
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 4px;
}

.row .col-status,
.headerRow .col-status {
    text-align: center;
    min-width: 70px;
    max-width: 70px;
}
.row .col-platform,
.headerRow .col-platform {
    flex: 0 0 110px;
    min-width: 110px;
    max-width: 110px;
    overflow: hidden;
}
.row .col-version,
.headerRow .col-version {
    flex: 0 0 110px;
    min-width: 110px;
    max-width: 110px;
    overflow: hidden;
}
.row .col-program,
.headerRow .col-program {
    flex: 0 0 110px;
    min-width: 110px;
    max-width: 110px;
    overflow: hidden;
}
.row .col-created,
.headerRow .col-created {
    flex: 0 0 150px;
    min-width: 150px;
    max-width: 150px;
    overflow: hidden;
}
.row .col-last-used,
.headerRow .col-last-used {
    flex: 0 0 170px;
    min-width: 170px;
    max-width: 170px;
    overflow: hidden;
}
.row .col-licences,
.headerRow .col-licences {
    flex: 0 0 180px;
    min-width: 180px;
    max-width: 180px;
    overflow: hidden;
}
.row .col-uid,
.headerRow .col-uid {
    flex: 0 0 200px;
    min-width: 200px;
    max-width: 200px;
    overflow: hidden;
}

.licence-status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #999;
}
.licence-status-dot.is-valid {
    background: #4CAF50;
}
.licence-status-dot.is-invalid {
    background: #e53935;
}
.licence-status-dot.is-unknown {
    background: #f0b943;
}