body.loading {
    margin-top: 44px;
    text-align: center;
}
body div#content {
    width: auto;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
header {
    text-align: center;
}
header img {
    width: 98px;
}
header img.brand-logo {
    width: 98px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    background: white;
    padding: 4px;
}
header h1 {
    margin-top: 22px;
    margin-bottom: 0px;
}
h3 {
    font-size: medium!important;
    margin-bottom: 22px!important;
}
h4 {
    padding-top: 22px;
    margin-bottom: 12px;
    margin-left: auto;
    margin-right: auto;
}
div.values {
    text-align: center;
}
/* Status label (non-button look) */
.status-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    padding: 4px 0;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.status-info { background-color: #0dcaf0; }
.status-warning { background-color: #ffc107; }
.status-danger { background-color: #dc3545; }
.status-off { background-color: #6c757d; }
div.section {

}
div.section .card {
    padding: 12px;
    margin-bottom: 22px;
    width: 100%;
}
.small-info {
    color: darkgray;
    font-size: small;
    margin-top: 22px;
}
div.info p {
    margin: 0;
    padding: 0;
}
div.info p.key {
    
}
p.value a.btn {
    float: right;
    margin-top: -3px;
}

p.value button.btn.cloud-register-btn {
    float: none;
    margin-top: 0;
    margin-right: 8px;
}
div.modules p {
    position: relative;
}
div.modules span.indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    border-radius: 12px;
}
div.modules span.enabled {
    background-color: green;
}
div.modules span.disabled {
    background-color: red;
}
div.modules span i {
    display: none;
}
div.modules span.name {
    margin-left: 44px;
}
.footer {
    color: darkgray;
    font-size: small;
    margin-top: 22px;
}
.footer p {
    margin: 0;
}
.footer a {
    color: darkgray;
}

/* Files list */
.file-list .file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f1f1;
}
.file-list .file-meta {
    color: #6c757d;
    font-size: 0.9em;
    margin-left: auto;
    margin-right: 8px;
}

.cloud-finish {
    margin-top: 12px;
}

.cloud-finish .input-group {
    max-width: 100%;
}

.cloud-finish .small-info {
    margin-top: 6px !important;
}

.cloud-finish .cloud-finish-group {
    flex-wrap: nowrap;
    gap: 0;
}

.cloud-finish .cloud-finish-group input.form-control {
    min-width: 0;
}

.cloud-finish .cloud-finish-group button {
    white-space: nowrap;
}

.cloud-finish .cloud-finish-group > :not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.cloud-finish .cloud-finish-group > :not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* Overlay for file content */
.overlay-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    display: none;
}
.overlay-panel {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}
.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #eee;
}
.overlay-content {
    margin: 0;
    padding: 14px;
    max-height: 70vh;
    overflow: auto;
    white-space: pre-wrap;
}
