/* RemoteApp group titles — override Inspinia h3 (16px) */
.ibox-content h3.remoteapp-group-title,
h3.remoteapp-group-title,
.remoteapp-group-title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a2330 !important;
    letter-spacing: 0.3px !important;
}
.remoteapp-group-count {
    font-size: 15px !important;
    color: #5a6570 !important;
}

/* Smaller app tiles / icons, centered in the row */
.remoteapp-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, 150px) !important;
    justify-content: center !important;
    justify-items: center !important;
    gap: 10px !important;
}
.remoteapp-card {
    width: 150px !important;
    min-height: 120px !important;
    padding: 10px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}
.remoteapp-card img,
.remoteapp-card .remoteapp-icon-fallback {
    width: 40px !important;
    height: 40px !important;
    margin: 0 auto 6px auto !important;
    display: block !important;
}
.remoteapp-card .remoteapp-icon-fallback {
    font-size: 16px !important;
    border-radius: 6px !important;
}
.remoteapp-card h4 {
    font-size: 13px !important;
}

.remoteapp-sbx-mask {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(16, 24, 32, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.remoteapp-sbx-dialog {
    width: 420px;
    max-width: 100%;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.remoteapp-sbx-dialog h3 {
    margin: 0;
    padding: 14px 18px;
    font-size: 16px;
    font-weight: 700;
    color: #1a2330;
    border-bottom: 1px solid #e7eaec;
}
.remoteapp-sbx-dialog p {
    margin: 0;
    padding: 16px 18px 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #4a5560;
}
.remoteapp-sbx-dialog .remoteapp-sbx-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 18px 16px;
}
.remoteapp-sbx-dialog button {
    min-width: 88px;
    padding: 6px 14px;
    border-radius: 3px;
    font-size: 13px;
    cursor: pointer;
}
.remoteapp-sbx-cancel {
    background: #fff;
    border: 1px solid #cfd4d8;
    color: #5a6167;
}
.remoteapp-sbx-ok {
    background: #1ab394;
    border: 1px solid #1ab394;
    color: #fff;
}
